[one-users] Creating images how to
Documented Facts
documentedfacts at gmail.com
Thu Nov 7 12:48:42 PST 2013
Bellow links have described how to do it. Read them and get it done.
http://wiki.centos.org/HowTos/Xen/InstallingCentOSDomU
http://wiki.centos.org/HowTos/KVM
http://wiki.xen.org/wiki/CentOS_6_Virtual_Machine_installation_on_Xen
Inside images is still same as Cent OS usage.
On Thu, Nov 7, 2013 at 10:52 PM, <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. KVM process at 99% CPU (Daniel Dehennin)
> 2. Re: VMFS datastore marketplace import image (cosmin cucu)
> 3. Re: VMFS datastore marketplace import image (Tino Vazquez)
> 4. Creating images how to (Amier Anis)
>
>
> ----------------------------------------------------------------------
>
> Message: 1
> Date: Thu, 07 Nov 2013 16:38:31 +0100
> From: Daniel Dehennin <daniel.dehennin at baby-gnu.org>
> To: users at lists.opennebula.org
> Subject: [one-users] KVM process at 99% CPU
> Message-ID: <87siv89q88.fsf at hati.baby-gnu.org>
> Content-Type: text/plain; charset="utf-8"
>
> Hello,
>
> On our 3.8 dual-node ONE I got this morning a OVERLOADED node with load
> average of 35.
>
> I found one my own VMs eating 99% CPU, it was just booted and waiting
> at ISO boot menu prompt.
>
> It looks to be related to KVM as I reproduce it on a 4.2.
>
> I can reproduce it by defining a template using an Ubuntu Server AMD64 ISO
> and instanciate it.
>
> I just let the VMs at ISO boot menu, and the KVM process quickly eat 99%
> of CPU.
>
> If someone has an idea.
>
> Here is the template:
>
> oneadmin at nebula:~$ onetemplate show 17
> TEMPLATE 17 INFORMATION
> ID : 17
> NAME : Install ISO AMD64 20G
> USER : eole
> GROUP : oneadmin
> REGISTER TIME : 10/11 19:29:17
>
> PERMISSIONS
> OWNER : um-
> GROUP : ---
> OTHER : ---
>
> TEMPLATE CONTENTS
> CONTEXT=[
> NETWORK="YES",
> SSH_PUBLIC_KEY="$USER[SSH_PUBLIC_KEY]" ]
> CPU="0.2"
> DISK=[
> IMAGE_ID="0" ]
> DISK=[
> CACHE="none",
> IMAGE_ID="43" ]
> FEATURES=[
> ACPI="yes",
> PAE="no" ]
> GRAPHICS=[
> KEYMAP="fr",
> LISTEN="0.0.0.0",
> TYPE="VNC" ]
> INPUT=[
> BUS="usb",
> TYPE="tablet" ]
> MEMORY="768"
> NIC=[
> MODEL="virtio",
> NETWORK_ID="1" ]
> OS=[
> ARCH="x86_64",
> BOOT="hd" ]
> VCPU="2"
>
> And here the ISO:
>
> oneadmin at nebula:~$ oneimage show 43
> IMAGE 43 INFORMATION
> ID : 43
> NAME : Ubuntu 13.10 server AMD64
> USER : eole
> GROUP : oneadmin
> DATASTORE : ISO
> TYPE : CDROM
> REGISTER TIME : 11/07 16:29:06
> PERSISTENT : No
> SOURCE :
> /var/lib/one//datastores/100/39670c51a99879ca3e221d5fc8027dce
> PATH : /var/tmp/thin-body20131107-1782-yqfomp
> SIZE : 672M
> STATE : used
> RUNNING_VMS : 1
>
> PERMISSIONS
> OWNER : um-
> GROUP : ---
> OTHER : ---
>
> IMAGE TEMPLATE
> DEV_PREFIX="hd"
> DRIVER="raw"
>
> VIRTUAL MACHINES
>
> ID USER GROUP NAME STAT UCPU UMEM HOST TIME
> 117 eole oneadmin userver-test runn 99 768M nebula 0d
> 00h06
>
> Regards.
>
> --
> Daniel Dehennin
> R?cup?rer ma clef GPG:
> gpg --keyserver pgp.mit.edu --recv-keys 0x7A6FE2DF
> -------------- next part --------------
> A non-text attachment was scrubbed...
> Name: not available
> Type: application/pgp-signature
> Size: 229 bytes
> Desc: not available
> URL: <
> http://lists.opennebula.org/pipermail/users-opennebula.org/attachments/20131107/15670525/attachment-0001.pgp
> >
>
> ------------------------------
>
> Message: 2
> Date: Thu, 7 Nov 2013 07:39:50 -0800 (PST)
> From: cosmin cucu <cosmincucu at yahoo.com>
> To: cosmin cucu <cosmincucu at yahoo.com>, Tino Vazquez
> <cvazquez at c12g.com>
> Cc: users <Users at lists.opennebula.org>
> Subject: Re: [one-users] VMFS datastore marketplace import image
> Message-ID:
> <1383838790.42263.YahooMailNeo at web141501.mail.bf1.yahoo.com>
> Content-Type: text/plain; charset="iso-8859-1"
>
> Any ideas on this new error?
>
> Thanks,
> Cosmin
>
>
>
>
>
> On Wednesday, November 6, 2013 1:18 PM, cosmin cucu <cosmincucu at yahoo.com>
> wrote:
>
> It was indeed a permission issue, i managed to make it working. I did
> create the image, and the template. But when i deploy a VM i get the
> following error in it's log :
>
> Wed Nov? 6 06:12:07 2013 [TM][I]: clone: Cloning
> OpenNebula:/vmfs/volumes/101/f82b9d8fb979e76b33bb8c53ae899527 in
> 192.168.10.10:/vmfs/volumes/100/37/disk.0
> Wed Nov? 6 06:12:07 2013 [TM][E]: clone: Command "cd /vmfs/volumes/100/37
> Wed Nov? 6 06:12:07 2013 [TM][I]:
> Wed Nov? 6 06:12:07 2013 [TM][I]: export PATH=/usr/sbin:/sbin:$PATH
> Wed Nov? 6 06:12:07 2013 [TM][I]:
> Wed Nov? 6 06:12:07 2013 [TM][I]: if [ "FILE" != "CDROM" ]; then
> Wed Nov? 6 06:12:07 2013 [TM][I]: if [ ! -d /vmfs/volumes/100/37/disk.0 ];
> then
> Wed Nov? 6 06:12:07 2013 [TM][I]: mkdir -p /vmfs/volumes/100/37/disk.0
> Wed Nov? 6 06:12:07 2013 [TM][I]: fi
> Wed Nov? 6 06:12:07 2013 [TM][I]:
> Wed Nov? 6 06:12:07 2013 [TM][I]: vmkfstools -U
> /vmfs/volumes/100/37/disk.0/disk.vmdk
> Wed Nov? 6 06:12:07 2013 [TM][I]: rm -f /vmfs/volumes/100/37/disk.0/*
> Wed Nov? 6 06:12:07 2013 [TM][I]:
> Wed
> Nov? 6 06:12:07 2013 [TM][I]: vmkfstools -i
> /vmfs/volumes/101/f82b9d8fb979e76b33bb8c53ae899527/disk.vmdk -d thin
> /vmfs/volumes/100/37/disk.0/disk.vmdk
> Wed Nov? 6 06:12:07 2013 [TM][I]: else
> Wed Nov? 6 06:12:07 2013 [TM][I]: if [ ! -d /vmfs/volumes/100/37 ]; then
> Wed Nov? 6 06:12:07 2013 [TM][I]: mkdir -p /vmfs/volumes/100/37
> Wed Nov? 6 06:12:07 2013 [TM][I]: fi
> Wed Nov? 6 06:12:07 2013 [TM][I]:
> Wed Nov? 6 06:12:07 2013 [TM][I]: rm -f /vmfs/volumes/100/37/disk.0
> Wed Nov? 6 06:12:07 2013 [TM][I]:
> Wed Nov? 6 06:12:07 2013 [TM][I]: cp
> /vmfs/volumes/101/f82b9d8fb979e76b33bb8c53ae899527
> /vmfs/volumes/100/37/disk.0
> Wed Nov? 6 06:12:07 2013 [TM][I]: ln -s /vmfs/volumes/100/37/disk.0
> /vmfs/volumes/100/37/disk.0.iso
> Wed Nov? 6 06:12:07 2013 [TM][I]: fi" failed: sh: cd: line 0: can't cd to
> /vmfs/volumes/100/37
> Wed Nov? 6 06:12:07 2013 [TM][I]: Failed to delete virtual
> disk: The system cannot find the file specified (25).
> Wed Nov? 6 06:12:07 2013 [TM][I]: DiskLib_Check() failed for source disk
> The system cannot find the file specified (25).
> Wed Nov? 6 06:12:07 2013 [TM][E]: Error cloning
> OpenNebula:/vmfs/volumes/101/f82b9d8fb979e76b33bb8c53ae899527 to
> 192.168.10.10:/vmfs/volumes/100/37/disk.0
> Wed Nov? 6 06:12:07 2013 [TM][I]: ExitCode: 255
> Wed Nov? 6 06:12:07 2013 [TM][E]: Error executing image transfer script:
> Error cloning OpenNebula:/vmfs/volumes/101/f82b9d8fb979e76b33bb8c53ae899527
> to 192.168.10.10:/vmfs/volumes/100/37/disk.0
> Wed Nov? 6 06:12:07 2013 [DiM][I]: New VM state is FAILED
>
> Any ideas?
>
> Thanks.
> Cosmin
> _______________________________________________
> 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/20131107/6c5b90ff/attachment-0001.htm
> >
>
> ------------------------------
>
> Message: 3
> Date: Thu, 7 Nov 2013 16:41:46 +0100
> From: Tino Vazquez <cvazquez at c12g.com>
> To: cosmin cucu <cosmincucu at yahoo.com>
> Cc: users <Users at lists.opennebula.org>
> Subject: Re: [one-users] VMFS datastore marketplace import image
> Message-ID:
> <CAHfKwc3Xfdb=
> GyEjK1uW71jgD6pbO+BBTCSvivdmS8hn+72n_A at mail.gmail.com>
> Content-Type: text/plain; charset=ISO-8859-1
>
> Hi,
>
> Can you check if this file exists in the ESX node?
>
> /vmfs/volumes/101/f82b9d8fb979e76b33bb8c53ae899527
>
> If it doesn't, you may need to register the image again.
>
> Regards,
>
> -Tino
> --
> OpenNebula - Flexible Enterprise Cloud Made Simple
>
> --
> Constantino V?zquez Blanco, PhD, MSc
> Senior Infrastructure Architect at C12G Labs
> www.c12g.com | @C12G | es.linkedin.com/in/tinova
>
> --
> Confidentiality Warning: The information contained in this e-mail and
> any accompanying documents, unless otherwise expressly indicated, is
> confidential and privileged, and is intended solely for the person
> and/or entity to whom it is addressed (i.e. those identified in the
> "To" and "cc" box). They are the property of C12G Labs S.L..
> Unauthorized distribution, review, use, disclosure, or copying of this
> communication, or any part thereof, is strictly prohibited and may be
> unlawful. If you have received this e-mail in error, please notify us
> immediately by e-mail at abuse at c12g.com and delete the e-mail and
> attachments and any copy from your system. C12G thanks you for your
> cooperation.
>
>
> On Thu, Nov 7, 2013 at 4:39 PM, cosmin cucu <cosmincucu at yahoo.com> wrote:
> > Any ideas on this new error?
> >
> > Thanks,
> > Cosmin
> >
> >
> > On Wednesday, November 6, 2013 1:18 PM, cosmin cucu <
> cosmincucu at yahoo.com>
> > wrote:
> > It was indeed a permission issue, i managed to make it working. I did
> create
> > the image, and the template. But when i deploy a VM i get the following
> > error in it's log :
> >
> > Wed Nov 6 06:12:07 2013 [TM][I]: clone: Cloning
> > OpenNebula:/vmfs/volumes/101/f82b9d8fb979e76b33bb8c53ae899527 in
> > 192.168.10.10:/vmfs/volumes/100/37/disk.0
> > Wed Nov 6 06:12:07 2013 [TM][E]: clone: Command "cd /vmfs/volumes/100/37
> > Wed Nov 6 06:12:07 2013 [TM][I]:
> > Wed Nov 6 06:12:07 2013 [TM][I]: export PATH=/usr/sbin:/sbin:$PATH
> > Wed Nov 6 06:12:07 2013 [TM][I]:
> > Wed Nov 6 06:12:07 2013 [TM][I]: if [ "FILE" != "CDROM" ]; then
> > Wed Nov 6 06:12:07 2013 [TM][I]: if [ ! -d /vmfs/volumes/100/37/disk.0
> ];
> > then
> > Wed Nov 6 06:12:07 2013 [TM][I]: mkdir -p /vmfs/volumes/100/37/disk.0
> > Wed Nov 6 06:12:07 2013 [TM][I]: fi
> > Wed Nov 6 06:12:07 2013 [TM][I]:
> > Wed Nov 6 06:12:07 2013 [TM][I]: vmkfstools -U
> > /vmfs/volumes/100/37/disk.0/disk.vmdk
> > Wed Nov 6 06:12:07 2013 [TM][I]: rm -f /vmfs/volumes/100/37/disk.0/*
> > Wed Nov 6 06:12:07 2013 [TM][I]:
> > Wed Nov 6 06:12:07 2013 [TM][I]: vmkfstools -i
> > /vmfs/volumes/101/f82b9d8fb979e76b33bb8c53ae899527/disk.vmdk -d thin
> > /vmfs/volumes/100/37/disk.0/disk.vmdk
> > Wed Nov 6 06:12:07 2013 [TM][I]: else
> > Wed Nov 6 06:12:07 2013 [TM][I]: if [ ! -d /vmfs/volumes/100/37 ]; then
> > Wed Nov 6 06:12:07 2013 [TM][I]: mkdir -p /vmfs/volumes/100/37
> > Wed Nov 6 06:12:07 2013 [TM][I]: fi
> > Wed Nov 6 06:12:07 2013 [TM][I]:
> > Wed Nov 6 06:12:07 2013 [TM][I]: rm -f /vmfs/volumes/100/37/disk.0
> > Wed Nov 6 06:12:07 2013 [TM][I]:
> > Wed Nov 6 06:12:07 2013 [TM][I]: cp
> > /vmfs/volumes/101/f82b9d8fb979e76b33bb8c53ae899527
> > /vmfs/volumes/100/37/disk.0
> > Wed Nov 6 06:12:07 2013 [TM][I]: ln -s /vmfs/volumes/100/37/disk.0
> > /vmfs/volumes/100/37/disk.0.iso
> > Wed Nov 6 06:12:07 2013 [TM][I]: fi" failed: sh: cd: line 0: can't cd to
> > /vmfs/volumes/100/37
> > Wed Nov 6 06:12:07 2013 [TM][I]: Failed to delete virtual disk: The
> system
> > cannot find the file specified (25).
> > Wed Nov 6 06:12:07 2013 [TM][I]: DiskLib_Check() failed for source disk
> The
> > system cannot find the file specified (25).
> > Wed Nov 6 06:12:07 2013 [TM][E]: Error cloning
> > OpenNebula:/vmfs/volumes/101/f82b9d8fb979e76b33bb8c53ae899527 to
> > 192.168.10.10:/vmfs/volumes/100/37/disk.0
> > Wed Nov 6 06:12:07 2013 [TM][I]: ExitCode: 255
> > Wed Nov 6 06:12:07 2013 [TM][E]: Error executing image transfer script:
> > Error cloning
> OpenNebula:/vmfs/volumes/101/f82b9d8fb979e76b33bb8c53ae899527
> > to 192.168.10.10:/vmfs/volumes/100/37/disk.0
> > Wed Nov 6 06:12:07 2013 [DiM][I]: New VM state is FAILED
> >
> > Any ideas?
> >
> > Thanks.
> > Cosmin
> >
> > _______________________________________________
> > 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
> >
>
>
> ------------------------------
>
> Message: 4
> Date: Fri, 8 Nov 2013 01:21:51 +0800
> From: Amier Anis <mymabma at gmail.com>
> To: "users at lists.opennebula.org" <users at lists.opennebula.org>
> Subject: [one-users] Creating images how to
> Message-ID:
> <
> CALTL7OmAK_J9ZM7uWWjcV4ew8sdFuTqNkO3FcwO9cDd2TwT9SA at mail.gmail.com>
> Content-Type: text/plain; charset="utf-8"
>
> Dear Guys,
>
> I'm still new with opennebula. I would like to know how to create images
> for my 100 vm using centos 6.4. In the images i need to install a few
> component and add a few users.
>
> any ideas?
>
> Thanks you.
>
> Regards & Best Wishes,
>
>
> *.: Amier Anis :.*
> Mobile: +6012-260-0819
> ------------------------------
> IMPORTANT:
> This e-mail (including any attachment hereto) is intended solely for the
> addressee and is confidential and privileged. If this should have been sent
> to you in error, you are not to reproduce, distribute or take any action in
> reliance on it. Kindly notify us and delete the e-mail and all attachments
> immediately.
>
> As e-mail and/or attachments may contain viruses and other interfering or
> damaging elements, the receipt and/or downloading of e-mail and/or
> attachments will be at your own risk and we accept no liability for any
> damage sustained as a result of any such viruses; you should carry out your
> own virus checks before opening any attachment.
> -------------- next part --------------
> An HTML attachment was scrubbed...
> URL: <
> http://lists.opennebula.org/pipermail/users-opennebula.org/attachments/20131108/d6c32e8b/attachment.htm
> >
>
> ------------------------------
>
> _______________________________________________
> Users mailing list
> Users at lists.opennebula.org
> http://lists.opennebula.org/listinfo.cgi/users-opennebula.org
>
>
> End of Users Digest, Vol 69, Issue 16
> *************************************
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opennebula.org/pipermail/users-opennebula.org/attachments/20131108/0e92f2d5/attachment-0002.htm>
More information about the Users
mailing list