Ask Your Question
0

Default domain not found in openstack liberty

asked 2016-10-07 04:18:33 -0500

DB gravatar image

Hello,

I am trying to install Openstack Liberty on Ubuntu 14.04 by following an online document modified on Oct 2nd

There is no issue until the link http://docs.openstack.org/liberty/install-guide-ubuntu/keystone-users.html (http://docs.openstack.org/liberty/ins...)

Which asks to Create projects, users, and roles using a domain name "default"

When I run the command openstack project create --domain default --description "Admin Project" admin

The error I am getting is domain name or id "default" not found

If I create the domain by name "default", I am able to continue creating users, projects and roles

But after unset the environment variables http://docs.openstack.org/liberty/install-guide-ubuntu/keystone-verify.html (http://docs.openstack.org/liberty/ins...) to verify the operation and running the command:

openstack --os-auth-url http://controller:35357/v3 --os-project-domain-id default --os-user-domain-id default --os-project-name admin --os-username osadmin --os-auth-type password token issue

I am getting an error saying This operation requires authentication (after passing admin user's password)

And I am unable to proceed further

There is no domain by name default and the document doesn't say to create a domain

In keystone log, I could see domain not found error:

2016-10-07 00:55:47.841 4589 ERROR keystone.auth.controllers raise exception.DomainNotFound(domain_id=domain_id) 2016-10-07 00:55:47.841 4589 ERROR keystone.auth.controllers DomainNotFound: Could not find domain: default 2016-10-07 00:55:47.841 4589 ERROR keystone.auth.controllers

Request you to help me in fixing the issue

Thank you, Dhanabalan

edit retag flag offensive close merge delete

1 answer

Sort by ยป oldest newest most voted
0

answered 2016-10-12 00:07:24 -0500

DB gravatar image

Hi All,

Found a solution for this.

Please make changes in all service related (neutron, nova, keystone etc.,) config files

From: project_domain_id = default user_domain_id = default

To user_domain_name = default user_domain_name = default

This should solve the issue

Best regards, Dhanabalan

edit flag offensive delete link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Get to know Ask OpenStack

Resources for moderators

Question Tools

1 follower

Stats

Asked: 2016-10-07 04:18:33 -0500

Seen: 862 times

Last updated: Oct 12 '16