Header Shadow Image


Author Archive

Failed to execute operation: Access denied

When running you get this message: # systemctl enable nfs-server.service Failed to execute operation: Access denied Solution is to disable selinux or to allow for proper SELinux rules to allow for the above action: # vi /etc/sysconfig/selinux … SELINUX=disabled … # setenforce 0 # getenforce Permissive Alternately see the following post for details on how […]

Error: A specified parameter was not correct vim.host.diskpartitioninfo.spec

SSH to esxi (enable ssh via console if not enabled) then: esxcfg-scsidevs -l then  partedUtil delete <DISK> <PARTITION> example: partedUtil delete (Gave invalid partition number) : partedUtil delete /vmfs/devices/disks/naa.600508b1001c7ef7f736cd3dbeb5915d vml.0200010000600508b1001c7ef7f736cd3dbeb5915d4c4f47494341 Cheers, TK

OpenNebula VM Password Prompt

When instantiating VM's through OpenNebula, when logging into those VM's, the VM's may ask you for a password.  The solution here is to edit the template in the GUI and add a context to it including the public SSH key.  Click on the template then Update from the top right hand side buttom row then enter […]

How to tail two files simultaneously

[oneadmin@opennebula01 one]$ tail -f oned.log sched.log ==> sched.log <== Tue Apr 12 21:09:36 2016 [Z0][SCHED][I]: Getting scheduled actions information. Total time: 0.00560014s ==> oned.log <== Tue Apr 12 21:09:36 2016 [Z0][ReM][D]: Req:8160 UID:0 VirtualMachinePoolInfo invoked , -2, -1, -1, -1 Tue Apr 12 21:09:36 2016 [Z0][ReM][D]: Req:8160 UID:0 VirtualMachinePoolInfo result SUCCESS, "<VM_POOL><VM><ID>40<…" ==> sched.log <== […]

VNC Failed to connect to server (code: 1006)

When receiving the following on OpenStack or OpenNebula: VNC Failed to connect to server (code: 1006) try the below steps to resolve the issue on either hypervisor manager:

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


     
  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.