Authentication error in openstack with new domainhow to solve the error in cinder on openstack...
How did Gollum enter Moria?
Trainee keeps passing deadlines for independent learning
Dates on degrees don’t make sense – will people care?
Music theory behind A chord in the key of G
How can you guarantee that you won't change/quit job after just couple of months?
Understanding the reasoning of the woman who agreed with Shlomo to "cut the baby in half"
What can I do with a research project that is my university’s intellectual property?
I don't like coffee, neither beer. How to politely work my way around that in a business situation?
RandomInteger with equal number of 1 and -1
Why don't countries like Japan just print more money?
Is it possible to get a mortgage with a custom duration in the US?
What is appropriate short form for "laboratoires" in French?
What is the origin of Scooby-Doo's name?
Confusion over 220 and 230 volt outlets
Are all Ringwraiths called Nazgûl in LotR?
How can I get my left hand to sound legato when I'm leaping?
What does it mean to not be able to take the derivative of a function multiple times?
Is a single radon daughter atom in air a solid?
Does the monk's Step of the Wind feature activate the benefit of the Mobile feat?
Why does using different ArrayList constructors cause a different growth rate of the internal array?
UK - Working without a contract. I resign and guy wants to sue me
What's currently blocking the construction of the wall between Mexico and the US?
Why isn't my calculation that we should be able to see the sun well beyond the observable universe valid?
Why is it easier to balance a non-moving bike standing up than sitting down?
Authentication error in openstack with new domain
how to solve the error in cinder on openstack havana?question about installing Rally on OpenStackPuppet agent certificate error after rebuilding openstack instanceUbuntu 14.04 Openstack single, error: Top-level container OS did not initialize correctlyExtend OpenStack Volumecreating multiple server & attaching volume in openstackopenstack live migration issueopenstack modify libvirt xml configurationopenstack keystone and kerberosOpenStack Cloud Instance can't get metadata
.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty{ margin-bottom:0;
}
My openstack was working fine with the default domain. Today I created another domain domainTwo using
openstack create doamin domainTwo
created a new project domainTwoProject
openstack project create --domain domainTwo --description "Admin Project" domainTwoProject
and a new user domainTwoAdmin
openstack user create --domain domainTwo --password-prompt domainTwoAdmin
Created the admin role:
openstack role create admin
Added the admin role to the domainTwoProject project and user:
openstack role add --project domainTwoProject --user domainTwoAdmin admin
Now when I am trying to login with horizon dashboard in domain domainTwo with username domainTwoAdmin and Password XXXXXXXXXX it works perfectly. When I am trying it with source admins-openrc.sh
The content of admin-openrc.sh is:
export OS_PROJECT_DOMAIN_ID=default
export OS_USER_DOMAIN_ID=default
export OS_PROJECT_NAME=admin
export OS_TENANT_NAME=admin
export OS_USERNAME=admin
export OS_PASSWORD=XXXXX
export OS_AUTH_URL=http://XXX.XXX.XXX.XXXX:35357/v3
export OS_IDENTITY_API_VERSION=3
after that I run openstack token issue and I got desired output.
However when I am trying this command with source admin-domaintwo.sh I am not getting desired output.
The content of admin-domaintwo.sh is:
export OS_PROJECT_DOMAIN_ID=XXXXXXXXXXXXXXXXXXXXXXXXX
export OS_USER_DOMAIN_ID=XXXXXXXXXXXXXXXXXXXXXXXX
export OS_PROJECT_NAME=domainTwoProject
export OS_TENANT_NAME=domainTwoProject
export OS_USERNAME=domainTwoAdmin
export OS_PASSWORD=XXXXX
export OS_AUTH_URL=http://XXX.XXX.XXX.XXXX:35357/v3
export OS_IDENTITY_API_VERSION=3
i got error
The request you have made requires authentication. (HTTP 401) (Request-ID: req-IDXXXXXXXXXXXXXXXXXXX)
openstack
bumped to the homepage by Community♦ 15 mins ago
This question has answers that may be good or bad; the system has marked it active so that they can be reviewed.
add a comment |
My openstack was working fine with the default domain. Today I created another domain domainTwo using
openstack create doamin domainTwo
created a new project domainTwoProject
openstack project create --domain domainTwo --description "Admin Project" domainTwoProject
and a new user domainTwoAdmin
openstack user create --domain domainTwo --password-prompt domainTwoAdmin
Created the admin role:
openstack role create admin
Added the admin role to the domainTwoProject project and user:
openstack role add --project domainTwoProject --user domainTwoAdmin admin
Now when I am trying to login with horizon dashboard in domain domainTwo with username domainTwoAdmin and Password XXXXXXXXXX it works perfectly. When I am trying it with source admins-openrc.sh
The content of admin-openrc.sh is:
export OS_PROJECT_DOMAIN_ID=default
export OS_USER_DOMAIN_ID=default
export OS_PROJECT_NAME=admin
export OS_TENANT_NAME=admin
export OS_USERNAME=admin
export OS_PASSWORD=XXXXX
export OS_AUTH_URL=http://XXX.XXX.XXX.XXXX:35357/v3
export OS_IDENTITY_API_VERSION=3
after that I run openstack token issue and I got desired output.
However when I am trying this command with source admin-domaintwo.sh I am not getting desired output.
The content of admin-domaintwo.sh is:
export OS_PROJECT_DOMAIN_ID=XXXXXXXXXXXXXXXXXXXXXXXXX
export OS_USER_DOMAIN_ID=XXXXXXXXXXXXXXXXXXXXXXXX
export OS_PROJECT_NAME=domainTwoProject
export OS_TENANT_NAME=domainTwoProject
export OS_USERNAME=domainTwoAdmin
export OS_PASSWORD=XXXXX
export OS_AUTH_URL=http://XXX.XXX.XXX.XXXX:35357/v3
export OS_IDENTITY_API_VERSION=3
i got error
The request you have made requires authentication. (HTTP 401) (Request-ID: req-IDXXXXXXXXXXXXXXXXXXX)
openstack
bumped to the homepage by Community♦ 15 mins ago
This question has answers that may be good or bad; the system has marked it active so that they can be reviewed.
what error message you get , may be you need a fresh shell with previous env variables cleared
– Ijaz Ahmad Khan
Jun 29 '16 at 20:35
i tried,in fresh shell.
– Tiger
Jun 30 '16 at 2:17
The request you have made requires authentication. (HTTP 401) (Request-ID: req-xXXXXXXXXXXXXXX
– Tiger
Jun 30 '16 at 5:05
add a comment |
My openstack was working fine with the default domain. Today I created another domain domainTwo using
openstack create doamin domainTwo
created a new project domainTwoProject
openstack project create --domain domainTwo --description "Admin Project" domainTwoProject
and a new user domainTwoAdmin
openstack user create --domain domainTwo --password-prompt domainTwoAdmin
Created the admin role:
openstack role create admin
Added the admin role to the domainTwoProject project and user:
openstack role add --project domainTwoProject --user domainTwoAdmin admin
Now when I am trying to login with horizon dashboard in domain domainTwo with username domainTwoAdmin and Password XXXXXXXXXX it works perfectly. When I am trying it with source admins-openrc.sh
The content of admin-openrc.sh is:
export OS_PROJECT_DOMAIN_ID=default
export OS_USER_DOMAIN_ID=default
export OS_PROJECT_NAME=admin
export OS_TENANT_NAME=admin
export OS_USERNAME=admin
export OS_PASSWORD=XXXXX
export OS_AUTH_URL=http://XXX.XXX.XXX.XXXX:35357/v3
export OS_IDENTITY_API_VERSION=3
after that I run openstack token issue and I got desired output.
However when I am trying this command with source admin-domaintwo.sh I am not getting desired output.
The content of admin-domaintwo.sh is:
export OS_PROJECT_DOMAIN_ID=XXXXXXXXXXXXXXXXXXXXXXXXX
export OS_USER_DOMAIN_ID=XXXXXXXXXXXXXXXXXXXXXXXX
export OS_PROJECT_NAME=domainTwoProject
export OS_TENANT_NAME=domainTwoProject
export OS_USERNAME=domainTwoAdmin
export OS_PASSWORD=XXXXX
export OS_AUTH_URL=http://XXX.XXX.XXX.XXXX:35357/v3
export OS_IDENTITY_API_VERSION=3
i got error
The request you have made requires authentication. (HTTP 401) (Request-ID: req-IDXXXXXXXXXXXXXXXXXXX)
openstack
My openstack was working fine with the default domain. Today I created another domain domainTwo using
openstack create doamin domainTwo
created a new project domainTwoProject
openstack project create --domain domainTwo --description "Admin Project" domainTwoProject
and a new user domainTwoAdmin
openstack user create --domain domainTwo --password-prompt domainTwoAdmin
Created the admin role:
openstack role create admin
Added the admin role to the domainTwoProject project and user:
openstack role add --project domainTwoProject --user domainTwoAdmin admin
Now when I am trying to login with horizon dashboard in domain domainTwo with username domainTwoAdmin and Password XXXXXXXXXX it works perfectly. When I am trying it with source admins-openrc.sh
The content of admin-openrc.sh is:
export OS_PROJECT_DOMAIN_ID=default
export OS_USER_DOMAIN_ID=default
export OS_PROJECT_NAME=admin
export OS_TENANT_NAME=admin
export OS_USERNAME=admin
export OS_PASSWORD=XXXXX
export OS_AUTH_URL=http://XXX.XXX.XXX.XXXX:35357/v3
export OS_IDENTITY_API_VERSION=3
after that I run openstack token issue and I got desired output.
However when I am trying this command with source admin-domaintwo.sh I am not getting desired output.
The content of admin-domaintwo.sh is:
export OS_PROJECT_DOMAIN_ID=XXXXXXXXXXXXXXXXXXXXXXXXX
export OS_USER_DOMAIN_ID=XXXXXXXXXXXXXXXXXXXXXXXX
export OS_PROJECT_NAME=domainTwoProject
export OS_TENANT_NAME=domainTwoProject
export OS_USERNAME=domainTwoAdmin
export OS_PASSWORD=XXXXX
export OS_AUTH_URL=http://XXX.XXX.XXX.XXXX:35357/v3
export OS_IDENTITY_API_VERSION=3
i got error
The request you have made requires authentication. (HTTP 401) (Request-ID: req-IDXXXXXXXXXXXXXXXXXXX)
openstack
openstack
edited Jun 30 '16 at 5:05
Tiger
asked Jun 29 '16 at 18:33
TigerTiger
3261622
3261622
bumped to the homepage by Community♦ 15 mins ago
This question has answers that may be good or bad; the system has marked it active so that they can be reviewed.
bumped to the homepage by Community♦ 15 mins ago
This question has answers that may be good or bad; the system has marked it active so that they can be reviewed.
what error message you get , may be you need a fresh shell with previous env variables cleared
– Ijaz Ahmad Khan
Jun 29 '16 at 20:35
i tried,in fresh shell.
– Tiger
Jun 30 '16 at 2:17
The request you have made requires authentication. (HTTP 401) (Request-ID: req-xXXXXXXXXXXXXXX
– Tiger
Jun 30 '16 at 5:05
add a comment |
what error message you get , may be you need a fresh shell with previous env variables cleared
– Ijaz Ahmad Khan
Jun 29 '16 at 20:35
i tried,in fresh shell.
– Tiger
Jun 30 '16 at 2:17
The request you have made requires authentication. (HTTP 401) (Request-ID: req-xXXXXXXXXXXXXXX
– Tiger
Jun 30 '16 at 5:05
what error message you get , may be you need a fresh shell with previous env variables cleared
– Ijaz Ahmad Khan
Jun 29 '16 at 20:35
what error message you get , may be you need a fresh shell with previous env variables cleared
– Ijaz Ahmad Khan
Jun 29 '16 at 20:35
i tried,in fresh shell.
– Tiger
Jun 30 '16 at 2:17
i tried,in fresh shell.
– Tiger
Jun 30 '16 at 2:17
The request you have made requires authentication. (HTTP 401) (Request-ID: req-xXXXXXXXXXXXXXX
– Tiger
Jun 30 '16 at 5:05
The request you have made requires authentication. (HTTP 401) (Request-ID: req-xXXXXXXXXXXXXXX
– Tiger
Jun 30 '16 at 5:05
add a comment |
2 Answers
2
active
oldest
votes
I don't know if you find the solution or not but I want to provide an approach that will help to solve this types of problem. I also face this problem and found solution.
From your comment,It seems that you are having problem of authentication. Authentication is handled by keystone component of openstack.
So to find what is exactly problematic we need to check each related components log messages.
First check the access log of httpd, I am giving command for continuous view of logs,you can open this in another tab.
tail -f /var/log/httpd/access_log
now check the error message of httpd
tail -f /var/log/httpd/error_log
check keystone log
tail -f /var/log/keystone/keystone.log
Try to figure out what goes wrong. Also check the configuration file of horizon local settings.
/etc/openstack-dashboard/local_settings
specially OPENSTACK_KEYSTONE_URL this field, and OPENSTACK_API_VERSIONS,OPENSTACK_KEYSTONE_DEFAULT_DOMAIN,OPENSTACK_KEYSTONE_DEFAULT_ROLE.
Double check you IDENTITY VERSION and Keystone endpoint url version,check if versions are identical in both dashboard configuration and service endpoints.
This is research process which will help you find out what is wrong about authentication.
If you start over the installation procedure,in each step verify the operation for each components like first install keystone and check if it okay and go on. This will help to identify and troubleshoot further problem.
add a comment |
I think:
openstack role add --domain domainTwo --user domainTwoAdmin admin
openstack role add --project domainTwoProject --user domainTwoAdmin admin
add a comment |
Your Answer
StackExchange.ready(function() {
var channelOptions = {
tags: "".split(" "),
id: "106"
};
initTagRenderer("".split(" "), "".split(" "), channelOptions);
StackExchange.using("externalEditor", function() {
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled) {
StackExchange.using("snippets", function() {
createEditor();
});
}
else {
createEditor();
}
});
function createEditor() {
StackExchange.prepareEditor({
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: false,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: null,
bindNavPrevention: true,
postfix: "",
imageUploader: {
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
},
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
});
}
});
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f292947%2fauthentication-error-in-openstack-with-new-domain%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
2 Answers
2
active
oldest
votes
2 Answers
2
active
oldest
votes
active
oldest
votes
active
oldest
votes
I don't know if you find the solution or not but I want to provide an approach that will help to solve this types of problem. I also face this problem and found solution.
From your comment,It seems that you are having problem of authentication. Authentication is handled by keystone component of openstack.
So to find what is exactly problematic we need to check each related components log messages.
First check the access log of httpd, I am giving command for continuous view of logs,you can open this in another tab.
tail -f /var/log/httpd/access_log
now check the error message of httpd
tail -f /var/log/httpd/error_log
check keystone log
tail -f /var/log/keystone/keystone.log
Try to figure out what goes wrong. Also check the configuration file of horizon local settings.
/etc/openstack-dashboard/local_settings
specially OPENSTACK_KEYSTONE_URL this field, and OPENSTACK_API_VERSIONS,OPENSTACK_KEYSTONE_DEFAULT_DOMAIN,OPENSTACK_KEYSTONE_DEFAULT_ROLE.
Double check you IDENTITY VERSION and Keystone endpoint url version,check if versions are identical in both dashboard configuration and service endpoints.
This is research process which will help you find out what is wrong about authentication.
If you start over the installation procedure,in each step verify the operation for each components like first install keystone and check if it okay and go on. This will help to identify and troubleshoot further problem.
add a comment |
I don't know if you find the solution or not but I want to provide an approach that will help to solve this types of problem. I also face this problem and found solution.
From your comment,It seems that you are having problem of authentication. Authentication is handled by keystone component of openstack.
So to find what is exactly problematic we need to check each related components log messages.
First check the access log of httpd, I am giving command for continuous view of logs,you can open this in another tab.
tail -f /var/log/httpd/access_log
now check the error message of httpd
tail -f /var/log/httpd/error_log
check keystone log
tail -f /var/log/keystone/keystone.log
Try to figure out what goes wrong. Also check the configuration file of horizon local settings.
/etc/openstack-dashboard/local_settings
specially OPENSTACK_KEYSTONE_URL this field, and OPENSTACK_API_VERSIONS,OPENSTACK_KEYSTONE_DEFAULT_DOMAIN,OPENSTACK_KEYSTONE_DEFAULT_ROLE.
Double check you IDENTITY VERSION and Keystone endpoint url version,check if versions are identical in both dashboard configuration and service endpoints.
This is research process which will help you find out what is wrong about authentication.
If you start over the installation procedure,in each step verify the operation for each components like first install keystone and check if it okay and go on. This will help to identify and troubleshoot further problem.
add a comment |
I don't know if you find the solution or not but I want to provide an approach that will help to solve this types of problem. I also face this problem and found solution.
From your comment,It seems that you are having problem of authentication. Authentication is handled by keystone component of openstack.
So to find what is exactly problematic we need to check each related components log messages.
First check the access log of httpd, I am giving command for continuous view of logs,you can open this in another tab.
tail -f /var/log/httpd/access_log
now check the error message of httpd
tail -f /var/log/httpd/error_log
check keystone log
tail -f /var/log/keystone/keystone.log
Try to figure out what goes wrong. Also check the configuration file of horizon local settings.
/etc/openstack-dashboard/local_settings
specially OPENSTACK_KEYSTONE_URL this field, and OPENSTACK_API_VERSIONS,OPENSTACK_KEYSTONE_DEFAULT_DOMAIN,OPENSTACK_KEYSTONE_DEFAULT_ROLE.
Double check you IDENTITY VERSION and Keystone endpoint url version,check if versions are identical in both dashboard configuration and service endpoints.
This is research process which will help you find out what is wrong about authentication.
If you start over the installation procedure,in each step verify the operation for each components like first install keystone and check if it okay and go on. This will help to identify and troubleshoot further problem.
I don't know if you find the solution or not but I want to provide an approach that will help to solve this types of problem. I also face this problem and found solution.
From your comment,It seems that you are having problem of authentication. Authentication is handled by keystone component of openstack.
So to find what is exactly problematic we need to check each related components log messages.
First check the access log of httpd, I am giving command for continuous view of logs,you can open this in another tab.
tail -f /var/log/httpd/access_log
now check the error message of httpd
tail -f /var/log/httpd/error_log
check keystone log
tail -f /var/log/keystone/keystone.log
Try to figure out what goes wrong. Also check the configuration file of horizon local settings.
/etc/openstack-dashboard/local_settings
specially OPENSTACK_KEYSTONE_URL this field, and OPENSTACK_API_VERSIONS,OPENSTACK_KEYSTONE_DEFAULT_DOMAIN,OPENSTACK_KEYSTONE_DEFAULT_ROLE.
Double check you IDENTITY VERSION and Keystone endpoint url version,check if versions are identical in both dashboard configuration and service endpoints.
This is research process which will help you find out what is wrong about authentication.
If you start over the installation procedure,in each step verify the operation for each components like first install keystone and check if it okay and go on. This will help to identify and troubleshoot further problem.
answered Feb 1 '17 at 8:44
Rajib HossenRajib Hossen
12
12
add a comment |
add a comment |
I think:
openstack role add --domain domainTwo --user domainTwoAdmin admin
openstack role add --project domainTwoProject --user domainTwoAdmin admin
add a comment |
I think:
openstack role add --domain domainTwo --user domainTwoAdmin admin
openstack role add --project domainTwoProject --user domainTwoAdmin admin
add a comment |
I think:
openstack role add --domain domainTwo --user domainTwoAdmin admin
openstack role add --project domainTwoProject --user domainTwoAdmin admin
I think:
openstack role add --domain domainTwo --user domainTwoAdmin admin
openstack role add --project domainTwoProject --user domainTwoAdmin admin
edited Aug 8 '17 at 16:10
Jeff Schaller♦
47k1168153
47k1168153
answered Aug 8 '17 at 15:38
김지호김지호
1
1
add a comment |
add a comment |
Thanks for contributing an answer to Unix & Linux Stack Exchange!
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f292947%2fauthentication-error-in-openstack-with-new-domain%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
what error message you get , may be you need a fresh shell with previous env variables cleared
– Ijaz Ahmad Khan
Jun 29 '16 at 20:35
i tried,in fresh shell.
– Tiger
Jun 30 '16 at 2:17
The request you have made requires authentication. (HTTP 401) (Request-ID: req-xXXXXXXXXXXXXXX
– Tiger
Jun 30 '16 at 5:05