[one-users] Users Digest, Vol 38, Issue 107
Hoang Dinh Phuc
hdphuc at gmail.com
Wed Apr 27 06:12:06 PDT 2011
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, <users-request at lists.opennebula.org> wrote:
> Send Users mailing list submissions to
> users at lists.opennebula.org
>
> 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
> users-request at lists.opennebula.org
>
> You can reach the person managing the list at
> users-owner at lists.opennebula.org
>
> 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 <cmartin at opennebula.org>
> To: junjie.ma at cs2c.com.cn
> Cc: users at lists.opennebula.org
> Subject: Re: [one-users] Does the SOURCE make no sense when creating
> an image in opennebula-2.2.0
> Message-ID: <BANLkTinn=raTL4Oy0QLUHe8By5bNKUT+vQ at mail.gmail.com>
> 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/> | cmartin at opennebula.org
>
>
> On Wed, Apr 27, 2011 at 2:41 AM, <junjie.ma at cs2c.com.cn> 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
> > Users at lists.opennebula.org
> > 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 <tim.dunlevy at commitent.com>
> To: Tino Vazquez <tinova79 at gmail.com>
> Cc: "users at lists.opennebula.org" <users at lists.opennebula.org>
> Subject: Re: [one-users] Asking about VMWARE ESX and OpenNebula
> Message-ID:
> <
> 951EAAA951E3AD4B82B5B30AA2A0AF2B01D78395EEEF at 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: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
> >
>
>
> ------------------------------
>
> Message: 3
> Date: Wed, 27 Apr 2011 14:55:24 +0200
> From: C?sar Carrasco Mosquera <ccarrasco at csi.uned.es>
> To: users at lists.opennebula.org
> Subject: [one-users] OpenNebula and ESXI 4.1
> Message-ID: <4DB8123C.5070800 at csi.uned.es>
> 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
> Users at lists.opennebula.org
> http://lists.opennebula.org/listinfo.cgi/users-opennebula.org
>
>
> End of Users Digest, Vol 38, Issue 107
> **************************************
>
--
-------------------
F: Hoang Dinh Phuc
E: hdphuc at gmail.com
M: +84909398700
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opennebula.org/pipermail/users-opennebula.org/attachments/20110427/285233b2/attachment-0001.htm>
More information about the Users
mailing list