[one-users] Asking about VMWARE ESX and OpenNebula
antoni artigues
tartigues at iac3.eu
Thu Apr 28 01:09:52 PDT 2011
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 <tim.dunlevy at commitent.com> wrote:
> > Same error after changing the line to below.
> >
> > -----Original Message-----
> > From: Tino Vazquez [mailto:tinova79 at gmail.com]
> > Sent: Wednesday, April 27, 2011 5:49 AM
> > To: Tim Dunlevy
> > Cc: users at 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 <tim.dunlevy at commitent.com> wrote:
> >> FYI -
> >> Ruby is version 1.8.7
> >>
> >> _______________________________________________
> >> Users mailing list
> >> Users at lists.opennebula.org
> >> http://lists.opennebula.org/listinfo.cgi/users-opennebula.org
> >>
> >
> _______________________________________________
> Users mailing list
> Users at lists.opennebula.org
> http://lists.opennebula.org/listinfo.cgi/users-opennebula.org
More information about the Users
mailing list