Header Shadow Image


Archive for the 'NIX Posts' Category

“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 […]

Where is /etc/init.d/sshd or the /etc/init.d folder in RHEL 7

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

Error executing image transfer script: Error copying opennebula

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 […]

Please insert a disk into drive

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

Changing virbr0 virtual interface

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 […]

Show progress of dd command

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 […]


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

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

 

The IT Development and Technology Mini Vault | MicroDevSys.com
Privacy Overview

This website uses cookies so that we can provide you with the best user experience possible. Cookie information is stored in your browser and performs functions such as recognising you when you return to our website and helping our team to understand which sections of the website you find most interesting and useful.