Hi, Is oneadmin an ESX user (ie can you login using the VI client using "oneadmin" with no pass)? If that is the case, please set a password and try again (passwordless users in ESX are not supported, if needed we can work around it).
Regards, -Tino -- Constantino Vázquez Blanco, MSc OpenNebula Major Contributor www.OpenNebula.org | @tinova79 On Wed, Apr 27, 2011 at 3:12 PM, Hoang Dinh Phuc <[email protected]> wrote: > Hello Tim, > > I've changed as your help, but it still get an error. Here is the log > > ruby -dw $ONE_LOCATION/lib/mads/one_im_sh.rb vmware > --- > INIT > INIT SUCCESS - - > --- > MONITOR 0 esxsrv - > LOG - 0 Command execution fail: /srv/cloud/one/var/remotes//im/run_probes > vmware esxsrv > LOG - 0 STDERR follows. > LOG - 0 /srv/cloud/one/lib/ruby/vmwarelib.rb:26: warning: already > initialized constant ONE_LOCATION > LOG - 0 /srv/cloud/one/lib/ruby/vmwarelib.rb:32: warning: already > initialized constant RUBY_LIB_LOCATION > LOG - 0 [VMWARE] cmd failed [/srv/cloud/one/bin/tty_expect -u oneadmin -p > virsh -c esx://esxsrv/?no_verify=1 --readonly nodeinfo]. Stderr: . Stdout: > /srv/cloud/one/bin/tty_expect: invalid option -- c > LOG - 0 Wrong option. Check usage > LOG - 0 > LOG - 0 myexpect [-h] <-p password> <-u username> <command> > LOG - 0 > LOG - 0 SYNOPSIS > LOG - 0 Wraps the execution of a command and sends username & password > LOG - 0 > LOG - 0 OPTIONS > LOG - 0 -h prints this help. > LOG - 0 -p the password > LOG - 0 -u the username > LOG - 0 <virsh command> complete virsh command > LOG - 0 ExitCode: 255 > LOG - 0 ./vmware.rb:65: private method `split' called for 255:Fixnum > (NoMethodError) > LOG - 0 Error executing vmware.rb > LOG - 0 ExitCode: 1 > MONITOR FAILURE 0 Could not monitor host esxsrv. > > > P/s: account oneadmin don't have password > > Thanks and regards > On 27 April 2011 19:57, <[email protected]> wrote: >> >> Send Users mailing list submissions to >> [email protected] >> >> To subscribe or unsubscribe via the World Wide Web, visit >> http://lists.opennebula.org/listinfo.cgi/users-opennebula.org >> or, via email, send a message with subject or body 'help' to >> [email protected] >> >> You can reach the person managing the list at >> [email protected] >> >> When replying, please edit your Subject line so it is more specific >> than "Re: Contents of Users digest..." >> >> >> Today's Topics: >> >> 1. Re: Does the SOURCE make no sense when creating an image in >> opennebula-2.2.0 (Carlos Mart?n S?nchez) >> 2. Re: Asking about VMWARE ESX and OpenNebula (Tim Dunlevy) >> 3. OpenNebula and ESXI 4.1 (C?sar Carrasco Mosquera) >> >> >> ---------------------------------------------------------------------- >> >> Message: 1 >> Date: Wed, 27 Apr 2011 12:55:25 +0200 >> From: Carlos Mart?n S?nchez <[email protected]> >> To: [email protected] >> Cc: [email protected] >> Subject: Re: [one-users] Does the SOURCE make no sense when creating >> an image in opennebula-2.2.0 >> Message-ID: <[email protected]> >> Content-Type: text/plain; charset="gb2312" >> >> Hi, >> >> You are right about the steps made by the ruby OCA and OpenNebula daemon. >> And indeed, it makes no sense to specify only a SOURE attribute *if it is >> a >> file path*. >> >> But you can still take advantage of the SOURCE if you use an http:// url. >> This can be used to bypass the local Image Repository and store some of >> the >> Image files remotely. >> >> Anyway, this isn't the typical scenario, and maybe it still makes sense to >> remove the SOURCE option from the Suntone wizard. >> >> Best regards, >> Carlos. >> -- >> Carlos Mart?n, MSc >> Project Major Contributor >> OpenNebula - The Open Source Toolkit for Cloud Computing >> www.OpenNebula.org <http://www.opennebula.org/> | [email protected] >> >> >> On Wed, Apr 27, 2011 at 2:41 AM, <[email protected]> wrote: >> >> > >> > >> > Hello, >> > >> > When creating an image by sunstone-server, I find that the >> > SOURCE makes no sense. So I go to the source code both in Ruby and >> > opennebula, the SOURCE is only valid when using the PATH or SIZE(with >> > FSTYPE). >> > >> > In my opinion, the whole image creation consists of four steps: >> > >> > >> > 1. Sunstone-server sends "one.image.allocate" by using Ruby to >> > opennebula. The opennebula receives the calls and checks if the SOURCE >> > exists in parameters of the image template. If it does not exists, >> > opennebula assign a string to the SOURCE with the SHA1 digesting of >> > "uid:name", otherwise do nothing to the SOURCE. Then, inserts a image >> > record into the DB. >> > >> > 2. Then sunstone-server sends "one.image.info" to >> > opennebula to retrieve the initialized infomation by step 1, mainly the >> > value of SOURCE. >> > >> > 3. Suntone-server starts to judge the branches by PATH, >> > SOURCE, SIZE, FSTYPE and TYPE. When there only exists the SOURCE, it >> > will >> > do nothing. (For example, if the PATH exists and SOURCE not exists, it >> > will >> > do copy the PATH file to the SOURCE file path, and etc.) >> > >> > 4. If former >> > steps have no errors, sunstone-server sends "one.image.enable" to >> > opennebula, it just update the record in DB and do nothing about the >> > SOURCE. Otherwise, it sends "one.image.delete" to opennebula and delete >> > the >> > record in DB. >> > >> > So, if just specify the SOURCE to create an image, the >> > operation make no sense. So, I think the SOURCE input should be removed >> > in >> > web pages of sunstone-server . >> > >> > If I have mistakes, please send me the >> > error correction. Thanks. :-) >> > >> > >> > _______________________________________________ >> > Users mailing list >> > [email protected] >> > http://lists.opennebula.org/listinfo.cgi/users-opennebula.org >> > >> > >> -------------- next part -------------- >> An HTML attachment was scrubbed... >> URL: >> <http://lists.opennebula.org/pipermail/users-opennebula.org/attachments/20110427/e6c13bdc/attachment-0001.htm> >> >> ------------------------------ >> >> Message: 2 >> Date: Wed, 27 Apr 2011 08:36:27 -0400 >> From: Tim Dunlevy <[email protected]> >> To: Tino Vazquez <[email protected]> >> Cc: "[email protected]" <[email protected]> >> Subject: Re: [one-users] Asking about VMWARE ESX and OpenNebula >> Message-ID: >> >> <951eaaa951e3ad4b82b5b30aa2a0af2b01d78395e...@commitchs1.commitent.com> >> >> Content-Type: text/plain; charset="iso-8859-1" >> >> Same error after changing the line to below. >> >> -----Original Message----- >> From: Tino Vazquez [mailto:[email protected]] >> Sent: Wednesday, April 27, 2011 5:49 AM >> To: Tim Dunlevy >> Cc: [email protected] >> 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 <[email protected]> >> wrote: >> > FYI - >> > Ruby is version 1.8.7 >> > >> > _______________________________________________ >> > Users mailing list >> > [email protected] >> > http://lists.opennebula.org/listinfo.cgi/users-opennebula.org >> > >> >> >> ------------------------------ >> >> Message: 3 >> Date: Wed, 27 Apr 2011 14:55:24 +0200 >> From: C?sar Carrasco Mosquera <[email protected]> >> To: [email protected] >> Subject: [one-users] OpenNebula and ESXI 4.1 >> Message-ID: <[email protected]> >> Content-Type: text/plain; charset="iso-8859-1"; Format="flowed" >> >> Dear all, >> >> I'm trying to deploy a cluster using Opennebula at the front end and ESXI >> at the compute nodes. Although I've found many emails in the mailing lists >> about how to make Opennebula and ESXI work together, I've not been able to >> find any manual on how to do this from scratch. >> >> This is, I have the Opennebula machine installed, and the ESXI compute >> node as well, but I don't know what to do to make them work toghether. >> >> Could you please give me some help? >> >> Best regards, >> >> -- >> -------------- next part -------------- >> An HTML attachment was scrubbed... >> URL: >> <http://lists.opennebula.org/pipermail/users-opennebula.org/attachments/20110427/903fff0a/attachment.htm> >> -------------- next part -------------- >> A non-text attachment was scrubbed... >> Name: firma-correo-electronico.gif >> Type: image/gif >> Size: 13605 bytes >> Desc: not available >> URL: >> <http://lists.opennebula.org/pipermail/users-opennebula.org/attachments/20110427/903fff0a/attachment.gif> >> >> ------------------------------ >> >> _______________________________________________ >> Users mailing list >> [email protected] >> http://lists.opennebula.org/listinfo.cgi/users-opennebula.org >> >> >> End of Users Digest, Vol 38, Issue 107 >> ************************************** > > > > -- > ------------------- > F: Hoang Dinh Phuc > E: [email protected] > M: +84909398700 > > > _______________________________________________ > Users mailing list > [email protected] > http://lists.opennebula.org/listinfo.cgi/users-opennebula.org > > _______________________________________________ Users mailing list [email protected] http://lists.opennebula.org/listinfo.cgi/users-opennebula.org
