[one-users] add host problem: Permission denied on debian 7.7

2014-12-17 Thread clm_t...@hotmail.com
Hi All

I install 4.10.1-1 on demo server(one host ),host os is Debian 7.7,But I'm 
adding a host is experiencing a problem, found in oned.log Permission denied, 
do you have any suggestions on this issue. Thanks.

Thu Dec 18 14:38:46 2014 [Z0][ReM][D]: Req:8640 UID:0 HostAllocate invoked , 
localhost, kvm, kvm, dummy, -1 
Thu Dec 18 14:38:46 2014 [Z0][ReM][D]: Req:8640 UID:0 HostAllocate result 
SUCCESS, 3 
Thu Dec 18 14:38:49 2014 [Z0][InM][D]: Monitoring host localhost (3) 
Thu Dec 18 14:38:50 2014 [Z0][InM][I]: Command execution fail: scp -r 
/var/lib/one/remotes/. localhost:/var/tmp/one 
Thu Dec 18 14:38:50 2014 [Z0][InM][I]: Warning: Permanently added 'localhost' 
(RSA) to the list of known hosts. 
Thu Dec 18 14:38:50 2014 [Z0][InM][I]: Permission denied, please try again. 
Thu Dec 18 14:38:50 2014 [Z0][InM][I]: Permission denied, please try again. 
Thu Dec 18 14:38:50 2014 [Z0][InM][I]: Permission denied (publickey,password). 
Thu Dec 18 14:38:50 2014 [Z0][InM][I]: lost connection 
Thu Dec 18 14:38:50 2014 [Z0][InM][I]: ExitCode: 1 
Thu Dec 18 14:38:50 2014 [Z0][ONE][E]: Error monitoring Host localhost (3): 


Thu Dec 18 14:40:00 2014 [Z0][InM][D]: Monitoring host localhost (3) 
Thu Dec 18 14:40:01 2014 [Z0][InM][I]: Command execution fail: 'if [ -x 
/var/tmp/one/im/run_probes ]; then /var/tmp/one/im/run_probes kvm 
/var/lib/one//datastores 4124 20 3 localhost; else exit 42; fi' 
Thu Dec 18 14:40:01 2014 [Z0][InM][I]: Warning: Permanently added 'localhost' 
(RSA) to the list of known hosts. 
Thu Dec 18 14:40:01 2014 [Z0][InM][I]: Permission denied, please try again. 
Thu Dec 18 14:40:01 2014 [Z0][InM][I]: Permission denied, please try again. 
Thu Dec 18 14:40:01 2014 [Z0][InM][I]: Permission denied (publickey,password). 
Thu Dec 18 14:40:01 2014 [Z0][InM][I]: ExitCode: 255



Regard

clm


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


Re: [one-users] I define a hook, want the host to restart the VM will automatically start after , but has not been successful.

2014-12-16 Thread clm_t...@hotmail.com
Thanks,now it's work.

before reboot:

Wed Dec 17 09:49:32 2014 [Z0][DiM][I]: New VM state is ACTIVE. 
Wed Dec 17 09:49:32 2014 [Z0][LCM][I]: New VM state is BOOT_POWEROFF 
Wed Dec 17 09:49:32 2014 [Z0][VMM][I]: Generating deployment file: 
/var/lib/one/vms/1/deployment.1 
Wed Dec 17 09:49:33 2014 [Z0][VMM][I]: ExitCode: 0 
Wed Dec 17 09:49:33 2014 [Z0][VMM][I]: Successfully execute network driver 
operation: pre. 
Wed Dec 17 09:49:33 2014 [Z0][VMM][I]: ExitCode: 0 
Wed Dec 17 09:49:33 2014 [Z0][VMM][I]: Successfully execute virtualization 
driver operation: deploy. 
Wed Dec 17 09:49:33 2014 [Z0][VMM][I]: ExitCode: 0 
Wed Dec 17 09:49:33 2014 [Z0][VMM][I]: Successfully execute network driver 
operation: post. 
Wed Dec 17 09:49:33 2014 [Z0][LCM][I]: New VM state is RUNNING

reboot host:

Wed Dec 17 09:51:33 2014 [Z0][DiM][I]: New VM state is POWEROFF 
Wed Dec 17 09:51:33 2014 [Z0][DiM][I]: New VM state is ACTIVE. 
Wed Dec 17 09:51:33 2014 [Z0][LCM][I]: New VM state is BOOT_POWEROFF 
Wed Dec 17 09:51:33 2014 [Z0][HKM][I]: Success executing Hook: autostart_hook: 
. 
Wed Dec 17 09:51:33 2014 [Z0][VMM][I]: Generating deployment file: 
/var/lib/one/vms/1/deployment.2 
Wed Dec 17 09:51:34 2014 [Z0][VMM][I]: ExitCode: 0 
Wed Dec 17 09:51:34 2014 [Z0][VMM][I]: Successfully execute network driver 
operation: pre. 
Wed Dec 17 09:51:34 2014 [Z0][VMM][I]: ExitCode: 0 
Wed Dec 17 09:51:34 2014 [Z0][VMM][I]: Successfully execute virtualization 
driver operation: deploy. 
Wed Dec 17 09:51:34 2014 [Z0][VMM][I]: ExitCode: 0 
Wed Dec 17 09:51:34 2014 [Z0][VMM][I]: Successfully execute network driver 
operation: post. 
Wed Dec 17 09:51:34 2014 [Z0][LCM][I]: New VM state is RUNNING

once again reboot host:

Wed Dec 17 10:01:34 2014 [Z0][DiM][I]: New VM state is POWEROFF 
Wed Dec 17 10:01:34 2014 [Z0][DiM][I]: New VM state is ACTIVE. 
Wed Dec 17 10:01:34 2014 [Z0][HKM][I]: Success executing Hook: autostart_hook: 
. 
Wed Dec 17 10:01:34 2014 [Z0][LCM][I]: New VM state is BOOT_POWEROFF 
Wed Dec 17 10:01:34 2014 [Z0][VMM][I]: Generating deployment file: 
/var/lib/one/vms/1/deployment.3 
Wed Dec 17 10:01:35 2014 [Z0][VMM][I]: ExitCode: 0 
Wed Dec 17 10:01:35 2014 [Z0][VMM][I]: Successfully execute network driver 
operation: pre. 
Wed Dec 17 10:01:35 2014 [Z0][VMM][I]: ExitCode: 0 
Wed Dec 17 10:01:35 2014 [Z0][VMM][I]: Successfully execute virtualization 
driver operation: deploy. 
Wed Dec 17 10:01:35 2014 [Z0][VMM][I]: ExitCode: 0 
Wed Dec 17 10:01:35 2014 [Z0][VMM][I]: Successfully execute network driver 
operation: post. 
Wed Dec 17 10:01:35 2014 [Z0][LCM][I]: New VM state is RUNNING



clm_t...@hotmail.com
 
From: Carlos Martín Sánchez
Date: 2014-12-16 17:48
To: clm_t...@hotmail.com
CC: users
Subject: Re: [one-users] I define a hook, want the host to restart the VM will 
automatically start after , but has not been successful.
Hi,

On Mon, Dec 15, 2014 at 4:18 AM, clm_t...@hotmail.com clm_t...@hotmail.com 
wrote:
Hi All

I define a hook, want the host to restart the VM will automatically start 
after,but has not been successful.

 VM_HOOK = [ 
name = autostart_hook, 
on = CUSTOM, 
state = POWEROFF, 
lcm_state = LCM_INIT, 
command = /usr/bin/env onevm resume, 
arguments = $ID ]

Do you have any good suggestions, thank you.

The hook definition looks good. Did you restart opennebula after editing 
oned.conf?

You can look for any errors in the hook execution in the individual VM log, in 
/var/log/one/id.log

Regards.

--
Carlos Martín, MSc
Project Engineer
OpenNebula - Flexible Enterprise Cloud Made Simple
www.OpenNebula.org | cmar...@opennebula.org | @OpenNebula
 
___
Users mailing list
Users@lists.opennebula.org
http://lists.opennebula.org/listinfo.cgi/users-opennebula.org


[one-users] I define a hook, want the host to restart the VM will automatically start after , but has not been successful.

2014-12-14 Thread clm_t...@hotmail.com
Hi All

I define a hook, want the host to restart the VM will automatically start 
after,but has not been successful.

 VM_HOOK = [ 
name = autostart_hook, 
on = CUSTOM, 
state = POWEROFF, 
lcm_state = LCM_INIT, 
command = /usr/bin/env onevm resume, 
arguments = $ID ]

Do you have any good suggestions, thank you.


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


Re: [one-users] Can you tell me where they are location of the prompting message

2014-08-25 Thread clm_t...@hotmail.com
Thanks .

Regards.

clm



clm_t...@hotmail.com
 
From: Daniel Molina
Date: 2014-08-25 20:18
To: clm_t...@hotmail.com
CC: users
Subject: Re: [one-users] Can you tell me where they are location of the 
prompting message
Hi,

Those error messages are defined in the core and they cannot be translated, 
yet. If you want to modify them you should add some code at the javascript 
level to translate them. The error message is prompted using the following 
code, you can translate them there as a workaround:

https://github.com/OpenNebula/one/blob/master/src/sunstone/public/js/sunstone.js#L1596

Cheers


On 21 August 2014 11:43, clm_t...@hotmail.com clm_t...@hotmail.com wrote:
Hi , all

I want to translate the sunstone  lower right corner of  the prompting message, 
but do not know their storage location, such as: 
Update role: Wrong state SCALING ;
[VirtualMachineAction] Wrong state to perform action reboot ;
[ZoneAllocate] Error allocating a new zone. New Zones can only be created if 
OpenNebula is configured as a Federation Master. ;
[VirtualMachineAction] Wrong state to perform action undeploy-hard;

Can you tell me where they are location of the prompting message,Thanks.

Regards.
clm


clm_t...@hotmail.com


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




-- 
--
Daniel Molina
Project Engineer
OpenNebula - Flexible Enterprise Cloud Made Simple
www.OpenNebula.org | dmol...@opennebula.org | @OpenNebula
___
Users mailing list
Users@lists.opennebula.org
http://lists.opennebula.org/listinfo.cgi/users-opennebula.org


[one-users] Can you tell me where they are location of the prompting message

2014-08-21 Thread clm_t...@hotmail.com
Hi , all

I want to translate the sunstone  lower right corner of  the prompting message, 
but do not know their storage location, such as: 
Update role: Wrong state SCALING ;
[VirtualMachineAction] Wrong state to perform action reboot ;
[ZoneAllocate] Error allocating a new zone. New Zones can only be created if 
OpenNebula is configured as a Federation Master. ;
[VirtualMachineAction] Wrong state to perform action undeploy-hard;

Can you tell me where they are location of the prompting message,Thanks.

Regards.
clm


clm_t...@hotmail.com

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


Re: [one-users] deploy Non-persistent vm on 4.6.2 base glusterfs no running

2014-08-19 Thread clm_t...@hotmail.com
I'm sorry for replying so late,it's ok.Thanks.

Regards.
clm



clm_t...@hotmail.com
 
From: Jaime Melis
Date: 2014-08-13 16:55
To: clm_t...@hotmail.com
CC: vincent; users
Subject: Re: [one-users] deploy Non-persistent vm on 4.6.2 base glusterfs no 
running
Hi,

did this work for you?

cheers,
Jaime


On Mon, Jul 14, 2014 at 2:38 AM, clm_t...@hotmail.com clm_t...@hotmail.com 
wrote:
Thank you for your reply.

Regards.
 
From: vincent
Date: 2014-07-12 18:30
To: clm_tuan
CC: users
Subject: Re: [one-users] deploy Non-persistent vm on 4.6.2 base glusterfs no 
running
On 2014-07-11 10:17, clm_t...@hotmail.com wrote:
 Dear All,
 
 I tried to deploy opennebula 4.6.2 base glusterfs 3.5.1
 
 all three server:
 1. one server,ip is 192.168.0.198;
 2. node0,ip is 192.168.0.199;
 3. node1,ip is 192.168.0.200;
 
 Datastores configuration:
 
 [oneadmin@fc-server ]$ onedatastore show 102
 DATASTORE 102 INFORMATION
 ID : 102
 NAME : sys
 USER : oneadmin
 GROUP : oneadmin
 CLUSTER : c1
 TYPE : SYSTEM
 DS_MAD : -
 TM_MAD : shared
 BASE PATH : /var/lib/one//datastores/102
 DISK_TYPE : FILE
 
 DATASTORE CAPACITY
 TOTAL: : 131.3G
 FREE: : 123.3G
 USED: : 41M
 LIMIT: : -
 
 PERMISSIONS
 OWNER : um-
 GROUP : u--
 OTHER : ---
 
 DATASTORE TEMPLATE
 BASE_PATH=/var/lib/one//datastores/
 GLUSTER_HOST=192.168.0.199:24007
 GLUSTER_VOLUME=fc-sys
 SHARED=YES
 TM_MAD=shared
 TYPE=SYSTEM_DS
 
 [oneadmin@fc-server ]$ onedatastore show 103
 DATASTORE 103 INFORMATION
 ID : 103
 NAME : img
 USER : oneadmin
 GROUP : oneadmin
 CLUSTER : c1
 TYPE : IMAGE
 DS_MAD : fs
 TM_MAD : shared
 BASE PATH : /var/lib/one//datastores/103
 DISK_TYPE :
 
 DATASTORE CAPACITY
 TOTAL: : 131.3G
 FREE: : 123.3G
 USED: : 41M
 LIMIT: : -
 
 PERMISSIONS
 OWNER : um-
 GROUP : u--
 OTHER : ---
 
 DATASTORE TEMPLATE
 BASE_PATH=/var/lib/one//datastores/
 CLONE_TARGET=SYSTEM
 DISK_TYPE=GLUSTER
 DS_MAD=fs
 GLUSTER_HOST=192.168.0.199:24007
 GLUSTER_VOLUME=fc-img
 LN_TARGET=NONE
 TM_MAD=shared
 TYPE=IMAGE_DS
 
 192.168.0.199:/fc-sys on /var/lib/one/datastores/102 type
 fuse.glusterfs (rw,default_permissions,allow_other,max_read=131072)
 192.168.0.199:/fc-img on /var/lib/one/datastores/103 type
 fuse.glusterfs (rw,default_permissions,allow_other,max_read=131072)
 
 deploy image to PERSISTENT, it's ok.
 
 [oneadmin@fc-server ]$ oneimage show 1
 IMAGE 1 INFORMATION
 ID : 1
 NAME : ttylinux
 USER : oneadmin
 GROUP : oneadmin
 DATASTORE : img
 TYPE : OS
 REGISTER TIME : 07/11 21:35:11
 PERSISTENT : Yes
 SOURCE : /var/lib/one//datastores/103/4c40e4068ad2ff41c8767c40f85ae786
 
 PATH :
 http://marketplace.c12g.com/appliance/4fc76a938fb81d351703/download/0
 
 SIZE : 40M
 STATE : used
 RUNNING_VMS : 1
 
 PERMISSIONS
 OWNER : um-
 GROUP : ---
 OTHER : ---
 
 IMAGE TEMPLATE
 DEV_PREFIX=hd
 FROM_APP=4fc76a938fb81d351703
 FROM_APP_FILE=0
 FROM_APP_NAME=ttylinux - kvm
 MD5=04c7d00e88fa66d9aaa34d9cf8ad6aaa
 
 VIRTUAL MACHINES
 
  ID USER GROUP NAME STAT UCPU UMEM HOST TIME
  8 oneadmin oneadmin tt runn 0 512M 192.168.0. -1d 16h32
 [oneadmin@fc-server tm]$
 
 [oneadmin@fc-server 8]$ ll
 total 366
 -rw-rw-r-- 1 oneadmin oneadmin 992 Jul 11 13:44 deployment.0
 lrwxrwxrwx 1 oneadmin oneadmin 60 Jul 11 13:44 disk.0 -
 /var/lib/one/datastores/103/4c40e4068ad2ff41c8767c40f85ae786
 -rw-r--r-- 1 oneadmin oneadmin 372736 Jul 11 13:44 disk.1
 lrwxrwxrwx 1 oneadmin oneadmin 36 Jul 11 13:44 disk.1.iso -
 /var/lib/one/datastores/102/8/disk.1
 
 but deploy image to Non-persistent, it's no running.
 
 [oneadmin@fc-server 102]$ oneimage show 1
 IMAGE 1 INFORMATION
 ID : 1
 NAME : ttylinux
 USER : oneadmin
 GROUP : oneadmin
 DATASTORE : img
 TYPE : OS
 REGISTER TIME : 07/11 21:35:11
 PERSISTENT : No
 SOURCE : /var/lib/one//datastores/103/4c40e4068ad2ff41c8767c40f85ae786
 
 PATH :
 http://marketplace.c12g.com/appliance/4fc76a938fb81d351703/download/0
 
 SIZE : 40M
 STATE : used
 RUNNING_VMS : 1
 
 PERMISSIONS
 OWNER : um-
 GROUP : ---
 OTHER : ---
 
 IMAGE TEMPLATE
 DEV_PREFIX=hd
 FROM_APP=4fc76a938fb81d351703
 FROM_APP_FILE=0
 FROM_APP_NAME=ttylinux - kvm
 MD5=04c7d00e88fa66d9aaa34d9cf8ad6aaa
 
 VIRTUAL MACHINES
 
  ID USER GROUP NAME STAT UCPU UMEM HOST TIME
  10 oneadmin oneadmin tt fail 0 0K 0d 00h00
 
 [oneadmin@fc-server 102]$ ls
 10
 [oneadmin@fc-server 102]$ cd 10
 [oneadmin@fc-server 10]$ ll
 total 41325
 -rw-rw-r-- 1 oneadmin oneadmin 971 Jul 11 14:35 deployment.0
 -rw-r--r-- 1 oneadmin oneadmin 41943040 Jul 11 14:35 disk.0
 -rw-r--r-- 1 oneadmin oneadmin 372736 Jul 11 14:35 disk.1
 lrwxrwxrwx 1 oneadmin oneadmin 37 Jul 11 14:35 disk.1.iso -
 /var/lib/one/datastores/102/10/disk.1
 
 show log :
 
 Fri Jul 11 14:35:26 2014 [DiM][D]: Deploying VM 10
 Fri Jul 11 14:35:26 2014 [ReM][D]: Req:8400 UID:0 VirtualMachineDeploy
 result SUCCESS, 10
 Fri Jul 11 14:35:31 2014 [TM][D]: Message received: TRANSFER SUCCESS
 10 -
 
 Fri Jul 11 14:35:32 2014 [VMM][D]: Message received: LOG I 10
 ExitCode: 0
 
 Fri Jul 11 14:35:32 2014 [VMM][D]: Message received: LOG I 10
 Successfully execute network

Re: [one-users] deploy Non-persistent vm on 4.6.2 base glusterfs no running

2014-07-13 Thread clm_t...@hotmail.com
Thank you for your reply.

Regards.
 
From: vincent
Date: 2014-07-12 18:30
To: clm_tuan
CC: users
Subject: Re: [one-users] deploy Non-persistent vm on 4.6.2 base glusterfs no 
running
On 2014-07-11 10:17, clm_t...@hotmail.com wrote:
 Dear All,
 
 I tried to deploy opennebula 4.6.2 base glusterfs 3.5.1
 
 all three server:
 1. one server,ip is 192.168.0.198;
 2. node0,ip is 192.168.0.199;
 3. node1,ip is 192.168.0.200;
 
 Datastores configuration:
 
 [oneadmin@fc-server ]$ onedatastore show 102
 DATASTORE 102 INFORMATION
 ID : 102
 NAME : sys
 USER : oneadmin
 GROUP : oneadmin
 CLUSTER : c1
 TYPE : SYSTEM
 DS_MAD : -
 TM_MAD : shared
 BASE PATH : /var/lib/one//datastores/102
 DISK_TYPE : FILE
 
 DATASTORE CAPACITY
 TOTAL: : 131.3G
 FREE: : 123.3G
 USED: : 41M
 LIMIT: : -
 
 PERMISSIONS
 OWNER : um-
 GROUP : u--
 OTHER : ---
 
 DATASTORE TEMPLATE
 BASE_PATH=/var/lib/one//datastores/
 GLUSTER_HOST=192.168.0.199:24007
 GLUSTER_VOLUME=fc-sys
 SHARED=YES
 TM_MAD=shared
 TYPE=SYSTEM_DS
 
 [oneadmin@fc-server ]$ onedatastore show 103
 DATASTORE 103 INFORMATION
 ID : 103
 NAME : img
 USER : oneadmin
 GROUP : oneadmin
 CLUSTER : c1
 TYPE : IMAGE
 DS_MAD : fs
 TM_MAD : shared
 BASE PATH : /var/lib/one//datastores/103
 DISK_TYPE :
 
 DATASTORE CAPACITY
 TOTAL: : 131.3G
 FREE: : 123.3G
 USED: : 41M
 LIMIT: : -
 
 PERMISSIONS
 OWNER : um-
 GROUP : u--
 OTHER : ---
 
 DATASTORE TEMPLATE
 BASE_PATH=/var/lib/one//datastores/
 CLONE_TARGET=SYSTEM
 DISK_TYPE=GLUSTER
 DS_MAD=fs
 GLUSTER_HOST=192.168.0.199:24007
 GLUSTER_VOLUME=fc-img
 LN_TARGET=NONE
 TM_MAD=shared
 TYPE=IMAGE_DS
 
 192.168.0.199:/fc-sys on /var/lib/one/datastores/102 type
 fuse.glusterfs (rw,default_permissions,allow_other,max_read=131072)
 192.168.0.199:/fc-img on /var/lib/one/datastores/103 type
 fuse.glusterfs (rw,default_permissions,allow_other,max_read=131072)
 
 deploy image to PERSISTENT, it's ok.
 
 [oneadmin@fc-server ]$ oneimage show 1
 IMAGE 1 INFORMATION
 ID : 1
 NAME : ttylinux
 USER : oneadmin
 GROUP : oneadmin
 DATASTORE : img
 TYPE : OS
 REGISTER TIME : 07/11 21:35:11
 PERSISTENT : Yes
 SOURCE : /var/lib/one//datastores/103/4c40e4068ad2ff41c8767c40f85ae786
 
 PATH :
 http://marketplace.c12g.com/appliance/4fc76a938fb81d351703/download/0
 
 SIZE : 40M
 STATE : used
 RUNNING_VMS : 1
 
 PERMISSIONS
 OWNER : um-
 GROUP : ---
 OTHER : ---
 
 IMAGE TEMPLATE
 DEV_PREFIX=hd
 FROM_APP=4fc76a938fb81d351703
 FROM_APP_FILE=0
 FROM_APP_NAME=ttylinux - kvm
 MD5=04c7d00e88fa66d9aaa34d9cf8ad6aaa
 
 VIRTUAL MACHINES
 
  ID USER GROUP NAME STAT UCPU UMEM HOST TIME
  8 oneadmin oneadmin tt runn 0 512M 192.168.0. -1d 16h32
 [oneadmin@fc-server tm]$
 
 [oneadmin@fc-server 8]$ ll
 total 366
 -rw-rw-r-- 1 oneadmin oneadmin 992 Jul 11 13:44 deployment.0
 lrwxrwxrwx 1 oneadmin oneadmin 60 Jul 11 13:44 disk.0 -
 /var/lib/one/datastores/103/4c40e4068ad2ff41c8767c40f85ae786
 -rw-r--r-- 1 oneadmin oneadmin 372736 Jul 11 13:44 disk.1
 lrwxrwxrwx 1 oneadmin oneadmin 36 Jul 11 13:44 disk.1.iso -
 /var/lib/one/datastores/102/8/disk.1
 
 but deploy image to Non-persistent, it's no running.
 
 [oneadmin@fc-server 102]$ oneimage show 1
 IMAGE 1 INFORMATION
 ID : 1
 NAME : ttylinux
 USER : oneadmin
 GROUP : oneadmin
 DATASTORE : img
 TYPE : OS
 REGISTER TIME : 07/11 21:35:11
 PERSISTENT : No
 SOURCE : /var/lib/one//datastores/103/4c40e4068ad2ff41c8767c40f85ae786
 
 PATH :
 http://marketplace.c12g.com/appliance/4fc76a938fb81d351703/download/0
 
 SIZE : 40M
 STATE : used
 RUNNING_VMS : 1
 
 PERMISSIONS
 OWNER : um-
 GROUP : ---
 OTHER : ---
 
 IMAGE TEMPLATE
 DEV_PREFIX=hd
 FROM_APP=4fc76a938fb81d351703
 FROM_APP_FILE=0
 FROM_APP_NAME=ttylinux - kvm
 MD5=04c7d00e88fa66d9aaa34d9cf8ad6aaa
 
 VIRTUAL MACHINES
 
  ID USER GROUP NAME STAT UCPU UMEM HOST TIME
  10 oneadmin oneadmin tt fail 0 0K 0d 00h00
 
 [oneadmin@fc-server 102]$ ls
 10
 [oneadmin@fc-server 102]$ cd 10
 [oneadmin@fc-server 10]$ ll
 total 41325
 -rw-rw-r-- 1 oneadmin oneadmin 971 Jul 11 14:35 deployment.0
 -rw-r--r-- 1 oneadmin oneadmin 41943040 Jul 11 14:35 disk.0
 -rw-r--r-- 1 oneadmin oneadmin 372736 Jul 11 14:35 disk.1
 lrwxrwxrwx 1 oneadmin oneadmin 37 Jul 11 14:35 disk.1.iso -
 /var/lib/one/datastores/102/10/disk.1
 
 show log :
 
 Fri Jul 11 14:35:26 2014 [DiM][D]: Deploying VM 10
 Fri Jul 11 14:35:26 2014 [ReM][D]: Req:8400 UID:0 VirtualMachineDeploy
 result SUCCESS, 10
 Fri Jul 11 14:35:31 2014 [TM][D]: Message received: TRANSFER SUCCESS
 10 -
 
 Fri Jul 11 14:35:32 2014 [VMM][D]: Message received: LOG I 10
 ExitCode: 0
 
 Fri Jul 11 14:35:32 2014 [VMM][D]: Message received: LOG I 10
 Successfully execute network driver operation: pre.
 
 Fri Jul 11 14:35:33 2014 [VMM][D]: Message received: LOG I 10 Command
 execution fail: cat  EOT | /var/tmp/one/vmm/kvm/deploy
 '/var/lib/one//datastores/102/10/deployment.0' '192.168.0.199' 10
 192.168.0.199
 
 Fri Jul 11 14:35:33 2014 [VMM][D]: Message received: LOG I 10 error:
 Failed to create domain from
 /var/lib/one//datastores/102/10/deployment.0
 
 Fri

[one-users] deploy Non-persistent vm on 4.6.2 base glusterfs no running

2014-07-11 Thread clm_t...@hotmail.com
Dear All, 

I tried to deploy opennebula 4.6.2 base glusterfs 3.5.1

all three server: 
1. one server,ip is 192.168.0.198; 
2. node0,ip is 192.168.0.199; 
3. node1,ip is 192.168.0.200; 


Datastores configuration: 

[oneadmin@fc-server ]$ onedatastore show 102 
DATASTORE 102 INFORMATION 
ID : 102 
NAME : sys 
USER : oneadmin 
GROUP : oneadmin 
CLUSTER : c1 
TYPE : SYSTEM 
DS_MAD : - 
TM_MAD : shared 
BASE PATH : /var/lib/one//datastores/102 
DISK_TYPE : FILE 

DATASTORE CAPACITY 
TOTAL: : 131.3G 
FREE: : 123.3G 
USED: : 41M 
LIMIT: : - 

PERMISSIONS 
OWNER : um- 
GROUP : u-- 
OTHER : --- 

DATASTORE TEMPLATE 
BASE_PATH=/var/lib/one//datastores/ 
GLUSTER_HOST=192.168.0.199:24007 
GLUSTER_VOLUME=fc-sys 
SHARED=YES 
TM_MAD=shared 
TYPE=SYSTEM_DS 

[oneadmin@fc-server ]$ onedatastore show 103 
DATASTORE 103 INFORMATION 
ID : 103 
NAME : img 
USER : oneadmin 
GROUP : oneadmin 
CLUSTER : c1 
TYPE : IMAGE 
DS_MAD : fs 
TM_MAD : shared 
BASE PATH : /var/lib/one//datastores/103 
DISK_TYPE : 

DATASTORE CAPACITY 
TOTAL: : 131.3G 
FREE: : 123.3G 
USED: : 41M 
LIMIT: : - 

PERMISSIONS 
OWNER : um- 
GROUP : u-- 
OTHER : --- 

DATASTORE TEMPLATE 
BASE_PATH=/var/lib/one//datastores/ 
CLONE_TARGET=SYSTEM 
DISK_TYPE=GLUSTER 
DS_MAD=fs 
GLUSTER_HOST=192.168.0.199:24007 
GLUSTER_VOLUME=fc-img 
LN_TARGET=NONE 
TM_MAD=shared 
TYPE=IMAGE_DS 

192.168.0.199:/fc-sys on /var/lib/one/datastores/102 type fuse.glusterfs 
(rw,default_permissions,allow_other,max_read=131072) 
192.168.0.199:/fc-img on /var/lib/one/datastores/103 type fuse.glusterfs 
(rw,default_permissions,allow_other,max_read=131072) 

deploy image to PERSISTENT, it's ok. 

[oneadmin@fc-server ]$ oneimage show 1 
IMAGE 1 INFORMATION 
ID : 1 
NAME : ttylinux 
USER : oneadmin 
GROUP : oneadmin 
DATASTORE : img 
TYPE : OS 
REGISTER TIME : 07/11 21:35:11 
PERSISTENT : Yes 
SOURCE : /var/lib/one//datastores/103/4c40e4068ad2ff41c8767c40f85ae786 
PATH : 
http://marketplace.c12g.com/appliance/4fc76a938fb81d351703/download/0 
SIZE : 40M 
STATE : used 
RUNNING_VMS : 1 

PERMISSIONS 
OWNER : um- 
GROUP : --- 
OTHER : --- 

IMAGE TEMPLATE 
DEV_PREFIX=hd 
FROM_APP=4fc76a938fb81d351703 
FROM_APP_FILE=0 
FROM_APP_NAME=ttylinux - kvm 
MD5=04c7d00e88fa66d9aaa34d9cf8ad6aaa 

VIRTUAL MACHINES 

ID USER GROUP NAME STAT UCPU UMEM HOST TIME 
8 oneadmin oneadmin tt runn 0 512M 192.168.0. -1d 16h32 
[oneadmin@fc-server tm]$ 

[oneadmin@fc-server 8]$ ll 
total 366 
-rw-rw-r-- 1 oneadmin oneadmin 992 Jul 11 13:44 deployment.0 
lrwxrwxrwx 1 oneadmin oneadmin 60 Jul 11 13:44 disk.0 - 
/var/lib/one/datastores/103/4c40e4068ad2ff41c8767c40f85ae786 
-rw-r--r-- 1 oneadmin oneadmin 372736 Jul 11 13:44 disk.1 
lrwxrwxrwx 1 oneadmin oneadmin 36 Jul 11 13:44 disk.1.iso - 
/var/lib/one/datastores/102/8/disk.1 


but deploy image to Non-persistent, it's no running. 

[oneadmin@fc-server 102]$ oneimage show 1 
IMAGE 1 INFORMATION 
ID : 1 
NAME : ttylinux 
USER : oneadmin 
GROUP : oneadmin 
DATASTORE : img 
TYPE : OS 
REGISTER TIME : 07/11 21:35:11 
PERSISTENT : No 
SOURCE : /var/lib/one//datastores/103/4c40e4068ad2ff41c8767c40f85ae786 
PATH : 
http://marketplace.c12g.com/appliance/4fc76a938fb81d351703/download/0 
SIZE : 40M 
STATE : used 
RUNNING_VMS : 1 

PERMISSIONS 
OWNER : um- 
GROUP : --- 
OTHER : --- 

IMAGE TEMPLATE 
DEV_PREFIX=hd 
FROM_APP=4fc76a938fb81d351703 
FROM_APP_FILE=0 
FROM_APP_NAME=ttylinux - kvm 
MD5=04c7d00e88fa66d9aaa34d9cf8ad6aaa 

VIRTUAL MACHINES 

ID USER GROUP NAME STAT UCPU UMEM HOST TIME 
10 oneadmin oneadmin tt fail 0 0K 0d 00h00 

[oneadmin@fc-server 102]$ ls 
10 
[oneadmin@fc-server 102]$ cd 10 
[oneadmin@fc-server 10]$ ll 
total 41325 
-rw-rw-r-- 1 oneadmin oneadmin 971 Jul 11 14:35 deployment.0 
-rw-r--r-- 1 oneadmin oneadmin 41943040 Jul 11 14:35 disk.0 
-rw-r--r-- 1 oneadmin oneadmin 372736 Jul 11 14:35 disk.1 
lrwxrwxrwx 1 oneadmin oneadmin 37 Jul 11 14:35 disk.1.iso - 
/var/lib/one/datastores/102/10/disk.1 

show log : 

Fri Jul 11 14:35:26 2014 [DiM][D]: Deploying VM 10 
Fri Jul 11 14:35:26 2014 [ReM][D]: Req:8400 UID:0 VirtualMachineDeploy result 
SUCCESS, 10 
Fri Jul 11 14:35:31 2014 [TM][D]: Message received: TRANSFER SUCCESS 10 - 

Fri Jul 11 14:35:32 2014 [VMM][D]: Message received: LOG I 10 ExitCode: 0 

Fri Jul 11 14:35:32 2014 [VMM][D]: Message received: LOG I 10 Successfully 
execute network driver operation: pre. 

Fri Jul 11 14:35:33 2014 [VMM][D]: Message received: LOG I 10 Command execution 
fail: cat  EOT | /var/tmp/one/vmm/kvm/deploy 
'/var/lib/one//datastores/102/10/deployment.0' '192.168.0.199' 10 192.168.0.199 

Fri Jul 11 14:35:33 2014 [VMM][D]: Message received: LOG I 10 error: Failed to 
create domain from /var/lib/one//datastores/102/10/deployment.0 

Fri Jul 11 14:35:33 2014 [VMM][D]: Message received: LOG I 10 error: internal 
error process exited while connecting to monitor: qemu-kvm: -drive 
file=gluster+tcp://192.168.0.199:24007/fc-img/10/disk.0,if=none,id=drive-ide0-0-0,format=raw,cache=none:
 could not open disk image