Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I installed OpenNebula 3.2.1 following the guide found under on a Debian 6.0.4 machine. Everything seemed fine until trying to execute the command

onevm list

Then I always get this:

oneadmin@opennebula-master:~$ onevm list
[VirtualMachinePoolInfo] User couldn't be authenticated, aborting call.

The file one_auth exists. I even gave the oneadmin user a password although it doesn't seem to be required according to the guide. I copied the password hash from /etc/shadow to the one_auth file. Still no success.

Any ideas are appreciated.

share|improve this question

Note that the answer from Peteris is a verbatim quote from the OpenNebula documentation which presumably is not clear enough...

Based on the question, 2 points seem to need clarification:

  1. OpenNebula uses its own distinct authentication, NOT system auth, so the username and password in the file named in the $ONE_AUTH environment variable are ones set using OpenNebula itself.
  2. The password field is not a hash, it is plaintext. For that reason it is important that you make sure the file has restrictive permissions, e.g. 600
share|improve this answer

Needs to point to a file containing just a single line stating “username:password”. If ONE_AUTH is not defined, $HOME/.one/one_auth will be used instead. If no auth file is present, OpenNebula cannot work properly, as this is needed by the core, the CLI, and the cloud components as well.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.