[one-users] nebula 4.4 error
hi all, error 1 Wed Dec 18 02:53:33 2013 [DiM][I]: New VM state is ACTIVE. Wed Dec 18 02:53:33 2013 [LCM][I]: New VM state is PROLOG. Wed Dec 18 02:53:35 2013 [LCM][I]: New VM state is BOOT Wed Dec 18 02:53:35 2013 [VMM][I]: Generating deployment file: /var/lib/one/vms/104/deployment.0 Wed Dec 18 02:53:36 2013 [VMM][I]: Command execution fail: /var/lib/one/remotes/vnm/vmware/pre PFZNPjxJR Wed Dec 18 02:53:36 2013 [VMM][I]: sh: /var/lib/one/remotes/vnm/vmware/pre: File too large Wed Dec 18 02:53:36 2013 [VMM][I]: ExitCode: 2 Wed Dec 18 02:53:36 2013 [VMM][I]: Failed to execute network driver operation: pre. Wed Dec 18 02:53:36 2013 [VMM][E]: Error deploying virtual machine Wed Dec 18 02:53:36 2013 [DiM][I]: New VM state is FAILED but my image is not big , i use the ttylinux.vmdk down from the marketplace error 2 Wed Dec 18 03:27:18 2013 [DiM][I]: New VM state is ACTIVE. Wed Dec 18 03:27:18 2013 [LCM][I]: New VM state is PROLOG. Wed Dec 18 03:27:20 2013 [LCM][I]: New VM state is BOOT Wed Dec 18 03:27:20 2013 [VMM][I]: Generating deployment file: /var/lib/one/vms/107/deployment.0 Wed Dec 18 03:27:21 2013 [VMM][I]: Command execution fail: /var/lib/one/remotes/vnm/vmware/pre PFZNPjxJRD4xMDc8L0lEPjxVSUQ+MDwvVUlElfUkVDT1JEUz48L1ZNPg== Wed Dec 18 03:27:21 2013 [VMM][I]: env: can't execute 'ruby': No such file or directory Wed Dec 18 03:27:21 2013 [VMM][I]: ExitCode: 127 Wed Dec 18 03:27:21 2013 [VMM][I]: Failed to execute network driver operation: pre. Wed Dec 18 03:27:21 2013 [VMM][E]: Error deploying virtual machine Wed Dec 18 03:27:21 2013 [DiM][I]: New VM state is FAILED but i have install the ruby rpm. anywhere wrong ? ___ Users mailing list Users@lists.opennebula.org http://lists.opennebula.org/listinfo.cgi/users-opennebula.org
[one-users] Problem Login/ssh into vm
I recently set up a simple 2 node opennebula(ubuntu/kvm) (using vmware vm's), following the tutorial. I got a centOS vm to run, but cannot log in. I read on other sites that login in is done via ssh and not vnc, but whenever I ssh root@..vm_ip... I get prompted for password which I dont have. I followed this step from the tutorial(before running I ran ssh-keygen -t dsa, because the id_dsa.pub file did not exist): In order to dynamically add ssh keys to Virtual Machines we must add our ssh key to the user template, by editing the user template: $ EDITOR=vi oneuser update oneadmin Add a new line like the following to the template: SSH_PUBLIC_KEY=ssh-dss B3NzaC1kc3MAAACBANBWTQmm4Gt... Substitute the value above with the output of cat ~/.ssh/id_dsa.pub. -- Alexander Sibetheros ___ Users mailing list Users@lists.opennebula.org http://lists.opennebula.org/listinfo.cgi/users-opennebula.org
Re: [one-users] Problem Login/ssh into vm
Does this link provide correct credentials for your image: http://opennebula.org/cloud:sandbox:kvm#what_are_the_users_and_the_passwords? Jens -- gpg --keyserver pgp.mit.edu --recv-keys 0xDB1CAFB5 On 12/18/2013 11:31 AM, Alexander Sibetheros wrote: I recently set up a simple 2 node opennebula(ubuntu/kvm) (using vmware vm's), following the tutorial. I got a centOS vm to run, but cannot log in. I read on other sites that login in is done via ssh and not vnc, but whenever I ssh root@..vm_ip... I get prompted for password which I dont have. I followed this step from the tutorial(before running I ran ssh-keygen -t dsa, because the id_dsa.pub file did not exist): In order to dynamically add ssh keys to Virtual Machines we must add our ssh key to the user template, by editing the user template: $ EDITOR=vi oneuser update oneadmin Add a new line like the following to the template: SSH_PUBLIC_KEY=ssh-dss B3NzaC1kc3MAAACBANBWTQmm4Gt... Substitute the value above with the output of |cat ~/.ssh/id_dsa.pub|. -- Alexander Sibetheros ___ Users mailing list Users@lists.opennebula.org http://lists.opennebula.org/listinfo.cgi/users-opennebula.org ___ Users mailing list Users@lists.opennebula.org http://lists.opennebula.org/listinfo.cgi/users-opennebula.org
Re: [one-users] Problem Login/ssh into vm
Unfortunately no.. I checked the marketplace.. all vms for xen/vmware bases have default username/passwords. KVM on the otherhand writes: Add `SSH_PUBLIC_KEY` to contextualization to set root credentials. On Wed, Dec 18, 2013 at 12:47 PM, Jens Hoffmann jens.hoffm...@cuesoft.euwrote: Does this link provide correct credentials for your image: http://opennebula.org/cloud:sandbox:kvm#what_are_the_users_and_the_passwords ? Jens -- gpg --keyserver pgp.mit.edu --recv-keys 0xDB1CAFB5 On 12/18/2013 11:31 AM, Alexander Sibetheros wrote: I recently set up a simple 2 node opennebula(ubuntu/kvm) (using vmware vm's), following the tutorial. I got a centOS vm to run, but cannot log in. I read on other sites that login in is done via ssh and not vnc, but whenever I ssh root@..vm_ip... I get prompted for password which I dont have. I followed this step from the tutorial(before running I ran ssh-keygen -t dsa, because the id_dsa.pub file did not exist): In order to dynamically add ssh keys to Virtual Machines we must add our ssh key to the user template, by editing the user template: $ EDITOR=vi oneuser update oneadmin Add a new line like the following to the template: SSH_PUBLIC_KEY=ssh-dss B3NzaC1kc3MAAACBANBWTQmm4Gt... Substitute the value above with the output of |cat ~/.ssh/id_dsa.pub|. -- Alexander Sibetheros ___ Users mailing list Users@lists.opennebula.org http://lists.opennebula.org/listinfo.cgi/users-opennebula.org ___ Users mailing list Users@lists.opennebula.org http://lists.opennebula.org/listinfo.cgi/users-opennebula.org -- Alexander Sibetheros ___ Users mailing list Users@lists.opennebula.org http://lists.opennebula.org/listinfo.cgi/users-opennebula.org
Re: [one-users] how can i monitor the vms ?
Hi, The Ganglia drivers are now an add-on [1], that can be found here [2]. In any case, OpenNEbula doesn't need Ganglia to monitor VMs and physical hosts. Regards, -Tino [1] http://docs.opennebula.org/stable/design_and_installation/building_your_cloud/upgrade.html [2] https://github.com/OpenNebula/addon-ganglia -- 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 ab...@c12g.com and delete the e-mail and attachments and any copy from your system. C12G thanks you for your cooperation. On Tue, Dec 17, 2013 at 8:50 AM, hansz hanshizhun...@126.com wrote: Hi Tino, i use opennebula install (centos6.4) and esxi 5.1 install vms, Recently i want monitor the vms, on the opennebula4.2 i see there has ganglia, and the oned.conf has some ganglia message,but when i updata my enbula to 4.4 ,i could not find nothing about ganglia at the oned, how could i monitor the vms install esxi? ___ Users mailing list Users@lists.opennebula.org http://lists.opennebula.org/listinfo.cgi/users-opennebula.org ___ Users mailing list Users@lists.opennebula.org http://lists.opennebula.org/listinfo.cgi/users-opennebula.org
Re: [one-users] Virtual Machines High Availability
Hi, On Tue, Dec 17, 2013 at 6:11 PM, Dmitri Chebotarov dcheb...@gmu.edu wrote: 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, The -r option corresponds to the onevm delete --recreate action. The disks will be kept only if they are using a persistent image on a shared storage. Any other disks are deleted. Take a look a this recent thread for more information: http://lists.opennebula.org/pipermail/users-opennebula.org/2013-December/025916.html Regards -- Carlos Martín, MSc Project Engineer OpenNebula - Flexible Enterprise Cloud Made Simple www.OpenNebula.org | cmar...@opennebula.org | @OpenNebulahttp://twitter.com/opennebulacmar...@opennebula.org ___ Users mailing list Users@lists.opennebula.org http://lists.opennebula.org/listinfo.cgi/users-opennebula.org
Re: [one-users] nebula 4.4 error
Hi, Which OpenNebula version are you using, and on what platformm? Also, it would be useful to see the rest of the following line: Wed Dec 18 02:53:36 2013 [VMM][I]: Command execution fail: /var/lib/one/remotes/vnm/vmware/pre PFZNPjxJR 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 ab...@c12g.com and delete the e-mail and attachments and any copy from your system. C12G thanks you for your cooperation. On Wed, Dec 18, 2013 at 9:40 AM, hansz hanshizhun...@126.com wrote: hi all, error 1 Wed Dec 18 02:53:33 2013 [DiM][I]: New VM state is ACTIVE. Wed Dec 18 02:53:33 2013 [LCM][I]: New VM state is PROLOG. Wed Dec 18 02:53:35 2013 [LCM][I]: New VM state is BOOT Wed Dec 18 02:53:35 2013 [VMM][I]: Generating deployment file: /var/lib/one/vms/104/deployment.0 Wed Dec 18 02:53:36 2013 [VMM][I]: Command execution fail: /var/lib/one/remotes/vnm/vmware/pre PFZNPjxJR Wed Dec 18 02:53:36 2013 [VMM][I]: sh: /var/lib/one/remotes/vnm/vmware/pre: File too large Wed Dec 18 02:53:36 2013 [VMM][I]: ExitCode: 2 Wed Dec 18 02:53:36 2013 [VMM][I]: Failed to execute network driver operation: pre. Wed Dec 18 02:53:36 2013 [VMM][E]: Error deploying virtual machine Wed Dec 18 02:53:36 2013 [DiM][I]: New VM state is FAILED but my image is not big , i use the ttylinux.vmdk down from the marketplace error 2 Wed Dec 18 03:27:18 2013 [DiM][I]: New VM state is ACTIVE. Wed Dec 18 03:27:18 2013 [LCM][I]: New VM state is PROLOG. Wed Dec 18 03:27:20 2013 [LCM][I]: New VM state is BOOT Wed Dec 18 03:27:20 2013 [VMM][I]: Generating deployment file: /var/lib/one/vms/107/deployment.0 Wed Dec 18 03:27:21 2013 [VMM][I]: Command execution fail: /var/lib/one/remotes/vnm/vmware/pre PFZNPjxJRD4xMDc8L0lEPjxVSUQ+MDwvVUlElfUkVDT1JEUz48L1ZNPg== Wed Dec 18 03:27:21 2013 [VMM][I]: env: can't execute 'ruby': No such file or directory Wed Dec 18 03:27:21 2013 [VMM][I]: ExitCode: 127 Wed Dec 18 03:27:21 2013 [VMM][I]: Failed to execute network driver operation: pre. Wed Dec 18 03:27:21 2013 [VMM][E]: Error deploying virtual machine Wed Dec 18 03:27:21 2013 [DiM][I]: New VM state is FAILED but i have install the ruby rpm. anywhere wrong ? ___ Users mailing list Users@lists.opennebula.org http://lists.opennebula.org/listinfo.cgi/users-opennebula.org ___ Users mailing list Users@lists.opennebula.org http://lists.opennebula.org/listinfo.cgi/users-opennebula.org
Re: [one-users] Front-End node
Hi, On Tue, Dec 17, 2013 at 3:27 PM, Giancarlo De Filippis gdefilip...@ltbl.it wrote: Is possible to have a doc for installation of front-end as VM in one host (already in one cluster???) The installation of OpenNebula itself will be the same for a physical and a virtual machine. One thing you need to keep in mind is that OpenNebula assumes full control of the hosts. This means that the scheduler will think that all the memory and cpu of the host is actually available to opennebula VMs, and you may end overcommitting the host running your front-end VM. This may or may not be a problem for you; if it is you can tune the scheduler configuration (hypervisor_mem) [1]. And can onenebula manage yourself (manage the vm installed in node)? No, OpenNebula will report a wild VM inside the host. The VM will not be destroyed or managed in any way, it will be simply ignored. Regards [1] http://docs.opennebula.org/stable/administration/references/schg.html#configuration -- Carlos Martín, MSc Project Engineer OpenNebula - Flexible Enterprise Cloud Made Simple www.OpenNebula.org | cmar...@opennebula.org | @OpenNebulahttp://twitter.com/opennebulacmar...@opennebula.org On Tue, Dec 17, 2013 at 3:27 PM, Giancarlo De Filippis gdefilip...@ltbl.itwrote: 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:onehaWe 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-8525t...@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 -- *Giancarlo De Filippis* LTBL S.r.L. Cell. +39 320 8155325 Uff. +39 02 89604424 Fax +39 02 89954500 __ ___ Users mailing list Users@lists.opennebula.org http://lists.opennebula.org/listinfo.cgi/users-opennebula.org ___ Users mailing list Users@lists.opennebula.org http://lists.opennebula.org/listinfo.cgi/users-opennebula.org
Re: [one-users] Upload image and use ubuntu12 iso locked problem
Hi Alexander, On 17 December 2013 09:35, Alexander Sibetheros alexsib...@gmail.comwrote: 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? The image will stay in locked state until the file is uploaded and copied to your datastore, so if it is a large file, it can take several minutes/hours depending on your connection/io Cheers ___ Users mailing list Users@lists.opennebula.org http://lists.opennebula.org/listinfo.cgi/users-opennebula.org -- -- Daniel Molina Project Engineer OpenNebula - Flexible Enterprise Cloud Made Simple www.OpenNebula.org | dmol...@opennebula.org | @OpenNebula ___ Users mailing list Users@lists.opennebula.org http://lists.opennebula.org/listinfo.cgi/users-opennebula.org
Re: [one-users] Problem Login/ssh into vm
Hi, On Wed, Dec 18, 2013 at 12:03 PM, Alexander Sibetheros alexsib...@gmail.com wrote: I checked the marketplace.. all vms for xen/vmware bases have default username/passwords. KVM on the otherhand writes: Add `SSH_PUBLIC_KEY` to contextualization to set root credentials. I assume you are using this image from the marketplace: http://docs.opennebula.org/stable/administration/references/schg.html#configuration Maybe the problem is a wrong syntax in the VM template. Can you paste its contents? It should follow the syntax described here: http://docs.opennebula.org/stable/user/references/template.html?highlight=context#context-section You can read more about the contextualization mechanism here: http://docs.opennebula.org/stable/user/virtual_machine_setup/context_overview.html Regards -- Carlos Martín, MSc Project Engineer OpenNebula - Flexible Enterprise Cloud Made Simple www.OpenNebula.org | cmar...@opennebula.org | @OpenNebulahttp://twitter.com/opennebulacmar...@opennebula.org On Wed, Dec 18, 2013 at 12:03 PM, Alexander Sibetheros alexsib...@gmail.com wrote: Unfortunately no.. I checked the marketplace.. all vms for xen/vmware bases have default username/passwords. KVM on the otherhand writes: Add `SSH_PUBLIC_KEY` to contextualization to set root credentials. On Wed, Dec 18, 2013 at 12:47 PM, Jens Hoffmann jens.hoffm...@cuesoft.euwrote: Does this link provide correct credentials for your image: http://opennebula.org/cloud:sandbox:kvm#what_are_the_users_and_the_passwords ? Jens -- gpg --keyserver pgp.mit.edu --recv-keys 0xDB1CAFB5 On 12/18/2013 11:31 AM, Alexander Sibetheros wrote: I recently set up a simple 2 node opennebula(ubuntu/kvm) (using vmware vm's), following the tutorial. I got a centOS vm to run, but cannot log in. I read on other sites that login in is done via ssh and not vnc, but whenever I ssh root@..vm_ip... I get prompted for password which I dont have. I followed this step from the tutorial(before running I ran ssh-keygen -t dsa, because the id_dsa.pub file did not exist): In order to dynamically add ssh keys to Virtual Machines we must add our ssh key to the user template, by editing the user template: $ EDITOR=vi oneuser update oneadmin Add a new line like the following to the template: SSH_PUBLIC_KEY=ssh-dss B3NzaC1kc3MAAACBANBWTQmm4Gt... Substitute the value above with the output of |cat ~/.ssh/id_dsa.pub|. -- Alexander Sibetheros ___ Users mailing list Users@lists.opennebula.org http://lists.opennebula.org/listinfo.cgi/users-opennebula.org ___ Users mailing list Users@lists.opennebula.org http://lists.opennebula.org/listinfo.cgi/users-opennebula.org -- Alexander Sibetheros ___ Users mailing list Users@lists.opennebula.org http://lists.opennebula.org/listinfo.cgi/users-opennebula.org ___ Users mailing list Users@lists.opennebula.org http://lists.opennebula.org/listinfo.cgi/users-opennebula.org
Re: [one-users] Hybrid Cloud (OpenNebula + Amazon EC2)
Hi, On 17 December 2013 09:53, M Fazli A Jalaluddin fazli.jalalud...@gmail.comwrote: 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? In that video the vms are instantiated in OpenNebula using the EC2 interface. The use case you are looking for is a cloudbursting scenario, you can see an example in the following video, where the VMS are instantiated in Amazon using OpenNebula: http://www.youtube.com/watch?v=v76FTfglhIs 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? It depends on the instance-type/ami.. you are using, you should check the Amazon pricing. 3. As far as I know, EC2 use .ami image. Do I have to convert my image from .qcow2 to .ami? You can use any of the available public amis in Amazon or upload your own one. Cheers 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 -- -- Daniel Molina Project Engineer OpenNebula - Flexible Enterprise Cloud Made Simple www.OpenNebula.org | dmol...@opennebula.org | @OpenNebula ___ Users mailing list Users@lists.opennebula.org http://lists.opennebula.org/listinfo.cgi/users-opennebula.org
Re: [one-users] Problem Login/ssh into vm
I'll give the docs you sent a look but my configurations where the default in the tutorial: $ oneimage create --name CentOS-6.4_x86_64 \ --path http://us.cloud.centos.org/i/one/c6-x86_64-20130910-1.qcow2.bz2; \ --driver qcow2 \ --datastore default $ onetemplate create --name CentOS-6.4 --cpu 1 --vcpu 1 --memory 512 \ --arch x86_64 --disk CentOS-6.4_x86_64 --nic private --vnc \ --ssh Before creating the vm I added the ssh parameters to the user: $ EDITOR=vi oneuser update oneadmin Add a new line like the following to the template: SSH_PUBLIC_KEY=ssh-dss B3NzaC1kc3MAAACBANBWTQmm4Gt... Substitute the value above with the output of cat ~/.ssh/id_dsa.pub. $ onetemplate instantiate CentOS-6.4 --name My Scratch VM On Wed, Dec 18, 2013 at 2:05 PM, Carlos Martín Sánchez cmar...@opennebula.org wrote: Hi, On Wed, Dec 18, 2013 at 12:03 PM, Alexander Sibetheros alexsib...@gmail.com wrote: I checked the marketplace.. all vms for xen/vmware bases have default username/passwords. KVM on the otherhand writes: Add `SSH_PUBLIC_KEY` to contextualization to set root credentials. I assume you are using this image from the marketplace: http://docs.opennebula.org/stable/administration/references/schg.html#configuration Maybe the problem is a wrong syntax in the VM template. Can you paste its contents? It should follow the syntax described here: http://docs.opennebula.org/stable/user/references/template.html?highlight=context#context-section You can read more about the contextualization mechanism here: http://docs.opennebula.org/stable/user/virtual_machine_setup/context_overview.html Regards -- Carlos Martín, MSc Project Engineer OpenNebula - Flexible Enterprise Cloud Made Simple www.OpenNebula.org | cmar...@opennebula.org | @OpenNebulahttp://twitter.com/opennebulacmar...@opennebula.org On Wed, Dec 18, 2013 at 12:03 PM, Alexander Sibetheros alexsib...@gmail.com wrote: Unfortunately no.. I checked the marketplace.. all vms for xen/vmware bases have default username/passwords. KVM on the otherhand writes: Add `SSH_PUBLIC_KEY` to contextualization to set root credentials. On Wed, Dec 18, 2013 at 12:47 PM, Jens Hoffmann jens.hoffm...@cuesoft.eu wrote: Does this link provide correct credentials for your image: http://opennebula.org/cloud:sandbox:kvm#what_are_the_users_and_the_passwords ? Jens -- gpg --keyserver pgp.mit.edu --recv-keys 0xDB1CAFB5 On 12/18/2013 11:31 AM, Alexander Sibetheros wrote: I recently set up a simple 2 node opennebula(ubuntu/kvm) (using vmware vm's), following the tutorial. I got a centOS vm to run, but cannot log in. I read on other sites that login in is done via ssh and not vnc, but whenever I ssh root@..vm_ip... I get prompted for password which I dont have. I followed this step from the tutorial(before running I ran ssh-keygen -t dsa, because the id_dsa.pub file did not exist): In order to dynamically add ssh keys to Virtual Machines we must add our ssh key to the user template, by editing the user template: $ EDITOR=vi oneuser update oneadmin Add a new line like the following to the template: SSH_PUBLIC_KEY=ssh-dss B3NzaC1kc3MAAACBANBWTQmm4Gt... Substitute the value above with the output of |cat ~/.ssh/id_dsa.pub|. -- Alexander Sibetheros ___ Users mailing list Users@lists.opennebula.org http://lists.opennebula.org/listinfo.cgi/users-opennebula.org ___ Users mailing list Users@lists.opennebula.org http://lists.opennebula.org/listinfo.cgi/users-opennebula.org -- Alexander Sibetheros ___ Users mailing list Users@lists.opennebula.org http://lists.opennebula.org/listinfo.cgi/users-opennebula.org -- Alexander Sibetheros ___ Users mailing list Users@lists.opennebula.org http://lists.opennebula.org/listinfo.cgi/users-opennebula.org
Re: [one-users] Problem Login/ssh into vm
Hi Alexander, On Wed, Dec 18, 2013 at 3:28 PM, Alexander Sibetheros alexsib...@gmail.com wrote: I'll give the docs you sent a look but my configurations where the default in the tutorial: $ oneimage create --name CentOS-6.4_x86_64 \ --path http://us.cloud.centos.org/i/one/c6-x86_64-20130910-1.qcow2.bz2; \ --driver qcow2 \ --datastore default $ onetemplate create --name CentOS-6.4 --cpu 1 --vcpu 1 --memory 512 \ --arch x86_64 --disk CentOS-6.4_x86_64 --nic private --vnc \ --ssh Before creating the vm I added the ssh parameters to the user: $ EDITOR=vi oneuser update oneadmin Add a new line like the following to the template: SSH_PUBLIC_KEY=ssh-dss B3NzaC1kc3MAAACBANBWTQmm4Gt... Substitute the value above with the output of cat ~/.ssh/id_dsa.pub. $ onetemplate instantiate CentOS-6.4 --name My Scratch VM Which tutorial are you following? And could you paste the output of onetemplate show id? Regards -- Carlos Martín, MSc Project Engineer OpenNebula - Flexible Enterprise Cloud Made Simple www.OpenNebula.org | cmar...@opennebula.org | @OpenNebulahttp://twitter.com/opennebulacmar...@opennebula.org On Wed, Dec 18, 2013 at 3:28 PM, Alexander Sibetheros alexsib...@gmail.comwrote: I'll give the docs you sent a look but my configurations where the default in the tutorial: $ oneimage create --name CentOS-6.4_x86_64 \ --path http://us.cloud.centos.org/i/one/c6-x86_64-20130910-1.qcow2.bz2; \ --driver qcow2 \ --datastore default $ onetemplate create --name CentOS-6.4 --cpu 1 --vcpu 1 --memory 512 \ --arch x86_64 --disk CentOS-6.4_x86_64 --nic private --vnc \ --ssh Before creating the vm I added the ssh parameters to the user: $ EDITOR=vi oneuser update oneadmin Add a new line like the following to the template: SSH_PUBLIC_KEY=ssh-dss B3NzaC1kc3MAAACBANBWTQmm4Gt... Substitute the value above with the output of cat ~/.ssh/id_dsa.pub. $ onetemplate instantiate CentOS-6.4 --name My Scratch VM On Wed, Dec 18, 2013 at 2:05 PM, Carlos Martín Sánchez cmar...@opennebula.org wrote: Hi, On Wed, Dec 18, 2013 at 12:03 PM, Alexander Sibetheros alexsib...@gmail.com wrote: I checked the marketplace.. all vms for xen/vmware bases have default username/passwords. KVM on the otherhand writes: Add `SSH_PUBLIC_KEY` to contextualization to set root credentials. I assume you are using this image from the marketplace: http://docs.opennebula.org/stable/administration/references/schg.html#configuration Maybe the problem is a wrong syntax in the VM template. Can you paste its contents? It should follow the syntax described here: http://docs.opennebula.org/stable/user/references/template.html?highlight=context#context-section You can read more about the contextualization mechanism here: http://docs.opennebula.org/stable/user/virtual_machine_setup/context_overview.html Regards -- Carlos Martín, MSc Project Engineer OpenNebula - Flexible Enterprise Cloud Made Simple www.OpenNebula.org | cmar...@opennebula.org | @OpenNebulahttp://twitter.com/opennebulacmar...@opennebula.org On Wed, Dec 18, 2013 at 12:03 PM, Alexander Sibetheros alexsib...@gmail.com wrote: Unfortunately no.. I checked the marketplace.. all vms for xen/vmware bases have default username/passwords. KVM on the otherhand writes: Add `SSH_PUBLIC_KEY` to contextualization to set root credentials. On Wed, Dec 18, 2013 at 12:47 PM, Jens Hoffmann jens.hoffm...@cuesoft.eu wrote: Does this link provide correct credentials for your image: http://opennebula.org/cloud:sandbox:kvm#what_are_the_users_and_the_passwords ? Jens -- gpg --keyserver pgp.mit.edu --recv-keys 0xDB1CAFB5 On 12/18/2013 11:31 AM, Alexander Sibetheros wrote: I recently set up a simple 2 node opennebula(ubuntu/kvm) (using vmware vm's), following the tutorial. I got a centOS vm to run, but cannot log in. I read on other sites that login in is done via ssh and not vnc, but whenever I ssh root@..vm_ip... I get prompted for password which I dont have. I followed this step from the tutorial(before running I ran ssh-keygen -t dsa, because the id_dsa.pub file did not exist): In order to dynamically add ssh keys to Virtual Machines we must add our ssh key to the user template, by editing the user template: $ EDITOR=vi oneuser update oneadmin Add a new line like the following to the template: SSH_PUBLIC_KEY=ssh-dss B3NzaC1kc3MAAACBANBWTQmm4Gt... Substitute the value above with the output of |cat ~/.ssh/id_dsa.pub|. -- Alexander Sibetheros ___ Users mailing list Users@lists.opennebula.org http://lists.opennebula.org/listinfo.cgi/users-opennebula.org ___ Users mailing list Users@lists.opennebula.org http://lists.opennebula.org/listinfo.cgi/users-opennebula.org -- Alexander Sibetheros
Re: [one-users] Problem Login/ssh into vm
I am following this tutorial, as closely as possible: http://www.opennebula.org/documentation:rel4.4:qs_ubuntu_kvm TEMPLATE 0 INFORMATION ID : 0 NAME : CentOS-6.4 USER : oneadmin GROUP : oneadmin REGISTER TIME : 12/16 13:44:54 PERMISSIONS OWNER : um- GROUP : --- OTHER : --- TEMPLATE CONTENTS CONTEXT=[ SSH_PUBLIC_KEY=$USER[SSH_PUBLIC_KEY] ] CPU=1.0 DISK=[ IMAGE=CentOS-6.4_x86_64 ] GRAPHICS=[ LISTEN=0.0.0.0, TYPE=vnc ] MEMORY=512 NIC=[ NETWORK=private ] OS=[ ARCH=x86_64 ] VCPU=1 On Wed, Dec 18, 2013 at 4:35 PM, Carlos Martín Sánchez cmar...@opennebula.org wrote: Hi Alexander, On Wed, Dec 18, 2013 at 3:28 PM, Alexander Sibetheros alexsib...@gmail.com wrote: I'll give the docs you sent a look but my configurations where the default in the tutorial: $ oneimage create --name CentOS-6.4_x86_64 \ --path http://us.cloud.centos.org/i/one/c6-x86_64-20130910-1.qcow2.bz2; \ --driver qcow2 \ --datastore default $ onetemplate create --name CentOS-6.4 --cpu 1 --vcpu 1 --memory 512 \ --arch x86_64 --disk CentOS-6.4_x86_64 --nic private --vnc \ --ssh Before creating the vm I added the ssh parameters to the user: $ EDITOR=vi oneuser update oneadmin Add a new line like the following to the template: SSH_PUBLIC_KEY=ssh-dss B3NzaC1kc3MAAACBANBWTQmm4Gt... Substitute the value above with the output of cat ~/.ssh/id_dsa.pub. $ onetemplate instantiate CentOS-6.4 --name My Scratch VM Which tutorial are you following? And could you paste the output of onetemplate show id? Regards -- Carlos Martín, MSc Project Engineer OpenNebula - Flexible Enterprise Cloud Made Simple www.OpenNebula.org | cmar...@opennebula.org | @OpenNebulahttp://twitter.com/opennebulacmar...@opennebula.org On Wed, Dec 18, 2013 at 3:28 PM, Alexander Sibetheros alexsib...@gmail.com wrote: I'll give the docs you sent a look but my configurations where the default in the tutorial: $ oneimage create --name CentOS-6.4_x86_64 \ --path http://us.cloud.centos.org/i/one/c6-x86_64-20130910-1.qcow2.bz2; \ --driver qcow2 \ --datastore default $ onetemplate create --name CentOS-6.4 --cpu 1 --vcpu 1 --memory 512 \ --arch x86_64 --disk CentOS-6.4_x86_64 --nic private --vnc \ --ssh Before creating the vm I added the ssh parameters to the user: $ EDITOR=vi oneuser update oneadmin Add a new line like the following to the template: SSH_PUBLIC_KEY=ssh-dss B3NzaC1kc3MAAACBANBWTQmm4Gt... Substitute the value above with the output of cat ~/.ssh/id_dsa.pub. $ onetemplate instantiate CentOS-6.4 --name My Scratch VM On Wed, Dec 18, 2013 at 2:05 PM, Carlos Martín Sánchez cmar...@opennebula.org wrote: Hi, On Wed, Dec 18, 2013 at 12:03 PM, Alexander Sibetheros alexsib...@gmail.com wrote: I checked the marketplace.. all vms for xen/vmware bases have default username/passwords. KVM on the otherhand writes: Add `SSH_PUBLIC_KEY` to contextualization to set root credentials. I assume you are using this image from the marketplace: http://docs.opennebula.org/stable/administration/references/schg.html#configuration Maybe the problem is a wrong syntax in the VM template. Can you paste its contents? It should follow the syntax described here: http://docs.opennebula.org/stable/user/references/template.html?highlight=context#context-section You can read more about the contextualization mechanism here: http://docs.opennebula.org/stable/user/virtual_machine_setup/context_overview.html Regards -- Carlos Martín, MSc Project Engineer OpenNebula - Flexible Enterprise Cloud Made Simple www.OpenNebula.org | cmar...@opennebula.org | @OpenNebulahttp://twitter.com/opennebulacmar...@opennebula.org On Wed, Dec 18, 2013 at 12:03 PM, Alexander Sibetheros alexsib...@gmail.com wrote: Unfortunately no.. I checked the marketplace.. all vms for xen/vmware bases have default username/passwords. KVM on the otherhand writes: Add `SSH_PUBLIC_KEY` to contextualization to set root credentials. On Wed, Dec 18, 2013 at 12:47 PM, Jens Hoffmann jens.hoffm...@cuesoft.eu wrote: Does this link provide correct credentials for your image: http://opennebula.org/cloud:sandbox:kvm#what_are_the_users_and_the_passwords ? Jens -- gpg --keyserver pgp.mit.edu --recv-keys 0xDB1CAFB5 On 12/18/2013 11:31 AM, Alexander Sibetheros wrote: I recently set up a simple 2 node opennebula(ubuntu/kvm) (using vmware vm's), following the tutorial. I got a centOS vm to run, but cannot log in. I read on other sites that login in is done via ssh and not vnc, but whenever I ssh root@..vm_ip... I get prompted for password which I dont have. I followed this step from the tutorial(before running I ran ssh-keygen -t dsa, because the id_dsa.pub file did not exist): In order to dynamically add ssh keys to Virtual Machines we must add our ssh key to the user
Re: [one-users] Errors, problems when creating VM using OpenNebula 3.6.0 in Ubuntu 12.04 with iSCSI datastore
Hi, you should never use SOURCE but PATH. Can you try again with: NAME = Winxp-iscsi PATH = /var/lib/images/win-xp.qcow2 TYPE = OS PUBLIC = YES Cheers, Jaime On Wed, Dec 11, 2013 at 11:10 PM, Qiubo Su (David Su) qiub...@gmail.comwrote: Dear Jaime (and the OpenNebula Community members), Thanks for your reply. I will upgrade to OpenNebula 3.8.1/5 to see how it will go. 1) when run oneimage show 0, it should have below output: .. SOURCE: iqn.2013-12.iSCSIHost:192.168.1.7.vg-one.lv-one-13 PATH: /var/lib/images/win-xp.qcow2 .. but it have below output: .. SOURCE: /var/lib/images/win-xp.qcow2. .. For the above result, the image template file winxp.img is defined as below: NAME = Winxp-iscsi SOURCE = /var/lib/images/win-xp.qcow2 TYPE = OS PUBLIC = YES Image creation command is oneimage create winxp.img -d 100. 100 is the ID of in iSCSI Datastore. 2) In the winxp.img, change the SOURCE to PATH, create the image again, then when run oneimage show 0, the result is different, as shown below: .. SOURCE: PATH: /var/lib/images/win-xp.qcow2 .. The error message is Error copying image in the datastore: Error registering 192.168.1.1:/dev/vg-one/lv-one-3 This show it is still incorrect. 3) Will upgrade the OpenNebula to see the difference. It is much appreciated if you can email me the correct information on how to Create a winxp VM using OpenNebula 3.x.x in Ubuntu 12.04 with iSCSI datastore. Thanks kindly, Q.S. On Thu, Dec 12, 2013 at 6:43 AM, Jaime Melis jme...@c12g.com wrote: Hi, OpenNebula 4.4 which has been just released has deprectated iSCSI. The main reason is that the tgt iSCSI daemon is not very flexible and we recommend using other storage mechanisms instead. OpenNebula 3.6.0 should be definitetly upgraded to newer versions. Regarding your specific problem, can you please detail what command and image file did you use to create the image? cheers, Jaime On Wed, Dec 4, 2013 at 7:25 AM, Qiubo Su (David Su) qiub...@gmail.comwrote: Dear OpenNebula Community, 1) To create VM using OpenNebula 3.6.0 in Ubuntu 12.04 with iSCSI datastore, I create Front-end, NodeServer and iSCSIHost (an iSCSI target VM created within the NodeServer. The IP of iSCSIHost is 192.168.1.7). The required setup, configuration for Front-end, NodeServer and iSCSIHost looks fine. The host, image, vnet and datastore creation under NodeServer are ok (except of the VM creation in below 2) ), but when oneimage show 0, can't see output of SOURCE: iqn.2013-12.iSCSIHost:192.168.1.7.vg-one.lv-one-13 PATH: /var/lib/images/win-xp.qcow2 while only can see SOURCE: /var/lib/images/win-xp.qcow2. the opennebula 3.6.0 used was downloaded in more than one year ago. is it the correct version of opennebula to use? 2) the VM creation is failed and got error executing image transfer script: error cloning NodeServer:/dev//var/lib/image/win-xp-2/qcow2-0. Below is the vm.log for this VM creation: Wed Dec 4 17:38:56 2013 [DiM][I]: New VM state is ACTIVE. Wed Dec 4 17:38:56 2013 [LCM][I]: New VM state is PROLOG. Wed Dec 4 17:38:56 2013 [TM][I]: Command execution fail: /var/lib/one/var/remotes/tm/iscsi/clone Front-end:/var/lib/image/win-xp-2.qcow2 NodeServer:/var/lib/one/var//datastores/0/0/disk.0 0 101 Wed Dec 4 17:38:56 2013 [TM][E]: clone: Command set -e Wed Dec 4 17:38:56 2013 [TM][I]: Wed Dec 4 17:38:56 2013 [TM][I]: # get size Wed Dec 4 17:38:56 2013 [TM][I]: SIZE=$(sudo lvs --noheadings -o lv_size /dev//var/lib/image/win-xp-2/qcow2) Wed Dec 4 17:38:56 2013 [TM][I]: Wed Dec 4 17:38:56 2013 [TM][I]: # create lv Wed Dec 4 17:38:56 2013 [TM][I]: sudo lvcreate -L${SIZE} /var/lib/image/win-xp-2 -n qcow2-0 Wed Dec 4 17:38:56 2013 [TM][I]: Wed Dec 4 17:38:56 2013 [TM][I]: # clone lv with dd Wed Dec 4 17:38:56 2013 [TM][I]: sudo dd if=/dev//var/lib/image/win-xp-2/qcow2 of=/dev//var/lib/image/win-xp-2/qcow2-0 bs=64k Wed Dec 4 17:38:56 2013 [TM][I]: Wed Dec 4 17:38:56 2013 [TM][I]: # new iscsi target Wed Dec 4 17:38:56 2013 [TM][I]: TID=$(sudo tgtadm --lld iscsi --op show --mode target | grep Target | tail -n 1 | awk '{split($2,tmp,:); print tmp[1]+1;}') Wed Dec 4 17:38:56 2013 [TM][I]: Wed Dec 4 17:38:56 2013 [TM][I]: sudo tgtadm --lld iscsi --op new --mode target --tid $TID --targetname Front-end:/var/lib/image/win-xp-2.qcow2-0 Wed Dec 4 17:38:56 2013 [TM][I]: sudo tgtadm --lld iscsi --op bind --mode target --tid $TID -I ALL Wed Dec 4 17:38:56 2013 [TM][I]: sudo tgtadm --lld iscsi --op new --mode logicalunit --tid $TID --lun 1 --backing-store /dev//var/lib/image/win-xp-2/qcow2-0 Wed Dec 4 17:38:56 2013 [TM][I]: sudo tgt-admin --dump |sudo tee /etc/tgt/targets.conf /dev/null failed: ssh: Could not resolve hostname /var/lib/image/win-xp-2.qcow2: Name or service not known Wed Dec 4 17:38:56 2013 [TM][E]: Error cloning NodeServer:/dev//var/lib/image/win-xp-2/qcow2-0 Wed Dec
Re: [one-users] device onebrxxxx alreay exists can't create bridge with the same name
Hi, I think you are right. I've created a new ticket to fix this for OpenNebula 4.6: http://dev.opennebula.org/issues/2573 cheers, Jaime On Thu, Dec 12, 2013 at 5:30 PM, cmcc.dylan dx10ye...@126.com wrote: Hi. I don't use = 4.0. But I think the code has a little problem, that is, we should add a lock for get_interfaces not for create_bridge. At 2013-12-12 17:05:03,Jaime Melis jme...@c12g.com wrote: Hi, not sure I follow, but given that the rules are idempotent if the bridge doesn't exist it will be created, and if it does, it won't. Have you tried this with ONE = 4.0 and still fails? regards, Jaime On Thu, Dec 12, 2013 at 4:32 AM, cmcc.dylan dx10ye...@126.com wrote: Hi,Jainme. I think curruent codes don't have solved the bug complelely. The key problems the the following snippets are executed parallel. class OpenNebulaHM OpenNebulaNetwork XPATH_FILTER = TEMPLATE/NIC[VLAN='YES'] def initialize(vm, deploy_id = nil, hypervisor = nil) super(vm,XPATH_FILTER,deploy_id,hypervisor) @bridges = get_interfaces end so bridges variable maybe have the same name bridge. because bridge is a ruby instance variable,not a ruby class variable. At 2013-12-12 01:53:18,Jaime Melis jme...@c12g.com wrote: Hi, yes, this is a known bug which is already solved in OpenNebula = 4.0 by implementing locking mechanisms. http://dev.opennebula.org/issues/1722 cheers, Jaime On Wed, Dec 11, 2013 at 9:46 AM, cmcc.dylan dx10ye...@126.com wrote: Hi everyone! I find a problem when we create two or more instances on one host at the same time,we meet the error device onebr alreay exists can't create bridge with the same name. The reason is that instances all try to create their bridge,although they check whether or not their birdge is existed. because it's at the same time, they all get a result that their bridge is not existed, and then they create it. But when they really create, the same bridge has already been created by other instances. Has the problem been fixed now? I use opennebula-3.8.1. Look forward your answers! dylan. ___ Users mailing list Users@lists.opennebula.org http://lists.opennebula.org/listinfo.cgi/users-opennebula.org -- 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. -- 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. -- 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
Re: [one-users] Ubuntu/debian repositories for 4.4
Hi, Indeed the repositories path have changed to http://downloads.opennebula.org/repo. I'll check wether I can redirect the old repositories to the new ones without breaking anything. Splitting the repositories by OpenNebula versions seems a good idea. I'll also keep the separation between distribution versions, that is, Ubuntu 12 and 13. We will check the best way to do this but don't expect it to be changed until next minor version (4.6). Thank you for the tips On Thu, Dec 5, 2013 at 11:12 PM, Gareth Bult gar...@linux.co.uk wrote: Mm, this 'can' be unsafe .. for example if you don't upgrade your OS, and a newer version of the product is incompatible with your version of the OS, you could too easily upgrade the product to a version that won't work ... technically there 'should' be a repo per OS release, for good reason .. -- *Gareth Bult* “The odds of hitting your target go up dramatically when you aim at it.” -- *From: *Mario Giammarco mgiamma...@gmail.com *To: *Daniel Dehennin daniel.dehen...@baby-gnu.org *Cc: *users@lists.opennebula.org *Sent: *Thursday, 5 December, 2013 8:32:06 PM *Subject: *Re: [one-users] Ubuntu/debian repositories for 4.4 Usually in debian I use the repository stable that is automatically updated to new stable version when it goes out (also testing and unstable are automatically updated). I never use versions names (wheezy etc.) So it is easier, when a new version is out I simply apt-get update; apt-get dist-upgrade. No need to change repositories. 2013/12/5 Daniel Dehennin daniel.dehen...@baby-gnu.org Gareth Bult gar...@linux.co.uk writes: Erm, if you read the documentation (!) here; http://opennebula.org/documentation:rel4.4:ignc entitled Installing the Software 4.4 ( ;-) ) the link it quotes is the downloads variant ... I would guess (?) the address you have is an old one and they have standardised on downloads.opennebula (??) The same here ;-) As an upgrade requires manual intervention, I propose to use named repositories per distribution: deb http://downloads.opennebula.org/repo/debian/7 retina main Using a symlink to point to stable release if required and another one to point to numbered version. I'm not sure about it but we could use the distribution name as component, like: deb http://downloads.opennebula.org/repo/debian retina wheezy deb http://downloads.opennebula.org/repo/debian retina jessie It's quite easy to configure reprepro[1] and it's incoming to dispatch packages. Regards. Footnotes: [1] http://mirrorer.alioth.debian.org -- Daniel Dehennin Récupérer ma clef GPG: gpg --keyserver pgp.mit.edu --recv-keys 0x7A6FE2DF ___ Users mailing list Users@lists.opennebula.org http://lists.opennebula.org/listinfo.cgi/users-opennebula.org ___ Users mailing list Users@lists.opennebula.org http://lists.opennebula.org/listinfo.cgi/users-opennebula.org ___ Users mailing list Users@lists.opennebula.org http://lists.opennebula.org/listinfo.cgi/users-opennebula.org -- Javier Fontán Muiños Developer OpenNebula - The Open Source Toolkit for Data Center Virtualization www.OpenNebula.org | @OpenNebula | github.com/jfontan ___ Users mailing list Users@lists.opennebula.org http://lists.opennebula.org/listinfo.cgi/users-opennebula.org
Re: [one-users] NFS datastore file system
Hi Neelaya, please send us the relevant part of the log file. cheers, Jaime On Fri, Dec 13, 2013 at 2:31 AM, Neelaya Dhatchayani neels.v...@gmail.comwrote: Hi I mounted /var/one/lib/datastores in all hosts but i get error saying cd /var/one/lib/datastores/0/12 file or directory doest not exists but when i mount /var/one/lib/datastores/100 transfer script manager is executed successfully. but i get error same error at the last stage. here 100 is the name of the datastore i created to add an iso image pls help me on this regards neelaya On Thu, Dec 5, 2013 at 8:42 PM, Dmitri Chebotarov dcheb...@gmu.eduwrote: Hi The host running ONED needs to ssh to all VM hosts using public key (passwordless). ONED will use ‘oneadmin’ account to access all VM hosts. B/c /var/lib/one is shared (using NFS) between ONED and all hosts you need to setup public key auth only once for user ‘oneadmin’. Setup your NFS server/filer, login to ONED controller, mount /var/lib/one, su – oneadmin; cat ~/.ssh/id_rsa.pub ~/.ssh/authorized_keys Chmod 600 ~/.ssh/authorized_keys Now, you can ssh to any host as user ‘oneadmin’ using public key. Please note, that each host needs /var/lib/one mounted from the same location as other hosts and ONED server. If you chose to only use NFS for your datastores (I.e. /var/lib/one/datastores/) then you need to add public key on ALL your hosts, not just one. -- 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 From: Neelaya Dhatchayani neels.v...@gmail.com Date: Tuesday, December 3, 2013 at 23:33 To: Jaime Melis jme...@c12g.com, opennebula users@lists.opennebula.org Subject: Re: [one-users] NFS datastore file system Hi Jaime, Thanks. My doubt is if my frontend is installed in a host called onedaemon, should i ve to ssh passwordless from onedaemon to onedaemon sorry if my question is silly.. regards neelaya On Tue, Dec 3, 2013 at 5:23 PM, Jaime Melis jme...@c12g.com wrote: Hi, Please reply to the mailing list as well. Yes. It is a basic requirement that all the nodes (frontend + hypervisors) should have a oneadmin account, and they should be able to ssh passwordlessly from any node to any other node. cheers, Jaime On Tue, Dec 3, 2013 at 12:39 PM, Neelaya Dhatchayani neels.v...@gmail.com wrote: Hi Jaime, Thanks a lot for your reply. I have one more doubt. Should I have to ssh passwordless to the frontend if I am using ssh transfer manager. I know that it has to be done for the hosts. neelaya On Tue, Dec 3, 2013 at 4:51 PM, Jaime Melis jme...@c12g.com wrote: Hi Neelaya, the frontend and the nodes must share /var/lib/one/datastores. Any node can export this share, preferably a NAS system, but if you don't have been, you can export it from the frontend. cheers, Jaime On Tue, Dec 3, 2013 at 12:16 PM, Neelaya Dhatchayani neels.v...@gmail.com wrote: Hi Can anyone tell me what has to be done on the frontend and hosts inorder to use shared transfer driver and with respect to NFS. Thanks in advance neelaya ___ Users mailing list Users@lists.opennebula.org http://lists.opennebula.org/listinfo.cgi/users-opennebula.org -- 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. -- 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
Re: [one-users] V4.4: Bridge Configuration/physical device attach in VLAN driver on existing bridge
Hi Michael, thanks for the contribution! I've just create a ticket to evaluate it for OpenNebula 4.6: http://dev.opennebula.org/issues/2574 Cheers, Jaime On Fri, Dec 13, 2013 at 11:02 AM, Michael Kutzner michael.kutz...@virtion.de wrote: Hello, we had some problems in the past deploying VMs when a bridge interface was already existing (static configuration e.g.) using a different interface as physical than defined in the virtual network in ON. Example: - A bridge br10 was existing with a local interface eth0 attached. - The virtual network in opennebula was configured to use eth1. (due to some historical or physical reasons eth0 was used on that host and the bridge was „preconfigured“) The ON driver (opennebula-4.4.0/src/vnm_mad/remotes/802.1Q/HostManaged.rb) now checks the following: - bridge exists: no, create bridge This works fine as the bridge is already existing - device is attached? No, attach it (so we have eth0 and eth1 attached to the bridge interface afterwards) This leads to some small (or bigger) problems (e.g. creating a loop on the switches and making the network practically unusable). Attached you find a small patch which does the following: - bridge exists? Yes, do nothing - no: create bridge, add interface This will also cover the scenario that you can change the physical device in the virtual network definition after having deployed certain VMs. Hopefully I did it right and made the changes in the right place. I dont know, if anybody else had that problem, but I wanted to share this information. Best, Michael ___ Users mailing list Users@lists.opennebula.org http://lists.opennebula.org/listinfo.cgi/users-opennebula.org -- 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
Re: [one-users] Help getting sunstone-server to auto-start after reboot like oned
Hi Kenneth, did you doublecheck that you have the opennebula-sunstone init script like Bill suggested? cheers, Jaime On Mon, Dec 16, 2013 at 2:53 PM, Campbell, Bill bcampb...@axcess-financial.com wrote: I believe when you install the packages from the repository it will create an /etc/init.d/opennebula-sunstone init script that should be configurable to start at boot (if the package doesn’t do that already). You can check this by running this: update-rc.d opennebula-sunstone defaults *From:* users-boun...@lists.opennebula.org [mailto: users-boun...@lists.opennebula.org] *On Behalf Of *Kenneth *Sent:* Saturday, December 14, 2013 7:33 PM *To:* users@lists.opennebula.org *Subject:* Re: [one-users] Help getting sunstone-server to auto-start after reboot like oned It's weekend, people are out of their computers (maybe). Are you sure sunstone server is not being started when you reboot? It should be as launched at startup like the one service, you could have made some mistake during the installation? That being said, I'll make a bash script which contain the lines. (This method is prety lame, and I haven't tested it yet) su oneadmin sunstone-server start Then add the script to the /etc/rc.local file. I would assume you can change users without any passwords? --- Thanks, Kenneth Apollo Global Corp. On 12/15/2013 12:36 AM, Kenneth Øst wrote: This is my first post. Does anybody get my mails? Den 14/12/2013 00.23 skrev Kenneth Øst kenneth.o...@gmail.com: Hi One users I have successfully setup OpenNebula 4.4 on Ubuntu 13.10 with Open vSwitch on a single server for home use :-) My question as the subject says: I would like to have the sunstone-server to automatically startup after reboot of the server. Are there a simple way to do start sunstone-server, just like how the oned is started? Best regards Kenneth ___ Users mailing list Users@lists.opennebula.org http://lists.opennebula.org/listinfo.cgi/users-opennebula.org *NOTICE: Protect the information in this message in accordance with the company's security policies. If you received this message in error, immediately notify the sender and destroy all copies.* ___ Users mailing list Users@lists.opennebula.org http://lists.opennebula.org/listinfo.cgi/users-opennebula.org -- 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
Re: [one-users] Problem Login/ssh into vm
I would like to note that when I added tty-linux - kvm from the marketplace, created a simple template(same as the centOS), and run it, I was able to login and use the vm. So I know the host works, and my problem most likely is in the way ssh works from the controller to vm's... Also noteworthy, I cannot ping the vm's from the controller...only from the host. Im not sure this is correct or not. On Wed, Dec 18, 2013 at 4:48 PM, Alexander Sibetheros alexsib...@gmail.comwrote: I am following this tutorial, as closely as possible: http://www.opennebula.org/documentation:rel4.4:qs_ubuntu_kvm TEMPLATE 0 INFORMATION ID : 0 NAME : CentOS-6.4 USER : oneadmin GROUP : oneadmin REGISTER TIME : 12/16 13:44:54 PERMISSIONS OWNER : um- GROUP : --- OTHER : --- TEMPLATE CONTENTS CONTEXT=[ SSH_PUBLIC_KEY=$USER[SSH_PUBLIC_KEY] ] CPU=1.0 DISK=[ IMAGE=CentOS-6.4_x86_64 ] GRAPHICS=[ LISTEN=0.0.0.0, TYPE=vnc ] MEMORY=512 NIC=[ NETWORK=private ] OS=[ ARCH=x86_64 ] VCPU=1 On Wed, Dec 18, 2013 at 4:35 PM, Carlos Martín Sánchez cmar...@opennebula.org wrote: Hi Alexander, On Wed, Dec 18, 2013 at 3:28 PM, Alexander Sibetheros alexsib...@gmail.com wrote: I'll give the docs you sent a look but my configurations where the default in the tutorial: $ oneimage create --name CentOS-6.4_x86_64 \ --path http://us.cloud.centos.org/i/one/c6-x86_64-20130910-1.qcow2.bz2; \ --driver qcow2 \ --datastore default $ onetemplate create --name CentOS-6.4 --cpu 1 --vcpu 1 --memory 512 \ --arch x86_64 --disk CentOS-6.4_x86_64 --nic private --vnc \ --ssh Before creating the vm I added the ssh parameters to the user: $ EDITOR=vi oneuser update oneadmin Add a new line like the following to the template: SSH_PUBLIC_KEY=ssh-dss B3NzaC1kc3MAAACBANBWTQmm4Gt... Substitute the value above with the output of cat ~/.ssh/id_dsa.pub. $ onetemplate instantiate CentOS-6.4 --name My Scratch VM Which tutorial are you following? And could you paste the output of onetemplate show id? Regards -- Carlos Martín, MSc Project Engineer OpenNebula - Flexible Enterprise Cloud Made Simple www.OpenNebula.org | cmar...@opennebula.org | @OpenNebulahttp://twitter.com/opennebulacmar...@opennebula.org On Wed, Dec 18, 2013 at 3:28 PM, Alexander Sibetheros alexsib...@gmail.com wrote: I'll give the docs you sent a look but my configurations where the default in the tutorial: $ oneimage create --name CentOS-6.4_x86_64 \ --path http://us.cloud.centos.org/i/one/c6-x86_64-20130910-1.qcow2.bz2; \ --driver qcow2 \ --datastore default $ onetemplate create --name CentOS-6.4 --cpu 1 --vcpu 1 --memory 512 \ --arch x86_64 --disk CentOS-6.4_x86_64 --nic private --vnc \ --ssh Before creating the vm I added the ssh parameters to the user: $ EDITOR=vi oneuser update oneadmin Add a new line like the following to the template: SSH_PUBLIC_KEY=ssh-dss B3NzaC1kc3MAAACBANBWTQmm4Gt... Substitute the value above with the output of cat ~/.ssh/id_dsa.pub. $ onetemplate instantiate CentOS-6.4 --name My Scratch VM On Wed, Dec 18, 2013 at 2:05 PM, Carlos Martín Sánchez cmar...@opennebula.org wrote: Hi, On Wed, Dec 18, 2013 at 12:03 PM, Alexander Sibetheros alexsib...@gmail.com wrote: I checked the marketplace.. all vms for xen/vmware bases have default username/passwords. KVM on the otherhand writes: Add `SSH_PUBLIC_KEY` to contextualization to set root credentials. I assume you are using this image from the marketplace: http://docs.opennebula.org/stable/administration/references/schg.html#configuration Maybe the problem is a wrong syntax in the VM template. Can you paste its contents? It should follow the syntax described here: http://docs.opennebula.org/stable/user/references/template.html?highlight=context#context-section You can read more about the contextualization mechanism here: http://docs.opennebula.org/stable/user/virtual_machine_setup/context_overview.html Regards -- Carlos Martín, MSc Project Engineer OpenNebula - Flexible Enterprise Cloud Made Simple www.OpenNebula.org | cmar...@opennebula.org | @OpenNebulahttp://twitter.com/opennebulacmar...@opennebula.org On Wed, Dec 18, 2013 at 12:03 PM, Alexander Sibetheros alexsib...@gmail.com wrote: Unfortunately no.. I checked the marketplace.. all vms for xen/vmware bases have default username/passwords. KVM on the otherhand writes: Add `SSH_PUBLIC_KEY` to contextualization to set root credentials. On Wed, Dec 18, 2013 at 12:47 PM, Jens Hoffmann jens.hoffm...@cuesoft.eu wrote: Does this link provide correct credentials for your image: http://opennebula.org/cloud:sandbox:kvm#what_are_the_users_and_the_passwords ? Jens -- gpg --keyserver pgp.mit.edu --recv-keys 0xDB1CAFB5 On 12/18/2013 11:31 AM, Alexander Sibetheros wrote: I recently set up a simple
Re: [one-users] VMWare image on ONE 4.4
Hello again, I fix the problem with the `non df` host and now the command is OK. But it only works as a root, when I issue the command as oneadmin I go the Error during version check: Failed to get vmkernel version: Operation not permitted (running as non-root?) message. There is something to chmod in ESXi that can isn't? (I chmod +s the vmkfstools). E. On Mon, Dec 16, 2013 at 10:20 AM, Eduardo Roloff rol...@gmail.com wrote: Hello Tino, The df command does not exists in my version of ESXi (5.0). After a serch in the VMWare KB, I found that the command to be used to monitor vmfs disks is the vdf. But the sintax is quite different, I'll try to get more information and send to you. Eduardo On Mon, Dec 16, 2013 at 9:02 AM, Tino Vazquez cvazq...@c12g.com wrote: Hi Eduardo, From the DS template, we see that TOTAL_MB0/TOTAL_MB FREE_MB0/FREE_MB USED_MB772/USED_MB So there is a failure monitoring TOTAL and FREE space in the DS. This comes from the following line in the monitoring script: DF_STR=\$($DF -m | grep ${BASE_PATH%/} | sed -e 's/ \+/:/g') Let's try this manually. What's the output of the following, as onadmin in 'gn905cb': $ df -m | grep /vmfs/volumes/1/ | sed -e 's/ \+/:/g' Best, -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 ab...@c12g.com and delete the e-mail and attachments and any copy from your system. C12G thanks you for your cooperation. On Fri, Dec 13, 2013 at 2:03 PM, Eduardo Roloff rol...@gmail.com wrote: Hello Tino, I Change the datastore to be compatible with these parameters, as seen below DATASTORE ID1/ID UID0/UID GID0/GID UNAMEoneadmin/UNAME GNAMEoneadmin/GNAME NAMEdefault/NAME PERMISSIONS OWNER_U1/OWNER_U OWNER_M1/OWNER_M OWNER_A0/OWNER_A GROUP_U1/GROUP_U GROUP_M0/GROUP_M GROUP_A0/GROUP_A OTHER_U1/OTHER_U OTHER_M0/OTHER_M OTHER_A0/OTHER_A /PERMISSIONS DS_MADvmfs/DS_MAD TM_MADvmfs/TM_MAD BASE_PATH/vmfs/volumes/1/BASE_PATH TYPE0/TYPE DISK_TYPE0/DISK_TYPE CLUSTER_ID-1/CLUSTER_ID CLUSTER/ TOTAL_MB0/TOTAL_MB FREE_MB0/FREE_MB USED_MB772/USED_MB IMAGES/ TEMPLATE BRIDGE_LIST![CDATA[gn905cb]]/BRIDGE_LIST CLONE_TARGET![CDATA[SYSTEM]]/CLONE_TARGET DISK_TYPE![CDATA[FILE]]/DISK_TYPE DS_MAD![CDATA[vmfs]]/DS_MAD LN_TARGET![CDATA[NONE]]/LN_TARGET TM_MAD![CDATA[vmfs]]/TM_MAD TYPE![CDATA[IMAGE_DS]]/TYPE /TEMPLATE /DATASTORE But, When I upload the TTY-VMWware from the marketplace I`ve got the ~not enough space~ message again, the log is beleow Fri Dec 13 13:58:58 2013 [ReM][D]: Req:4944 UID:0 DocumentPoolInfo invoked, -2, -1, -1, 100 Fri Dec 13 13:58:58 2013 [ReM][D]: Req:4944 UID:0 DocumentPoolInfo result SUCCES S, DOCUMENT_POOL/DOC... Fri Dec 13 13:58:58 2013 [ReM][D]: Req:2576 UID:0 VirtualNetworkPoolInfo invoked , -2, -1, -1 Fri Dec 13 13:58:58 2013 [ReM][D]: Req:2576 UID:0 VirtualNetworkPoolInfo result SUCCESS, VNET_POOL/VNET_PO... Fri Dec 13 13:59:01 2013 [ReM][D]: Req:672 UID:0 HostPoolInfo invoked Fri Dec 13 13:59:01 2013 [ReM][D]: Req:672 UID:0 HostPoolInfo result SUCCESS, HOST_POOLHOSTID... Fri Dec 13 13:59:02 2013 [ReM][D]: Req:3696 UID:0 TemplatePoolInfo invoked, -2, -1, -1 Fri Dec 13 13:59:02 2013 [ReM][D]: Req:3696 UID:0 TemplatePoolInfo result SUCCES S, VMTEMPLATE_POOL/V... Fri Dec 13 13:59:04 2013 [InM][D]: Monitoring datastore default (1) Fri Dec 13 13:59:04 2013 [InM][D]: Monitoring datastore files (2) Fri Dec 13 13:59:04 2013 [ImM][D]: Datastore files (2) successfully monitored. Fri Dec 13 13:59:04 2013 [ReM][D]: Req:1200 UID:0 ImagePoolInfo invoked, -2, -1, -1 Fri Dec 13 13:59:05 2013 [ImM][D]: Datastore default (1) successfully monitored. Fri Dec 13 13:59:05 2013 [ReM][D]: Req:1200 UID:0 ImagePoolInfo result SUCCESS, IMAGE_POOL/IMAGE_... Fri Dec 13 13:59:07 2013 [ReM][D]: Req:3680 UID:1 DocumentPoolInfo invoked, -2, -1, -1, 100 Fri Dec 13 13:59:07 2013 [ReM][D]: Req:3680 UID:1
Re: [one-users] Problem Login/ssh into vm
Can you login into your vms via vnc and investigate, i.e. if ssh daemon is running and if ssh keys are correctly inserted into your login-user's authorized_keys? The ping problem may be a routing problem on your host. Check if the host has ip_forwarding enabled such that the host forwards packages between eth0 and br0, that is between the bridge and your host's physical nic. If this does not help, investigate your routing tables and try to track your ping's package flow with tcpdump. Jens -- gpg --keyserver pgp.mit.edu --recv-keys 0xDB1CAFB5 On 12/18/2013 07:52 PM, Alexander Sibetheros wrote: I would like to note that when I added tty-linux - kvm from the marketplace, created a simple template(same as the centOS), and run it, I was able to login and use the vm. So I know the host works, and my problem most likely is in the way ssh works from the controller to vm's... Also noteworthy, I cannot ping the vm's from the controller...only from the host. Im not sure this is correct or not. On Wed, Dec 18, 2013 at 4:48 PM, Alexander Sibetheros alexsib...@gmail.com mailto:alexsib...@gmail.com wrote: I am following this tutorial, as closely as possible: http://www.opennebula.org/documentation:rel4.4:qs_ubuntu_kvm TEMPLATE 0 INFORMATION ID : 0 NAME : CentOS-6.4 USER : oneadmin GROUP : oneadmin REGISTER TIME : 12/16 13:44:54 PERMISSIONS OWNER : um- GROUP : --- OTHER : --- TEMPLATE CONTENTS CONTEXT=[ SSH_PUBLIC_KEY=$USER[SSH_PUBLIC_KEY] ] CPU=1.0 DISK=[ IMAGE=CentOS-6.4_x86_64 ] GRAPHICS=[ LISTEN=0.0.0.0, TYPE=vnc ] MEMORY=512 NIC=[ NETWORK=private ] OS=[ ARCH=x86_64 ] VCPU=1 On Wed, Dec 18, 2013 at 4:35 PM, Carlos Martín Sánchez cmar...@opennebula.org mailto:cmar...@opennebula.org wrote: Hi Alexander, On Wed, Dec 18, 2013 at 3:28 PM, Alexander Sibetheros alexsib...@gmail.com mailto:alexsib...@gmail.com wrote: I'll give the docs you sent a look but my configurations where the default in the tutorial: $ oneimage create --name CentOS-6.4_x86_64 \ --path http://us.cloud.centos.org/i/one/c6-x86_64-20130910-1.qcow2.bz2; \ --driver qcow2 \ --datastore default $ onetemplate create --name CentOS-6.4 --cpu 1 --vcpu 1 --memory 512 \ --arch x86_64 --disk CentOS-6.4_x86_64 --nic private --vnc \ --ssh Before creating the vm I added the ssh parameters to the user: $ EDITOR=vi oneuser update oneadmin Add a new line like the following to the template: SSH_PUBLIC_KEY=ssh-dss B3NzaC1kc3MAAACBANBWTQmm4Gt... Substitute the value above with the output of cat ~/.ssh/id_dsa.pub. $ onetemplate instantiate CentOS-6.4 --name My Scratch VM Which tutorial are you following? And could you paste the output of onetemplate show id? Regards -- Carlos Martín, MSc Project Engineer OpenNebula - Flexible Enterprise Cloud Made Simple www.OpenNebula.org http://www.OpenNebula.org | cmar...@opennebula.org mailto:cmar...@opennebula.org | @OpenNebula http://twitter.com/opennebula On Wed, Dec 18, 2013 at 3:28 PM, Alexander Sibetheros alexsib...@gmail.com mailto:alexsib...@gmail.com wrote: I'll give the docs you sent a look but my configurations where the default in the tutorial: $ oneimage create --name CentOS-6.4_x86_64 \ --path http://us.cloud.centos.org/i/one/c6-x86_64-20130910-1.qcow2.bz2; \ --driver qcow2 \ --datastore default $ onetemplate create --name CentOS-6.4 --cpu 1 --vcpu 1 --memory 512 \ --arch x86_64 --disk CentOS-6.4_x86_64 --nic private --vnc \ --ssh Before creating the vm I added the ssh parameters to the user: $ EDITOR=vi oneuser update oneadmin Add a new line like the following to the template: SSH_PUBLIC_KEY=ssh-dss B3NzaC1kc3MAAACBANBWTQmm4Gt... Substitute the value above with the output of cat ~/.ssh/id_dsa.pub. $ onetemplate instantiate CentOS-6.4 --name My Scratch VM On Wed, Dec 18, 2013 at 2:05 PM, Carlos Martín Sánchez cmar...@opennebula.org
Re: [one-users] Problem Login/ssh into vm
But that is exactly the problem. I can access the vm via vnc(from sunstone), but get login screen(local host login/password which I don't know). So, I can't check for daemons. I read online that for the images created for kvm/opennebula access is done via ssh(passwordless). Because the image I am using is prebuilt for opennebula, I imagine something is wrong in my controller/node configuration, but do not know where to look. On Wed, Dec 18, 2013 at 10:21 PM, Jens Hoffmann jens.hoffm...@cuesoft.euwrote: Can you login into your vms via vnc and investigate, i.e. if ssh daemon is running and if ssh keys are correctly inserted into your login-user's authorized_keys? The ping problem may be a routing problem on your host. Check if the host has ip_forwarding enabled such that the host forwards packages between eth0 and br0, that is between the bridge and your host's physical nic. If this does not help, investigate your routing tables and try to track your ping's package flow with tcpdump. Jens -- gpg --keyserver pgp.mit.edu --recv-keys 0xDB1CAFB5 On 12/18/2013 07:52 PM, Alexander Sibetheros wrote: I would like to note that when I added tty-linux - kvm from the marketplace, created a simple template(same as the centOS), and run it, I was able to login and use the vm. So I know the host works, and my problem most likely is in the way ssh works from the controller to vm's... Also noteworthy, I cannot ping the vm's from the controller...only from the host. Im not sure this is correct or not. On Wed, Dec 18, 2013 at 4:48 PM, Alexander Sibetheros alexsib...@gmail.com wrote: I am following this tutorial, as closely as possible: http://www.opennebula.org/documentation:rel4.4:qs_ubuntu_kvm TEMPLATE 0 INFORMATION ID : 0 NAME : CentOS-6.4 USER : oneadmin GROUP : oneadmin REGISTER TIME : 12/16 13:44:54 PERMISSIONS OWNER : um- GROUP : --- OTHER : --- TEMPLATE CONTENTS CONTEXT=[ SSH_PUBLIC_KEY=$USER[SSH_PUBLIC_KEY] ] CPU=1.0 DISK=[ IMAGE=CentOS-6.4_x86_64 ] GRAPHICS=[ LISTEN=0.0.0.0, TYPE=vnc ] MEMORY=512 NIC=[ NETWORK=private ] OS=[ ARCH=x86_64 ] VCPU=1 On Wed, Dec 18, 2013 at 4:35 PM, Carlos Martín Sánchez cmar...@opennebula.org wrote: Hi Alexander, On Wed, Dec 18, 2013 at 3:28 PM, Alexander Sibetheros alexsib...@gmail.com wrote: I'll give the docs you sent a look but my configurations where the default in the tutorial: $ oneimage create --name CentOS-6.4_x86_64 \ --path http://us.cloud.centos.org/i/one/c6-x86_64-20130910-1.qcow2.bz2; \ --driver qcow2 \ --datastore default $ onetemplate create --name CentOS-6.4 --cpu 1 --vcpu 1 --memory 512 \ --arch x86_64 --disk CentOS-6.4_x86_64 --nic private --vnc \ --ssh Before creating the vm I added the ssh parameters to the user: $ EDITOR=vi oneuser update oneadmin Add a new line like the following to the template: SSH_PUBLIC_KEY=ssh-dss B3NzaC1kc3MAAACBANBWTQmm4Gt... Substitute the value above with the output of cat ~/.ssh/id_dsa.pub. $ onetemplate instantiate CentOS-6.4 --name My Scratch VM Which tutorial are you following? And could you paste the output of onetemplate show id? Regards -- Carlos Martín, MSc Project Engineer OpenNebula - Flexible Enterprise Cloud Made Simple www.OpenNebula.org | cmar...@opennebula.org | @OpenNebulahttp://twitter.com/opennebula On Wed, Dec 18, 2013 at 3:28 PM, Alexander Sibetheros alexsib...@gmail.com wrote: I'll give the docs you sent a look but my configurations where the default in the tutorial: $ oneimage create --name CentOS-6.4_x86_64 \ --path http://us.cloud.centos.org/i/one/c6-x86_64-20130910-1.qcow2.bz2; \ --driver qcow2 \ --datastore default $ onetemplate create --name CentOS-6.4 --cpu 1 --vcpu 1 --memory 512 \ --arch x86_64 --disk CentOS-6.4_x86_64 --nic private --vnc \ --ssh Before creating the vm I added the ssh parameters to the user: $ EDITOR=vi oneuser update oneadmin Add a new line like the following to the template: SSH_PUBLIC_KEY=ssh-dss B3NzaC1kc3MAAACBANBWTQmm4Gt... Substitute the value above with the output of cat ~/.ssh/id_dsa.pub. $ onetemplate instantiate CentOS-6.4 --name My Scratch VM On Wed, Dec 18, 2013 at 2:05 PM, Carlos Martín Sánchez cmar...@opennebula.org wrote: Hi, On Wed, Dec 18, 2013 at 12:03 PM, Alexander Sibetheros alexsib...@gmail.com wrote: I checked the marketplace.. all vms for xen/vmware bases have default username/passwords. KVM on the otherhand writes: Add `SSH_PUBLIC_KEY` to contextualization to set root credentials. I assume you are using this image from the marketplace: http://docs.opennebula.org/stable/administration/references/schg.html#configuration Maybe the problem is a wrong syntax in the VM template. Can you paste its contents? It should follow the syntax described here:
[one-users] why does it take so long to delete kvm process (VMs) on host
Hi there, I have a host with 256G ram (and 32cores). I created 13 VMs (each requires 16G ram) first. Later I deleted all of them. I found that the kvm processes stay there for quite a long time (~10 minutes) and the memory was consumed by them. (so that my host started to use swap which cause it runs very slow). I wonder why deleting these VMs on host takes so long time. Does anyone know whether its because the low priority of deleting vm from openNebula scheduling perspective or there is some settings I need change? Thanks very much! Gene ___ Users mailing list Users@lists.opennebula.org http://lists.opennebula.org/listinfo.cgi/users-opennebula.org
Re: [one-users] Problem Login/ssh into vm
I'm am writing again to clarify I fixed the 1st problem. I was trying to ssh from the root@node instead of oneadmin@node(which I never used before). I can successfully ssh, change root password :) Thank you very much for your ideas. I am not able to do such from oneadmin@controller though(controller-vm, instead of host-vm). Ssh and ping both fail and I don't understand how tcpdump works. I did find that there is a problem with the way opennebula works with ip/mac address of vm's and that a special script is needed to correctly map them, but I don't really understand what is going on. Specifically I found: (1) http://lists.opennebula.org/pipermail/users-opennebula.org/2011-December/007042.html Using the CONTEXT cdrom, the init.sh script in executed at boot time. You can modify the init.sh script to set your broadcast address and netmask. You can hardcode these values, or pass them as a CONTEXT sub-attribute; take a look at the DNS example from the contextualization guide: (2) http://opennebula.org/documentation:archives:rel3.0:cong Using Virtual Network Leases within a Virtual Machine (3) http://serverfault.com/questions/331145/bridging-virtual-networking-into-real-lan-on-a-opennebula-cluster OpenNebula, by design, doesn't actually manage IP addresses even though it maintains a pool of them and leases them out. What it's really doing is assigning a MAC address to the virtual ethernet interface that has the desired IP address encoded in the last 4 bytes of the MAC address, and it's up to the OS to recognize that and assign an IP appropriately. On Wed, Dec 18, 2013 at 10:38 PM, Alexander Sibetheros alexsib...@gmail.com wrote: But that is exactly the problem. I can access the vm via vnc(from sunstone), but get login screen(local host login/password which I don't know). So, I can't check for daemons. I read online that for the images created for kvm/opennebula access is done via ssh(passwordless). Because the image I am using is prebuilt for opennebula, I imagine something is wrong in my controller/node configuration, but do not know where to look. On Wed, Dec 18, 2013 at 10:21 PM, Jens Hoffmann jens.hoffm...@cuesoft.euwrote: Can you login into your vms via vnc and investigate, i.e. if ssh daemon is running and if ssh keys are correctly inserted into your login-user's authorized_keys? The ping problem may be a routing problem on your host. Check if the host has ip_forwarding enabled such that the host forwards packages between eth0 and br0, that is between the bridge and your host's physical nic. If this does not help, investigate your routing tables and try to track your ping's package flow with tcpdump. Jens -- gpg --keyserver pgp.mit.edu --recv-keys 0xDB1CAFB5 On 12/18/2013 07:52 PM, Alexander Sibetheros wrote: I would like to note that when I added tty-linux - kvm from the marketplace, created a simple template(same as the centOS), and run it, I was able to login and use the vm. So I know the host works, and my problem most likely is in the way ssh works from the controller to vm's... Also noteworthy, I cannot ping the vm's from the controller...only from the host. Im not sure this is correct or not. On Wed, Dec 18, 2013 at 4:48 PM, Alexander Sibetheros alexsib...@gmail.com wrote: I am following this tutorial, as closely as possible: http://www.opennebula.org/documentation:rel4.4:qs_ubuntu_kvm TEMPLATE 0 INFORMATION ID : 0 NAME : CentOS-6.4 USER : oneadmin GROUP : oneadmin REGISTER TIME : 12/16 13:44:54 PERMISSIONS OWNER : um- GROUP : --- OTHER : --- TEMPLATE CONTENTS CONTEXT=[ SSH_PUBLIC_KEY=$USER[SSH_PUBLIC_KEY] ] CPU=1.0 DISK=[ IMAGE=CentOS-6.4_x86_64 ] GRAPHICS=[ LISTEN=0.0.0.0, TYPE=vnc ] MEMORY=512 NIC=[ NETWORK=private ] OS=[ ARCH=x86_64 ] VCPU=1 On Wed, Dec 18, 2013 at 4:35 PM, Carlos Martín Sánchez cmar...@opennebula.org wrote: Hi Alexander, On Wed, Dec 18, 2013 at 3:28 PM, Alexander Sibetheros alexsib...@gmail.com wrote: I'll give the docs you sent a look but my configurations where the default in the tutorial: $ oneimage create --name CentOS-6.4_x86_64 \ --path http://us.cloud.centos.org/i/one/c6-x86_64-20130910-1.qcow2.bz2; \ --driver qcow2 \ --datastore default $ onetemplate create --name CentOS-6.4 --cpu 1 --vcpu 1 --memory 512 \ --arch x86_64 --disk CentOS-6.4_x86_64 --nic private --vnc \ --ssh Before creating the vm I added the ssh parameters to the user: $ EDITOR=vi oneuser update oneadmin Add a new line like the following to the template: SSH_PUBLIC_KEY=ssh-dss B3NzaC1kc3MAAACBANBWTQmm4Gt... Substitute the value above with the output of cat ~/.ssh/id_dsa.pub. $ onetemplate instantiate CentOS-6.4 --name My Scratch VM Which tutorial are you following? And could you paste the output of onetemplate show id? Regards -- Carlos Martín, MSc Project
[one-users] Generating deployment file takes long time
Hi All, Does anyone know why generating deployment file take a long time (5 minutes)? My environment is: 4.2, 4 nodes. I got log as below: Wed Dec 18 19:41:23 2013 [VMM][I]: Generating deployment file: /var/lib/one/vms/622/deployment.0 Wed Dec 18 19:46:15 2013 [VMM][I]: ExitCode: 0 Thanks, Gene ___ Users mailing list Users@lists.opennebula.org http://lists.opennebula.org/listinfo.cgi/users-opennebula.org
Re: [one-users] VM in Opennebula for Openvz failed
Hi friends, Nikolay especially. I have SOLVED the issue of deployment of the MV, the virtual machine that I made earlier in OpenVZ could deploy it on OpenNebula and must perform the following procedure: 1. You must use the following command in the OpenVZ node: sudo vzdump --compress --dumpdir /root/ 101 2. the result is a .tgz file to be found in the /root/ directory, the extension of this file should be changed to tar.gz, 3. then this file is copied to FrontEnd node can be in the directory /var/lib/images, 4. then made the image and then the template is performed and then the VM: 5. I used this template: NAME=VMdebianm64 NIC=[NETWORK_ID=0] OS=[ARCH=x86_64] VE_LAYOUT=ploop MEMORY=512 CPU=0.01 VCPU=1 REQUIREMENTS=CLUSTER_ID=\100\ RCLOCAL=rc.local OSTEMPLATE=debian-7.0-x86_64 DISK=[IMAGE_ID=3] GRAPHICS=[TYPE=VNC,PORT=5900,LISTEN=0.0.0.0] Thanks very much Nikolay for your help, has been very important. You have A WONDERFUL DAY [?] 2013/12/18 kna...@gmail.com 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 catalinaqui...@gmail.com 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
Re: [one-users] NFS datastore file system
Hi Thanks... I solved it by mounting /var/lib/one/datastores/100 to /var/lib/one/datastores in the hosts. Earlier i mounted to /var/lib/one/datastores/100 instead. sorry I forgot to reply... Regards Neelaya On Wed, Dec 18, 2013 at 8:27 PM, Jaime Melis jme...@c12g.com wrote: Hi Neelaya, please send us the relevant part of the log file. cheers, Jaime On Fri, Dec 13, 2013 at 2:31 AM, Neelaya Dhatchayani neels.v...@gmail.com wrote: Hi I mounted /var/one/lib/datastores in all hosts but i get error saying cd /var/one/lib/datastores/0/12 file or directory doest not exists but when i mount /var/one/lib/datastores/100 transfer script manager is executed successfully. but i get error same error at the last stage. here 100 is the name of the datastore i created to add an iso image pls help me on this regards neelaya On Thu, Dec 5, 2013 at 8:42 PM, Dmitri Chebotarov dcheb...@gmu.eduwrote: Hi The host running ONED needs to ssh to all VM hosts using public key (passwordless). ONED will use ‘oneadmin’ account to access all VM hosts. B/c /var/lib/one is shared (using NFS) between ONED and all hosts you need to setup public key auth only once for user ‘oneadmin’. Setup your NFS server/filer, login to ONED controller, mount /var/lib/one, su – oneadmin; cat ~/.ssh/id_rsa.pub ~/.ssh/authorized_keys Chmod 600 ~/.ssh/authorized_keys Now, you can ssh to any host as user ‘oneadmin’ using public key. Please note, that each host needs /var/lib/one mounted from the same location as other hosts and ONED server. If you chose to only use NFS for your datastores (I.e. /var/lib/one/datastores/) then you need to add public key on ALL your hosts, not just one. -- 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 From: Neelaya Dhatchayani neels.v...@gmail.com Date: Tuesday, December 3, 2013 at 23:33 To: Jaime Melis jme...@c12g.com, opennebula users@lists.opennebula.org Subject: Re: [one-users] NFS datastore file system Hi Jaime, Thanks. My doubt is if my frontend is installed in a host called onedaemon, should i ve to ssh passwordless from onedaemon to onedaemon sorry if my question is silly.. regards neelaya On Tue, Dec 3, 2013 at 5:23 PM, Jaime Melis jme...@c12g.com wrote: Hi, Please reply to the mailing list as well. Yes. It is a basic requirement that all the nodes (frontend + hypervisors) should have a oneadmin account, and they should be able to ssh passwordlessly from any node to any other node. cheers, Jaime On Tue, Dec 3, 2013 at 12:39 PM, Neelaya Dhatchayani neels.v...@gmail.com wrote: Hi Jaime, Thanks a lot for your reply. I have one more doubt. Should I have to ssh passwordless to the frontend if I am using ssh transfer manager. I know that it has to be done for the hosts. neelaya On Tue, Dec 3, 2013 at 4:51 PM, Jaime Melis jme...@c12g.com wrote: Hi Neelaya, the frontend and the nodes must share /var/lib/one/datastores. Any node can export this share, preferably a NAS system, but if you don't have been, you can export it from the frontend. cheers, Jaime On Tue, Dec 3, 2013 at 12:16 PM, Neelaya Dhatchayani neels.v...@gmail.com wrote: Hi Can anyone tell me what has to be done on the frontend and hosts inorder to use shared transfer driver and with respect to NFS. Thanks in advance neelaya ___ Users mailing list Users@lists.opennebula.org http://lists.opennebula.org/listinfo.cgi/users-opennebula.org -- 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. -- 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