[one-users] VM removed from one, but still running

2014-07-06 Thread Fabian Zimmermann
Hi,

just wondered, why one of my VMs had a completely broken filesystem.
After some research I found an old instance of my template (I'm using
persistent storage) running on one of my nodes. It looks like OpenNebula
didn't handle the broken auth correctly (caused by NFS-issues) and
marked the storage as free even if the VM is still running, isn't it?

--
Sat Jun 14 20:20:13 2014 [LCM][I]: New VM state is RUNNING
Sat Jun 28 14:11:07 2014 [LCM][I]: New VM state is UNKNOWN
Sat Jun 28 14:11:08 2014 [LCM][I]: New VM state is CLEANUP.
Sat Jun 28 14:11:08 2014 [VMM][I]: Driver command for 74 cancelled
Sat Jun 28 14:11:09 2014 [VMM][I]: Command execution fail:
/var/tmp/one/vmm/kvm/cancel 'one-74' 'node1' 74 node1
Sat Jun 28 14:11:09 2014 [VMM][I]: Warning: Permanently added
'node1,192.168.20.21' (ECDSA) to the list of known hosts.
Sat Jun 28 14:11:09 2014 [VMM][I]: Permission denied, please try again.
Sat Jun 28 14:11:09 2014 [VMM][I]: Permission denied, please try again.
Sat Jun 28 14:11:09 2014 [VMM][I]: Permission denied (publickey,password).
Sat Jun 28 14:11:09 2014 [VMM][I]: ExitSSHCode: 255
Sat Jun 28 14:11:09 2014 [VMM][E]: Error connecting to node1
Sat Jun 28 14:11:09 2014 [VMM][I]: Failed to execute virtualization
driver operation: cancel.
Sat Jun 28 14:11:09 2014 [VMM][I]: Command execution fail:
/var/tmp/one/vnm/dummy/clean
PFZNPjxJRD43NDwvSUQ+PERFUExPWV9JRD5vbmUtNzQ8L0RFUExPWV9JRD48VEVNUExBVEU+PE5JQz48QlJJREdFPjwhW0NEQVRBW2JyMF1dPjwvQlJJREdFPjxJUD48IVtDREFUQVs4OS4yMzguODkuMzZdXT48L0lQPjxJUDZfTElOSz48IVtDREFUQVtmZTgwOjoyMTY6M2VmZjpmZWI5OjU2ZTBdXT48L0lQNl9MSU5LPjxNQUM+PCFbQ0RBVEFbMDA6MTY6M2U6Yjk6NTY6ZTBdXT48L01BQz48TkVUV09SSz48IVtDREFUQVs4OS4yMzguODkuMzItMjldXT48L05FVFdPUks+PE5FVFdPUktfSUQ+PCFbQ0RBVEFbNF1dPjwvTkVUV09SS19JRD48TkVUV09SS19VTkFNRT48IVtDREFUQVtvbmVhZG1pbl1dPjwvTkVUV09SS19VTkFNRT48TklDX0lEPjwhW0NEQVRBWzBdXT48L05JQ19JRD48VkxBTj48IVtDREFUQVtOT11dPjwvVkxBTj48L05JQz48L1RFTVBMQVRFPjxISVNUT1JZX1JFQ09SRFM+PEhJU1RPUlk+PEhPU1ROQU1FPm5vZGUxPC9IT1NUTkFNRT48L0hJU1RPUlk+PC9ISVNUT1JZX1JFQ09SRFM+PC9WTT4=
Sat Jun 28 14:11:09 2014 [VMM][I]: Warning: Permanently added
'node1,192.168.20.21' (ECDSA) to the list of known hosts.
Sat Jun 28 14:11:09 2014 [VMM][I]: Permission denied, please try again.
Sat Jun 28 14:11:09 2014 [VMM][I]: Permission denied, please try again.
Sat Jun 28 14:11:09 2014 [VMM][I]: Permission denied (publickey,password).
Sat Jun 28 14:11:09 2014 [VMM][I]: ExitSSHCode: 255
Sat Jun 28 14:11:09 2014 [VMM][E]: Error connecting to node1
Sat Jun 28 14:11:09 2014 [VMM][I]: Failed to execute network driver
operation: clean.
Sat Jun 28 14:11:09 2014 [VMM][I]: Successfully execute transfer manager
driver operation: tm_delete.
Sat Jun 28 14:11:09 2014 [VMM][I]: Command execution fail:
/var/lib/one/remotes/tm/shared/delete
node1:/var/lib/one//datastores/0/74 74 0
Sat Jun 28 14:11:09 2014 [VMM][I]: delete: Deleting
/var/lib/one/datastores/0/74
Sat Jun 28 14:11:09 2014 [VMM][E]: delete: Command [ -e
/var/lib/one/datastores/0/74 ] || exit 0
Sat Jun 28 14:11:09 2014 [VMM][I]:
Sat Jun 28 14:11:09 2014 [VMM][I]: times=10
Sat Jun 28 14:11:09 2014 [VMM][I]: function=rm -rf
/var/lib/one/datastores/0/74
Sat Jun 28 14:11:09 2014 [VMM][I]:
Sat Jun 28 14:11:09 2014 [VMM][I]: count=1
Sat Jun 28 14:11:09 2014 [VMM][I]:
Sat Jun 28 14:11:09 2014 [VMM][I]: ret=$($function)
Sat Jun 28 14:11:09 2014 [VMM][I]: error=$?
Sat Jun 28 14:11:09 2014 [VMM][I]:
Sat Jun 28 14:11:09 2014 [VMM][I]: while [ $count -lt $times -a $error
!= 0 ]; do
Sat Jun 28 14:11:09 2014 [VMM][I]: sleep 1
Sat Jun 28 14:11:09 2014 [VMM][I]: count=$(( $count + 1 ))
Sat Jun 28 14:11:09 2014 [VMM][I]: ret=$($function)
Sat Jun 28 14:11:09 2014 [VMM][I]: error=$?
Sat Jun 28 14:11:09 2014 [VMM][I]: done
Sat Jun 28 14:11:09 2014 [VMM][I]:
Sat Jun 28 14:11:09 2014 [VMM][I]: [ x$error = x0 ] failed:
Warning: Permanently added 'node1,192.168.20.21' (ECDSA) to the list of
known hosts.
Sat Jun 28 14:11:09 2014 [VMM][I]: Permission denied, please try again.
Sat Jun 28 14:11:09 2014 [VMM][I]: Permission denied, please try again.
Sat Jun 28 14:11:09 2014 [VMM][I]: Permission denied (publickey,password).
Sat Jun 28 14:11:09 2014 [VMM][E]: Error deleting
/var/lib/one/datastores/0/74
Sat Jun 28 14:11:09 2014 [VMM][I]: ExitCode: 255
Sat Jun 28 14:11:09 2014 [VMM][I]: Failed to execute transfer manager
driver operation: tm_delete.
Sat Jun 28 14:11:09 2014 [VMM][I]: Host successfully cleaned.
Sat Jun 28 14:11:09 2014 [DiM][I]: New VM state is PENDING
Sat Jun 28 14:11:33 2014 [DiM][I]: New VM state is ACTIVE.
Sat Jun 28 14:11:33 2014 [LCM][I]: New VM state is PROLOG.
Sat Jun 28 14:32:57 2014 [LCM][I]: New VM state is CLEANUP.
Sat Jun 28 14:32:57 2014 [DiM][I]: New VM state is DONE
Sat Jun 28 14:32:57 2014 [TM][W]: Ignored: LOG I 74 Driver command for
74 cancelled
Sat Jun 28 14:32:59 2014 [TM][W]: Ignored: TRANSFER SUCCESS 74 -

--

Fabian
___
Users mailing list
Users@lists.opennebula.org

Re: [one-users] VM running on multiple hosts

2014-07-06 Thread Fabian Zimmermann
Hi,

Am 03.07.2014 16:59, schrieb Jaime Melis:
 As far as I know, the shared_lvm hasn't been updated lately:
 - https://github.com/OpenNebula/addon-shared-lvm-single-lock
 - http://community.opennebula.org/shared_lvm

also having the issue in OpenNebula 4.6.0

Fabian

___
Users mailing list
Users@lists.opennebula.org
http://lists.opennebula.org/listinfo.cgi/users-opennebula.org


[one-users] urgent- VM state does not change from init

2014-07-06 Thread Aloboud -
We have opennebula ver.4.4, after configuring the opennebula to work KVM
hypervisor and dummy network, the host stucked with INIT state and never
change to ON state, attached the log file:




Sun Jul  6 12:42:02 2014 [InM][I]: Command execution fail: 'if [ -x
/var/tmp/one/im/run_probes ]; then /var/tmp/one/im/run_probes kvm
/storage/cloud/one/datastores 4124 20 6 node3;
else  exit 42; fi'

Sun Jul  6 12:42:02 2014 [InM][I]: Warning: Permanently added
'node3,192.168.10.3' (RSA) to the list of known hosts.

Sun Jul  6 12:42:02 2014 [InM][I]: Connection closed by 192.168.10.3

Sun Jul  6 12:42:02 2014 [InM][I]: ExitCode: 255

Sun Jul  6 12:42:07 2014 [InM][I]: Command execution fail: 'if [ -x
/var/tmp/one/im/run_probes ]; then /var/tmp/one/im/run_probes kvm
/storage/cloud/one/datastores 4124 20 10 node2;
else  exit 42; fi'

Sun Jul  6 12:42:07 2014 [InM][I]: Warning: Permanently added
'node2,192.168.10.2' (RSA) to the list of known hosts.

Sun Jul  6 12:42:07 2014 [InM][I]: Connection closed by 192.168.10.2

Sun Jul  6 12:42:07 2014 [InM][I]: ExitCode: 255
___
Users mailing list
Users@lists.opennebula.org
http://lists.opennebula.org/listinfo.cgi/users-opennebula.org


Re: [one-users] VM running on multiple hosts

2014-07-06 Thread Miloš Kozák

Hi,

Recently I found there is a support for locks in libvirt, has anybody 
tried that? Anybody uses fcntl with lvm?


Thanks

Dne 14-07-06 02:41 AM, Fabian Zimmermann napsal(a):

Hi,

Am 03.07.2014 16:59, schrieb Jaime Melis:

As far as I know, the shared_lvm hasn't been updated lately:
- https://github.com/OpenNebula/addon-shared-lvm-single-lock
- http://community.opennebula.org/shared_lvm

also having the issue in OpenNebula 4.6.0

Fabian

___
Users mailing list
Users@lists.opennebula.org
http://lists.opennebula.org/listinfo.cgi/users-opennebula.org


___
Users mailing list
Users@lists.opennebula.org
http://lists.opennebula.org/listinfo.cgi/users-opennebula.org