Hi all,
I would like to use the "nova" commands and I started with these steps:
- from ctl machine, downloading the admin-openrc.sh file
- in ctl machine, run "source admin-openrc.sh"
- try "nova list" command
- It asks me a password, and I put the one indicate in "profile
instruction"
- and then I get this error:
mcanonic@ctl:~$ nova list
ERROR (BadRequest): Expecting to find domain in user - the server
could not comply with the request since it is either malformed or
otherwise incorrect. The client is assumed to be in error. (HTTP
400) (Request-ID: req-e0bac595-de0f-47e0-a942-1a508ae1a9a2)
Besides this error, there are something that it is not clear to me in the "basic instructions", such as:
- "If you need to run the OpenStack CLI tools, or your own scripts that use the OpenStack APIs, you'll find authentication credentials in /root/setup/admin-openrc.sh" where is located this file? I did not find it in ctl machine
- admin-openrc.sh uses "admin" as username, but in the instuction
I read: "Be aware that the username in this file is adminapi,
not admin" . So, maybe, the script provided my horizon is
wrong?
Thanks in advance,
Massimo
Thanks David,
it works.
So, the eucarc that a user can download from Horizon is not
useful, right? I am also a little confused with the sentence: "Be
aware that the username in this file is adminapi,
not admin".
Maybe you could consider to rewrite the paragraph
concerning with something like this:
If you need to run the OpenStack CLI tools, or your own scripts
that use the OpenStack APIs, you'll find authentication
credentials in /root/setup/admin-openrc.sh on control node.
You just need to login into control node and run 'sudo source
/root/setup/admin-openrc.sh' to start using OpenStack CLI tools.
Just this, the adminapi (IMHO) confuses a little since the eucarc uses "admin":
export OS_PROJECT_NAME=admin
export OS_TENANT_NAME=admin
Best and thanks,
Massimo