Archive for March, 2016
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 […]
March 31st, 2016 | Posted in NIX Posts | No Comments
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: […]
March 31st, 2016 | Posted in NIX Posts | No Comments
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 […]
March 30th, 2016 | Posted in NIX Posts | No Comments
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 […]
March 30th, 2016 | Posted in NIX Posts | No Comments
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 […]
March 30th, 2016 | Posted in NIX Posts | No Comments
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 […]
March 30th, 2016 | Posted in NIX Posts | No Comments
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 […]
March 30th, 2016 | Posted in NIX Posts | 1 Comment
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:
March 30th, 2016 | Posted in NIX Posts | 2 Comments
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 […]
March 28th, 2016 | Posted in NIX Posts | 1 Comment
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 […]
March 28th, 2016 | Posted in NIX Posts | No Comments