setting up user accounts to use openstack [closed]
Openstack version : FOLSOM Linux b3dbm2 3.2.0-29-generic #46-Ubuntu SMP Fri Jul 27 17:03:23 UTC 2012 x86_64 x86_64 x86_64 GNU/Linux
Hi I have set up some user_accounts so that our openstack administrators can use their own account. Currently we are all using the openstack account, which is creating issues as different people like to customise their .profile according to their preferences.
Ifr I log in as openstack and run $ nova list --all-tenants I get a list of tenants returned.
However if I run as myself , I get the following returned.
ERROR: Invalid OpenStack Nova credentials.
My profile already has the following set up.
export OS_TENANT_NAME= export OS_USERNAME= export OS_PASSWORD= export OS_AUTH_URL=
What else do I need to do to get this work correctly
thanks in advance
To confirm, you are currently sharing a linux shell account called `openstack`. This account has a `.profile` file with the various `OS_*` variables exported that allow you to access OpenStack as a user called `openstack`?
I have set up separate accounts for admin users. These accounts have been set up on the same machine that the openstack account is on. Essentially I want these users to be able to run any openstack command successfully, rather than everybody having their own openstack account. The .profile and .bashrc have the correct configuration. When I try and issue the nova list --all-tenants commands in debug mode I get unauthorised. Which is presumably why the comamnd above shows ERROR: Invalid OpenStack Nova credentials.
OK, so you have several linux shell accounts that will be sharing the same openstack account? If so, then the OS_* vars should be the same in everyone's .profile. If you're getting unauthorized for one user but not another, then there's a difference in the OS_ vars.
Thankyou - I made a mistake. I had the os_username set to openstack instead of admin. It works now