[one-users] how to recover failed vms
Hi All, I have a peculiar issues. For some reason if vm is heavily loaded it goes to unknown state. To recover from unknown state I use restart. some times the vm gets recovered and sometimes it goes to failed state ( in both cases all the vm files exists on the disk).Below are my queries. 1) How to debug why some times vm goes to failed state and why it recovers sometimes 2) Is there a way to recover failed vms. Thanks, Siva ___ Users mailing list Users@lists.opennebula.org http://lists.opennebula.org/listinfo.cgi/users-opennebula.org
Re: [one-users] error deploying the guest on VMWARE Host
can Any body give an idea on this? thanks, Siva On 12/8/2011 3:00 PM, Siva Prasad wrote: Hi All, I am getting the following error when i deploy the vm (with onedeploy 1 2) in vm.log after the disk is transffered. Thu Dec 8 14:39:01 2011 [VMM][E]: Wrong target value in DISK. Thu Dec 8 14:39:01 2011 [VMM][E]: deploy_action, error generating deployment file: /one/var/2/deployment.0 my onehost shows the following: oneadmin@onserver:~/var/2$ onehost list ID NAME RVM TCPU FCPU ACPU TMEM FMEM AMEM STAT 1 10.2.1.2000200200200 2.9G 2.3G 2.9G on --- my private.net file. oneadmin@oneserver:~/var/2$ onevnet show 0 VIRTUAL NETWORK 0 INFORMATION ID : 0 USER : oneadmin GROUP : oneadmin PUBLIC : No USED LEASES: 2 VIRTUAL NETWORK TEMPLATE BRIDGE=eth0 NAME=Private NETWORK_ADDRESS=10.2.1.0 NETWORK_SIZE=250 TYPE=RANGED LEASES INFORMATION LEASE=[ IP=10.2.1.1, MAC=02:00:c0:a8:08:01, USED=1, VID=1 ] LEASE=[ IP=10.2.1.2, MAC=02:00:c0:a8:08:02, USED=1, VID=2 ] my onevm.template file ( this is the file i am using to create onevm ) oneadmin@onserver:~/var/2$ cat ../../config/onevm.template NAME=VMwareVM MEMORY=256 CPU=1 NIC=[NETWORK_ID = 0 ] DISK=[ source=/one/var/images/StaticbaseImg, clone=yes, save=no] oneadmin@leopard3:~/var/2$ file /one/var/2/images/disk.0 gets created, the vm.log show the following Thu Dec 8 14:57:05 2011 [LCM][I]: New VM state is BOOT Thu Dec 8 14:57:05 2011 [VMM][I]: Generating deployment file: /one/var/2/deployment.0 Thu Dec 8 14:57:05 2011 [VMM][E]: Wrong target value in DISK. Thu Dec 8 14:57:05 2011 [VMM][E]: deploy_action, error generating deployment file: /one/var/4/deployment.0 Thu Dec 8 14:57:05 2011 [DiM][I]: New VM state is FAILED. Please help me Thanks, siva ___ Users mailing list Users@lists.opennebula.org http://lists.opennebula.org/listinfo.cgi/users-opennebula.org
[one-users] error deploying the guest on VMWARE Host
Hi All, I am getting the following error when i deploy the vm (with onedeploy 1 2) in vm.log after the disk is transffered. Thu Dec 8 14:39:01 2011 [VMM][E]: Wrong target value in DISK. Thu Dec 8 14:39:01 2011 [VMM][E]: deploy_action, error generating deployment file: /one/var/2/deployment.0 my onehost shows the following: oneadmin@onserver:~/var/2$ onehost list ID NAME RVM TCPU FCPU ACPU TMEM FMEM AMEM STAT 1 10.2.1.2000200200200 2.9G 2.3G 2.9G on --- my private.net file. oneadmin@oneserver:~/var/2$ onevnet show 0 VIRTUAL NETWORK 0 INFORMATION ID : 0 USER : oneadmin GROUP : oneadmin PUBLIC : No USED LEASES: 2 VIRTUAL NETWORK TEMPLATE BRIDGE=eth0 NAME=Private NETWORK_ADDRESS=10.2.1.0 NETWORK_SIZE=250 TYPE=RANGED LEASES INFORMATION LEASE=[ IP=10.2.1.1, MAC=02:00:c0:a8:08:01, USED=1, VID=1 ] LEASE=[ IP=10.2.1.2, MAC=02:00:c0:a8:08:02, USED=1, VID=2 ] my onevm.template file ( this is the file i am using to create onevm ) oneadmin@onserver:~/var/2$ cat ../../config/onevm.template NAME=VMwareVM MEMORY=256 CPU=1 NIC=[NETWORK_ID = 0 ] DISK=[ source=/one/var/images/StaticbaseImg, clone=yes, save=no] oneadmin@leopard3:~/var/2$ file /one/var/2/images/disk.0 gets created, the vm.log show the following Thu Dec 8 14:57:05 2011 [LCM][I]: New VM state is BOOT Thu Dec 8 14:57:05 2011 [VMM][I]: Generating deployment file: /one/var/2/deployment.0 Thu Dec 8 14:57:05 2011 [VMM][E]: Wrong target value in DISK. Thu Dec 8 14:57:05 2011 [VMM][E]: deploy_action, error generating deployment file: /one/var/4/deployment.0 Thu Dec 8 14:57:05 2011 [DiM][I]: New VM state is FAILED. Please help me Thanks, siva ___ Users mailing list Users@lists.opennebula.org http://lists.opennebula.org/listinfo.cgi/users-opennebula.org
[one-users] could not configure vmware hypervisor
Hi All, I am facing the following errror while configuring the VMWare Hypervisor using (onehost create ) ONED Log: Says the following. Fri Nov 25 19:26:19 2011 [ReM][D]: HostPoolInfo method invoked _*Fri Nov 25 19:26:19 2011 [InM][D]: Host 3 successfully monitored. Fri Nov 25 19:26:19 2011 [ONE][E]: syntax error, unexpected $end, expecting VARIABLE at line 2, columns 1:2*_ _*Fri Nov 25 19:26:19 2011 [InM][E]: Error parsing host information:*_ Fri Nov 25 19:26:20 2011 [ReM][D]: HostPoolInfo method invoke. The below is the config file in the - DB=BACKEND=sqlite DEBUG_LEVEL=3 DEFAULT_DEVICE_PREFIX=hd DEFAULT_IMAGE_TYPE=OS HM_MAD=EXECUTABLE=one_hm HOST_MONITORING_INTERVAL=600 _*IMAGE_REPOSITORY_PATH=/srv/cloud/one/var//images*_ IM_MAD=ARGUMENTS=-r 0 -t 15 kvm,EXECUTABLE=one_im_ssh,NAME=im_kvm IM_MAD=ARGUMENTS=vmware,EXECUTABLE=one_im_sh,NAME=im_vmware MAC_PREFIX=02:00 MANAGER_TIMER=15 NETWORK_SIZE=254 PORT=2633 SCRIPTS_REMOTE_DIR=/var/tmp/one TM_MAD=ARGUMENTS=tm_vmware/tm_vmware.conf,EXECUTABLE=one_tm,NAME=tm_vmware TM_MAD=ARGUMENTS=tm_nfs/tm_nfs.conf,EXECUTABLE=one_tm,NAME=tm_nfs _*VM_DIR=/srv/cloud/one/var/*_ VM_HOOK=ARGUMENTS=$VMID,COMMAND=image.rb,NAME=image,ON=DONE VM_MAD=ARGUMENTS=vmware,DEFAULT=vmm_sh/vmm_sh_vmware.conf,EXECUTABLE=one_vmm_sh,NAME=vmm_vmware,TYPE=vmware VM_MAD=ARGUMENTS=-t 15 -r 0 kvm,DEFAULT=vmm_ssh/vmm_ssh_kvm.conf,EXECUTABLE=one_vmm_ssh,NAME=vmm_kvm,TYPE=kvm VM_POLLING_INTERVAL=600 VNC_BASE_PORT=5900 Observations: So the entire /srv/cloud/one/var/ is of 777 with oneadmin.cloud as owners: I have shared */srv/cloud/one/var//images* in samba I could create folder from my windows. manually But my Vmware server says cannot access (Error:Unable to access file. [datastore1] newtes/newtes.vmxf) while creating the vmImages *Below is the vmware configuration:* oned.conf # -- VMWARE CONFIGURATION -- #--- # VMware Driver Addon Virtualization Driver Manager Configuration #--- VM_MAD = [ name = vmm_vmware, executable = one_vmm_sh, arguments = vmware, default= vmm_sh/vmm_sh_vmware.conf, type = vmware ] #--- # VMware Driver Addon Information Driver Manager Configuration #--- IM_MAD = [ name = im_vmware, _* executable = one_im_sh,*_ arguments = vmware ] #--- #--- # VMware Driver Addon Transfer Manager Driver Configuration #--- TM_MAD = [ name = tm_vmware, executable = one_tm, arguments = tm_vmware/tm_vmware.conf ] #--- I could not find any _*one_im_sh *_in any of my directory structure. The following are the files/folders in $ONE_LOCATION/etc directory *(auth ec2query_templates hm im_kvm occi-server.conf oned.conf tm_lvm tm_ssh vmm_ec2 vmm_ssh defaultrc econe.conf im_ec2 im_xen occi_templatestm_dummy tm_nfs tm_vmware vmm_sh vmwarerc) * I cannot find im_vmware dir in the above list (I dont not know whether this is necessary or not) Below is my vmwarerc file # User configurable variables (Ruby syntax) *_LIBVIRT_URI = gsx://@HOST@:443/?no_verify=1_* QEMU_PROTOCOL = qemu # Username and password of the VMware hypervisor USERNAME = oneadmin PASSWORD = oneadmin # Loading the vmware library for mads # Please leave this uncommented load ENV['ONE_LOCATION'] + /lib/ruby/vmwarelib.rb ENV['LANG']='C' --- Please note port 443 as my vmware server is running on 443 port.. *At LAST below is my smb.conf* security = user username map = /etc/samba/smbusers hosts allow = [homes] comment = Home Directories browseable = no writable = yes [data] comment = VMWare File Server path = /srv/cloud/one/var/images browseable = yes guest ok = yes available = yes writable = yes create mask = 0755 the content of /etc/samba/smbusers is (oneadmin = oneadmin). I could not understand what is wrong. --Suser ___ Users mailing list Users@lists.opennebula.org http://lists.opennebula.org/listinfo.cgi/users-opennebula.org
Re: [one-users] could not configure vmware hypervisor
All, Below is the few more information devuser@10.3.3.97:/srv/cloud/one/etc$ *onehost list* ID NAME CLUSTER RVM TCPU FCPU ACPUTMEMFMEM STAT 3 10.3.3.48default0 0 0100 0K 0K err devuser@10.3.3.97:/srv/cloud/one/etc$ *$ONE_LOCATION/lib/mads/one_im_sh vmware* INIT INIT SUCCESS - - MONITOR 3 10.3.3.48 - MONITOR SUCCESS 3 ^C devuser@10.3.3.97:/srv/cloud/one/etc$ Thanks, Suser On 11/25/2011 7:46 PM, Siva Prasad wrote: Hi All, I am facing the following errror while configuring the VMWare Hypervisor using (onehost create ) ONED Log: Says the following. Fri Nov 25 19:26:19 2011 [ReM][D]: HostPoolInfo method invoked _*Fri Nov 25 19:26:19 2011 [InM][D]: Host 3 successfully monitored. Fri Nov 25 19:26:19 2011 [ONE][E]: syntax error, unexpected $end, expecting VARIABLE at line 2, columns 1:2*_ _*Fri Nov 25 19:26:19 2011 [InM][E]: Error parsing host information:*_ Fri Nov 25 19:26:20 2011 [ReM][D]: HostPoolInfo method invoke. The below is the config file in the - DB=BACKEND=sqlite DEBUG_LEVEL=3 DEFAULT_DEVICE_PREFIX=hd DEFAULT_IMAGE_TYPE=OS HM_MAD=EXECUTABLE=one_hm HOST_MONITORING_INTERVAL=600 _*IMAGE_REPOSITORY_PATH=/srv/cloud/one/var//images*_ IM_MAD=ARGUMENTS=-r 0 -t 15 kvm,EXECUTABLE=one_im_ssh,NAME=im_kvm IM_MAD=ARGUMENTS=vmware,EXECUTABLE=one_im_sh,NAME=im_vmware MAC_PREFIX=02:00 MANAGER_TIMER=15 NETWORK_SIZE=254 PORT=2633 SCRIPTS_REMOTE_DIR=/var/tmp/one TM_MAD=ARGUMENTS=tm_vmware/tm_vmware.conf,EXECUTABLE=one_tm,NAME=tm_vmware TM_MAD=ARGUMENTS=tm_nfs/tm_nfs.conf,EXECUTABLE=one_tm,NAME=tm_nfs _*VM_DIR=/srv/cloud/one/var/*_ VM_HOOK=ARGUMENTS=$VMID,COMMAND=image.rb,NAME=image,ON=DONE VM_MAD=ARGUMENTS=vmware,DEFAULT=vmm_sh/vmm_sh_vmware.conf,EXECUTABLE=one_vmm_sh,NAME=vmm_vmware,TYPE=vmware VM_MAD=ARGUMENTS=-t 15 -r 0 kvm,DEFAULT=vmm_ssh/vmm_ssh_kvm.conf,EXECUTABLE=one_vmm_ssh,NAME=vmm_kvm,TYPE=kvm VM_POLLING_INTERVAL=600 VNC_BASE_PORT=5900 Observations: So the entire /srv/cloud/one/var/ is of 777 with oneadmin.cloud as owners: I have shared */srv/cloud/one/var//images* in samba I could create folder from my windows. manually But my Vmware server says cannot access (Error:Unable to access file. [datastore1] newtes/newtes.vmxf) while creating the vmImages *Below is the vmware configuration:* oned.conf # -- VMWARE CONFIGURATION -- #--- # VMware Driver Addon Virtualization Driver Manager Configuration #--- VM_MAD = [ name = vmm_vmware, executable = one_vmm_sh, arguments = vmware, default= vmm_sh/vmm_sh_vmware.conf, type = vmware ] #--- # VMware Driver Addon Information Driver Manager Configuration #--- IM_MAD = [ name = im_vmware, _* executable = one_im_sh,*_ arguments = vmware ] #--- #--- # VMware Driver Addon Transfer Manager Driver Configuration #--- TM_MAD = [ name = tm_vmware, executable = one_tm, arguments = tm_vmware/tm_vmware.conf ] #--- I could not find any _*one_im_sh *_in any of my directory structure. The following are the files/folders in $ONE_LOCATION/etc directory *(auth ec2query_templates hm im_kvm occi-server.conf oned.conf tm_lvm tm_ssh vmm_ec2 vmm_ssh defaultrc econe.conf im_ec2 im_xen occi_templatestm_dummy tm_nfs tm_vmware vmm_sh vmwarerc) * I cannot find im_vmware dir in the above list (I dont not know whether this is necessary or not) Below is my vmwarerc file # User configurable variables (Ruby syntax) *_LIBVIRT_URI = gsx://@HOST@:443/?no_verify=1_* QEMU_PROTOCOL = qemu # Username and password of the VMware hypervisor USERNAME = oneadmin PASSWORD = oneadmin # Loading the vmware library for mads # Please leave this uncommented load ENV['ONE_LOCATION'] + /lib/ruby/vmwarelib.rb ENV['LANG']='C' --- Please note port 443 as my vmware server is running on 443 port.. *At LAST below is my smb.conf* security = user username map = /etc/samba/smbusers hosts allow = [homes] comment = Home Directories browseable = no writable = yes [data] comment = VMWare File Server path = /srv/cloud/one/var/images browseable = yes guest ok = yes available = yes writable = yes create mask = 0755
[one-users] Fwd: Re: could not configure vmware hypervisor
All, Below is the few more information devuser@10.3.3.97:/srv/cloud/one/etc$ *onehost list* ID NAME CLUSTER RVM TCPU FCPU ACPUTMEMFMEM STAT 3 10.3.3.48default0 0 0100 0K 0K err devuser@10.3.3.97:/srv/cloud/one/etc$ *$ONE_LOCATION/lib/mads/one_im_sh vmware* INIT INIT SUCCESS - - MONITOR 3 10.3.3.48 - MONITOR SUCCESS 3 ^C devuser@10.3.3.97:/srv/cloud/one/etc$ Please Help me I am stuck Thanks, Suser On 11/25/2011 7:46 PM, Siva Prasad wrote: Hi All, I am facing the following errror while configuring the VMWare Hypervisor using (onehost create ) ONED Log: Says the following. Fri Nov 25 19:26:19 2011 [ReM][D]: HostPoolInfo method invoked _*Fri Nov 25 19:26:19 2011 [InM][D]: Host 3 successfully monitored. Fri Nov 25 19:26:19 2011 [ONE][E]: syntax error, unexpected $end, expecting VARIABLE at line 2, columns 1:2*_ _*Fri Nov 25 19:26:19 2011 [InM][E]: Error parsing host information:*_ Fri Nov 25 19:26:20 2011 [ReM][D]: HostPoolInfo method invoke. The below is the config file in the - DB=BACKEND=sqlite DEBUG_LEVEL=3 DEFAULT_DEVICE_PREFIX=hd DEFAULT_IMAGE_TYPE=OS HM_MAD=EXECUTABLE=one_hm HOST_MONITORING_INTERVAL=600 _*IMAGE_REPOSITORY_PATH=/srv/cloud/one/var//images*_ IM_MAD=ARGUMENTS=-r 0 -t 15 kvm,EXECUTABLE=one_im_ssh,NAME=im_kvm IM_MAD=ARGUMENTS=vmware,EXECUTABLE=one_im_sh,NAME=im_vmware MAC_PREFIX=02:00 MANAGER_TIMER=15 NETWORK_SIZE=254 PORT=2633 SCRIPTS_REMOTE_DIR=/var/tmp/one TM_MAD=ARGUMENTS=tm_vmware/tm_vmware.conf,EXECUTABLE=one_tm,NAME=tm_vmware TM_MAD=ARGUMENTS=tm_nfs/tm_nfs.conf,EXECUTABLE=one_tm,NAME=tm_nfs _*VM_DIR=/srv/cloud/one/var/*_ VM_HOOK=ARGUMENTS=$VMID,COMMAND=image.rb,NAME=image,ON=DONE VM_MAD=ARGUMENTS=vmware,DEFAULT=vmm_sh/vmm_sh_vmware.conf,EXECUTABLE=one_vmm_sh,NAME=vmm_vmware,TYPE=vmware VM_MAD=ARGUMENTS=-t 15 -r 0 kvm,DEFAULT=vmm_ssh/vmm_ssh_kvm.conf,EXECUTABLE=one_vmm_ssh,NAME=vmm_kvm,TYPE=kvm VM_POLLING_INTERVAL=600 VNC_BASE_PORT=5900 Observations: So the entire /srv/cloud/one/var/ is of 777 with oneadmin.cloud as owners: I have shared */srv/cloud/one/var//images* in samba I could create folder from my windows. manually But my Vmware server says cannot access (Error:Unable to access file. [datastore1] newtes/newtes.vmxf) while creating the vmImages *Below is the vmware configuration:* oned.conf # -- VMWARE CONFIGURATION -- #--- # VMware Driver Addon Virtualization Driver Manager Configuration #--- VM_MAD = [ name = vmm_vmware, executable = one_vmm_sh, arguments = vmware, default= vmm_sh/vmm_sh_vmware.conf, type = vmware ] #--- # VMware Driver Addon Information Driver Manager Configuration #--- IM_MAD = [ name = im_vmware, _* executable = one_im_sh,*_ arguments = vmware ] #--- #--- # VMware Driver Addon Transfer Manager Driver Configuration #--- TM_MAD = [ name = tm_vmware, executable = one_tm, arguments = tm_vmware/tm_vmware.conf ] #--- I could not find any _*one_im_sh *_in any of my directory structure. The following are the files/folders in $ONE_LOCATION/etc directory *(auth ec2query_templates hm im_kvm occi-server.conf oned.conf tm_lvm tm_ssh vmm_ec2 vmm_ssh defaultrc econe.conf im_ec2 im_xen occi_templatestm_dummy tm_nfs tm_vmware vmm_sh vmwarerc) * I cannot find im_vmware dir in the above list (I dont not know whether this is necessary or not) Below is my vmwarerc file # User configurable variables (Ruby syntax) *_LIBVIRT_URI = gsx://@HOST@:443/?no_verify=1_* QEMU_PROTOCOL = qemu # Username and password of the VMware hypervisor USERNAME = oneadmin PASSWORD = oneadmin # Loading the vmware library for mads # Please leave this uncommented load ENV['ONE_LOCATION'] + /lib/ruby/vmwarelib.rb ENV['LANG']='C' --- Please note port 443 as my vmware server is running on 443 port.. *At LAST below is my smb.conf* security = user username map = /etc/samba/smbusers hosts allow = [homes] comment = Home Directories browseable = no writable = yes [data] comment = VMWare File Server path = /srv/cloud/one/var/images browseable = yes guest ok = yes available = yes writable = yes
[one-users] problem in configuring vmware hyper visor
Hi Guys, I am setting up openNebula on ubuntu11.04. and I am trying to configure the VMwaresServer hypervisor but no luck.The below are the steps i have done. 1) Installed ubuntu and openbnebula 2.0.1 2) installed the libvirt. 3) installed vmwareaddon 2.2 4) configured password and esx to gsx in the /etc/one/vmwarerc file.(the same password is there on my vmware server hypervisor which I installed on windows XP). 5) changed the datastore in /etc/one/vmm_sh/vmm_sh_vmware.conf I could not connect to the hypervisor using hte virsh command line. I get the following error. *virsh #* connect 10.3.3.48 error: Failed to connect to the hypervisor error: no connection driver available for No connection for URI 10.3.3.48 *virsh #* I could ping 10.3.3.48 NOTE:Should I install certificate in the keystore. This is ubuntu 2.0.1 does it need key in the keystore? I thought theres no need to do this. Can anybody help me. --Suser ___ Users mailing list Users@lists.opennebula.org http://lists.opennebula.org/listinfo.cgi/users-opennebula.org
Re: [one-users] problem in configuring vmware hyper visor
HI Tino, I was followoing 2.2 documentation itself. So I had installed openNebula 2.2 and vmware addon 2.2 itself. *Now I get the following:* - virsh # connect -c gsx:// 10.3.3.48/?no_verify=1 error: Failed to connect to the hypervisor error: invalid argument: could not parse connection URI -c gsx://10.3.3.48/?no_verify=1 virsh # connect -c gsx://10.3.3.48/?no_verify=1 error: unexpected data 'gsx://10.3.3.48/?no_verify=1' virsh# Actually my onevm commands all work fine.( I know this has nothing to do till i try to setup a host or launch a vm) do we need to have the accessible nfs storage to the hypervisor inorder *virsh # connect -c gsx:// 10.3.3.48/?no_verify=1 *to work? I have not yet shared a folder over Nfs. Any help is appreciated. Thanks, Suser On 11/24/2011 4:10 PM, Tino Vazquez wrote: Hi Siva, comments inline, On Thu, Nov 24, 2011 at 10:07 AM, Siva Prasad newror.u...@gmail.com mailto:newror.u...@gmail.com wrote: Hi Guys, I am setting up openNebula on ubuntu11.04. and I am trying to configure the VMwaresServer hypervisor but no luck.The below are the steps i have done. 1) Installed ubuntu and openbnebula 2.0.1 you are using a rather old version, i suggest you upgrade to the last stable (v3.0), or v2.2 if you want to use a stable version of the vmware drivers as well. 2) installed the libvirt. 3) installed vmwareaddon 2.2 vmware addon drivers 2.2 are compatible with opennebula 2.2 4) configured password and esx to gsx in the /etc/one/vmwarerc file.(the same password is there on my vmware server hypervisor which I installed on windows XP). 5) changed the datastore in /etc/one/vmm_sh/vmm_sh_vmware.conf I could not connect to the hypervisor using hte virsh command line. I get the following error. *virsh #* connect 10.3.3.48 error: Failed to connect to the hypervisor error: no connection driver available for No connection for URI 10.3.3.48 you need to connect with a -c esx://host/?no_verify=1 URI *virsh #* I could ping 10.3.3.48 NOTE:Should I install certificate in the keystore. This is ubuntu 2.0.1 does it need key in the keystore? I thought theres no need to do this. No, you don't need to do this. Just out of curiosity, which documentation are you following? Regards, -T Can anybody help me. --Suser ___ Users mailing list Users@lists.opennebula.org mailto: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
Re: [one-users] problem in configuring vmware hyper visor
Hi Tino, Thanks for probing deep I have installed libvirt 0.9.7 . my ubuntu is 11.04, OpenNebula 2.2 and the following are the commands i have given while installing libvirt and all of them executed with out any errors. tar -zxvf libvirt-0.9.7.tar.gz cd libvirt-0.9.7 ./configure --with-esxi make sudo make install cd /usr/local/lib sudo ldconfig On 11/24/2011 10:35 PM, Siva Prasad wrote: yes i have installed libvirt with ./configure --wtih-esxi --Suser On 11/24/2011 10:30 PM, Tino Vazquez wrote: Hi, Do you have libvirt installed with VMware support? Which version of libvirt is it? Regards, -Tino -- Constantino Vázquez Blanco, MSc Project Engineer OpenNebula - The Open Source Toolkit for Data Center Virtualization www.OpenNebula.org http://www.opennebula.org/ | @tinova79 | @OpenNebula On Thu, Nov 24, 2011 at 5:33 PM, Siva Prasad newror.u...@gmail.com mailto:newror.u...@gmail.com wrote: HI Tino, I was followoing 2.2 documentation itself. So I had installed openNebula 2.2 and vmware addon 2.2 itself. *Now I get the following:* - virsh # connect -c gsx:// 10.3.3.48/?no_verify=1 http://10.3.3.48/?no_verify=1 error: Failed to connect to the hypervisor error: invalid argument: could not parse connection URI -c gsx://10.3.3.48/?no_verify=1 http://10.3.3.48/?no_verify=1 virsh # connect -c gsx://10.3.3.48/?no_verify=1 http://10.3.3.48/?no_verify=1 error: unexpected data 'gsx://10.3.3.48/?no_verify=1 http://10.3.3.48/?no_verify=1' virsh# Actually my onevm commands all work fine.( I know this has nothing to do till i try to setup a host or launch a vm) do we need to have the accessible nfs storage to the hypervisor inorder *virsh # connect -c gsx:// 10.3.3.48/?no_verify=1 http://10.3.3.48/?no_verify=1 *to work? I have not yet shared a folder over Nfs. Any help is appreciated. Thanks, Suser On 11/24/2011 4:10 PM, Tino Vazquez wrote: Hi Siva, comments inline, On Thu, Nov 24, 2011 at 10:07 AM, Siva Prasad newror.u...@gmail.com mailto:newror.u...@gmail.com wrote: Hi Guys, I am setting up openNebula on ubuntu11.04. and I am trying to configure the VMwaresServer hypervisor but no luck.The below are the steps i have done. 1) Installed ubuntu and openbnebula 2.0.1 you are using a rather old version, i suggest you upgrade to the last stable (v3.0), or v2.2 if you want to use a stable version of the vmware drivers as well. 2) installed the libvirt. 3) installed vmwareaddon 2.2 vmware addon drivers 2.2 are compatible with opennebula 2.2 4) configured password and esx to gsx in the /etc/one/vmwarerc file.(the same password is there on my vmware server hypervisor which I installed on windows XP). 5) changed the datastore in /etc/one/vmm_sh/vmm_sh_vmware.conf I could not connect to the hypervisor using hte virsh command line. I get the following error. *virsh #* connect 10.3.3.48 error: Failed to connect to the hypervisor error: no connection driver available for No connection for URI 10.3.3.48 you need to connect with a -c esx://host/?no_verify=1 URI *virsh #* I could ping 10.3.3.48 NOTE:Should I install certificate in the keystore. This is ubuntu 2.0.1 does it need key in the keystore? I thought theres no need to do this. No, you don't need to do this. Just out of curiosity, which documentation are you following? Regards, -T Can anybody help me. --Suser ___ Users mailing list Users@lists.opennebula.org mailto: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
Re: [one-users] problem in configuring vmware hyper visor
Hi Tino, Thanks a lot it worked it moved further. (now i know How stupid mistake i was donig) virsh # connect gsx://10.3.3.48/?no_verify=1 Enter username for 10.3.3.48 [root]: oneadmin Enter oneadmin's password for 10.3.3.48: I have configured the URI to be gsx in the vmwarerc file.(As my hypervisor is Vmware server) I have provided oneadmin password as oneadmin which i configured in vmwarerc file. And this oneadmin user is in the hypervisor macine and i could login with this oneadmin user into the vmware server also.But when I provide this password to the virsh It stays there only without any response (though the password is correct) Any thoughts ? -- Suser. On 11/24/2011 10:44 PM, Tino Vazquez wrote: Hi, You don't need both connect and -c. Try # connect esx://host/?no_verify=1 Which version of libvirt are you using? Regards, -T -- Constantino Vázquez Blanco, MSc Project Engineer OpenNebula - The Open Source Toolkit for Data Center Virtualization www.OpenNebula.org http://www.opennebula.org/ | @tinova79 | @OpenNebula On Thu, Nov 24, 2011 at 6:05 PM, Siva Prasad newror.u...@gmail.com mailto:newror.u...@gmail.com wrote: yes i have installed libvirt with ./configure --wtih-esxi --Suser On 11/24/2011 10:30 PM, Tino Vazquez wrote: Hi, Do you have libvirt installed with VMware support? Which version of libvirt is it? Regards, -Tino -- Constantino Vázquez Blanco, MSc Project Engineer OpenNebula - The Open Source Toolkit for Data Center Virtualization www.OpenNebula.org http://www.opennebula.org/ | @tinova79 | @OpenNebula On Thu, Nov 24, 2011 at 5:33 PM, Siva Prasad newror.u...@gmail.com mailto:newror.u...@gmail.com wrote: HI Tino, I was followoing 2.2 documentation itself. So I had installed openNebula 2.2 and vmware addon 2.2 itself. *Now I get the following:* - virsh # connect -c gsx:// 10.3.3.48/?no_verify=1 http://10.3.3.48/?no_verify=1 error: Failed to connect to the hypervisor error: invalid argument: could not parse connection URI -c gsx://10.3.3.48/?no_verify=1 http://10.3.3.48/?no_verify=1 virsh # connect -c gsx://10.3.3.48/?no_verify=1 http://10.3.3.48/?no_verify=1 error: unexpected data 'gsx://10.3.3.48/?no_verify=1 http://10.3.3.48/?no_verify=1' virsh# Actually my onevm commands all work fine.( I know this has nothing to do till i try to setup a host or launch a vm) do we need to have the accessible nfs storage to the hypervisor inorder *virsh # connect -c gsx:// 10.3.3.48/?no_verify=1 http://10.3.3.48/?no_verify=1 *to work? I have not yet shared a folder over Nfs. Any help is appreciated. Thanks, Suser On 11/24/2011 4:10 PM, Tino Vazquez wrote: Hi Siva, comments inline, On Thu, Nov 24, 2011 at 10:07 AM, Siva Prasad newror.u...@gmail.com mailto:newror.u...@gmail.com wrote: Hi Guys, I am setting up openNebula on ubuntu11.04. and I am trying to configure the VMwaresServer hypervisor but no luck.The below are the steps i have done. 1) Installed ubuntu and openbnebula 2.0.1 you are using a rather old version, i suggest you upgrade to the last stable (v3.0), or v2.2 if you want to use a stable version of the vmware drivers as well. 2) installed the libvirt. 3) installed vmwareaddon 2.2 vmware addon drivers 2.2 are compatible with opennebula 2.2 4) configured password and esx to gsx in the /etc/one/vmwarerc file.(the same password is there on my vmware server hypervisor which I installed on windows XP). 5) changed the datastore in /etc/one/vmm_sh/vmm_sh_vmware.conf I could not connect to the hypervisor using hte virsh command line. I get the following error. *virsh #* connect 10.3.3.48 error: Failed to connect to the hypervisor error: no connection driver available for No connection for URI 10.3.3.48 you need to connect with a -c esx://host/?no_verify=1 URI *virsh #* I could ping 10.3.3.48 NOTE:Should I install certificate in the keystore. This is ubuntu 2.0.1 does it need key in the keystore? I thought theres no need to do this. No, you don't need to do this. Just out of curiosity, which documentation are you following? Regards, -T Can anybody help me. --Suser ___ Users
Re: [one-users] problem in configuring vmware hyper visor
Thanks Tino For all your help. The following worked , I installed vmware on port 443 (which is not default 8333).So virsh was trying to talk on the default https port 8333 dats y it was failing so when I changed my uri to talk on to 443 it worked. Thanks to my Manager :-) --Siva On 11/24/2011 10:54 PM, Siva Prasad wrote: Hi Tino, Thanks a lot it worked it moved further. (now i know How stupid mistake i was donig) virsh # connect gsx://10.3.3.48/?no_verify=1 Enter username for 10.3.3.48 [root]: oneadmin Enter oneadmin's password for 10.3.3.48: I have configured the URI to be gsx in the vmwarerc file.(As my hypervisor is Vmware server) I have provided oneadmin password as oneadmin which i configured in vmwarerc file. And this oneadmin user is in the hypervisor macine and i could login with this oneadmin user into the vmware server also.But when I provide this password to the virsh It stays there only without any response (though the password is correct) Any thoughts ? -- Suser. On 11/24/2011 10:44 PM, Tino Vazquez wrote: Hi, You don't need both connect and -c. Try # connect esx://host/?no_verify=1 Which version of libvirt are you using? Regards, -T -- Constantino Vázquez Blanco, MSc Project Engineer OpenNebula - The Open Source Toolkit for Data Center Virtualization www.OpenNebula.org http://www.opennebula.org/ | @tinova79 | @OpenNebula On Thu, Nov 24, 2011 at 6:05 PM, Siva Prasad newror.u...@gmail.com mailto:newror.u...@gmail.com wrote: yes i have installed libvirt with ./configure --wtih-esxi --Suser On 11/24/2011 10:30 PM, Tino Vazquez wrote: Hi, Do you have libvirt installed with VMware support? Which version of libvirt is it? Regards, -Tino -- Constantino Vázquez Blanco, MSc Project Engineer OpenNebula - The Open Source Toolkit for Data Center Virtualization www.OpenNebula.org http://www.opennebula.org/ | @tinova79 | @OpenNebula On Thu, Nov 24, 2011 at 5:33 PM, Siva Prasad newror.u...@gmail.com mailto:newror.u...@gmail.com wrote: HI Tino, I was followoing 2.2 documentation itself. So I had installed openNebula 2.2 and vmware addon 2.2 itself. *Now I get the following:* - virsh # connect -c gsx:// 10.3.3.48/?no_verify=1 http://10.3.3.48/?no_verify=1 error: Failed to connect to the hypervisor error: invalid argument: could not parse connection URI -c gsx://10.3.3.48/?no_verify=1 http://10.3.3.48/?no_verify=1 virsh # connect -c gsx://10.3.3.48/?no_verify=1 http://10.3.3.48/?no_verify=1 error: unexpected data 'gsx://10.3.3.48/?no_verify=1 http://10.3.3.48/?no_verify=1' virsh# Actually my onevm commands all work fine.( I know this has nothing to do till i try to setup a host or launch a vm) do we need to have the accessible nfs storage to the hypervisor inorder *virsh # connect -c gsx:// 10.3.3.48/?no_verify=1 http://10.3.3.48/?no_verify=1 *to work? I have not yet shared a folder over Nfs. Any help is appreciated. Thanks, Suser On 11/24/2011 4:10 PM, Tino Vazquez wrote: Hi Siva, comments inline, On Thu, Nov 24, 2011 at 10:07 AM, Siva Prasad newror.u...@gmail.com mailto:newror.u...@gmail.com wrote: Hi Guys, I am setting up openNebula on ubuntu11.04. and I am trying to configure the VMwaresServer hypervisor but no luck.The below are the steps i have done. 1) Installed ubuntu and openbnebula 2.0.1 you are using a rather old version, i suggest you upgrade to the last stable (v3.0), or v2.2 if you want to use a stable version of the vmware drivers as well. 2) installed the libvirt. 3) installed vmwareaddon 2.2 vmware addon drivers 2.2 are compatible with opennebula 2.2 4) configured password and esx to gsx in the /etc/one/vmwarerc file.(the same password is there on my vmware server hypervisor which I installed on windows XP). 5) changed the datastore in /etc/one/vmm_sh/vmm_sh_vmware.conf I could not connect to the hypervisor using hte virsh command line. I get the following error. *virsh #* connect 10.3.3.48 error: Failed to connect to the hypervisor error: no connection driver available for No connection for URI 10.3.3.48 you need to connect with a -c esx://host/?no_verify=1 URI *virsh #* I could ping 10.3.3.48 NOTE:Should I install certificate in the keystore. This is ubuntu 2.0.1 does
[one-users] using amazon ami iamges
Hi Gurus, This is my first mail to this group.The below is my problem. I have made a Image for AMAZON EC2(which is an img files with manifest.xml) , which obviously works on ec2. Now can i use the same image on opennebula.If yes can anybody tell me the process? Or Are there any opensource solutions where I could use amazon EC2 image to create instances. Thanks, Suser ___ Users mailing list Users@lists.opennebula.org http://lists.opennebula.org/listinfo.cgi/users-opennebula.org
[one-users] faultString: fault.RestrictedVersion.summary (on VMWare ESXI 4.1.0)
Hi All, I am using VMWare ESXI4.1.0, I am able to add hypervisor sucessfully to openNebula. But while deploying the VM on the above mentioned server I get the following error. Any help appreciated. - ERROR - [28.01.2011 20:21:38] DEPLOY FAILURE 1142 Failed deploying VM in host testhost.mycompany.com [28.01.2011 20:21:38] Failed deploying VM 1142 into testhost.mycompany.com.Reason: n ull Debug stack trace AxisFault faultCode: ServerFaultCode faultSubcode: faultString: fault.RestrictedVersion.summary faultActor: faultNode: faultDetail: {urn:vim2}SecurityErrorFault:null fault.RestrictedVersion.summary at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstruct orAccessorImpl.java:39) at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingC onstructorAccessorImpl.java:27) at java.lang.reflect.Constructor.newInstance(Constructor.java:494) at java.lang.Class.newInstance0(Class.java:350) at java.lang.Class.newInstance(Class.java:303) at org.apache.axis.encoding.ser.BeanDeserializer.init(BeanDeserializer .java:104) at org.apache.axis.encoding.ser.BeanDeserializer.init(BeanDeserializer .java:90) at com.vmware.vim.SecurityError.getDeserializer(SecurityError.java:83) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl. java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces sorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:585) at org.apache.axis.encoding.ser.BaseDeserializerFactory.getSpecialized(B aseDeserializerFactory.java:154) at org.apache.axis.encoding.ser.BaseDeserializerFactory.getDeserializerA s(BaseDeserializerFactory.java:84) at org.apache.axis.encoding.DeserializationContext.getDeserializer(Deser ializationContext.java:464) at org.apache.axis.encoding.DeserializationContext.getDeserializerForTyp e(DeserializationContext.java:547) at org.apache.axis.message.SOAPFaultDetailsBuilder.onStartChild(SOAPFaul tDetailsBuilder.java:157) at org.apache.axis.encoding.DeserializationContext.startElement(Deserial izationContext.java:1035) at org.apache.xerces.parsers.AbstractSAXParser.startElement(Unknown Sour ce) at org.apache.xerces.impl.XMLNSDocumentScannerImpl.scanStartElement(Unkn own Source) at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl$FragmentContent Dispatcher.dispatch(Unknown Source) at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(Un known Source) at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source) at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source) at org.apache.xerces.parsers.XMLParser.parse(Unknown Source) at org.apache.xerces.parsers.AbstractSAXParser.parse(Unknown Source) at javax.xml.parsers.SAXParser.parse(SAXParser.java:375) at org.apache.axis.encoding.DeserializationContext.parse(Deserialization Context.java:227) at org.apache.axis.SOAPPart.getAsSOAPEnvelope(SOAPPart.java:696) at org.apache.axis.Message.getSOAPEnvelope(Message.java:435) at org.apache.axis.handlers.soap.MustUnderstandChecker.invoke(MustUnders tandChecker.java:62) at org.apache.axis.client.AxisClient.invoke(AxisClient.java:206) at org.apache.axis.client.Call.invokeEngine(Call.java:2784) at org.apache.axis.client.Call.invoke(Call.java:2767) at org.apache.axis.client.Call.invoke(Call.java:2443) at org.apache.axis.client.Call.invoke(Call.java:2366) at org.apache.axis.client.Call.invoke(Call.java:1812) at com.vmware.vim.VimBindingStub.registerVM_Task(VimBindingStub.java:212 99) at DeployVM.registerVirtualMachine(DeployVM.java:128) at OneVmmVmware.loop(OneVmmVmware.java:163) at OneVmmVmware.main(OneVmmVmware.java:57) [28.01.2011 20:21:38] --- Thanks, Siva ___ Users mailing list Users@lists.opennebula.org http://lists.opennebula.org/listinfo.cgi/users-opennebula.org