Re: [one-users] onevmware register error
Hi Thanks for the answer. One more question: In my new image the "vmUbuntu-copy.vmdk" contains the entire disc, I don't have any flat file. Do I have to split the image in flat files to register in opennebula?? How can I do it? Thanks in advance Antoni Artigues El jue, 05-05-2011 a las 15:11 +0200, Tino Vazquez escribió: > Hi Antoni, > > Yes ,it is mandatory. The plain .vmdk file is a test descriptor file, > where the flat files are the binaries that actually contains the disk. > > Regards, > > -Tino > > -- > Constantino Vázquez Blanco | dsa-research.org/tinova > Virtualization Technology Engineer / Researcher > OpenNebula Toolkit | opennebula.org > > > > On Thu, May 5, 2011 at 3:08 PM, antoni artigues wrote: > > Hello > > > > I'm trying to register an vmware image with this command: > > > > onevmware register > > --disk-vmdk /srv/cloud/one/var/vmUbuntu2/vmUbuntu-copy.vmdk vmUbuntu.one > > > > But I obtan this error: > > > > Error: Files not found. > > > > However I'm sure that the paths and file names are correct. Where is the > > problem? > > > > I registered another image successfully with this comand: > > > > onevmware register--disk-vmdk /srv/cloud/one/var/ubuntu/ubuntu10_32.vmdk > > --disk-flat > > /srv/cloud/one/var/ubuntu/ubuntu10_32_2.vmdk,/srv/cloud/one/var/ubuntu/ubuntu10_32_2-flat.vmdk > > ubuntu_img.one > > > > Is it mandatory to register a image with flat files??? > > > > Thanks in advance > > > > Antoni Artigues > > > > ___ > > 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
[one-users] onevmware register error
Hello I'm trying to register an vmware image with this command: onevmware register --disk-vmdk /srv/cloud/one/var/vmUbuntu2/vmUbuntu-copy.vmdk vmUbuntu.one But I obtan this error: Error: Files not found. However I'm sure that the paths and file names are correct. Where is the problem? I registered another image successfully with this comand: onevmware register--disk-vmdk /srv/cloud/one/var/ubuntu/ubuntu10_32.vmdk --disk-flat /srv/cloud/one/var/ubuntu/ubuntu10_32_2.vmdk,/srv/cloud/one/var/ubuntu/ubuntu10_32_2-flat.vmdk ubuntu_img.one Is it mandatory to register a image with flat files??? Thanks in advance Antoni Artigues ___ Users mailing list Users@lists.opennebula.org http://lists.opennebula.org/listinfo.cgi/users-opennebula.org
Re: [one-users] vmware deploy error: raw driver
Hello I'm not usint ESX. I'm using vmware server 2.0.2 And now. How I can solve my problem? I have to change the LibVirtDriverVMware.cc and recompile and reinstall my opennebula? Thanks in advance Antoni Artigues El mié, 04-05-2011 a las 12:52 +0200, Tino Vazquez escribió: > Hi Antoni, > > Which version of ESX are you using? When developing the drivers, I > found that the driver line didn't impede the deployment of VMs. If > with other ESX versions this is a problem, I will make it an optional > parameter with no hardcoded value to avoid this kind of situations. > > Best regards, > > -Tino > > -- > Constantino Vázquez Blanco, MSc > OpenNebula Major Contributor > www.OpenNebula.org | @tinova79 > > > > On Tue, May 3, 2011 at 3:43 PM, antoni artigues wrote: > > Hi Tino > > > > With the "file" driver we obtain the same error: > > > > -- > > $ /srv/cloud/one/bin/tty_expect -u oneadmin -p oneadmin10 virsh -c > > gsx://oscarnode9/?no_verify=1 define /srv/cloud/one/var/76/deployment.0 > > > > error: Failed to define domain from /srv/cloud/one/var/76/deployment.0 > > error: internal error Unknown driver name 'file' > > - > > > > However, If I delete the driver line from deployment.0 the tty command > > works well. > > > > Is it possible that the documentation is correct? > > > > Thanks in advance > > > > Antoni Artigues > > > > El mar, 03-05-2011 a las 15:16 +0200, Tino Vazquez escribió: > >> Hi Antoni, > >> > >> I believe this is a bug in the documentation. Please do try the following: > >> > >> DISK=[IMAGE="vmUbuntu", > >> TARGET="sda", > >> BUS="scsi", > >> DRIVER="file"] > >> > >> > >> If this works, I will update the doc. > >> > >> BTW, what version of ESX are you using? > >> > >> Regards, > >> > >> -Tino > >> > >> -- > >> Constantino Vázquez Blanco, MSc > >> OpenNebula Major Contributor > >> www.OpenNebula.org | @tinova79 > >> > >> > >> > >> On Tue, May 3, 2011 at 1:44 PM, antoni artigues wrote: > >> > Hi > >> > > >> > I think the problem is in the "LibVirtDriverVMware.cc" file > >> > > >> > In opennebula 2.0.1 the option is not written to deployment.0 > >> > > >> > However, in opennebula 2.2 the "LibVirtDriverVMware.cc" contains this > >> > new lines: > >> > - > >> > file << "\t\t\t" << endl; > >> >} > >> >else > >> >{ > >> >file << default_driver << "'/>" << endl; > >> >} > >> > - > >> > > >> > Why always creates the tag if it is not supported in vmware? > >> > > >> > Thanks in advance > >> > > >> > Antoni Artigues > >> > > >> > El mar, 03-05-2011 a las 13:37 +0200, antoni artigues escribió: > >> >> Hi Tino > >> >> > >> >> Okey. But in the documentation, for the driver option, It says: > >> >> "Specific image mapping driver. KVM: raw, qcow2. Xen:tap:aio:, file:. > >> >> VMware unsupported" > >> >> > >> >> So, it's not a supported option for VMware. > >> >> > >> >> In my older version of openneula, my deployment.0 don't have the > >> >> "" line, and this works fine. > >> >> > >> >> How can I delete the driver line in this openNebula version? or What is > >> >> the correct default value for the driver option? > >> >> > >> >> Here is my vmm_sh_vmware.conf: > >> >> - > >> >> CPU= 1 > >> >> MEMORY = 256 > >> >> OS = [ ARCH = i686 ] > >> >> > >> >> # Name of the datastore in the remote VMware hypervisors > >> >> # mounting $ONE_LOCATION/var exported as a nfs share > >> >> # by the OpenNebula front-end > >> >> > >> >> DATASTORE = vmdatastore > >> >> - > >> >> > >> >> Thanks i
Re: [one-users] vmware deploy error: raw driver
Hi Tino With the "file" driver we obtain the same error: -- $ /srv/cloud/one/bin/tty_expect -u oneadmin -p oneadmin10 virsh -c gsx://oscarnode9/?no_verify=1 define /srv/cloud/one/var/76/deployment.0 error: Failed to define domain from /srv/cloud/one/var/76/deployment.0 error: internal error Unknown driver name 'file' - However, If I delete the driver line from deployment.0 the tty command works well. Is it possible that the documentation is correct? Thanks in advance Antoni Artigues El mar, 03-05-2011 a las 15:16 +0200, Tino Vazquez escribió: > Hi Antoni, > > I believe this is a bug in the documentation. Please do try the following: > > DISK=[IMAGE="vmUbuntu", > TARGET="sda", > BUS="scsi", > DRIVER="file"] > > > If this works, I will update the doc. > > BTW, what version of ESX are you using? > > Regards, > > -Tino > > -- > Constantino Vázquez Blanco, MSc > OpenNebula Major Contributor > www.OpenNebula.org | @tinova79 > > > > On Tue, May 3, 2011 at 1:44 PM, antoni artigues wrote: > > Hi > > > > I think the problem is in the "LibVirtDriverVMware.cc" file > > > > In opennebula 2.0.1 the option is not written to deployment.0 > > > > However, in opennebula 2.2 the "LibVirtDriverVMware.cc" contains this > > new lines: > > - > > file << "\t\t\t" << endl; > >} > >else > >{ > > file << default_driver << "'/>" << endl; > >} > > - > > > > Why always creates the tag if it is not supported in vmware? > > > > Thanks in advance > > > > Antoni Artigues > > > > El mar, 03-05-2011 a las 13:37 +0200, antoni artigues escribió: > >> Hi Tino > >> > >> Okey. But in the documentation, for the driver option, It says: > >> "Specific image mapping driver. KVM: raw, qcow2. Xen:tap:aio:, file:. > >> VMware unsupported" > >> > >> So, it's not a supported option for VMware. > >> > >> In my older version of openneula, my deployment.0 don't have the > >> "" line, and this works fine. > >> > >> How can I delete the driver line in this openNebula version? or What is > >> the correct default value for the driver option? > >> > >> Here is my vmm_sh_vmware.conf: > >> - > >> CPU= 1 > >> MEMORY = 256 > >> OS = [ ARCH = i686 ] > >> > >> # Name of the datastore in the remote VMware hypervisors > >> # mounting $ONE_LOCATION/var exported as a nfs share > >> # by the OpenNebula front-end > >> > >> DATASTORE = vmdatastore > >> - > >> > >> Thanks in advance > >> > >> Antoni Artigues > >> > >> > >> El mar, 03-05-2011 a las 13:13 +0200, Tino Vazquez escribió: > >> > Hi Antoni, > >> > > >> > The "raw" value for the disk driver is the default value, hardcoded > >> > in the OPenNebula Core VMware driver. This is overridden by: > >> > > >> > * $ONE_LOCATION/etc/vmm_sh/vmm_sh_vmware.conf > >> > * The VM template, DISK section, DRIVER label. > >> > > >> > Regards, > >> > > >> > -Tino > >> > > >> > -- > >> > Constantino Vázquez Blanco, MSc > >> > OpenNebula Major Contributor > >> > www.OpenNebula.org | @tinova79 > >> > > >> > > >> > > >> > On Tue, May 3, 2011 at 10:36 AM, antoni artigues > >> > wrote: > >> > > Hello > >> > > > >> > > I'm using the last version of opennebula and vmware drivers addon. > >> > > > >> > > My image description is: > >> > > > >> > > -- > >> > > ME="vmUbuntu" > >> > > VCPU = 1 > >> &g
Re: [one-users] vmware deploy error: raw driver
Hi I think the problem is in the "LibVirtDriverVMware.cc" file In opennebula 2.0.1 the option is not written to deployment.0 However, in opennebula 2.2 the "LibVirtDriverVMware.cc" contains this new lines: - file << "\t\t\t" << endl; } else { file << default_driver << "'/>" << endl; } - Why always creates the tag if it is not supported in vmware? Thanks in advance Antoni Artigues El mar, 03-05-2011 a las 13:37 +0200, antoni artigues escribió: > Hi Tino > > Okey. But in the documentation, for the driver option, It says: > "Specific image mapping driver. KVM: raw, qcow2. Xen:tap:aio:, file:. > VMware unsupported" > > So, it's not a supported option for VMware. > > In my older version of openneula, my deployment.0 don't have the > "" line, and this works fine. > > How can I delete the driver line in this openNebula version? or What is > the correct default value for the driver option? > > Here is my vmm_sh_vmware.conf: > - > CPU= 1 > MEMORY = 256 > OS = [ ARCH = i686 ] > > # Name of the datastore in the remote VMware hypervisors > # mounting $ONE_LOCATION/var exported as a nfs share > # by the OpenNebula front-end > > DATASTORE = vmdatastore > - > > Thanks in advance > > Antoni Artigues > > > El mar, 03-05-2011 a las 13:13 +0200, Tino Vazquez escribió: > > Hi Antoni, > > > > The "raw" value for the disk driver is the default value, hardcoded > > in the OPenNebula Core VMware driver. This is overridden by: > > > > * $ONE_LOCATION/etc/vmm_sh/vmm_sh_vmware.conf > > * The VM template, DISK section, DRIVER label. > > > > Regards, > > > > -Tino > > > > -- > > Constantino Vázquez Blanco, MSc > > OpenNebula Major Contributor > > www.OpenNebula.org | @tinova79 > > > > > > > > On Tue, May 3, 2011 at 10:36 AM, antoni artigues wrote: > > > Hello > > > > > > I'm using the last version of opennebula and vmware drivers addon. > > > > > > My image description is: > > > > > > -- > > > ME="vmUbuntu" > > > VCPU = 1 > > > MEMORY = 1024 > > > OS = [ ARCH = "x86_64" ] > > > DISK=[IMAGE="vmUbuntu", > > > TARGET="sda", > > > BUS="scsi"] > > > NIC=[NETWORK="vmware LAN bridged"] > > > -- > > > > > > When we try to create the image we obtain this error: > > > > > > > > > /srv/cloud/one/bin/tty_expect -u oneadmin -p x virsh -c > > > gsx://oscarnode9/?no_verify=1 define /srv/cloud/one/var/73/deployment.0 > > > > > > error: Failed to define domain from /srv/cloud/one/var/73/deployment.0 > > > error: internal error Unknown driver name 'raw' > > > > > > > > > We see that in the deployment.0 file there is a driver called "raw", but > > > we haven't defined this driver in the image description. Is it a bug > > > from openNebula? > > > > > > Here is the deployment.o: > > > > > > --- > > > > > >one-73 > > >1 > > >1048576 > > > > > >hvm > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > --- > > > > > > Thanks in advance > > > > > > Regards > > > > > > ___ > > > 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
Re: [one-users] vmware deploy error: raw driver
Hi Tino Okey. But in the documentation, for the driver option, It says: "Specific image mapping driver. KVM: raw, qcow2. Xen:tap:aio:, file:. VMware unsupported" So, it's not a supported option for VMware. In my older version of openneula, my deployment.0 don't have the "" line, and this works fine. How can I delete the driver line in this openNebula version? or What is the correct default value for the driver option? Here is my vmm_sh_vmware.conf: - CPU= 1 MEMORY = 256 OS = [ ARCH = i686 ] # Name of the datastore in the remote VMware hypervisors # mounting $ONE_LOCATION/var exported as a nfs share # by the OpenNebula front-end DATASTORE = vmdatastore ----- Thanks in advance Antoni Artigues El mar, 03-05-2011 a las 13:13 +0200, Tino Vazquez escribió: > Hi Antoni, > > The "raw" value for the disk driver is the default value, hardcoded > in the OPenNebula Core VMware driver. This is overridden by: > > * $ONE_LOCATION/etc/vmm_sh/vmm_sh_vmware.conf > * The VM template, DISK section, DRIVER label. > > Regards, > > -Tino > > -- > Constantino Vázquez Blanco, MSc > OpenNebula Major Contributor > www.OpenNebula.org | @tinova79 > > > > On Tue, May 3, 2011 at 10:36 AM, antoni artigues wrote: > > Hello > > > > I'm using the last version of opennebula and vmware drivers addon. > > > > My image description is: > > > > -- > > ME="vmUbuntu" > > VCPU = 1 > > MEMORY = 1024 > > OS = [ ARCH = "x86_64" ] > > DISK=[IMAGE="vmUbuntu", > > TARGET="sda", > > BUS="scsi"] > > NIC=[NETWORK="vmware LAN bridged"] > > -- > > > > When we try to create the image we obtain this error: > > > > > > /srv/cloud/one/bin/tty_expect -u oneadmin -p x virsh -c > > gsx://oscarnode9/?no_verify=1 define /srv/cloud/one/var/73/deployment.0 > > > > error: Failed to define domain from /srv/cloud/one/var/73/deployment.0 > > error: internal error Unknown driver name 'raw' > > > > > > We see that in the deployment.0 file there is a driver called "raw", but > > we haven't defined this driver in the image description. Is it a bug > > from openNebula? > > > > Here is the deployment.o: > > > > --- > > > >one-73 > >1 > >1048576 > > > >hvm > > > > > > > > > > > > > > > > > > > > > > > > > > > > --- > > > > Thanks in advance > > > > Regards > > > > ___ > > 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
[one-users] vmware deploy error: raw driver
Hello I'm using the last version of opennebula and vmware drivers addon. My image description is: -- ME="vmUbuntu" VCPU = 1 MEMORY = 1024 OS = [ ARCH = "x86_64" ] DISK=[IMAGE="vmUbuntu", TARGET="sda", BUS="scsi"] NIC=[NETWORK="vmware LAN bridged"] -- When we try to create the image we obtain this error: /srv/cloud/one/bin/tty_expect -u oneadmin -p x virsh -c gsx://oscarnode9/?no_verify=1 define /srv/cloud/one/var/73/deployment.0 error: Failed to define domain from /srv/cloud/one/var/73/deployment.0 error: internal error Unknown driver name 'raw' We see that in the deployment.0 file there is a driver called "raw", but we haven't defined this driver in the image description. Is it a bug from openNebula? Here is the deployment.o: --- one-73 1 1048576 hvm --- Thanks in advance Regards ___ Users mailing list Users@lists.opennebula.org http://lists.opennebula.org/listinfo.cgi/users-opennebula.org
Re: [one-users] Asking about VMWARE ESX and OpenNebula
Okey. Install NOKOGIRI solves the problem. Now works well Thanks Antoni Artigues El jue, 28-04-2011 a las 12:30 +0200, Tino Vazquez escribió: > This is a bug in the code when not using the NOKOGIRI gem. As a > workaround, please try installing that gem. > > Meanwhile, I've opened a ticket [1] to keep track of the solution. > > Regards, > > -Tino > > [1] http://dev.opennebula.org/issues/597 ___ Users mailing list Users@lists.opennebula.org http://lists.opennebula.org/listinfo.cgi/users-opennebula.org
Re: [one-users] Asking about VMWARE ESX and OpenNebula
Hi Tino I have exactly the same issue as Tim I have done the proposed in : http://www.mail-archive.com/users@lists.opennebula.org/msg02723.html Then I have changed this: change line 116 of $ONE_LOCATION/lib/ruby/OpenNebula/XMLUtils.rb to: self.each(filter.to_s) { |e| ids_array << e.text } My code now is: -- else # @xml.each(filter.to_s) { |e| ids_array << e.text } self.each(filter.to_s) { |e| ids_array << e.text } end -- And with this changes I obtain the same error as Tim: -- Thu Apr 28 09:56:54 2011 [InM][I]: Command execution fail: /srv/cloud/one/var/remotes//im/run_probes vmware oscarnode3 Thu Apr 28 09:56:54 2011 [InM][I]: STDERR follows. Thu Apr 28 09:56:54 2011 [InM][I]: /srv/cloud/one/lib/ruby/vmwarelib.rb:26: warning: already initialized constant ONE_LOCATION Thu Apr 28 09:56:54 2011 [InM][I]: /srv/cloud/one/lib/ruby/vmwarelib.rb:32: warning: already initialized constant RUBY_LIB_LOCATION Thu Apr 28 09:56:54 2011 [InM][I]: /srv/cloud/one/lib/ruby/OpenNebula/XMLUtils.rb:117:in `each': wrong number of arguments (1 for 0) (ArgumentError) Thu Apr 28 09:56:54 2011 [InM][I]: from /srv/cloud/one/lib/ruby/OpenNebula/XMLUtils.rb:117:in `retrieve_elements' Thu Apr 28 09:56:54 2011 [InM][I]: from ./vmware.rb:83 Thu Apr 28 09:56:54 2011 [InM][I]: Error executing vmware.rb Thu Apr 28 09:56:54 2011 [InM][I]: ExitCode: 1 Thu Apr 28 09:56:54 2011 [InM][E]: Error monitoring host 5 : MONITOR FAILURE 5 Could not monitor host oscarnode3. ------ Thanks in advance Antoni Artigues El mié, 27-04-2011 a las 17:03 +0200, Tino Vazquez escribió: > Hi Tim, > > Did you restart oned? > > If so, please send the error message, it may be a little different. > > Regards, > > -Tino > > -- > Constantino Vázquez Blanco | dsa-research.org/tinova > Virtualization Technology Engineer / Researcher > OpenNebula Toolkit | opennebula.org > > > > On Wed, Apr 27, 2011 at 2:36 PM, Tim Dunlevy > wrote: > > Same error after changing the line to below. > > > > -Original Message- > > From: Tino Vazquez [mailto:tinov...@gmail.com] > > Sent: Wednesday, April 27, 2011 5:49 AM > > To: Tim Dunlevy > > Cc: users@lists.opennebula.org > > Subject: Re: [one-users] Asking about VMWARE ESX and OpenNebula > > > > Hi Tim, > > > > This looks like a bug. Could you change line 116 of > > $ONE_LOCATION/lib/ruby/OpenNebula/XMLUtils.rb to: > > > > self.each(filter.to_s) { |e| ids_array << e.text } > > > > and try again. If this works, please come back and i'll open a ticket to > > get it fix in future OpenNebula releases. > > > > Regards, > > > > -Tino > > > > -- > > Constantino Vázquez Blanco | dsa-research.org/tinova Virtualization > > Technology Engineer / Researcher OpenNebula Toolkit | opennebula.org > > > > > > > > On Tue, Apr 26, 2011 at 9:03 PM, Tim Dunlevy > > wrote: > >> FYI - > >> Ruby is version 1.8.7 > >> > >> ___ > >> 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 ___ Users mailing list Users@lists.opennebula.org http://lists.opennebula.org/listinfo.cgi/users-opennebula.org
Re: [one-users] Asking about VMWARE ESX and OpenNebula
Hello I have the same issue. With the latest version of OpenNebula and vmware driver addon. Here are the results: $ ruby -dw $ONE_LOCATION/lib/mads/one_im_sh.rb INIT INIT SUCCESS - - MONITOR 0 oscarnode2 - MONITOR SUCCESS 0 So. Where is the problem? It's seems is a kind of bug. Thanks in advance Antoni Artigues El mar, 26-04-2011 a las 07:38 -0400, Tim Dunlevy escribió: > Having the exact same issue here. > > > > Here are the results I am getting: > > [oneadmin@opennebula-01 mads]$ ruby -dw one_im_sh.rb INIT INIT SUCCESS > - - > > MONITOR 0 10.10.2.108 - > > MONITOR SUCCESS 0 > > Exception `Interrupt' at /usr/lib/one/ruby/ActionManager.rb:168 > - /usr/lib/one/ruby/ActionManager.rb:168:in `wait': Interrupt > > from /usr/lib/one/ruby/ActionManager.rb:168:in > `start_listener' > > from /usr/lib/one/ruby/ActionManager.rb:166:in `synchronize' > > from /usr/lib/one/ruby/ActionManager.rb:166:in > `start_listener' > > from /usr/lib/one/ruby/OpenNebulaDriver.rb:73:in > `start_driver' > > from one_im_sh.rb:85 > > > > [oneadmin@opennebula-01 mads]$ onehost list > > ID NAME CLUSTER RVM TCPU FCPU ACPUTMEM > FMEM STAT > >0 10.10.2.101 default04004004007.8G > 5.7G on > >1 10.10.2.102 default04004004007.8G > 7.2G on > >2 10.10.2.103 default04003994007.8G > 7.1G on > >3 10.10.2.104 default04003994007.8G > 7.1G on > >5 10.10.2.107 default14004003507.8G > 6.4G on > >6 10.10.2.105 default04004004007.8G > 6.4G on > > 11 10.10.2.108 default0 0 0100 0K > 0K err > > [oneadmin@opennebula-01 mads]$ tailf /var/log/one/oned.log Mon Apr 25 > 16:45:31 2011 [InM][I]: Monitoring host 10.10.2.108 (11) Mon Apr 25 > 16:45:31 2011 [InM][D]: Host 11 successfully monitored. > > Mon Apr 25 16:45:31 2011 [ONE][E]: syntax error, unexpected $end, > expecting VARIABLE at line 2, columns 1:2 Mon Apr 25 16:45:31 2011 > [InM][E]: Error parsing host information: > > > > Mon Apr 25 16:45:46 2011 [ReM][D]: HostPoolInfo method invoked Mon Apr > 25 16:45:46 2011 [ReM][D]: VirtualMachinePoolInfo method invoked Mon > Apr 25 16:46:13 2011 [ReM][D]: HostPoolInfo method invoked Mon Apr 25 > 16:46:16 2011 [ReM][D]: HostPoolInfo method invoked Mon Apr 25 > 16:46:16 2011 [ReM][D]: VirtualMachinePoolInfo method invoked > > > > > > > ___ > 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
Re: [one-users] scheduler deploy problem
Hi, Okey, thanks, now with this new line added I obtain another error: "undefined method `retrieve_elements'" Here is the complete trace: -- Tue Mar 29 08:39:26 2011 [InM][I]: STDERR follows. Tue Mar 29 08:39:26 2011 [InM][I]: /srv/cloud/one/lib/ruby/vmwarelib.rb:26: warning: already initialized constant ONE_LOCATION Tue Mar 29 08:39:26 2011 [InM][I]: /srv/cloud/one/lib/ruby/vmwarelib.rb:32: warning: already initialized constant RUBY_LIB_LOCATION Tue Mar 29 08:39:26 2011 [InM][I]: ./vmware.rb:86: undefined method `retrieve_elements' for # (NoMethodError) Tue Mar 29 08:39:26 2011 [InM][I]: Error executing vmware.rb Tue Mar 29 08:39:26 2011 [InM][I]: ExitCode: 1 Tue Mar 29 08:39:26 2011 [InM][E]: Error monitoring host 0 : MONITOR FAILURE 0 Could not monitor host oscarnode4. Thanks in advance Regards Antoni Artigues El lun, 28-03-2011 a las 16:18 +0200, Tino Vazquez escribió: > Hi, > > No, this is the only file where this change is needed. > > I believe you missed the following line: > > -- > $: << RUBY_LIB_LOCATION > -- > > after the following: > > --- > if !ONE_LOCATION > RUBY_LIB_LOCATION="/srv/cloud/one/lib/ruby" > else > RUBY_LIB_LOCATION=ONE_LOCATION+"/lib/ruby" > end > -- > > > but before the > > -- > require 'OpenNebula' > include OpenNebula > -- > > Regards, > > -Tino > > -- > Constantino Vázquez Blanco, MSc > OpenNebula Major Contributor > www.OpenNebula.org | @tinova79 > > > > On Mon, Mar 28, 2011 at 4:12 PM, antoni artigues wrote: > > Hi, > > > > Well, I only changed the vmware.rb. I send you the file again with this > > last modifications. > > > > Is it necessary to modify some other file? > > > > Thanks > > > > Antoni Artigues > > > > El lun, 28-03-2011 a las 15:26 +0200, Tino Vazquez escribió: > >> Hi, > >> > >> Could you send through the modified vmware.lib? > >> > >> Regards, > >> > >> -Tino > >> > >> -- > >> Constantino Vázquez Blanco, MSc > >> OpenNebula Major Contributor > >> www.OpenNebula.org | @tinova79 > >> > >> > >> > >> On Mon, Mar 28, 2011 at 3:18 PM, antoni artigues wrote: > >> > Hi, > >> > > >> > No, I have added this lines but the error is still appearing: > >> > > >> > > >> > Mon Mar 28 15:00:02 2011 [InM][I]: Command execution > >> > fail: /srv/cloud/one/lib/remotes/im/run_probes vmware oscarnode7 > >> > Mon Mar 28 15:00:02 2011 [InM][I]: STDERR follows. > >> > Mon Mar 28 15:00:02 2011 [InM][I]: ./vmware.rb:11:in `require': no such > >> > file to load -- OpenNebula (LoadError) > >> > Mon Mar 28 15:00:02 2011 [InM][I]: from ./vmware.rb:11 > >> > Mon Mar 28 15:00:02 2011 [InM][I]: Error executing vmware.rb > >> > Mon Mar 28 15:00:02 2011 [InM][I]: ExitCode: 1 > >> > Mon Mar 28 15:00:02 2011 [InM][E]: Error monitoring host 3 : MONITOR > >> > FAILURE 3 Could not monitor host oscarnode7. > >> > -- > >> > > >> > And I have the ONE_LOCATION env defined in my sistem. > >> > > >> > Thanks in advance > >> > > >> > El lun, 28-03-2011 a las 14:53 +0200, Tino Vazquez escribió: > >> >> Hi, > >> >> > >> >> Please try adding the following after the first line of vmware.rb: > >> >> > >> >> -- > >> >> ONE_LOCATION=ENV["ONE_LOCATION"] > >> >> > >> >> if !ONE_LOCATION > >> >> RUBY_LIB_LOCATION="/usr/lib/one/ruby" > >> >> else > >> >> RUBY_LIB_LOCATION=ONE_LOCATION+"/lib/ruby" > >> >> end > >> >> > >> >> > >> >> $: << RUBY_LIB_LOCATION > >> >> -- > >> >> > >> >> If this works, I will add it to the next vmware addon release. > >> >> > >> >> Regards, > >> >> > >> >> -Tino > >> >> > >> >> -- > >> >> Constantino Vázquez Blanco, MSc > >> >> OpenNebula Major Contributor > >> >> www.OpenNebula.org | @tinova79 > >> >> > >> >> > >> >> > >> >> On Mon, Mar 28, 2011 at 1:43 PM, antoni artigues > >> >> wrote: > >> >>
Re: [one-users] scheduler deploy problem
Hi, Well, I only changed the vmware.rb. I send you the file again with this last modifications. Is it necessary to modify some other file? Thanks Antoni Artigues El lun, 28-03-2011 a las 15:26 +0200, Tino Vazquez escribió: > Hi, > > Could you send through the modified vmware.lib? > > Regards, > > -Tino > > -- > Constantino Vázquez Blanco, MSc > OpenNebula Major Contributor > www.OpenNebula.org | @tinova79 > > > > On Mon, Mar 28, 2011 at 3:18 PM, antoni artigues wrote: > > Hi, > > > > No, I have added this lines but the error is still appearing: > > > > > > Mon Mar 28 15:00:02 2011 [InM][I]: Command execution > > fail: /srv/cloud/one/lib/remotes/im/run_probes vmware oscarnode7 > > Mon Mar 28 15:00:02 2011 [InM][I]: STDERR follows. > > Mon Mar 28 15:00:02 2011 [InM][I]: ./vmware.rb:11:in `require': no such > > file to load -- OpenNebula (LoadError) > > Mon Mar 28 15:00:02 2011 [InM][I]: from ./vmware.rb:11 > > Mon Mar 28 15:00:02 2011 [InM][I]: Error executing vmware.rb > > Mon Mar 28 15:00:02 2011 [InM][I]: ExitCode: 1 > > Mon Mar 28 15:00:02 2011 [InM][E]: Error monitoring host 3 : MONITOR > > FAILURE 3 Could not monitor host oscarnode7. > > -- > > > > And I have the ONE_LOCATION env defined in my sistem. > > > > Thanks in advance > > > > El lun, 28-03-2011 a las 14:53 +0200, Tino Vazquez escribió: > >> Hi, > >> > >> Please try adding the following after the first line of vmware.rb: > >> > >> -- > >> ONE_LOCATION=ENV["ONE_LOCATION"] > >> > >> if !ONE_LOCATION > >> RUBY_LIB_LOCATION="/usr/lib/one/ruby" > >> else > >> RUBY_LIB_LOCATION=ONE_LOCATION+"/lib/ruby" > >> end > >> > >> > >> $: << RUBY_LIB_LOCATION > >> -- > >> > >> If this works, I will add it to the next vmware addon release. > >> > >> Regards, > >> > >> -Tino > >> > >> -- > >> Constantino Vázquez Blanco, MSc > >> OpenNebula Major Contributor > >> www.OpenNebula.org | @tinova79 > >> > >> > >> > >> On Mon, Mar 28, 2011 at 1:43 PM, antoni artigues wrote: > >> > Hello > >> > > >> > I'm trying to apply the patch, but I obtain this error: > >> > > >> > Mon Mar 28 13:29:09 2011 [InM][I]: STDERR follows. > >> > Mon Mar 28 13:29:09 2011 [InM][I]: ./vmware.rb:2:in `require': no such > >> > file to load -- OpenNebula (LoadError) > >> > > >> > > >> > I have attached the vmware.rb modified > >> > > >> > Thanks in advance > >> > > >> > Antoni Artigues > >> > El vie, 25-03-2011 a las 13:49 +0100, Tino Vazquez escribió: > >> >> Hi, > >> >> > >> >> Please ignore my last email, this is the correct ticket i was > >> >> referring to: http://dev.opennebula.org/issues/481 > >> >> > >> >> Regards, > >> >> > >> >> -Tino > >> >> > >> >> -- > >> >> Constantino Vázquez Blanco, MSc > >> >> OpenNebula Major Contributor > >> >> www.OpenNebula.org | @tinova79 > >> >> > >> >> > >> >> > >> >> On Fri, Mar 25, 2011 at 1:33 PM, Tino Vazquez > >> >> wrote: > >> >> > Hi, > >> >> > > >> >> > Please apply the patch uploaded to this ticket [1], and see if the > >> >> > error still shows up. > >> >> > > >> >> > Regards, > >> >> > > >> >> > -Tino > >> >> > > >> >> > [1] http://dev.opennebula.org/issues/541 > >> >> > > >> >> > -- > >> >> > Constantino Vázquez Blanco, MSc > >> >> > OpenNebula Major Contributor > >> >> > www.OpenNebula.org | @tinova79 > >> >> > > >> >> > > >> >> > > >> >> > On Tue, Mar 22, 2011 at 12:18 PM, antoni artigues > >> >> > wrote: > >> >> >> Hi > >> >> >> > >> >> >> I send you the logs. The vm.log is from vm 71: > >> >> >> > >> >> >> --- > >> >> >> $ onehost list &g
Re: [one-users] scheduler deploy problem
Hi, No, I have added this lines but the error is still appearing: Mon Mar 28 15:00:02 2011 [InM][I]: Command execution fail: /srv/cloud/one/lib/remotes/im/run_probes vmware oscarnode7 Mon Mar 28 15:00:02 2011 [InM][I]: STDERR follows. Mon Mar 28 15:00:02 2011 [InM][I]: ./vmware.rb:11:in `require': no such file to load -- OpenNebula (LoadError) Mon Mar 28 15:00:02 2011 [InM][I]: from ./vmware.rb:11 Mon Mar 28 15:00:02 2011 [InM][I]: Error executing vmware.rb Mon Mar 28 15:00:02 2011 [InM][I]: ExitCode: 1 Mon Mar 28 15:00:02 2011 [InM][E]: Error monitoring host 3 : MONITOR FAILURE 3 Could not monitor host oscarnode7. -- And I have the ONE_LOCATION env defined in my sistem. Thanks in advance El lun, 28-03-2011 a las 14:53 +0200, Tino Vazquez escribió: > Hi, > > Please try adding the following after the first line of vmware.rb: > > -- > ONE_LOCATION=ENV["ONE_LOCATION"] > > if !ONE_LOCATION > RUBY_LIB_LOCATION="/usr/lib/one/ruby" > else > RUBY_LIB_LOCATION=ONE_LOCATION+"/lib/ruby" > end > > > $: << RUBY_LIB_LOCATION > -- > > If this works, I will add it to the next vmware addon release. > > Regards, > > -Tino > > -- > Constantino Vázquez Blanco, MSc > OpenNebula Major Contributor > www.OpenNebula.org | @tinova79 > > > > On Mon, Mar 28, 2011 at 1:43 PM, antoni artigues wrote: > > Hello > > > > I'm trying to apply the patch, but I obtain this error: > > > > Mon Mar 28 13:29:09 2011 [InM][I]: STDERR follows. > > Mon Mar 28 13:29:09 2011 [InM][I]: ./vmware.rb:2:in `require': no such > > file to load -- OpenNebula (LoadError) > > > > > > I have attached the vmware.rb modified > > > > Thanks in advance > > > > Antoni Artigues > > El vie, 25-03-2011 a las 13:49 +0100, Tino Vazquez escribió: > >> Hi, > >> > >> Please ignore my last email, this is the correct ticket i was > >> referring to: http://dev.opennebula.org/issues/481 > >> > >> Regards, > >> > >> -Tino > >> > >> -- > >> Constantino Vázquez Blanco, MSc > >> OpenNebula Major Contributor > >> www.OpenNebula.org | @tinova79 > >> > >> > >> > >> On Fri, Mar 25, 2011 at 1:33 PM, Tino Vazquez > >> wrote: > >> > Hi, > >> > > >> > Please apply the patch uploaded to this ticket [1], and see if the > >> > error still shows up. > >> > > >> > Regards, > >> > > >> > -Tino > >> > > >> > [1] http://dev.opennebula.org/issues/541 > >> > > >> > -- > >> > Constantino Vázquez Blanco, MSc > >> > OpenNebula Major Contributor > >> > www.OpenNebula.org | @tinova79 > >> > > >> > > >> > > >> > On Tue, Mar 22, 2011 at 12:18 PM, antoni artigues > >> > wrote: > >> >> Hi > >> >> > >> >> I send you the logs. The vm.log is from vm 71: > >> >> > >> >> --- > >> >> $ onehost list > >> >> ID NAME CLUSTER RVM TCPU FCPU ACPUTMEMFMEM > >> >> STAT > >> >> 0 oscarnode4default24004004007.8G 0K > >> >> on > >> >> 3 oscarnode7default64004004007.8G 0K > >> >> on > >> >> - > >> >> $ onevm list > >> >> ID USER NAME STAT CPU MEMHOSTNAMETIME > >> >> 57 oneadmin ubuntuVM runn 0 0K oscarnode7 14 23:32:16 > >> >> 58 oneadmin ubuntuVM runn 0 0K oscarnode7 14 23:13:14 > >> >> 59 oneadmin ubuntuVM runn 0 0K oscarnode7 14 22:22:39 > >> >> 60 oneadmin ubuntuVM runn 0 0K oscarnode7 14 21:29:49 > >> >> 67 oneadmin ubuntuVM runn 0 0K oscarnode4 14 02:11:44 > >> >> 68 oneadmin ubuntuVM runn 0 0K oscarnode4 14 01:28:37 > >> >> 69 oneadmin ubuntuVM runn 0 0K oscarnode7 00 01:08:45 > >> >> 70 oneadmin ubuntuVM runn 0 0K oscarnode7 00 00:47:32 > >> >> 71 oneadmin ubuntuVM fail 0 0K oscarnode7 00 00:17:18 > >> >> - > >> >> > >> >> Thanks in advance > >> >> > >> >> Regards > >> >> > >&
Re: [one-users] scheduler deploy problem
Hello I'm trying to apply the patch, but I obtain this error: Mon Mar 28 13:29:09 2011 [InM][I]: STDERR follows. Mon Mar 28 13:29:09 2011 [InM][I]: ./vmware.rb:2:in `require': no such file to load -- OpenNebula (LoadError) I have attached the vmware.rb modified Thanks in advance Antoni Artigues El vie, 25-03-2011 a las 13:49 +0100, Tino Vazquez escribió: > Hi, > > Please ignore my last email, this is the correct ticket i was > referring to: http://dev.opennebula.org/issues/481 > > Regards, > > -Tino > > -- > Constantino Vázquez Blanco, MSc > OpenNebula Major Contributor > www.OpenNebula.org | @tinova79 > > > > On Fri, Mar 25, 2011 at 1:33 PM, Tino Vazquez wrote: > > Hi, > > > > Please apply the patch uploaded to this ticket [1], and see if the > > error still shows up. > > > > Regards, > > > > -Tino > > > > [1] http://dev.opennebula.org/issues/541 > > > > -- > > Constantino Vázquez Blanco, MSc > > OpenNebula Major Contributor > > www.OpenNebula.org | @tinova79 > > > > > > > > On Tue, Mar 22, 2011 at 12:18 PM, antoni artigues wrote: > >> Hi > >> > >> I send you the logs. The vm.log is from vm 71: > >> > >> --- > >> $ onehost list > >> ID NAME CLUSTER RVM TCPU FCPU ACPUTMEMFMEM > >> STAT > >> 0 oscarnode4default24004004007.8G 0K > >> on > >> 3 oscarnode7default64004004007.8G 0K > >> on > >> - > >> $ onevm list > >> ID USER NAME STAT CPU MEMHOSTNAMETIME > >> 57 oneadmin ubuntuVM runn 0 0K oscarnode7 14 23:32:16 > >> 58 oneadmin ubuntuVM runn 0 0K oscarnode7 14 23:13:14 > >> 59 oneadmin ubuntuVM runn 0 0K oscarnode7 14 22:22:39 > >> 60 oneadmin ubuntuVM runn 0 0K oscarnode7 14 21:29:49 > >> 67 oneadmin ubuntuVM runn 0 0K oscarnode4 14 02:11:44 > >> 68 oneadmin ubuntuVM runn 0 0K oscarnode4 14 01:28:37 > >> 69 oneadmin ubuntuVM runn 0 0K oscarnode7 00 01:08:45 > >> 70 oneadmin ubuntuVM runn 0 0K oscarnode7 00 00:47:32 > >> 71 oneadmin ubuntuVM fail 0 0K oscarnode7 00 00:17:18 > >> - > >> > >> Thanks in advance > >> > >> Regards > >> > >> Antoni Artigues > >> > >> El vie, 18-03-2011 a las 17:15 +0100, Tino Vazquez escribió: > >>> Hi, > >>> > >>> Could you please send through the template of one VM and its log > >>> ($ONE_LOCATION/var//vm.log)? > >>> > >>> Also $ONE_LOCATION/var/sched.log and $ONE_LOCATION/var/oned.log would > >>> be useful. You can send this off the list if there is a concern about > >>> privacy. > >>> > >>> Regards, > >>> > >>> -Tino > >>> > >>> -- > >>> Constantino Vázquez Blanco | dsa-research.org/tinova > >>> Virtualization Technology Engineer / Researcher > >>> OpenNebula Toolkit | opennebula.org > >>> > >>> > >>> > >>> On Mon, Mar 7, 2011 at 10:40 AM, antoni artigues > >>> wrote: > >>> > Hello > >>> > > >>> > I have 4 hosts registered: > >>> > > >>> > $ onehost list > >>> > ID NAME CLUSTER RVM TCPU FCPU ACPUTMEMFMEM > >>> > STAT > >>> > 0 oscarnode4default14004004007.8G 0K > >>> > on > >>> > 1 oscarnode5default14004004007.8G 0K > >>> > on > >>> > 2 oscarnode6default34004004007.8G 0K > >>> > on > >>> > 3 oscarnode7default44004004007.8G 0K > >>> > on > >>> > > >>> > Each one With 7.8G of RAM > >>> > > >>> > I create 9 virtual machines. Each of one with 1 cpu and 1792MB of ram: > >>> > -- > >>> > NAME="ubuntuVM" > >>> > VCPU = 1 > >>> > MEMORY = 1792 > >>> > OS = [ ARCH = "i686" ] > >>> > DISK=[IMAGE="vmimage", > >>> > TARGET="sda&quo
[one-users] scheduler deploy problem
Hello I have 4 hosts registered: $ onehost list ID NAME CLUSTER RVM TCPU FCPU ACPUTMEMFMEM STAT 0 oscarnode4default14004004007.8G 0K on 1 oscarnode5default14004004007.8G 0K on 2 oscarnode6default34004004007.8G 0K on 3 oscarnode7default44004004007.8G 0K on Each one With 7.8G of RAM I create 9 virtual machines. Each of one with 1 cpu and 1792MB of ram: -- NAME="ubuntuVM" VCPU = 1 MEMORY = 1792 OS = [ ARCH = "i686" ] DISK=[IMAGE="vmimage", TARGET="sda", BUS="scsi"] NIC=[NETWORK="vmware LAN bridged"] -- There are 4 running machines on "oscarnode7" host. When I create more virtual machines the scheduler sends it to the "oscarnode7". But it doen't start because there is no more available RAM on this host. If I create more machines, always the scheduler sends it to the same host!!! Why the scheduler are not asigning another host? For example, "oscarnode4" is only running one virtual machine This is the virtual machines distribution after creating a new virtual machine: onevm list ID USER NAME STAT CPU MEMHOSTNAMETIME 38 oneadmin ubuntuVM runn 0 0K oscarnode7 02 19:04:46 39 oneadmin ubuntuVM runn 0 0K oscarnode7 02 18:42:19 40 oneadmin ubuntuVM runn 0 0K oscarnode7 02 18:24:08 42 oneadmin ubuntuVM runn 0 0K oscarnode6 02 18:07:58 43 oneadmin ubuntuVM runn 0 0K oscarnode5 02 18:07:51 44 oneadmin ubuntuVM runn 0 0K oscarnode4 02 18:07:43 46 oneadmin ubuntuVM runn 0 0K oscarnode6 02 18:06:43 51 oneadmin ubuntuVM runn 0 0K oscarnode6 02 17:58:05 53 oneadmin ubuntuVM prol 0 0K oscarnode7 00 00:00:43 Thanks in advance Antoni Artigues ___ Users mailing list Users@lists.opennebula.org http://lists.opennebula.org/listinfo.cgi/users-opennebula.org
Re: [one-users] vmware deploy error
Hello Well. I set the ONE_MAD_DEBUG to 1. I restart opennebula with "one stop" "one start" And now, the deploy works well!!! I dont' know why but is okey. Thans for the help!! Regards Antoni Artigues El jue, 17-02-2011 a las 16:08 +0100, Tino Vazquez escribió: > Hi Antoni, > > Could you please activate ONE_MAD_DEBUG (set it to 1) in > $ONE_LOCATION/etc/defaultrc? Extra log files should appear in > $ONE_LOCATION/var > > Regards, > > -Tino > > -- > Constantino Vázquez Blanco, MSc > OpenNebula Major Contributor / Cloud Researcher > www.OpenNebula.org | @tinova79 > > > > On Thu, Feb 17, 2011 at 3:32 PM, antoni artigues wrote: > > /srv/cloud/one/lib/remotes/vmm/vmware/deploy > > oscarnode4 /srv/cloud/one/var/16/deployment.0 ___ Users mailing list Users@lists.opennebula.org http://lists.opennebula.org/listinfo.cgi/users-opennebula.org
Re: [one-users] vmware deploy error
Hello I solved the problem. The vmware server couldn't read from the nfs file system. I have had to click on the "refresh" option in the data store section. Now I have another problem when I try to deploy the vm: - Thu Feb 17 15:09:38 2011 [LCM][I]: New VM state is BOOT Thu Feb 17 15:09:38 2011 [VMM][I]: Generating deployment file: /srv/cloud/one/var/16/deployment.0 Thu Feb 17 15:09:39 2011 [VMM][I]: Command execution fail: /srv/cloud/one/lib/remotes/vmm/vmware/deploy oscarnode4 /srv/cloud/one/var/16/deployment.0 Thu Feb 17 15:09:40 2011 [VMM][I]: STDERR follows. Thu Feb 17 15:09:40 2011 [VMM][I]: ExitCode: 255 Thu Feb 17 15:09:40 2011 [VMM][E]: Error deploying virtual machine Thu Feb 17 15:09:40 2011 [DiM][I]: New VM state is FAILED Thu Feb 17 15:09:40 2011 [TM][W]: Ignored: TRANSFER SUCCESS 16 - -- I enter in the VI web access and I can see the one-16 registered as virtual machine, but it is stopped. I tried this: 1.Unregister the vm one-16 from the vmware server. 2.Preserve all the disk.0 files generated. 3.Delete the vm from opennebula with "onevm delete 16" 4.Execute from the command line "/srv/cloud/one/lib/remotes/vmm/vmware/deploy oscarnode4 /srv/cloud/one/var/16/deployment.0" 5.And the vm starts correctly! Why in opennebula fails??? I can't see more information about the error in the logs. I don't know here is the problem. Thanks in advance Regards Antoni Artigues El mié, 16-02-2011 a las 13:21 +0100, antoni artigues escribió: > Hi > > Thanks for the answer. > > Well, the opennebula deletes the images folder after the error. > > But, I have been watching the disk.0 folder, before the error, and I > haven't seen the one-5.vmx file. > > When it is generated? > > Regards > > Antoni Artigues > > El mié, 16-02-2011 a las 12:07 +0100, Tino Vazquez escribió: > > Hi Antoni, > > > > There is a couple of things we can check to find out the problem: > > > > * Is there in the front-end the following files: > > * $ONE_LOCATION/var/5/images/disk.0/disk.vmdk > > * $ONE_LOCATION/var/5/images/disk.0/one-5.vmx > > > > * If the above is true, try registering the one-5.vmx VM using the > > VI client (windows needed). > > > > Regards, > > > > -Tino > > > > -- > > Constantino Vázquez Blanco, MSc > > OpenNebula Major Contributor / Cloud Researcher > > www.OpenNebula.org | @tinova79 > > > > > > > > On Wed, Feb 16, 2011 at 9:19 AM, antoni artigues wrote: > > > : internal error HTTP response code 503 for upload to > > > ___ > 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
Re: [one-users] vmware deploy error
Hi Thanks for the answer. Well, the opennebula deletes the images folder after the error. But, I have been watching the disk.0 folder, before the error, and I haven't seen the one-5.vmx file. When it is generated? Regards Antoni Artigues El mié, 16-02-2011 a las 12:07 +0100, Tino Vazquez escribió: > Hi Antoni, > > There is a couple of things we can check to find out the problem: > > * Is there in the front-end the following files: > * $ONE_LOCATION/var/5/images/disk.0/disk.vmdk > * $ONE_LOCATION/var/5/images/disk.0/one-5.vmx > > * If the above is true, try registering the one-5.vmx VM using the > VI client (windows needed). > > Regards, > > -Tino > > -- > Constantino Vázquez Blanco, MSc > OpenNebula Major Contributor / Cloud Researcher > www.OpenNebula.org | @tinova79 > > > > On Wed, Feb 16, 2011 at 9:19 AM, antoni artigues wrote: > > : internal error HTTP response code 503 for upload to ___ Users mailing list Users@lists.opennebula.org http://lists.opennebula.org/listinfo.cgi/users-opennebula.org
[one-users] vmware deploy error
Hello I'm still with the same problem. I'm using opennebula 2.0.1, vmware driver addon, and vmware server 2.0.2 I can't be able to deploy a vm into any cluster node. The error is at domain definition: "Failed to define domain from /srv/cloud/one/var/5/deployment.0" The vm template is: -- NAME="ubuntuVM" VCPU = 1 MEMORY = 1024 OS = [ ARCH = "i686" ] DISK=[IMAGE="myVMwareVM"] NIC=[NETWORK="vmware LAN"] -- the domain file is: - one-5 1 1048576 hvm - I try to execute the virsh command directly with this result: --- root@cloudmaster:# virsh -c gsx://oscarnode5?no_verify=1 define /srv/cloud/one/var/5/deployment.0 Enter username for oscarnode5 [root]: oneadmin Enter oneadmin's password for oscarnode5: error: Failed to define domain from /srv/cloud/one/var/5/deployment.0 error: internal error HTTP response code 503 for upload to 'https://oscarnode5:8333/folder/5%2fimages%2fdisk%2e0/one% 2d5.vmx?dcPath=ha%2ddatacenter&dsName=cloudds' -- the complete log error is: --- Wed Feb 16 09:02:42 2011 [LCM][I]: New VM state is BOOT Wed Feb 16 09:02:42 2011 [VMM][I]: Generating deployment file: /srv/cloud/one/var/5/deployment.0 Wed Feb 16 09:02:43 2011 [VMM][I]: Command execution fail: /srv/cloud/one/lib/remotes/vmm/vmware/deploy oscarnode5 /srv/cloud/one/var/5/deployment.0 Wed Feb 16 09:02:43 2011 [VMM][I]: STDERR follows. Wed Feb 16 09:02:43 2011 [VMM][I]: [VMWARE] cmd failed [/srv/cloud/one/bin/tty_expect -u oneadmin -p oneadmin10 virsh -c gsx://oscarnode5?no_verify=1 define /srv/cloud/one/var/5/deployment.0 ]. Stderr: Wed Feb 16 09:02:43 2011 [VMM][I]: error: Failed to define domain from /srv/cloud/one/var/5/deployment.0 Wed Feb 16 09:02:43 2011 [VMM][I]: error: internal error HTTP response code 503 for upload to 'https://oscarnode5:8333/folder/5%2fimages%2fdisk %2e0/one%2d5.vmx?dcPath=ha%2ddatacenter&dsName=cloudds' Wed Feb 16 09:02:43 2011 [VMM][I]: Wed Feb 16 09:02:43 2011 [VMM][I]: . Stdout: ExitCode: 1 Wed Feb 16 09:02:43 2011 [VMM][I]: ExitCode: 1 Wed Feb 16 09:02:43 2011 [VMM][E]: Error deploying virtual machine Wed Feb 16 09:02:43 2011 [DiM][I]: New VM state is FAILED ------- Thanks in advance regards Antoni Artigues El mar, 15-02-2011 a las 14:50 +0100, antoni artigues escribió: > Hello > > I'm trying to deploy a vm in vmware server. > > But the final state is "fail". Here is the vm log: > > Tue Feb 15 14:43:48 2011 [VMM][I]: Generating deployment > file: /srv/cloud/one/var/1/deployment.0 > Tue Feb 15 14:43:49 2011 [VMM][I]: Command execution > fail: /srv/cloud/one/lib/remotes/vmm/vmware/deploy > oscarnode5 /srv/cloud/one/var/1/deployment.0 > Tue Feb 15 14:43:49 2011 [VMM][I]: STDERR follows. > Tue Feb 15 14:43:49 2011 [VMM][I]: [VMWARE] cmd failed > [/srv/cloud/one/bin/tty_expect -u oneadmin -p oneadmin10 virsh -c > gsx://oscarnode5?no_verify=1 define /srv/cloud/one/var/1/deployment.0]. > Stderr: > Tue Feb 15 14:43:49 2011 [VMM][I]: error:Falló al definir un dominio > para /srv/cloud/one/var/1/deployment.0 > Tue Feb 15 14:43:49 2011 [VMM][I]: error:error interno Código de > respuesta HTTP 503 para enviar a 'https://oscarnode5:8333/folder/1% > 2fimages%2fdisk%2e0/one%2d1.vmx?dcPath=ha%2ddatacenter&dsName=cloudds' > Tue Feb 15 14:43:49 2011 [VMM][I]: > Tue Feb 15 14:43:49 2011 [VMM][I]: . Stdout: ExitCode: 1 > Tue Feb 15 14:43:49 2011 [VMM][I]: ExitCode: 1 > > I don't know where could be the error. > > Thanks in advance > > regards > > Antoni Artigues > > ___ > 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
[one-users] vmware deploy error
Hello I'm trying to deploy a vm in vmware server. But the final state is "fail". Here is the vm log: Tue Feb 15 14:43:48 2011 [VMM][I]: Generating deployment file: /srv/cloud/one/var/1/deployment.0 Tue Feb 15 14:43:49 2011 [VMM][I]: Command execution fail: /srv/cloud/one/lib/remotes/vmm/vmware/deploy oscarnode5 /srv/cloud/one/var/1/deployment.0 Tue Feb 15 14:43:49 2011 [VMM][I]: STDERR follows. Tue Feb 15 14:43:49 2011 [VMM][I]: [VMWARE] cmd failed [/srv/cloud/one/bin/tty_expect -u oneadmin -p oneadmin10 virsh -c gsx://oscarnode5?no_verify=1 define /srv/cloud/one/var/1/deployment.0]. Stderr: Tue Feb 15 14:43:49 2011 [VMM][I]: error:Falló al definir un dominio para /srv/cloud/one/var/1/deployment.0 Tue Feb 15 14:43:49 2011 [VMM][I]: error:error interno Código de respuesta HTTP 503 para enviar a 'https://oscarnode5:8333/folder/1% 2fimages%2fdisk%2e0/one%2d1.vmx?dcPath=ha%2ddatacenter&dsName=cloudds' Tue Feb 15 14:43:49 2011 [VMM][I]: Tue Feb 15 14:43:49 2011 [VMM][I]: . Stdout: ExitCode: 1 Tue Feb 15 14:43:49 2011 [VMM][I]: ExitCode: 1 I don't know where could be the error. Thanks in advance regards Antoni Artigues ___ Users mailing list Users@lists.opennebula.org http://lists.opennebula.org/listinfo.cgi/users-opennebula.org
Re: [one-users] one start error
een # multiple ATTRs e.g. $NIC[MAC, NETWORK="Public"] # remote: values, # - YES, The hook is executed in the host where the VM was # allocated # - NO, The hook is executed in the OpenNebula server (default) #--- HM_MAD = [ executable = "one_hm" ] # Image Hook --- # This hook is used to handle image saving and overwriting when virtual machines # reach the DONE state after being shutdown. VM_HOOK = [ name = "image", on= "DONE", command = "image.rb", arguments = "$VMID" ] #--- # 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" ] #------ Thanks in advance Antoni Artigues El mié, 02-02-2011 a las 10:38 +0100, Ruben S. Montero escribió: > Hi, > > > Could you post your oned.conf file please? > > > Cheers > > > Ruben > > On Tue, Feb 1, 2011 at 12:34 PM, antoni artigues > wrote: > Hello > > I'm still with the error: > > > [oneadmin@maeko lib]$ one start > /srv/cloud/one/bin/one: line 76: 20588 Violación de segmento > $ONED -f > 2>&1 > Error executing /srv/cloud/one/bin/oned. > [oneadmin@maeko lib]$ > > > > I use RHEL4, I installed all the required libraries, I > compiled opennebula without any problem. Here is the dynamic > library reference from oned: > > -- > > ldd /srv/cloud/one/bin/oned >libxmlrpc_client++.so.3 => /usr/lib/libxmlrpc_client > ++.so.3 (0x002a95557000) >libxmlrpc_client.so.3 => /usr/lib/libxmlrpc_client.so.3 > (0x002a95676000) >libcurl.so.4 => /usr/lib/libcurl.so.4 > (0x002a9577e000) >libidn.so.11 => /usr/lib64/libidn.so.11 > (0x003cd180) >libgssapi_krb5.so.2 => /usr/lib64/libgssapi_krb5.so.2 > (0x003cd580) >libkrb5.so.3 => /usr/lib64/libkrb5.so.3 > (0x003cd560) >libcom_err.so.2 => /lib64/libcom_err.so.2 > (0x003cd520) >libk5crypto.so.3 => /usr/lib64/libk5crypto.so.3 > (0x003cd540) >libresolv.so.2 => /lib64/libresolv.so.2 > (0x003cd2e0) >libdl.so.2 => /lib64/libdl.so.2 (0x003cd0a0) >libcrypt.so.1 => /lib64/libcrypt.so.1 > (0x003cd670) >libnsl.so.1 => /lib64/libnsl.so.1 (0x003cd4b0) >libssl.so.4 => /lib64/libssl.so.4 (0x003cd5c0) >libxml2.so.2 => /usr/lib64/libxml2.so.2 > (0x003cd5e0) >libz.so.1 => /usr/lib64/libz.so.1 (0x003cd100) >libcrypto.so.4 => /lib64/libcrypto.so.4 > (0x003cd4d0) >libsqlite3.so.0 => /usr/lib/libsqlite3.so.0 > (0x002a958fa000) >libmysql.so.16 => /usr/lib/libmysql.so.16 > (0x002a95a8a000) >libxmlrpc_server_abyss++.so.3 > => /usr/lib/libxmlrpc_s
[one-users] one start error
Hello I'm still with the error: [oneadmin@maeko lib]$ one start /srv/cloud/one/bin/one: line 76: 20588 Violación de segmento $ONED -f 2>&1 Error executing /srv/cloud/one/bin/oned. [oneadmin@maeko lib]$ I use RHEL4, I installed all the required libraries, I compiled opennebula without any problem. Here is the dynamic library reference from oned: -- ldd /srv/cloud/one/bin/oned libxmlrpc_client++.so.3 => /usr/lib/libxmlrpc_client++.so.3 (0x002a95557000) libxmlrpc_client.so.3 => /usr/lib/libxmlrpc_client.so.3 (0x002a95676000) libcurl.so.4 => /usr/lib/libcurl.so.4 (0x002a9577e000) libidn.so.11 => /usr/lib64/libidn.so.11 (0x003cd180) libgssapi_krb5.so.2 => /usr/lib64/libgssapi_krb5.so.2 (0x003cd580) libkrb5.so.3 => /usr/lib64/libkrb5.so.3 (0x003cd560) libcom_err.so.2 => /lib64/libcom_err.so.2 (0x003cd520) libk5crypto.so.3 => /usr/lib64/libk5crypto.so.3 (0x003cd540) libresolv.so.2 => /lib64/libresolv.so.2 (0x003cd2e0) libdl.so.2 => /lib64/libdl.so.2 (0x003cd0a0) libcrypt.so.1 => /lib64/libcrypt.so.1 (0x003cd670) libnsl.so.1 => /lib64/libnsl.so.1 (0x003cd4b0) libssl.so.4 => /lib64/libssl.so.4 (0x003cd5c0) libxml2.so.2 => /usr/lib64/libxml2.so.2 (0x003cd5e0) libz.so.1 => /usr/lib64/libz.so.1 (0x003cd100) libcrypto.so.4 => /lib64/libcrypto.so.4 (0x003cd4d0) libsqlite3.so.0 => /usr/lib/libsqlite3.so.0 (0x002a958fa000) libmysql.so.16 => /usr/lib/libmysql.so.16 (0x002a95a8a000) libxmlrpc_server_abyss++.so.3 => /usr/lib/libxmlrpc_server_abyss++.so.3 (0x002a95dce000) libxmlrpc_server++.so.3 => /usr/lib/libxmlrpc_server++.so.3 (0x002a95ed4000) libxmlrpc_server_abyss.so.3 => /usr/lib/libxmlrpc_server_abyss.so.3 (0x002a95fde000) libxmlrpc_server.so.3 => /usr/lib/libxmlrpc_server.so.3 (0x002a960e3000) libxmlrpc_abyss.so.3 => /usr/lib/libxmlrpc_abyss.so.3 (0x002a961e7000) libpthread.so.0 => /lib64/tls/libpthread.so.0 (0x003cd120) libxmlrpc++.so.3 => /usr/lib/libxmlrpc++.so.3 (0x002a962f9000) libxmlrpc.so.3 => /usr/lib/libxmlrpc.so.3 (0x002a96418000) libxmlrpc_util.so.3 => /usr/lib/libxmlrpc_util.so.3 (0x002a96527000) libxmlrpc_xmlparse.so.3 => /usr/lib/libxmlrpc_xmlparse.so.3 (0x002a9662a000) libxmlrpc_xmltok.so.3 => /usr/lib/libxmlrpc_xmltok.so.3 (0x002a96736000) libstdc++.so.6 => /usr/lib64/libstdc++.so.6 (0x003cd490) libm.so.6 => /lib64/tls/libm.so.6 (0x003cd080) libgcc_s.so.1 => /lib64/libgcc_s.so.1 (0x003cd470) libc.so.6 => /usr/lib/libc.so.6 (0x002a96851000) libldap-2.2.so.7 => /usr/lib64/libldap-2.2.so.7 (0x003cd0e0) librt.so.1 => /lib64/tls/librt.so.1 (0x003cd610) /lib64/ld-linux-x86-64.so.2 (0x003cd030) liblber-2.2.so.7 => /usr/lib64/liblber-2.2.so.7 (0x003cd140) libsasl2.so.2 => /usr/lib64/libsasl2.so.2 (0x003cd0c0) ------- I think everything it's okey. Thanks in advance Antoni Artigues El mar, 01-02-2011 a las 10:40 +0100, antoni artigues escribió: > Hello > > I'm trying to start a new installed opennebula 2.0 but I obtain this > error: > > [oneadmin@maeko lib]$ one start > /srv/cloud/one/bin/one: line 76: 20588 Violación de segmento $ONED -f > 2>&1 > Error executing /srv/cloud/one/bin/oned. > [oneadmin@maeko lib]$ > > > there aren't any log file. > > Where could be the error? > > Thanks in advance > > Antoni Artigues > > > ___ > 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
[one-users] one start error
Hello I'm trying to start a new installed opennebula 2.0 but I obtain this error: [oneadmin@maeko lib]$ one start /srv/cloud/one/bin/one: line 76: 20588 Violación de segmento $ONED -f 2>&1 Error executing /srv/cloud/one/bin/oned. [oneadmin@maeko lib]$ there aren't any log file. Where could be the error? Thanks in advance Antoni Artigues ___ Users mailing list Users@lists.opennebula.org http://lists.opennebula.org/listinfo.cgi/users-opennebula.org
Re: [one-users] VMware Driver Addon installation
Thanks for the answer. Well, I'm not sure. I'm searching information on the libvirt web site, here http://www.libvirt.org/drvesx.html. It says: None. Any out-of-the-box installation of VPX/ESX(i)/GSX should work. No preparations are required on the server side, no libvirtd must be installed on the ESX server. The driver uses version 2.5 of the remote, SOAP based VMware Virtual Infrastructure API (VI API) to communicate with the ESX server, like the VMware Virtual Infrastructure Client (VI client) does. Since version 4.0 this API is called VMware vSphere API. So, I think it's only mandatory to install the libvirt client on the front-end. Anybody can confirm it? Thanks in advance regards Antoni Artigues El jue, 27-01-2011 a las 12:00 +0200, daniel.moldo...@cs.utcluj.ro escribió: > Considering that libvirt is the linux virtualization toolkit used for the > virtualization process by the hypervisors, it should be installed where > the virtualization process takes place, and that is on the cluster nodes. > > În Joi, Ianuarie 27, 2011 9:59 am, antoni artigues a scris: > > Hello > > > > > > We want to install the VMware Driver Addon. > > > > > > In the documentation there is one prerequisite: Install libvirt. > > > > > > Only one question about that: Where do we have to install libvirt? > > Only in the front-end or also in each cluster node? > > > > > > Thanks in advance > > > > > > Antoni Artigues > > > > > > ___ > > 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 ___ Users mailing list Users@lists.opennebula.org http://lists.opennebula.org/listinfo.cgi/users-opennebula.org
[one-users] VMware Driver Addon installation
Hello We want to install the VMware Driver Addon. In the documentation there is one prerequisite: Install libvirt. Only one question about that: Where do we have to install libvirt? Only in the front-end or also in each cluster node? Thanks in advance Antoni Artigues ___ Users mailing list Users@lists.opennebula.org http://lists.opennebula.org/listinfo.cgi/users-opennebula.org
[one-users] vmware server as hypervisor
Hello I want to install opennebula with wmware server 2.0 I have seen in the Mailing list that this combination gives many problems. Also I see that is not tested from OpenNebula:http://lists.opennebula.org/htdig.cgi/users-opennebula.org/2009-August/000727.html Is anyone using vmware server and OpenNebula with no problems in a production environment? Thanks in advance Antoni Artigues ___ Users mailing list Users@lists.opennebula.org http://lists.opennebula.org/listinfo.cgi/users-opennebula.org