Re: [one-users] Users Digest, Vol 70, Issue 90 (VM Openvz in Opennebula)
Hi Caty, as I wrote you before, please, don't send personal emails, use opennebulausers mail list so others can also benefit on that. Opennebula users mail list archive is kept online. So if someone in the future will have the same error message as you he/her will be able to find a solution on the web in opennebula mail list archive. As for your problem, try to add SIZE subattribute (in megabytes) to DISK attributee.g. as below: NAME="VMdebianm64" GRAPHICS=[TYPE="VNC",LISTEN="0.0.0.0",PORT="5900"] VE_LAYOUT="ploop" VCPU="1" MEMORY="512" RCLOCAL="rc.local" NIC=[NETWORK_ID="0"] OSTEMPLATE="VMdebianm64" DISK=[IMAGE_ID="1",SIZE="10240"] CPU="0.01" REQUIREMENTS="CLUSTER_ID=\"100\"" OS=[ARCH="x86_64"] HTH, Nikolay. Catalina Quinde wrote on 18/12/13 07:30: Hi, Nikolay This is Caty again, I forget attach template NAME="VMdebianm64" GRAPHICS=[TYPE="VNC",LISTEN="0.0.0.0",PORT="5900"] VE_LAYOUT="ploop" VCPU="1" MEMORY="512" RCLOCAL="rc.local" NIC=[NETWORK_ID="0"] OSTEMPLATE="VMdebianm64" DISK=[IMAGE_ID="1"] CPU="0.01" REQUIREMENTS="CLUSTER_ID=\"100\"" OS=[ARCH="x86_64"] too VNC don't work in other VM running. Thanks again, Nikolay. 2013/12/17 Catalina Quinde mailto:catalinaqui...@gmail.com>> Hi Nikolay, Thanks for reply, some time ago, I made a backup of VM made on OpenVZ for distributed its by Opennebula, I used steps detailed in file attached, but when I deploy that VM, this failed, this is log: alexopn@ubuntuOpNeb:~$ cat /var/log/one/7.log Sun Dec 15 22:29:14 2013 [DiM][I]: New VM state is ACTIVE. Sun Dec 15 22:29:14 2013 [LCM][I]: New VM state is PROLOG. Sun Dec 15 22:29:14 2013 [VM][I]: Virtual Machine has no context Sun Dec 15 22:29:21 2013 [LCM][I]: New VM state is BOOT Sun Dec 15 22:29:21 2013 [VMM][I]: Generating deployment file: /var/lib/one/vms/7/deployment.0 Sun Dec 15 22:29:21 2013 [VMM][I]: ExitCode: 0 Sun Dec 15 22:29:21 2013 [VMM][I]: Successfully execute network driver operation: pre. Sun Dec 15 22:29:22 2013 [VMM][I]: Command execution fail: cat << EOT | /vz/one/scripts/vmm/ovz/deploy '/vz/one/datastores/0/7/deployment.0' 'ubuntu' 7 ubuntu Sun Dec 15 22:29:22 2013 [VMM][I]: gzip: stdin: unexpected end of file Sun Dec 15 22:29:22 2013 [VMM][I]: tar: Child returned status 1 Sun Dec 15 22:29:22 2013 [VMM][I]: tar: Error is not recoverable: exiting now Sun Dec 15 22:29:22 2013 [VMM][I]: deploy: Executed "/usr/bin/sudo mv "/var/lib/vz/template/cache/debian-7.0-x86_64.tar.gz" "/var/lib/vz/template/cache/debian-7.0-x86_64.tar.gz.1387164568" 2> /dev/null; true". Sun Dec 15 22:29:22 2013 [VMM][I]: deploy: Executed "/usr/bin/sudo ln -sf "/vz/one/datastores/0/7/disk.0" "/var/lib/vz/template/cache/debian-7.0-x86_64.tar.gz"". Sun Dec 15 22:29:22 2013 [VMM][E]: deploy: Command "/usr/bin/sudo /usr/sbin/vzctl create 1007 --layout simfs --ostemplate "debian-7.0-x86_64" --private "/vz/one/datastores/0/7/private" --root "/vz/one/datastores/0/7/root"" failed. Sun Dec 15 22:29:22 2013 [VMM][E]: deploy: /usr/libexec/vzctl/scripts/vps-create: 86: [: Illegal number: 0.0283203 Sun Dec 15 22:29:22 2013 [VMM][I]: vps-create ERROR: Insufficient disk space in /vz/one/datastores/0/7/private.tmp; available: 12156808, needed: 0.0283203 Sun Dec 15 22:29:22 2013 [VMM][I]: Creation of container private area failed Sun Dec 15 22:29:22 2013 [VMM][E]: /usr/libexec/vzctl/scripts/vps-create: 86: [: Illegal number: 0.0283203 Sun Dec 15 22:29:22 2013 [VMM][E]: vps-create ERROR: Insufficient disk space in /vz/one/datastores/0/7/private.tmp; available: 12156808, needed: 0.0283203 Sun Dec 15 22:29:22 2013 [VMM][E]: Creation of container private area failed Sun Dec 15 22:29:22 2013 [VMM][E]: Sun Dec 15 22:29:22 2013 [VMM][I]: ExitCode: 46 Sun Dec 15 22:29:22 2013 [VMM][I]: Failed to execute virtualization driver operation: deploy. Sun Dec 15 22:29:22 2013 [VMM][E]: Error deploying virtual machine: /usr/libexec/vzctl/scripts/vps-create: 86: [: Illegal number: 0.0283203 Sun Dec 15 22:29:22 2013 [DiM][I]: New VM state is FAILED Do not know what I did wrong. Excuse me Nikolay so many questions, thanks very much for you help, Regards, Caty. 2013/12/16 mailto:kna...@gmail.com>> Hi Caty, Catalina Quinde wrote on 16/12/13 09:58: Hi Nikolay, Receive a big hug and thank you very much, the MV is now RUNNING, thanks, was how to mount the datastore, thank you . The MV that is running is a general, now I have a VM that I made earlier, you remember, I made a template of the MV, the deployment fails, but I can not understand where is the mistake, I made two templates with diferents OSTEMPLATE but failed, I send templates and file log: 1. NAME="VMdebianm64" NIC=[NETWORK_ID="0"] OS=[ARCH="x
[one-users] Virtual Machines High Availability
Hi I'm reading VM HA ( http://docs.opennebula.org/stable/advanced_administration/high_availability/ftguide.html ) and have a question about Actions. The document lists two possible Actions: -r (recreated) -d (delete) What does -r exactly do? Is VM restarted on available host using existing disk(s) on shared storage? Or is it recreated and previous state discarded? -- Thank you, Dmitri Chebotarov VCL Sys Eng, Engineering & Architectural Support, TSD - Ent Servers & Messaging 223 Aquia Building, Ffx, MSN: 1B5 Phone: (703) 993-6175 | Fax: (703) 993-3404 ___ Users mailing list Users@lists.opennebula.org http://lists.opennebula.org/listinfo.cgi/users-opennebula.org
Re: [one-users] Front-End node
Thanks very much for "rapid" answer. Is possible to have a doc for installation of front-end as VM in one host (already in one cluster???) And can onenebula manage yourself (manage the vm installed in node)? We have a shared filesystem with glusterfs ... sorry for my english!! ;) Il 17/12/2013 15:10 Steven Timm ha scritto: > OpenNebula Frontend in a VM It can be done, but how well it performs > depends on what data store you > are using. We do it in our development OpenNebula cloud but not > in production yet because we are using a shared image store with > GFS2 and CLVM and it is difficult with our current situation to > get a VM to be a member of a cluster like that, particularly since > our fibre channel host bus adapters don't support pass-through. > We are exploring other options for our data store as we migrate to > OpenNebula 4 series so we can make it work more smoothly. > > With NFS data store or ssh-based data store I expect you would not > have any problems. > > So right now in the meantime our high availability OpenNebula head nodes > run on bare metal, in an active-passive configuration, > using Red Hat Clustering to manage the high availability of the service. > HA is not perfect--if one head node goes down while a VM operation is in > progress, the other one will not pick it up, but it's good enough for > most thiings. > > There was a High Availability guide recently published. > > http://opennebula.org/documentation:archives:rel4.2:oneha [1]We were doing > most of this stuff in version 3 before it was formalized in > the guide. > > Steve Timm > > On Tue, 17 Dec 2013, Giancarlo De Filippis wrote: > >> Hi all, i'd know if the front-end node can be installed in a VM (in HA mode) >> onto a compute-node? If yes there is some docs? Thanks to all. > > -- > Steven C. Timm, Ph.D (630) 840-8525 > t...@fnal.gov http://home.fnal.gov/~timm/ [2] > Fermilab Scientific Computing Division, Scientific Computing Services Quad. > Grid and Cloud Services Dept., Associate Dept. Head for Cloud Computing -- GIANCARLO DE FILIPPIS LTBL S.r.L. Cell. +39 320 8155325 Uff. +39 02 89604424 Fax +39 02 89954500 __ Links: -- [1] http://opennebula.org/documentation:archives:rel4.2:oneha [2] http://home.fnal.gov/~timm/ ___ Users mailing list Users@lists.opennebula.org http://lists.opennebula.org/listinfo.cgi/users-opennebula.org
Re: [one-users] Front-End node
OpenNebula Frontend in a VM It can be done, but how well it performs depends on what data store you are using. We do it in our development OpenNebula cloud but not in production yet because we are using a shared image store with GFS2 and CLVM and it is difficult with our current situation to get a VM to be a member of a cluster like that, particularly since our fibre channel host bus adapters don't support pass-through. We are exploring other options for our data store as we migrate to OpenNebula 4 series so we can make it work more smoothly. With NFS data store or ssh-based data store I expect you would not have any problems. So right now in the meantime our high availability OpenNebula head nodes run on bare metal, in an active-passive configuration, using Red Hat Clustering to manage the high availability of the service. HA is not perfect--if one head node goes down while a VM operation is in progress, the other one will not pick it up, but it's good enough for most thiings. There was a High Availability guide recently published. http://opennebula.org/documentation:archives:rel4.2:oneha We were doing most of this stuff in version 3 before it was formalized in the guide. Steve Timm On Tue, 17 Dec 2013, Giancarlo De Filippis wrote: Hi all, i'd know if the front-end node can be installed in a VM (in HA mode) onto a compute-node? If yes there is some docs? Thanks to all. -- Steven C. Timm, Ph.D (630) 840-8525 t...@fnal.gov http://home.fnal.gov/~timm/ Fermilab Scientific Computing Division, Scientific Computing Services Quad. Grid and Cloud Services Dept., Associate Dept. Head for Cloud Computing ___ Users mailing list Users@lists.opennebula.org http://lists.opennebula.org/listinfo.cgi/users-opennebula.org
[one-users] Front-End node
Hi all, i'd know if the front-end node can be installed in a VM (in HA mode) onto a compute-node? If yes there is some docs? Thanks to all. ___ Users mailing list Users@lists.opennebula.org http://lists.opennebula.org/listinfo.cgi/users-opennebula.org
[one-users] New documentation system
Dear community, we have renewed the documentation system by migrating it to Sphinx and Github. The new documentation can be found here: http://docs.opennebula.org And this is the documentation master repo: https://github.com/OpenNebula/docs Please note that the PDF guides are now downloadable by everyone. More info: http://blog.opennebula.org/?p=5645 http://opennebula.org/documentation:documentation Looking forward to your pull requests! cheers, Jaime -- Jaime Melis C12G Labs - Flexible Enterprise Cloud Made Simple http://www.c12g.com | jme...@c12g.com -- 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 ab...@c12g.com and delete the e-mail and attachments and any copy from your system. C12G's thanks you for your cooperation. ___ Users mailing list Users@lists.opennebula.org http://lists.opennebula.org/listinfo.cgi/users-opennebula.org
[one-users] Hybrid Cloud (OpenNebula + Amazon EC2)
Hi all, I would like to ask some questions, it might sound silly but here goes; 1. I have very little knowledge about hybrid cloud, so I watched this youtube video [1] and the question is, the VM that was instantiated is resides on EC2 or OpenNebula? 2. If the VM is on EC2, is it free or I have to pay per use? Also can I accessed it from anywhere (public cloud) provided I have Internet connection? 3. As far as I know, EC2 use .ami image. Do I have to convert my image from .qcow2 to .ami? Thank you Best regards, Fazli [1] http://www.youtube.com/watch?v=U01dw_crqRc ___ Users mailing list Users@lists.opennebula.org http://lists.opennebula.org/listinfo.cgi/users-opennebula.org
[one-users] Upload image and use ubuntu12 iso locked problem
I am having problems creating an image via sunstone, using a path to ubuntu12.4.3 server iso, and also creating a template afterwards. I have 2 vm's(on vmware player) running that have ubuntu/kvm controller and node. Installation was based on tutorial. >From the tutorial I was able to get a CentOs running(although I don't know how to find username/password...), but when I try to create image based on path of iso I get "locked" status. I can see the image in my list though and no errors during creation. I chose "not persistent" and driver:raw, but am unsure what I should choose. Any advice and any good documentation/tutorials/faqs for image uploading? ___ Users mailing list Users@lists.opennebula.org http://lists.opennebula.org/listinfo.cgi/users-opennebula.org