[one-users] Users Digest, Vol 48, Issue 30

Hoang Dinh Phuc hdphuc at gmail.com
Sun Feb 12 23:23:29 PST 2012


> Did you create an AMI based on that bucket running the ec2-register
> command? After that you have to include the ami-id to the OpenNebula
> template:

> http://www.opennebula.org/documentation:rel3.2:ec2g#testing

I've already registered image on website aws.amazon.com ( the same with
command ec2-register ).
And then I run directly on website (the same with template).
The state of this machine is running, but status check is only 1/2 check
passed (System status check is OK and Instance status check is failed). I
also reboot the machine. But it still not working.



On 9 February 2012 21:36, <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: Asking about OpenNebula with Amazon EC2 (Daniel Molina)
>   2. Re: problem with RANGED network (or caching)
>      (Carlos Mart?n S?nchez)
>   3. Re: OpenNebula 3.2 Red Spider Released! (Tino Vazquez)
>   4. Re: one 3.2 : accouting ruby error (Daniel Molina)
>   5. Re: how to get accounting per user (Daniel Molina)
>   6. Re: ssh host key verification (Javier Fontan)
>
>
> ----------------------------------------------------------------------
>
> Message: 1
> Date: Thu, 9 Feb 2012 15:18:32 +0100
> From: Daniel Molina <dmolina at opennebula.org>
> To: Hoang Dinh Phuc <hdphuc at gmail.com>
> Cc: users at lists.opennebula.org
> Subject: Re: [one-users] Asking about OpenNebula with Amazon EC2
> Message-ID:
>        <CAPvywezVGka77e6_ToN-PzcKVY-8gew1Cb2m3aVa+TFMmYnyig at mail.gmail.com
> >
> Content-Type: text/plain; charset=ISO-8859-1
>
> Hi,
>
> On 7 February 2012 09:34, Hoang Dinh Phuc <hdphuc at gmail.com> wrote:
> > Hi all,
> >
> > I'm building a hybrid cloud computing model with OpenNebula.
> > ??? - My private cloud is my data center with OpenNebula: KVM hypervisor.
> > ??? - My public cloud is Amazon EC2 (added host EC2 to be managed by
> > OpenNebula)
> >
> > I've successfully create raw image (centOS.img) that is running with KVM
> > Host. And then, I've successfully uploaded this image to Amazon S3 with 2
> > command:
> > ec2-bundle-image and ec2-upload-bundle.
> >
> > But when i lauch my private AMI (image CentOS), it cannot run on Amazon
> EC2.
> > What should i have to do?
> >
> > I also create an raw image from Xen Hypervisor and then upload to Amazon
> > EC2, but it still don't run on Amazon EC2. It only run on my private
> cloud.
>
> Did you create an AMI based on that bucket running the ec2-register
> command? After that you have to include the ami-id to the OpenNebula
> template:
>
> http://www.opennebula.org/documentation:rel3.2:ec2g#testing
>
> >
> > Thanks
> >
> > --
> >
> > F:? Hoang Dinh Phuc, HCMC - VN
> > E:? hdphuc at gmail.com
> > M: (+84) 909 398 700
> >
> >
> > _______________________________________________
> > Users mailing list
> > Users at lists.opennebula.org
> > http://lists.opennebula.org/listinfo.cgi/users-opennebula.org
> >
>
>
>
> --
> Daniel Molina
> Project Engineer
> OpenNebula - The Open Source Toolkit for Data Center Virtualization
> www.OpenNebula.org | dmolina at opennebula.org | @OpenNebula
>
>
> ------------------------------
>
> Message: 2
> Date: Thu, 9 Feb 2012 15:19:35 +0100
> From: Carlos Mart?n S?nchez <cmartin at opennebula.org>
> To: rolandas.naujikas at mif.vu.lt
> Cc: users at lists.opennebula.org
> Subject: Re: [one-users] problem with RANGED network (or caching)
> Message-ID:
>        <CAEPYvFL57mKHkuGQn-Q98f9Fk+CSAb7cysKY8tQugSZo8AqExg at mail.gmail.com
> >
> Content-Type: text/plain; charset="iso-8859-1"
>
> Hi Rolandas,
>
> I'd say that your better option is to move those commands to the init.sh
> script. Just put in the CONTEXT all the variables you may need, I'm
> guessing that would be $NIC[IP,NETWORK=\"NET-NAME\"]. These variables will
> be written by OpenNebula in the context.sh file, which you can "source"
> from init.sh
>
> More information in [1].
>
> Regards
>
> [1] http://opennebula.org/documentation:rel3.2:cong
> --
> Carlos Mart?n, MSc
> Project Engineer
> OpenNebula - The Open Source Toolkit for Data Center Virtualization
> www.OpenNebula.org | cmartin at opennebula.org |
> @OpenNebula<http://twitter.com/opennebula><cmartin at opennebula.org>
>
>
> On Mon, Jan 30, 2012 at 8:22 PM, Rolandas Naujikas <
> rolandas.naujikas at mif.vu.lt> wrote:
>
> > Hi,
> >
> > I just did upgrade to 3.2.1 and it didn't solve my problem.
> > I'm getting:
> >
> > oneadmin at cloud00:~$ onetemplate instantiate sunray-xen
> > [TemplateInstantiate] Error allocating a new virtual machine.
> >
> > Finally I found the cause. I want to have HOSTNAME="vm\$((echo
> > $NIC[IP,NETWORK=\"NET-NAME\"]|cut -d. -f4) - 35))" in CONTEXT. It is
> > accepted as valid template, but fails to start (in very strange ways).
> > With that I want to solve problem with setting hostname depending on IP.
> > There are no way to use DNS or other ways to do that. I tried in VM, but
> > it is not reliable ("getent hosts $IP" returns nothing when network is
> > not ready yet).
> >
> > Regards, Rolandas
> >
> > P.S. I'm trying to use opennebula to manage production services VM, with
> > fixed IP<=>HOSTNAME (with pools also).
> >
> > On 2012-01-30 19:42, Rolandas Naujikas wrote:
> > > Hi,
> > >
> > > It worked but now it doesn't work anymore.
> > > I cannot create any VM from templates with network from virtual
> > > networks. Those virtual networks have unused leases.
> > >
> > > For example sunray-xen template with "NIC=[ NETWORK=SUNRAY ]" and
> > > onevnet show SUNRAY as
> > >
> > > VIRTUAL NETWORK 7 INFORMATION
> > >
> > > ID             : 7
> > > NAME           : SUNRAY
> > > USER           : rolnas
> > > GROUP          : oneadmin
> > > TYPE           : RANGED
> > > BRIDGE         : br428
> > > VLAN           : No
> > > PHYSICAL DEVICE:
> > > VLAN ID        :
> > > USED LEASES    : 0
> > >
> > > PERMISSIONS
> > >
> > > OWNER          : um-
> > > GROUP          : ---
> > > OTHER          : ---
> > >
> > > VIRTUAL NETWORK TEMPLATE
> > >
> > > NETWORK_MASK=255.255.0.0
> > >
> > > RANGE
> > >
> > > IP_START       : 192.168.42.36
> > > IP_END         : 192.168.42.40
> > >
> > > And now onetemplate instantiate sunray-xen shows only:
> > > [TemplateInstantiate] Error allocating a new virtual machine. Could not
> > > get virtual network for VM.
> > >
> > > Regards, Rolandas
> > >
> > > P.S. The version is OpenNebula 3.2.0
> > > P.S. When I put references to images and network by ID (not name):
> Error
> > > allocating a new virtual machine (nothing specific).
> >
> > _______________________________________________
> > 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/20120209/50ca7ef5/attachment-0001.htm
> >
>
> ------------------------------
>
> Message: 3
> Date: Thu, 9 Feb 2012 15:26:43 +0100
> From: Tino Vazquez <tinova at opennebula.org>
> To: users at lists.opennebula.org
> Subject: Re: [one-users] OpenNebula 3.2 Red Spider Released!
> Message-ID:
>        <CAHfKwc2zwi5UAx2+D0V+9=ESFufq_ByYaCcU=G=R5BZkseiFqA at mail.gmail.com
> >
> Content-Type: text/plain; charset=ISO-8859-1
>
> Dear Roger,
>
> > I've tried to find whether this release supports libxenlight (xl), but
> > so far I've only found information about the Xen 3.2 driver, which
> > still uses xend. Any updates/plans on getting xl support?
>
> Currently, OpenNebula interfaces directly to xend using the "xm"
> command. Also, there is a component in the ecosystem [1] that
> interacts with XCP using  the "xe" command.
>
> We are aware of the libxenlight, which provides a simple yet prowerful
> API to interface Xen, and xl, the CLI associated. It is in our mid
> term roadmap to give support to it, but I encourage you to open a
> feature request issue in dev.opennebula.org in order to prioritize it
> for future releases.
>
> Cheers,
>
> -Tino
>
> [1] http://opennebula.org/software:ecosystem:xcp
>
> --
> Constantino V?zquez Blanco, MSc
> Project Engineer
> OpenNebula - The Open Source Toolkit for Data Center Virtualization
> www.OpenNebula.org?|?@tinova79?|?@OpenNebula<http://www.OpenNebula.org?%7C?@tinova79?%7C?@OpenNebula>
>
>
>
> On Tue, Jan 17, 2012 at 9:59 AM, Roger Pau Monn?
> <roger.pau at entel.upc.edu> wrote:
> > 2012/1/16 Ruben S. Montero <rubensm at dacya.ucm.es>:
> >> Dear friends,
> >>
> >> The OpenNebula project is happy to announce the availability of the
> stable
> >> release of OpenNebula 3.2. This release of OpenNebula features important
> >> improvements in security, networking and user management. It also fully
> >> integrates C12G addons, previously only available for OpenNebulaPro
> >> customers.
> >>
> >> As main new features, OpenNebula 3.2 incorporates an easily-customizable
> >> self-service portal for end-users that greatly simplifies VM
> provisioning in
> >> the data center. This new update of OpenNebula also brings the highest
> >> levels of flexibility, stability, scalability and functionality for
> >> VMware-based data centers and clouds in the open-source domain.
> OpenNebula
> >> 3.2 provides an open management platform that compares to vCenter and
> >> vCloud, that can moreover be adapted to fit into your environment.
> >>
> >> Other highlights?include, but are not limited to:
> >> ? * Improved vmware support
> >> ? * Self-Service Portal
> >> ? * Improved?user & group management
> >> ? * Networking drivers
> >> ? *?Datacenter-wise placement policies
> >
> > I've tried to find whether this release supports libxenlight (xl), but
> > so far I've only found information about the Xen 3.2 driver, which
> > still uses xend. Any updates/plans on getting xl support?
> >
> > Thanks, Roger.
> > _______________________________________________
> > Users mailing list
> > Users at lists.opennebula.org
> > http://lists.opennebula.org/listinfo.cgi/users-opennebula.org
>
>
> ------------------------------
>
> Message: 4
> Date: Thu, 9 Feb 2012 15:29:58 +0100
> From: Daniel Molina <dmolina at opennebula.org>
> To: Olivier Sallou <olivier.sallou at irisa.fr>
> Cc: "users at lists.opennebula.org" <users at lists.opennebula.org>
> Subject: Re: [one-users] one 3.2 : accouting ruby error
> Message-ID:
>        <CAPvywexxv=LD1squDcKZp55A0R=qCpPArUyP2QpnEMEm8Of2Cg at mail.gmail.com
> >
> Content-Type: text/plain; charset=ISO-8859-1
>
> Hi,
>
> On 3 February 2012 10:51, Olivier Sallou <olivier.sallou at irisa.fr> wrote:
> > Hi,
> > I upgrade one to 3.2 using deb package.
> >
> > I tried the accounting test available on web site but I have errors:
> >
> > 1) I had to add require 'rubygems' , else json is not found.
> >
> > 2) I have a undefined method error:
> >
> > oneadmin at genokvm4:~$ ruby /tmp/test.rb
> > /tmp/test.rb:30: undefined method `host_monitoring' for
> > #<OneWatchClient::WatchClient:0x7f8422d7cbb8> (NoMethodError)
>
> I guess you are referring to the example that is shown in this page:
> http://www.opennebula.org/documentation:rel3.2:statistics_api
>
> That guide is outdated, I will update it as soon as possible. You can
> see an example of this library in the Sunstone server code:
>
> https://github.com/OpenNebula/one/blob/master/src/sunstone/models/SunstoneServer.rb#L270
>
> This library is used to retrieved the VMs and Hosts monitoring
> information. You can use the oneacct client if you want to retrieve
> accounting information instead of monitoring.
> http://www.opennebula.org/documentation:rel3.2:accounting
>
> Cheers
>
> >
> >
> > Olivier
> >
> > --
> >
> > gpg key id: 4096R/326D8438 ?(pgp.mit.edu)
> > Key fingerprint = 5FB4 6F83 D3B9 5204 6335 ?D26D 78DC 68DB 326D 8438
> >
> >
> > _______________________________________________
> > Users mailing list
> > Users at lists.opennebula.org
> > http://lists.opennebula.org/listinfo.cgi/users-opennebula.org
>
>
>
> --
> Daniel Molina
> Project Engineer
> OpenNebula - The Open Source Toolkit for Data Center Virtualization
> www.OpenNebula.org | dmolina at opennebula.org | @OpenNebula
>
>
> ------------------------------
>
> Message: 5
> Date: Thu, 9 Feb 2012 15:33:36 +0100
> From: Daniel Molina <dmolina at opennebula.org>
> To: Olivier Sallou <olivier.sallou at irisa.fr>
> Cc: "users at lists.opennebula.org" <users at lists.opennebula.org>
> Subject: Re: [one-users] how to get accounting per user
> Message-ID:
>        <CAPvywexui5k=CsMX3-dUsEcBxbt2GNqONcRi40GNsJ-4PC5FzA at mail.gmail.com
> >
> Content-Type: text/plain; charset=ISO-8859-1
>
> Hi,
>
> On 3 February 2012 11:27, Olivier Sallou <olivier.sallou at irisa.fr> wrote:
> > Hi,
> > I wonder how to have accounting per user?
> >
> > watchclient class provide host and vm stats, but I do not see an method
> > in Ruby API to query accouting on a (all) user.
>
> You should use the oneacct tool:
> http://www.opennebula.org/documentation:rel3.2:accounting
>
> The source code of this tool can be found in the following files:
> https://github.com/OpenNebula/one/blob/master/src/cli/oneacct
> https://github.com/OpenNebula/one/blob/master/src/acct/oneacct.rb
>
> Cheers
>
> >
> > Thanks
> >
> > Olivier
> >
> > --
> >
> > gpg key id: 4096R/326D8438 ?(pgp.mit.edu)
> > Key fingerprint = 5FB4 6F83 D3B9 5204 6335 ?D26D 78DC 68DB 326D 8438
> >
> >
> > _______________________________________________
> > Users mailing list
> > Users at lists.opennebula.org
> > http://lists.opennebula.org/listinfo.cgi/users-opennebula.org
>
>
>
> --
> Daniel Molina
> Project Engineer
> OpenNebula - The Open Source Toolkit for Data Center Virtualization
> www.OpenNebula.org | dmolina at opennebula.org | @OpenNebula
>
>
> ------------------------------
>
> Message: 6
> Date: Thu, 9 Feb 2012 15:36:45 +0100
> From: Javier Fontan <jfontan at opennebula.org>
> To: users at lists.opennebula.org
> Subject: Re: [one-users] ssh host key verification
> Message-ID:
>        <CAK+uMM_g=Jpt1qTAZU+4YTQtV0iwMw9uqpHVo8yyQmzNwWd+OA at mail.gmail.com
> >
> Content-Type: text/plain; charset=windows-1252
>
> Hello,
>
> The problem is the way we use to copy the file:
>
> scp one-joh:/var/lib/one/iso/debian-6.0.3-amd64-netinst.iso
> frk-cn13:/var/lib/one//19/images/disk.0
>
> As you can see we specify both the source and the destination hosts so
> scp first tries to connect to one-joh, that I suppose is the frontend.
>
> Try from one-joh:
>
> ssh one-joh
>
> This will ask you to add the key to the known_hosts and after that the
> copy should work.
>
> On Mon, Jan 30, 2012 at 1:59 PM, Johannes Reichhardt
> <johannes.reichhardt at hybris.com> wrote:
> > Hi,
> >
> >
> >
> >
> >
> > I have a little problem to create a new VM on a host.
> >
> >
> >
> > log:
> >
> >
> >
> > Mon Jan 30 13:48:43 2012 [DiM][I]: New VM state is ACTIVE.
> >
> > Mon Jan 30 13:48:43 2012 [LCM][I]: New VM state is PROLOG.
> >
> > Mon Jan 30 13:48:43 2012 [VM][I]: Virtual Machine has no context
> >
> > Mon Jan 30 13:48:43 2012 [TM][I]: Command execution fail:
> > /usr/lib/one/tm_commands/ssh/tm_clone.sh
> > one-joh:/var/lib/one/iso/debian-6.0.3-amd64-netinst.iso
> > frk-cn13:/var/lib/one//19/images/disk.0
> >
> > Mon Jan 30 13:48:43 2012 [TM][D]: tm_clone.sh:
> > one-joh:/var/lib/one/iso/debian-6.0.3-amd64-netinst.iso
> > frk-cn13:/var/lib/one//19/images/disk.0
> >
> > Mon Jan 30 13:48:43 2012 [TM][D]: tm_clone.sh: DST:
> > /var/lib/one//19/images/disk.0
> >
> > Mon Jan 30 13:48:43 2012 [TM][I]: tm_clone.sh: Creating directory
> > /var/lib/one//19/images
> >
> > Mon Jan 30 13:48:43 2012 [TM][I]: tm_clone.sh: Executed "ssh frk-cn13
> mkdir
> > -p /var/lib/one//19/images".
> >
> > Mon Jan 30 13:48:43 2012 [TM][I]: tm_clone.sh: Cloning
> > one-joh:/var/lib/one/iso/debian-6.0.3-amd64-netinst.iso
> >
> > Mon Jan 30 13:48:43 2012 [TM][E]: tm_clone.sh: Command "scp
> > one-joh:/var/lib/one/iso/debian-6.0.3-amd64-netinst.iso
> > frk-cn13:/var/lib/one//19/images/disk.0" failed.
> >
> > Mon Jan 30 13:48:43 2012 [TM][E]: tm_clone.sh: Host key verification
> failed.
> >
> > Mon Jan 30 13:48:43 2012 [TM][E]: Error copying
> > one-joh:/var/lib/one/iso/debian-6.0.3-amd64-netinst.iso to
> > frk-cn13:/var/lib/one//19/images/disk.0
> >
> > Mon Jan 30 13:48:43 2012 [TM][I]: ExitCode: 1
> >
> > Mon Jan 30 13:48:43 2012 [TM][E]: Error excuting image transfer script:
> > Error copying one-joh:/var/lib/one/iso/debian-6.0.3-amd64-netinst.iso to
> > frk-cn13:/var/lib/one//19/images/disk.0
> >
> > Mon Jan 30 13:48:43 2012 [DiM][I]: New VM state is FAILED
> >
> >
> >
> >
> >
> > What I don?t get ist that it creates a directory on the remoteserver but
> > does not copy it to it.
> >
> >
> >
> > What I?m doing wrong?
> >
> >
> >
> > ? Host hey verification failed??? That can?t really be, because I?m able
> to
> > login remote with the key and it?s in the known_hosts. A manual copy of
> the
> > img works fine.
> >
> > I?m using the latest debian package from the opennebula site, not from
> repo
> >
> > Is there a bug again?
> >
> > Thanks for your help!
> >
> >
> >
> > Greets
> >
> > Johannes
> >
> >
> > _______________________________________________
> > Users mailing list
> > Users at lists.opennebula.org
> > http://lists.opennebula.org/listinfo.cgi/users-opennebula.org
> >
>
>
>
> --
> Javier Font?n Mui?os
> Project Engineer
> OpenNebula - The Open Source Toolkit for Data Center Virtualization
> www.OpenNebula.org?|?jfontan at opennebula.org?|<http://www.OpenNebula.org?%7C?jfontan@opennebula.org?%7C>@OpenNebula
>
>
> ------------------------------
>
> _______________________________________________
> Users mailing list
> Users at lists.opennebula.org
> http://lists.opennebula.org/listinfo.cgi/users-opennebula.org
>
>
> End of Users Digest, Vol 48, Issue 30
> *************************************
>



-- 

F:  Hoang Dinh Phuc, HCMC - Viet Nam
E:  hdphuc at gmail.com
M: (+84) 909 398 700
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opennebula.org/pipermail/users-opennebula.org/attachments/20120213/58cb0653/attachment-0002.htm>


More information about the Users mailing list