Author Archive
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
Right here: /usr/lib/systemd/system RHEL 7 / Cent OS 7 / Scientific Linux 7 are quite different beasts from previous RHEL environments. The systemctl restart <SERVICE> calls scripts from the above aformentioned folder. Cheers, TK
March 28th, 2016 | Posted in NIX Posts | No Comments
Small problem encountered when instantiating a virtual machine on OpenNebula (). PROBLEM [oneadmin@opennebula01 .ssh]$ tail -f /var/log/one/1.log Mon Mar 28 00:15:43 2016 [Z0][DiM][I]: New VM state is ACTIVE. Mon Mar 28 00:15:43 2016 [Z0][LCM][I]: New VM state is PROLOG. Mon Mar 28 00:15:43 2016 [Z0][TM][I]: Command execution fail: /var/lib/one/remotes/tm/shared/clone opennebula01:/var/lib/one//datastores/1/ac152a0c5c61978e8448f68ade249a98 mdskvm-p01:/var/lib/one//datastores/0/1/disk.0 1 1 Mon […]
March 27th, 2016 | Posted in NIX Posts | No Comments
This is likely due to registry changes via installed software. To change, revert this value to 2: HKEY_LOCAL_MACHINE/System/CurrentControlSet/Control/Windows/ErrorMode Set to 2 from 0. Cheers, TK
March 23rd, 2016 | Posted in NIX Posts | No Comments
There are two way's to setup virtual machine connectivity to the outside using libvirt. The preferred is to create a bridged network (shared physical device) and the alternate is to create NAT forwarding (virtual network). We will look at the first, then the second. The virbr0 interface may come installed as part of the KVM virtualization […]
March 20th, 2016 | Posted in NIX Posts | No Comments
If you already started the dd command and need to see the progress and if it's stuck or not, use this line: watch -n5 'sudo kill -USR1 $(pgrep ^dd)' This will result in DD showing the following output, instead of being there without any progress shown: [root@mbpc-pc log]# nice -n +19 dd if=/dev/sdj of=/dev/sdi 815429980672 […]
March 20th, 2016 | Posted in NIX Posts | No Comments