Header Shadow Image


Archive for March, 2016

[TemplateInstantiate] Error allocating a new virtual machine. DISK 0: Cannot acquire image 3, it is in state: LOCKED

Give it some time for the image to download and create first.  When ready, instantiate again: [oneadmin@opennebula01 1]$ ls -altri total 647896  68474907 drwxrwxr-x 5 oneadmin oneadmin        30 Mar 30 18:58 .. 101870759 -rw-r–r– 1 oneadmin oneadmin 395074048 Mar 31 02:41 2a3d337ded54dcbcc35865daf54e3c9a 101870807 drwxrwxr-x 2 oneadmin oneadmin        84 Mar […]

Command execution fail: /var/lib/one/remotes/tm/shared/clone

When receiving these errors in the log files: [oneadmin@opennebula01 one]$ cat 19.log Wed Mar 30 23:59:30 2016 [Z0][DiM][I]: New VM state is ACTIVE. Wed Mar 30 23:59:30 2016 [Z0][LCM][I]: New VM state is PROLOG. Wed Mar 30 23:59:30 2016 [Z0][TM][I]: Command execution fail: /var/lib/one/remotes/tm/shared/clone opennebula01:/var/lib/one//datastores/1/370d6f8205e2d85d328e922d1f356ab7 mdskvm-p01:/var/lib/one//datastores/0/19/disk.0 19 1 Wed Mar 30 23:59:30 2016 [Z0][TM][I]: clone: […]

systemctl enable nfs Failed to execute operation: No such file or directory

When trying to enable the NFS service, it returns in an error like this: [root@opennebula01 ~]# systemctl enable nfs Failed to execute operation: No such file or directory [root@opennebula01 ~]# You need to enable something else: [root@opennebula01 ~]# systemctl enable nfs-server.service Created symlink from /etc/systemd/system/multi-user.target.wants/nfs-server.service to /usr/lib/systemd/system/nfs-server.service. And maybe even start it: [root@opennebula01 ~]# systemctl […]

Message received: AUTHENTICATE FAILURE 4 bad decrypt

If you get the following issue: Wed Mar 30 22:14:39 2016 [Z0][AuM][I]: Command execution fail: /var/lib/one/remotes/auth/server_cipher/authenticate serveradmin e34bdac1163cc24bd334cc925dc16cf24b716963 **** Wed Mar 30 22:14:39 2016 [Z0][AuM][D]: Message received: LOG E 4 bad decrypt Wed Mar 30 22:14:39 2016 [Z0][AuM][I]: bad decrypt Wed Mar 30 22:14:39 2016 [Z0][AuM][D]: Message received: LOG I 4 ExitCode: 255 Wed Mar […]

Command execution fail: /var/lib/one/remotes/tm/shared/clone

When you receive the following errors: [oneadmin@opennebula01 .one]$ /var/lib/one/remotes/tm/shared/clone opennebula01:/var/lib/one//datastores/1/370d6f8205e2d85d328e922d1f356ab7 mdskvm-p01:/var/lib/one//datastores/0/16/disk.0 16 1 INFO: clone: Cloning /var/lib/one/datastores/1/370d6f8205e2d85d328e922d1f356ab7 in mdskvm-p01:/var/lib/one//datastores/0/16/disk.0 ERROR: clone: Command "cd /var/lib/one/datastores/0/16; cp /var/lib/one/datastores/1/370d6f8205e2d85d328e922d1f356ab7 /var/lib/one/datastores/0/16/disk.0" failed: Warning: Permanently added 'mdskvm-p01,192.168.0.60' (ECDSA) to the list of known hosts. cp: cannot stat '/var/lib/one/datastores/1/370d6f8205e2d85d328e922d1f356ab7': No such file or directory ERROR MESSAGE –8<—— Error copying opennebula01:/var/lib/one//datastores/1/370d6f8205e2d85d328e922d1f356ab7 to […]

“OpenNebula USER name not found, use the ID instead”

When you get this message, it means the passwords between oneadmin and serveradmin are not in sync or you have the wrong hash in ~/.one/ files and the oned (pgrep -lf oned) service isn't really connecting to anything to get the username it needs.   "OpenNebula USER name not found, use the ID instead" We […]

VirtualMachinePoolInfo result FAILURE [VirtualMachinePoolInfo] User couldn’t be authenticated, aborting call.

For the error VirtualMachinePoolInfo result FAILURE [VirtualMachinePoolInfo] User couldn't be authenticated, aborting call. 7 this is likely due to wrong passwords for the oneadmin user.  You can reset it here. However, this can also be due to the oned service not recycling using one stop then one start. When we try this: [oneadmin@opennebula01 ~]$ one stop […]

error: can’t canonicalize path /var/lib/one/datastores/ Permission denied

Appears the error can't canonicalize path /var/lib/one/datastores/ Permission denied has to do with passwords not being in sync with what they were before.  Changing oneadmin password.  Password is hashed with sha1 in the database and the database is /var/lib/one/one.db.  Passwords in the ~/.one/one_auth and other *_auth as well as one_key files is plaintext:

Passless keys ssh does not work when home folder is an NFS mount.

On this CentOS 7 (both worker and controller), we cannot ssh using pass less keys from the controller opennebula01 to the worker mdskvm-p01 when the NFS share ( 192.168.0.70:/var/lib/one /var/lib/one) is mounted on the worker. But I can as soon as I unmount the opennebula01 NFS share off of the worker node mdskvm-p01. When the NFS […]

Enabling or disabling services using systemctl instead of chkconfig in RHEL 7 / CentOS 7 / Scientific Linux 7

This is a quick way to enable system services using systemctl instead of using chkconfig: [root@mdskvm-p01 audit]# systemctl list-unit-files|grep -i ntp ntpd.service                              disabled ntpdate.service                           disabled [root@mdskvm-p01 audit]# systemctl […]


     
  Copyright © 2003 - 2013 Tom Kacperski (microdevsys.com). All rights reserved.

Creative Commons License
This work is licensed under a Creative Commons Attribution 3.0 Unported License