Ask Your Question

Keystone installation problem

asked 2016-11-28 01:47:25 -0500

xyue gravatar image

HI guys,

Currently I'm reading the install guide for Newton and I have some confusion.

In the Identity (Keystone) installation, after finalized and start the services for HTTP, it required to configure the administrative account. I would like to check where is this file located or we should insert the command one by one into the terminal.

Installation guide URL : (

However, when I look into "Create OpenStack client environment scripts(in Keystone install guide also)", it ask to create client environment scripts which the details are similiar to the admin account created on steps above. If this steps required to save the configuration in a file, then where should we save ?

Installation guide URL : (

Having confusion on these 2 steps. Hope any experts can assist to explain the guide. Thank you very much in advance.

edit retag flag offensive close merge delete

1 answer

Sort by ยป oldest newest most voted

answered 2016-11-28 04:05:05 -0500

The admin-openrc and demo-openrc files just set shell environment variables that make it easier to run the openstack command. They define your OpenStack identity and provide information like authentication URL and API versions.

Without them, commands would look similar to this:

$ openstack --os-username demo --os-project-name demo --os-domain-name default --os-auth-url http://controller:37375/v3 server list

instead of

$ source demo-openrc   # this is required only once
$ openstack server list

You can put these openrc files anywhere; just remember to source them after logging on and whenever you change your identity.

The install guide could be structured differently; for example it could first ask you to create the admin-openrc file, then use it to create initial domain, projects, users, and roles. Perhaps that would be easier to understand, and it would make you type a bit less, but the way it's done right now works well.

edit flag offensive delete link more

Get to know Ask OpenStack

Resources for moderators

Question Tools

1 follower


Asked: 2016-11-28 01:47:25 -0500

Seen: 209 times

Last updated: Nov 28 '16