[one-users] vm contextualization problem
Hi, I am using opennebula-3.8.3 . Is it necessary to contextualize vm with 3.8.3. Followed video on youtube Bootstrapping opennbula-3.4 creating vm from scratch but unable to get /etc/rc.local script. we have to specify mount point in the script? Plz.help Thanks and regards. ___ Users mailing list Users@lists.opennebula.org http://lists.opennebula.org/listinfo.cgi/users-opennebula.org
Re: [one-users] Relationship of cpu usages
Hello, I have a new question about that. On http://opennebula.org/documentation:rel3.8:kvmg, I read about cgroups: So, thanks to cgroups a VM with CPU=0.5 will get half of the physical CPU cycles than a VM with CPU=1.0. How can a second VM get half of the physical CPU cycles of a first VM if the first VM is defined to use 100 % of the CPU cycles? Does really nobody know that? Or was my question too difficult to understand or just too stupid? By the way, if every cloudnode has 64 cpu cores and a VM is defined to use 64 virtual cpus, does for example CPU=0.8 mean 80 percent of one cpu core or 80 percent of 64 cpu cores? Regards Christoph ___ Users mailing list Users@lists.opennebula.org http://lists.opennebula.org/listinfo.cgi/users-opennebula.org
Re: [one-users] unable to create users
Hi, On Tue, Apr 23, 2013 at 1:26 PM, harishma dayanidhi dayanidhi.haris...@gmail.com wrote: Thank you for the link sir.I have a few queries there. According to the tutorial environment variables have to be set up for each user. How can this be done. For example how can $ONE_AUTH be changed for each of the users? The most convenient way to set bash environment variables is using the bashrc file. also once a regular user is created how can one log in as that user? is there a need to create folders explicitly for these users? Not really, but we usually put the OpenNebula credentials in ~/.one/one_auth Regards -- Carlos Martín, MSc Project Engineer OpenNebula - The Open-source Solution for Data Center Virtualization www.OpenNebula.org http://www.opennebula.org/ | cmar...@opennebula.org | @OpenNebula http://twitter.com/opennebula cmar...@opennebula.org On Tue, Apr 23, 2013 at 2:38 PM, Carlos Martín Sánchez cmar...@opennebula.org wrote: Hi, That is explained in detail here: http://opennebula.org/documentation:rel4.0:manage_users Let us know if there is something missing. Regards -- Carlos Martín, MSc Project Engineer OpenNebula - The Open-source Solution for Data Center Virtualization www.OpenNebula.org | cmar...@opennebula.org | @OpenNebulahttp://twitter.com/opennebulacmar...@opennebula.org On Tue, Apr 23, 2013 at 7:21 AM, harishma dayanidhi dayanidhi.haris...@gmail.com wrote: Hello all, I have opennebula installed on a single machine (front-end and host in the same machine). I would like to create a regular and a public user to interact with the cloud. Is it necessary to create a new account in the front-end for each user and if so what are changes that have to be made to the user profiles? How can I use the CLI as a particular user (other than oneadmin). ___ 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] Relationship of cpu usages
Hi there, On Fri, Apr 26, 2013 at 9:09 AM, Christoph Pleger christoph.ple...@cs.tu-dortmund.de wrote: Hello, I have a new question about that. On http://opennebula.org/documentation:rel3.8:kvmg, I read about cgroups: So, thanks to cgroups a VM with CPU=0.5 will get half of the physical CPU cycles than a VM with CPU=1.0. How can a second VM get half of the physical CPU cycles of a first VM if the first VM is defined to use 100 % of the CPU cycles? I'm not that much familiar with cgroups, but the way I understand it the first VM does not get 100%, it will get 1024 shares out of 1536 (2/3 of cpu time). Does really nobody know that? Or was my question too difficult to understand or just too stupid? Relax buddy, this is a best-effort mailing list, not a commercial support service. By the way, if every cloudnode has 64 cpu cores and a VM is defined to use 64 virtual cpus, does for example CPU=0.8 mean 80 percent of one cpu core or 80 percent of 64 cpu cores? It will get allocated 80 from the total of 6400 Host CPU. The number of virtual CPUs is not related to the real CPU allocated. Regards Regards Christoph -- Carlos Martín, MSc Project Engineer OpenNebula - The Open-source Solution for Data Center Virtualization www.OpenNebula.org http://www.opennebula.org/ | cmar...@opennebula.org | @OpenNebula http://twitter.com/opennebula cmar...@opennebula.org ___ Users mailing list Users@lists.opennebula.org http://lists.opennebula.org/listinfo.cgi/users-opennebula.org
Re: [one-users] sunstone in 3.9.90
Hi Tao and Alexandre, On 22 April 2013 19:37, Tao Craig t...@leadmesh.com wrote: I'm actually having the exact same issue with Firefox 20. I assumed it had something to do with the way I updated my ruby libs (and it appears Alex updated his libs in exactly the same way), but I haven't been able to put my finger on it. For what it's worth, this issue does not exist in Chrome. Could you try the new one 4.0 RC packages and check if you find the same problem? http://downloads.opennebula.org/ Cheers On Mon, Apr 22, 2013 at 4:26 AM, Daniel Molina dmol...@opennebula.orgwrote: Hi, On 20 April 2013 22:58, Alexandre Bezroutchko a...@gremwell.com wrote: Are you running ruby 1.8.7? There are some issues when using ruby 1.8.7 due to the way it handles Hashes. The tabs are loaded in a different order in this version and there are some dependencies among tabs that produce these errors.. Could you try upgrading ruby to 1.9? I have tried to install ruby-1.9.1-full package on fresh Debian Squeeze and then installing opennebula packages. This does not help at all as opennebula seems to install ruby-1.8 anyway. However, if I install yaml/ruby/rubygems from sources (bunch of thanks to Tao for his notes on how to do this), it works just fine. There is a strange little glitch with 'Virtual Resources' tab though, illustrated with attached screenshots. First one shows its initial state, second one shows after first click (the arrow shifts down but menu does not open), and the third one after another click (menu opens properly). On Xubuntu 12.10 with Firefox 19.0.2 this glitch is very well reproducible. I cannot reproduce this error with Firefox 20. Could you try upgrading Firefox or clearing the cache of the browser. Cheers Regards, Alex ___ Users mailing list Users@lists.opennebula.org http://lists.opennebula.org/listinfo.cgi/users-opennebula.org -- Daniel Molina Project Engineer OpenNebula - The Open Source Solution for Data Center Virtualization www.OpenNebula.org | dmol...@opennebula.org | @OpenNebula ___ Users mailing list Users@lists.opennebula.org http://lists.opennebula.org/listinfo.cgi/users-opennebula.org -- Daniel Molina Project Engineer OpenNebula - The Open Source Solution for Data Center Virtualization 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] LDAP Authentication
Hi Dmitri On 23 April 2013 16:40, Dmitri Chebotarov dcheb...@gmu.edu wrote: Good Morning I'm working on enabling LDAP authentication in ONE 3.8.3. I followed http://opennebula.org/documentation:rel3.8:ldap to add LDAP auth. Would it be a good idea to reflect changes needed in /etc/one/sunstone-server.conf file in the above link? By default auth is set to :auth: sunstone And for LDAP auth to work in needs to be set to :auth: opennebula Just thought I mention it.. Thank you for the tip. I have included it in the documentation: http://opennebula.org/documentation:rel4.0:ldap#enabling_ldap_auth_in_sunstone Cheers -- 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 -- Daniel Molina Project Engineer OpenNebula - The Open Source Solution for Data Center Virtualization 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] CentOS 6.4 - 3.9.90-2 rpm installation problem with opennebula-server-3.9.90-2.x86_64.rpm
Hi, Did you have an OpenNebula package installed before that? which one, the one provided by opennebula.org, or the one from the dev centos repos? and which version? did you uninstall it first? Do you happen to know what ID did your oneadmin user have before installing that package? what ID does it have now? Thanks for your feedback! let's see if we can figure this one out. cheers, Jaime On Thu, Apr 25, 2013 at 6:52 PM, Miguel Ángel Álvarez Cabrerizo mcabrer...@macto.es wrote: Hi, when installing the new CentOS 6.4 rpm packages for OpenNebula 4 RC there's a permission problem with opennebula-server-3.9.90-2.x86-64.rpm. It complains about not being able to create the .ssh directory and the public/private keys: Could not create directory '/var/lib/one/.ssh I think line 307 in centos6.4.spec should be changed from: /bin/chown -R oneadmin:oneadmin %{oneadmin_home}/.one to /bin/chown -R oneadmin:oneadmin %{oneadmin_home} I've rebuild the rpm package and the permission problem is solved with this mod. Hope it helps! Regards, Miguel -- *Miguel Ángel Álvarez Cabrerizo* MACTO apps · cloud · security* **Blog http://n40lab.wordpress.com Skype n40lab Email / Google Talk mcabrerizo at macto.es* ___ Users mailing list Users@lists.opennebula.org http://lists.opennebula.org/listinfo.cgi/users-opennebula.org -- Jaime Melis Project Engineer OpenNebula - The Open Source Toolkit for Cloud Computing www.OpenNebula.org | jme...@opennebula.org ___ Users mailing list Users@lists.opennebula.org http://lists.opennebula.org/listinfo.cgi/users-opennebula.org
Re: [one-users] OCCI vm status indication
Hi, On 25 April 2013 09:28, Miloš Kozák milos.ko...@lejmr.com wrote: Hi, I am running opennebula 3.8.3 and OCCI self-service portal. My problem is that the VM indication is misleading. There 3 statuses - green, yellow, red. When I stop VM it turns to yellow, if anything is wrong red.. that is perfectly correct but the VM is indicated by green for shutdown, poweroff and all other statuses.. I was trying to fix compute.js, but it didnt worked out.. So I assume there is a deeper problem? Can you confirm that? When using OCCI the VM xml that is sent in a OCCI /compute/:id GET request include the VM_STATE [1]. VM_STATE=%w{INIT PENDING HOLD ACTIVE STOPPED SUSPENDED DONE FAILED POWEROFF} The problem is that the states you are looking for are LCM_STATES. LCM_STATE=%w{LCM_INIT PROLOG BOOT RUNNING MIGRATE SAVE_STOP SAVE_SUSPEND SAVE_MIGRATE PROLOG_MIGRATE PROLOG_RESUME EPILOG_STOP EPILOG SHUTDOWN CANCEL FAILURE CLEANUP UNKNOWN HOTPLUG SHUTDOWN_POWEROFF BOOT_UNKNOWN BOOT_POWEROFF BOOT_SUSPENDED BOOT_STOPPED} If you want to include this information you have to modify the VirtualMachineOCCI class to include these states [2] Hope this helps [1] https://github.com/OpenNebula/one/blob/release-3.8.3/src/oca/ruby/OpenNebula/VirtualMachine.rb [2] https://github.com/OpenNebula/one/blob/release-3.8.3/src/cloud/occi/lib/VirtualMachineOCCI.rb -- Daniel Molina Project Engineer OpenNebula - The Open Source Solution for Data Center Virtualization 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] Relationship of cpu usages
Hello, I'm not that much familiar with cgroups, but the way I understand it the first VM does not get 100%, it will get 1024 shares out of 1536 (2/3 of cpu time). Yes, that's how cgroup works, and I wonder why this is not a conflict with what CPU= in VM Templates means and why the documentation even says that the cgroup feature can be used to enforce the amount of CPU assigned to a VM, as defined in its template. What about enforcement without cgroup? Isn't there any? I am also wondering why, in sunstone, one cloud node with one VM running on it shows a CPU usage of 6400. I thought that this is because the user set CPU=8, VCPU=8 and 8*8=64, but if CPU= is related to one physical CPU, that cannot be true ... Regards Christoph ___ Users mailing list Users@lists.opennebula.org http://lists.opennebula.org/listinfo.cgi/users-opennebula.org
Re: [one-users] VNC problem: Failed to connect to server (code: 1006)
Hi Daniel, I restart sunstone-server when I install noVNC. another Ideas? the problem persist El 2013-04-26 05:24, Daniel Molina escribió: Hi On 25 April 2013 21:51, ahernan...@tesla.cujae.edu.cu wrote: Hi Miguel I install noVNC, I insert 0.0.0.0 adress and port 5901, and down firewall, but the problem persist when try up VNC conect to VM Failed to connect to server (code: 1006) ?Any Ideas? Did you restart sunstone-server after installing noVNC? Cheers Message: 3 Date: Thu, 25 Apr 2013 13:47:26 -0400 From: ahernan...@tesla.cujae.edu.cu To: OpenNebula LIST users@lists.opennebula.org Subject: [one-users] VNC problem: Failed to connect to server (code: 1006) Message-ID: 390e5919a261481e37bb6ad4c17f4...@tesla.cujae.edu.cu Content-Type: text/plain; charset=UTF-8; format=flowed People, I up a VM, but when try conection whit VNC, I present the problem: Failed to connect to server (code: 1006) ?Any Ideas? 48 Aniversario de la Cujae, Una obra de la Revolucion Cubana | 2 de diciembre de 1964 | http://cujae.edu.cu [1] Consulte la enciclopedia colaborativa cubana. http://www.ecured.cu [2] -- Message: 4 Date: Thu, 25 Apr 2013 20:38:50 +0200 From: Miguel ?ngel ?lvarez Cabrerizo mcabrer...@macto.es To: users@lists.opennebula.org Subject: Re: [one-users] VNC problem: Failed to connect to server (code: 1006) Message-ID: cacpsmgeqn7cm6hn_5edhggon6o0aoqheim9mzdr4ph0eem8...@mail.gmail.com Content-Type: text/plain; charset=iso-8859-1 Hi, if you're using OpenNebula 3.8.3 1) Check that you've installed novnc (if not go to /usr/share/one and run ./install_novnc.sh) 2) If novnc is installed check if you have set 0.0.0.0 address in the Graphics section of your VM (you should insert a port also e.g 5901). 3) If you are running iptables try to stop the firewall maybe you need a rule to allow traffic. Regards, Miguel -- *Miguel ?ngel ?lvarez Cabrerizo* MACTO apps ? cloud ? security* **Blog http://n40lab.wordpress.com [3] Skype n40lab Email mcabrerizo at macto.es [4]* -- next part -- An HTML attachment was scrubbed... URL: http://lists.opennebula.org/pipermail/users-opennebula.org/attachments/20130425/3d2e1d51/attachment-0001.htm [5] -- ___ Users mailing list Users@lists.opennebula.org http://lists.opennebula.org/listinfo.cgi/users-opennebula.org [6] End of Users Digest, Vol 62, Issue 109 ** 48 Aniversario de la Cujae, Una obra de la Revolucion Cubana | 2 de diciembre de 1964 | http://cujae.edu.cu [1] Consulte la enciclopedia colaborativa cubana. http://www.ecured.cu [2] ___ Users mailing list Users@lists.opennebula.org http://lists.opennebula.org/listinfo.cgi/users-opennebula.org [6] -- Daniel Molina Project Engineer OpenNebula - The Open Source Solution for Data Center Virtualization www.OpenNebula.org [7] | dmol...@opennebula.org | @OpenNebula Links: -- [1] http://cujae.edu.cu [2] http://www.ecured.cu [3] http://n40lab.wordpress.com [4] http://macto.es [5] http://lists.opennebula.org/pipermail/users-opennebula.org/attachments/20130425/3d2e1d51/attachment-0001.htm [6] http://lists.opennebula.org/listinfo.cgi/users-opennebula.org [7] http://www.OpenNebula.org 48 Aniversario de la Cujae, Una obra de la Revolucion Cubana | 2 de diciembre de 1964 | http://cujae.edu.cu Consulte la enciclopedia colaborativa cubana. http://www.ecured.cu ___ Users mailing list Users@lists.opennebula.org http://lists.opennebula.org/listinfo.cgi/users-opennebula.org
[one-users] Procedure to Create VMWare Images -- Need Help
Hi, I am now able to run images downloaded from the marketplace with ESXi nodes. However, I am still not able to deploy my own images. Probably there is something wrong with the way I created my images. This is the way I do to create my own images: (1) Install a fresh new OS (such as CentOS 6.3) via vSphere Client. The location of the VMWare images on that ESXi node is /vmfs/volumes/datastore1/CentOS-6.3, and inside that directory there are a bunch of files. When creating the VM I used thin-provisioning. (2) Create a tar.gz containing the CentOS-6.3 directory, and download it to the front end. (3) On the front end, untar the tar.gz. Then make a temp directory, copy the two vmdk files into the temp directory. (4) From SunStone, I have a datastore with DS_MAD=vmware. I create a new image inside that datastore by specifying the path of the temp directory mentioned above. The image creation process is successful. I look into the directory holding that image there was two files, one is CentOS-6.3-flat.vmdk and the other is disk.vmdk. (5) Then from SunStone I create a template with the image, and initiated an instance. The PROLOG work fine, but the VM won't boot. Below is the VM log: Fri Apr 26 22:03:14 2013 [DiM][I]: New VM state is ACTIVE. Fri Apr 26 22:03:14 2013 [LCM][I]: New VM state is PROLOG. Fri Apr 26 22:03:14 2013 [VM][I]: Virtual Machine has no context Fri Apr 26 22:06:28 2013 [TM][I]: clone: Cloning opennebula:/srv/cloud/one/var/datastores/100/8597ded816959ceff6dfffd6ec3e61c2 in /vmfs/volumes/101/152/disk.0 Fri Apr 26 22:06:28 2013 [TM][I]: ExitCode: 0 Fri Apr 26 22:06:29 2013 [LCM][I]: New VM state is BOOT Fri Apr 26 22:06:29 2013 [VMM][I]: Generating deployment file: /srv/cloud/one/var/vms/152/deployment.0 Fri Apr 26 22:06:29 2013 [VMM][I]: ExitCode: 0 Fri Apr 26 22:06:29 2013 [VMM][I]: Successfully execute network driver operation: pre. Fri Apr 26 22:06:40 2013 [VMM][I]: Command execution fail: /srv/cloud/one/var/remotes/vmm/vmware/deploy /srv/cloud/one/var/vms/152/deployment.0 vmware02 152 vmware02 Fri Apr 26 22:06:40 2013 [VMM][D]: deploy: Successfully defined domain one-152. Fri Apr 26 22:06:40 2013 [VMM][E]: deploy: Error executing: virsh -c 'esx://vmware02/?no_verify=1auto_answer=1' start one-152 err: ExitCode: 1 Fri Apr 26 22:06:40 2013 [VMM][I]: out: Fri Apr 26 22:06:40 2013 [VMM][I]: error: Failed to start domain one-152 Fri Apr 26 22:06:40 2013 [VMM][I]: error: internal error Could not start domain: GenericVmConfigFault - Module DevicePowerOn power on failed. Fri Apr 26 22:06:40 2013 [VMM][I]: Fri Apr 26 22:06:40 2013 [VMM][I]: Fri Apr 26 22:06:40 2013 [VMM][I]: ExitCode: 1 Fri Apr 26 22:06:40 2013 [VMM][I]: Failed to execute virtualization driver operation: deploy. Fri Apr 26 22:06:40 2013 [VMM][E]: Error deploying virtual machine Fri Apr 26 22:06:40 2013 [DiM][I]: New VM state is FAILED (6) On the ESXi node, I take a look at the vmware.log, and found this: 2013-04-26T14:06:32.709Z| vmx| Msg_Post: Error 2013-04-26T14:06:32.709Z| vmx| [msg.buslogic.notOn64bit] The BusLogic SCSI adapter is not supported for 64-bit guests. See the documentation for the appropriate type of SCSI adapter to use with 64-bit guests. 2013-04-26T14:06:32.709Z| vmx| [msg.moduletable.powerOnFailed] Module DevicePowerOn power on failed. 2013-04-26T14:06:32.709Z| vmx| 2013-04-26T14:06:32.712Z| vmx| VMX_PowerOn: ModuleTable_PowerOn = 0 2013-04-26T14:06:32.712Z| vmx| MKS REMOTE stopping VNC server at 0.0.0.0:6052 2013-04-26T14:06:32.712Z| vmx| MKS local poweroff 2013-04-26T14:06:32.713Z| vmx| scsi0:0: numIOs = 0 numMergedIOs = 0 numSplitIOs = 0 ( 0.0%) 2013-04-26T14:06:32.713Z| vmx| Closing disk scsi0:0 2013-04-26T14:06:32.713Z| vmx| DISKLIB-VMFS : /vmfs/volumes/5170f0fb-541ed8d5-abcf-80ee733ae51c/152/disk.0/CentOS-6.3-2-flat.vmdk : closed. (7) So that look like that I am using BusLogic SCSI for my disk, but here is what I have in disk.vmdk, LSI: /vmfs/volumes/5170f0fb-541ed8d5-abcf-80ee733ae51c/152/disk.0 # more disk.vmdk # Disk DescriptorFile version=1 encoding=UTF-8 CID=19bfd712 parentCID= isNativeSnapshot=no createType=vmfs # Extent description RW 4194304 VMFS CentOS-6.3-2-flat.vmdk # The Disk Data Base #DDB ddb.adapterType = lsilogic ddb.thinProvisioned = 1 ddb.geometry.sectors = 63 ddb.geometry.heads = 255 ddb.geometry.cylinders = 261 ddb.uuid = 60 00 C2 95 9d 67 8c 34-e1 3a 25 4d 3d b4 90 48 ddb.longContentID = 6bf0fc703c8f6b61e0bca38519bfd712 ddb.virtualHWVersion = 8 (8) Look further in deployment.0: domain type='vmware' nameone-152/name memory1048576/memory os type arch='x86_64'hvm/type /os devices disk type='file' device='disk' source file='[101] 152/disk.0/disk.vmdk'/ target dev='sda'/ /disk graphics type='vnc' listen='0.0.0.0' port='6052'/ /devices /domain (9) That's all I have.
[one-users] Procedure to Create VMWare Images -- Need Help
Hi, I am now able to run images downloaded from the marketplace with ESXi nodes. However, I am still not able to deploy my own images. Probably there is something wrong with the way I created my images. This is the way I do to create my own images: (1) Install a fresh new OS (such as CentOS 6.3) via vSphere Client. The location of the VMWare images on that ESXi node is /vmfs/volumes/datastore1/CentOS-6.3, and inside that directory there are a bunch of files. When creating the VM I used thin-provisioning. (2) Create a tar.gz containing the CentOS-6.3 directory, and download it to the front end. (3) On the front end, untar the tar.gz. Then make a temp directory, copy the two vmdk files into the temp directory. (4) From SunStone, I have a datastore with DS_MAD=vmware. I create a new image inside that datastore by specifying the path of the temp directory mentioned above. The image creation process is successful. I look into the directory holding that image there was two files, one is CentOS-6.3-flat.vmdk and the other is disk.vmdk. (5) Then from SunStone I create a template with the image, and initiated an instance. The PROLOG work fine, but the VM won't boot. Below is the VM log: Fri Apr 26 22:03:14 2013 [DiM][I]: New VM state is ACTIVE. Fri Apr 26 22:03:14 2013 [LCM][I]: New VM state is PROLOG. Fri Apr 26 22:03:14 2013 [VM][I]: Virtual Machine has no context Fri Apr 26 22:06:28 2013 [TM][I]: clone: Cloning opennebula:/srv/cloud/one/var/datastores/100/8597ded816959ceff6dfffd6ec3e61c2 in /vmfs/volumes/101/152/disk.0 Fri Apr 26 22:06:28 2013 [TM][I]: ExitCode: 0 Fri Apr 26 22:06:29 2013 [LCM][I]: New VM state is BOOT Fri Apr 26 22:06:29 2013 [VMM][I]: Generating deployment file: /srv/cloud/one/var/vms/152/deployment.0 Fri Apr 26 22:06:29 2013 [VMM][I]: ExitCode: 0 Fri Apr 26 22:06:29 2013 [VMM][I]: Successfully execute network driver operation: pre. Fri Apr 26 22:06:40 2013 [VMM][I]: Command execution fail: /srv/cloud/one/var/remotes/vmm/vmware/deploy /srv/cloud/one/var/vms/152/deployment.0 vmware02 152 vmware02 Fri Apr 26 22:06:40 2013 [VMM][D]: deploy: Successfully defined domain one-152. Fri Apr 26 22:06:40 2013 [VMM][E]: deploy: Error executing: virsh -c 'esx://vmware02/?no_verify=1auto_answer=1' start one-152 err: ExitCode: 1 Fri Apr 26 22:06:40 2013 [VMM][I]: out: Fri Apr 26 22:06:40 2013 [VMM][I]: error: Failed to start domain one-152 Fri Apr 26 22:06:40 2013 [VMM][I]: error: internal error Could not start domain: GenericVmConfigFault - Module DevicePowerOn power on failed. Fri Apr 26 22:06:40 2013 [VMM][I]: Fri Apr 26 22:06:40 2013 [VMM][I]: Fri Apr 26 22:06:40 2013 [VMM][I]: ExitCode: 1 Fri Apr 26 22:06:40 2013 [VMM][I]: Failed to execute virtualization driver operation: deploy. Fri Apr 26 22:06:40 2013 [VMM][E]: Error deploying virtual machine Fri Apr 26 22:06:40 2013 [DiM][I]: New VM state is FAILED (6) On the ESXi node, I take a look at the vmware.log, and found this: 2013-04-26T14:06:32.709Z| vmx| Msg_Post: Error 2013-04-26T14:06:32.709Z| vmx| [msg.buslogic.notOn64bit] The BusLogic SCSI adapter is not supported for 64-bit guests. See the documentation for the appropriate type of SCSI adapter to use with 64-bit guests. 2013-04-26T14:06:32.709Z| vmx| [msg.moduletable.powerOnFailed] Module DevicePowerOn power on failed. 2013-04-26T14:06:32.709Z| vmx| 2013-04-26T14:06:32.712Z| vmx| VMX_PowerOn: ModuleTable_PowerOn = 0 2013-04-26T14:06:32.712Z| vmx| MKS REMOTE stopping VNC server at 0.0.0.0:6052 2013-04-26T14:06:32.712Z| vmx| MKS local poweroff 2013-04-26T14:06:32.713Z| vmx| scsi0:0: numIOs = 0 numMergedIOs = 0 numSplitIOs = 0 ( 0.0%) 2013-04-26T14:06:32.713Z| vmx| Closing disk scsi0:0 2013-04-26T14:06:32.713Z| vmx| DISKLIB-VMFS : /vmfs/volumes/5170f0fb-541ed8d5-abcf-80ee733ae51c/152/disk.0/CentOS-6.3-2-flat.vmdk : closed. (7) So that look like that I am using BusLogic SCSI for my disk, but here is what I have in disk.vmdk, LSI: /vmfs/volumes/5170f0fb-541ed8d5-abcf-80ee733ae51c/152/disk.0 # more disk.vmdk # Disk DescriptorFile version=1 encoding=UTF-8 CID=19bfd712 parentCID= isNativeSnapshot=no createType=vmfs # Extent description RW 4194304 VMFS CentOS-6.3-2-flat.vmdk # The Disk Data Base #DDB ddb.adapterType = lsilogic ddb.thinProvisioned = 1 ddb.geometry.sectors = 63 ddb.geometry.heads = 255 ddb.geometry.cylinders = 261 ddb.uuid = 60 00 C2 95 9d 67 8c 34-e1 3a 25 4d 3d b4 90 48 ddb.longContentID = 6bf0fc703c8f6b61e0bca38519bfd712 ddb.virtualHWVersion = 8 (8) Look further in deployment.0: domain type='vmware' nameone-152/name memory1048576/memory os type arch='x86_64'hvm/type /os devices disk type='file' device='disk' source file='[101] 152/disk.0/disk.vmdk'/ target dev='sda'/ /disk graphics type='vnc' listen='0.0.0.0' port='6052'/ /devices /domain (9) That's all I have.
Re: [one-users] Procedure to Create VMWare Images -- Need Help
Hi, If you are using SCSI bus for your disks, try adding the following in the VM template: RAW=[ DATA=devicescontroller type='scsi' index='0' model='lsilogic'//devices, TYPE=vmware ] An effort will be made in next releases to make this configurations available through Sunstone to make life a tad easier for users. Regards, -Tino -- Constantino Vázquez Blanco, PhD, MSc Project Engineer OpenNebula - The Open-Source Solution for Data Center Virtualization www.OpenNebula.org | @tinova79 | @OpenNebula On Fri, Apr 26, 2013 at 5:00 PM, chenxi...@aquala-tech.com wrote: Hi, I am now able to run images downloaded from the marketplace with ESXi nodes. However, I am still not able to deploy my own images. Probably there is something wrong with the way I created my images. This is the way I do to create my own images: (1) Install a fresh new OS (such as CentOS 6.3) via vSphere Client. The location of the VMWare images on that ESXi node is /vmfs/volumes/datastore1/CentOS-6.3, and inside that directory there are a bunch of files. When creating the VM I used thin-provisioning. (2) Create a tar.gz containing the CentOS-6.3 directory, and download it to the front end. (3) On the front end, untar the tar.gz. Then make a temp directory, copy the two vmdk files into the temp directory. (4) From SunStone, I have a datastore with DS_MAD=vmware. I create a new image inside that datastore by specifying the path of the temp directory mentioned above. The image creation process is successful. I look into the directory holding that image there was two files, one is CentOS-6.3-flat.vmdk and the other is disk.vmdk. (5) Then from SunStone I create a template with the image, and initiated an instance. The PROLOG work fine, but the VM won't boot. Below is the VM log: Fri Apr 26 22:03:14 2013 [DiM][I]: New VM state is ACTIVE. Fri Apr 26 22:03:14 2013 [LCM][I]: New VM state is PROLOG. Fri Apr 26 22:03:14 2013 [VM][I]: Virtual Machine has no context Fri Apr 26 22:06:28 2013 [TM][I]: clone: Cloning opennebula:/srv/cloud/one/var/datastores/100/8597ded816959ceff6dfffd6ec3e61c2 in /vmfs/volumes/101/152/disk.0 Fri Apr 26 22:06:28 2013 [TM][I]: ExitCode: 0 Fri Apr 26 22:06:29 2013 [LCM][I]: New VM state is BOOT Fri Apr 26 22:06:29 2013 [VMM][I]: Generating deployment file: /srv/cloud/one/var/vms/152/deployment.0 Fri Apr 26 22:06:29 2013 [VMM][I]: ExitCode: 0 Fri Apr 26 22:06:29 2013 [VMM][I]: Successfully execute network driver operation: pre. Fri Apr 26 22:06:40 2013 [VMM][I]: Command execution fail: /srv/cloud/one/var/remotes/vmm/vmware/deploy /srv/cloud/one/var/vms/152/deployment.0 vmware02 152 vmware02 Fri Apr 26 22:06:40 2013 [VMM][D]: deploy: Successfully defined domain one-152. Fri Apr 26 22:06:40 2013 [VMM][E]: deploy: Error executing: virsh -c 'esx://vmware02/?no_verify=1auto_answer=1' start one-152 err: ExitCode: 1 Fri Apr 26 22:06:40 2013 [VMM][I]: out: Fri Apr 26 22:06:40 2013 [VMM][I]: error: Failed to start domain one-152 Fri Apr 26 22:06:40 2013 [VMM][I]: error: internal error Could not start domain: GenericVmConfigFault - Module DevicePowerOn power on failed. Fri Apr 26 22:06:40 2013 [VMM][I]: Fri Apr 26 22:06:40 2013 [VMM][I]: Fri Apr 26 22:06:40 2013 [VMM][I]: ExitCode: 1 Fri Apr 26 22:06:40 2013 [VMM][I]: Failed to execute virtualization driver operation: deploy. Fri Apr 26 22:06:40 2013 [VMM][E]: Error deploying virtual machine Fri Apr 26 22:06:40 2013 [DiM][I]: New VM state is FAILED (6) On the ESXi node, I take a look at the vmware.log, and found this: 2013-04-26T14:06:32.709Z| vmx| Msg_Post: Error 2013-04-26T14:06:32.709Z| vmx| [msg.buslogic.notOn64bit] The BusLogic SCSI adapter is not supported for 64-bit guests. See the documentation for the appropriate type of SCSI adapter to use with 64-bit guests. 2013-04-26T14:06:32.709Z| vmx| [msg.moduletable.powerOnFailed] Module DevicePowerOn power on failed. 2013-04-26T14:06:32.709Z| vmx| 2013-04-26T14:06:32.712Z| vmx| VMX_PowerOn: ModuleTable_PowerOn = 0 2013-04-26T14:06:32.712Z| vmx| MKS REMOTE stopping VNC server at 0.0.0.0:6052 2013-04-26T14:06:32.712Z| vmx| MKS local poweroff 2013-04-26T14:06:32.713Z| vmx| scsi0:0: numIOs = 0 numMergedIOs = 0 numSplitIOs = 0 ( 0.0%) 2013-04-26T14:06:32.713Z| vmx| Closing disk scsi0:0 2013-04-26T14:06:32.713Z| vmx| DISKLIB-VMFS : /vmfs/volumes/5170f0fb-541ed8d5-abcf-80ee733ae51c/152/disk.0/CentOS-6.3-2-flat.vmdk : closed. (7) So that look like that I am using BusLogic SCSI for my disk, but here is what I have in disk.vmdk, LSI: /vmfs/volumes/5170f0fb-541ed8d5-abcf-80ee733ae51c/152/disk.0 # more disk.vmdk # Disk DescriptorFile version=1 encoding=UTF-8 CID=19bfd712 parentCID= isNativeSnapshot=no createType=vmfs # Extent description RW 4194304 VMFS CentOS-6.3-2-flat.vmdk # The Disk Data Base #DDB ddb.adapterType = lsilogic ddb.thinProvisioned = 1 ddb.geometry.sectors = 63
Re: [one-users] (no subject)
We use OpenNebula with KVM as an hypervisor and the Spice protocol, and it works quite well (with usb redirection as an added bonus). If you virtualize windows desktops, especially Win7 or more recent, you can use the RDP7.1 remotization protocol that works well with FreeRDP ( http://www.freerdp.com/ ). We have several SMEs that are using this as the standard configuration, and works quite well. For on-demand desktops you can use non-persistent images, and a simple script that creates instances on demand by connecting directly through OpenNebula on some external signal (for example, clicking a button). Cheers, Carlo Daffara - Original Message - From: José Antonio Zanabria jzanab...@tesla.cujae.edu.cu To: users@lists.opennebula.org Sent: Friday, April 26, 2013 5:22:08 PM Subject: [one-users] (no subject) I want to know if using OpenNebula is posible get a solution of Desktop as a Service (DaaS) and how do it. 48 Aniversario de la Cujae, Una obra de la Revolucion Cubana | 2 de diciembre de 1964 | http://cujae.edu.cu Consulte la enciclopedia colaborativa cubana. http://www.ecured.cu ___ 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] Procedure to Create VMWare Images -- Need Help
Hi, Glad it worked. The effort I was talking about will probably crystallise in 4.2. Regards, -Tino -- Constantino Vázquez Blanco, PhD, MSc Project Engineer OpenNebula - The Open-Source Solution for Data Center Virtualization www.OpenNebula.org | @tinova79 | @OpenNebula On Fri, Apr 26, 2013 at 5:23 PM, chenxi...@aquala-tech.com wrote: WOW! This is extremely handy help! I tried it, and it worked! Do you mean that this improvement will be in the upcoming 4.0 release? Again, thank you so much for your help! Chen Xiang Hi, If you are using SCSI bus for your disks, try adding the following in the VM template: RAW=[ DATA=devicescontroller type='scsi' index='0' model='lsilogic'//devices, TYPE=vmware ] An effort will be made in next releases to make this configurations available through Sunstone to make life a tad easier for users. Regards, -Tino -- Constantino Vázquez Blanco, PhD, MSc Project Engineer OpenNebula - The Open-Source Solution for Data Center Virtualization www.OpenNebula.org | @tinova79 | @OpenNebula On Fri, Apr 26, 2013 at 5:00 PM, chenxi...@aquala-tech.com wrote: Hi, I am now able to run images downloaded from the marketplace with ESXi nodes. However, I am still not able to deploy my own images. Probably there is something wrong with the way I created my images. This is the way I do to create my own images: (1) Install a fresh new OS (such as CentOS 6.3) via vSphere Client. The location of the VMWare images on that ESXi node is /vmfs/volumes/datastore1/CentOS-6.3, and inside that directory there are a bunch of files. When creating the VM I used thin-provisioning. (2) Create a tar.gz containing the CentOS-6.3 directory, and download it to the front end. (3) On the front end, untar the tar.gz. Then make a temp directory, copy the two vmdk files into the temp directory. (4) From SunStone, I have a datastore with DS_MAD=vmware. I create a new image inside that datastore by specifying the path of the temp directory mentioned above. The image creation process is successful. I look into the directory holding that image there was two files, one is CentOS-6.3-flat.vmdk and the other is disk.vmdk. (5) Then from SunStone I create a template with the image, and initiated an instance. The PROLOG work fine, but the VM won't boot. Below is the VM log: Fri Apr 26 22:03:14 2013 [DiM][I]: New VM state is ACTIVE. Fri Apr 26 22:03:14 2013 [LCM][I]: New VM state is PROLOG. Fri Apr 26 22:03:14 2013 [VM][I]: Virtual Machine has no context Fri Apr 26 22:06:28 2013 [TM][I]: clone: Cloning opennebula:/srv/cloud/one/var/datastores/100/8597ded816959ceff6dfffd6ec3e61c2 in /vmfs/volumes/101/152/disk.0 Fri Apr 26 22:06:28 2013 [TM][I]: ExitCode: 0 Fri Apr 26 22:06:29 2013 [LCM][I]: New VM state is BOOT Fri Apr 26 22:06:29 2013 [VMM][I]: Generating deployment file: /srv/cloud/one/var/vms/152/deployment.0 Fri Apr 26 22:06:29 2013 [VMM][I]: ExitCode: 0 Fri Apr 26 22:06:29 2013 [VMM][I]: Successfully execute network driver operation: pre. Fri Apr 26 22:06:40 2013 [VMM][I]: Command execution fail: /srv/cloud/one/var/remotes/vmm/vmware/deploy /srv/cloud/one/var/vms/152/deployment.0 vmware02 152 vmware02 Fri Apr 26 22:06:40 2013 [VMM][D]: deploy: Successfully defined domain one-152. Fri Apr 26 22:06:40 2013 [VMM][E]: deploy: Error executing: virsh -c 'esx://vmware02/?no_verify=1auto_answer=1' start one-152 err: ExitCode: 1 Fri Apr 26 22:06:40 2013 [VMM][I]: out: Fri Apr 26 22:06:40 2013 [VMM][I]: error: Failed to start domain one-152 Fri Apr 26 22:06:40 2013 [VMM][I]: error: internal error Could not start domain: GenericVmConfigFault - Module DevicePowerOn power on failed. Fri Apr 26 22:06:40 2013 [VMM][I]: Fri Apr 26 22:06:40 2013 [VMM][I]: Fri Apr 26 22:06:40 2013 [VMM][I]: ExitCode: 1 Fri Apr 26 22:06:40 2013 [VMM][I]: Failed to execute virtualization driver operation: deploy. Fri Apr 26 22:06:40 2013 [VMM][E]: Error deploying virtual machine Fri Apr 26 22:06:40 2013 [DiM][I]: New VM state is FAILED (6) On the ESXi node, I take a look at the vmware.log, and found this: 2013-04-26T14:06:32.709Z| vmx| Msg_Post: Error 2013-04-26T14:06:32.709Z| vmx| [msg.buslogic.notOn64bit] The BusLogic SCSI adapter is not supported for 64-bit guests. See the documentation for the appropriate type of SCSI adapter to use with 64-bit guests. 2013-04-26T14:06:32.709Z| vmx| [msg.moduletable.powerOnFailed] Module DevicePowerOn power on failed. 2013-04-26T14:06:32.709Z| vmx| 2013-04-26T14:06:32.712Z| vmx| VMX_PowerOn: ModuleTable_PowerOn = 0 2013-04-26T14:06:32.712Z| vmx| MKS REMOTE stopping VNC server at 0.0.0.0:6052 2013-04-26T14:06:32.712Z| vmx| MKS local poweroff 2013-04-26T14:06:32.713Z| vmx| scsi0:0: numIOs = 0 numMergedIOs = 0 numSplitIOs = 0 ( 0.0%) 2013-04-26T14:06:32.713Z| vmx| Closing disk scsi0:0 2013-04-26T14:06:32.713Z| vmx| DISKLIB-VMFS :
Re: [one-users] CentOS 6.4 - 3.9.90-2 rpm installation problem with opennebula-server-3.9.90-2.x86_64.rpm
Hi Jaime, I'm afraid it was a problem with my CentOS 6.4 that wasn't clean enough after so much lab testing. I've just reinstalled my CentOS 6.4 and opennebula-3.9.90-2 and there's absolutely no problem with opennebula-server-3.9.90-2.x86_64.rpm, it was my fault sorry. Before installing 3.9.90 I was running OpenNebula 3.8.3 (downloaded from OpenNebula.org) but I must have done something wrong because after removing the packages, deleting /var/lib/one directory and installing the new rpm the /var/lib/one was owned by root and that's why the opennebula-server installation was complaining. I think this info is useless for you so I'll be more careful next time if I think I've found a bug :-) Thanks a lot for your time -- *Miguel Ángel Álvarez Cabrerizo* MACTO apps · cloud · security* **Blog http://n40lab.wordpress.com Skype n40lab Email mcabrerizo at macto.es* ___ Users mailing list Users@lists.opennebula.org http://lists.opennebula.org/listinfo.cgi/users-opennebula.org
Re: [one-users] Problems with VM
It looks like a problem with root permissions. Add root to the group oneadmin and make sure that the datastore directory is writable by group oneadmin in the remote node. You may need to restart xen daemons in the physical node. A reboot will probably be the safest way. On Wed, Apr 24, 2013 at 5:49 PM, Aridane Jesús Sarrionandia de León ajsa...@gmail.com wrote: Hi everyone, I've got open nebula installed and a server with Xen running and I have the following problem. I can create a VM with no problem, and reaches the state runn without error messages. The thing is that if I try to stop (onevm stop X) or poweroff (onevm poweroff X) it goes to unk state. This is the VM template I used (a lot of things are in comments until I get to solve the basic issues). CPU= 0.1 MEMORY = 64 DISK = [ #BUS=ide, IMAGE=ttylinux, #IMAGE_UNAME=oneadmin, READONLY=no#, #TARGET=xvda ] NIC= [ NETWORK=Small network] OS=[ KERNEL=/vmlinuz, INITRD=/initrd.img ] #RAW=[ DATA=builder = 'hvm' #shadow_memory = 8 # device_model = '/usr/lib/xen-default/bin/qemu-dm' # boot=\c\, # TYPE=xen ] TEMPLATE_ID=1 #CONTEXT = [ #hostname= $NAME, #ip_public = PUBLIC_IP, #files = /path/to/init.sh /path/to/id_dsa.pub, #target = hdc, #root_pubkey = id_dsa.pub, #username= opennebula, #user_pubkey = id_dsa.pub #] And this is the VM Log after the following commands: onevm create ttylinux_template.one onevm stop 13 onevm restart 13 onevm poweroff 13 And this is the log: Wed Apr 24 16:36:20 2013 [DiM][I]: New VM state is ACTIVE. Wed Apr 24 16:36:20 2013 [LCM][I]: New VM state is PROLOG. Wed Apr 24 16:36:20 2013 [VM][I]: Virtual Machine has no context Wed Apr 24 16:36:21 2013 [TM][I]: clone: Cloning /var/lib/one/datastores/1/364fed6a7cfeeabca962d3fa160a8f60 in oneHost:/var/lib/one//datastores/0/13/disk.0 Wed Apr 24 16:36:21 2013 [TM][I]: ExitCode: 0 Wed Apr 24 16:36:21 2013 [LCM][I]: New VM state is BOOT Wed Apr 24 16:36:21 2013 [VMM][I]: Generating deployment file: /var/lib/one/vms/13/deployment.0 Wed Apr 24 16:36:21 2013 [VMM][I]: ExitCode: 0 Wed Apr 24 16:36:21 2013 [VMM][I]: Successfully execute network driver operation: pre. Wed Apr 24 16:36:23 2013 [VMM][D]: deploy: Credits set to 26 Wed Apr 24 16:36:23 2013 [VMM][I]: ExitCode: 0 Wed Apr 24 16:36:23 2013 [VMM][I]: Successfully execute virtualization driver operation: deploy. Wed Apr 24 16:36:23 2013 [VMM][I]: ExitCode: 0 Wed Apr 24 16:36:23 2013 [VMM][I]: Successfully execute network driver operation: post. Wed Apr 24 16:36:23 2013 [LCM][I]: New VM state is RUNNING Wed Apr 24 16:36:54 2013 [LCM][I]: New VM state is SAVE_STOP Wed Apr 24 16:36:54 2013 [VMM][I]: Command execution fail: /var/tmp/one/vmm/xen/save one-13 /var/lib/one//datastores/0/13/checkpoint oneHost 13 oneHost Wed Apr 24 16:36:54 2013 [VMM][E]: save: Command sudo /usr/sbin/xm save one-13 /var/lib/one//datastores/0/13/checkpoint failed: Error: xm save: Unable to create file /var/lib/one/datastores/0/13/checkpoi nt Wed Apr 24 16:36:54 2013 [VMM][E]: Could not save one-13 to /var/lib/one//datastores/0/13/checkpoint Wed Apr 24 16:36:54 2013 [VMM][I]: ExitCode: 1 Wed Apr 24 16:36:54 2013 [VMM][I]: Failed to execute virtualization driver operation: save. Wed Apr 24 16:36:54 2013 [VMM][E]: Error saving VM state: Could not save one-13 to /var/lib/one//datastores/0/13/checkpoint Wed Apr 24 16:36:54 2013 [LCM][I]: Fail to save VM state. Assuming that the VM is still RUNNING (will poll VM). Wed Apr 24 16:36:58 2013 [VMM][I]: Found interface tap-2-51712 but domain 2 does not exist. Wed Apr 24 16:36:58 2013 [VMM][I]: Found interface tap-3-51712 but domain 3 does not exist. Wed Apr 24 16:36:58 2013 [VMM][I]: Found interface tap-4-51712 but domain 4 does not exist. Wed Apr 24 16:36:58 2013 [VMM][I]: Found interface tap-5-51712 but domain 5 does not exist. Wed Apr 24 16:36:58 2013 [VMM][I]: Found interface tap-6-51712 but domain 6 does not exist. Wed Apr 24 16:36:58 2013 [VMM][I]: Found interface tap-7-768 but domain 7 does not exist. Wed Apr 24 16:36:58 2013 [VMM][I]: Found interface tap-8-768 but domain 8 does not exist. Wed Apr 24 16:36:58 2013 [VMM][I]: Found interface tap-9-768 but domain 9 does not exist. Wed Apr 24 16:36:58 2013 [VMM][I]: Found interface tap-2-51712 but domain 2 does not exist. Wed Apr 24 16:36:58 2013 [VMM][I]: Found interface tap-3-51712 but domain 3 does not exist. Wed Apr 24 16:36:58 2013 [VMM][I]: Found interface tap-4-51712 but domain 4 does not exist. Wed Apr 24 16:36:58 2013 [VMM][I]: Found interface tap-5-51712 but domain 5 does not exist. Wed Apr 24 16:36:58 2013 [VMM][I]: Found interface tap-6-51712 but domain 6 does not exist. Wed Apr 24 16:36:58 2013 [VMM][I]: Found interface tap-7-768 but domain 7 does not exist. Wed Apr 24 16:36:58 2013 [VMM][I]: Found interface tap-8-768 but domain
Re: [one-users] CentOS 6.4 - 3.9.90-2 rpm installation problem with opennebula-server-3.9.90-2.x86_64.rpm
Hi, don't worry, and thanks for taking the time to explain the issue :-) it's better to report false alarms than to report nothing at all! cheers, Jaime On Fri, Apr 26, 2013 at 5:27 PM, Miguel Ángel Álvarez Cabrerizo mcabrer...@macto.es wrote: Hi Jaime, I'm afraid it was a problem with my CentOS 6.4 that wasn't clean enough after so much lab testing. I've just reinstalled my CentOS 6.4 and opennebula-3.9.90-2 and there's absolutely no problem with opennebula-server-3.9.90-2.x86_64.rpm, it was my fault sorry. Before installing 3.9.90 I was running OpenNebula 3.8.3 (downloaded from OpenNebula.org) but I must have done something wrong because after removing the packages, deleting /var/lib/one directory and installing the new rpm the /var/lib/one was owned by root and that's why the opennebula-server installation was complaining. I think this info is useless for you so I'll be more careful next time if I think I've found a bug :-) Thanks a lot for your time -- *Miguel Ángel Álvarez Cabrerizo* MACTO apps · cloud · security* ** Blog http://n40lab.wordpress.com Skype n40lab Email mcabrerizo at macto.es* ___ Users mailing list Users@lists.opennebula.org http://lists.opennebula.org/listinfo.cgi/users-opennebula.org -- Jaime Melis Project Engineer OpenNebula - The Open Source Toolkit for Cloud Computing www.OpenNebula.org | jme...@opennebula.org ___ Users mailing list Users@lists.opennebula.org http://lists.opennebula.org/listinfo.cgi/users-opennebula.org
Re: [one-users] Cannot clone persistent image
You will probably need to restart the machine after you make those changes so the kvm modules give access to oneadmin user. On Thu, Apr 25, 2013 at 12:03 PM, Mohammad Fazli Ahmat Jalaluddin fazli@gmail.com wrote: Yes, after I check in /var/lib/one/var/datastore/1, there are some images are belong to root, some are belong to root and others belong to libvirt-qemu. Also, I edit /etc/libvirt/qemu.conf and uncmonnet the user, group and dynamic_ownership and restart libvirt-bin output of : grep -vE '^($|#)' /etc/libvirt/qemu.conf vnc_listen = 0.0.0.0 user = oneadmin group = oneadmin dynamic_ownership = 0 But, I still cannot clone any persistent image Thanks On Thu, Apr 25, 2013 at 5:34 PM, Javier Fontan jfon...@opennebula.org wrote: From the log file I'm seeing that you are using shred drivers and I suppose you are using kvm. Can you check that in /var/lib/one/var/datastores/1 there are images that belong to oneadmin and other images which the owner is root? If this is the case check that your libvirt configuration has dynamic_ownership set to 0 and the correct user/group [1]: $ grep -vE '^($|#)' /etc/libvirt/qemu.conf user = oneadmin group = oneadmin dynamic_ownership = 0 [1] http://opennebula.org/documentation:rel3.8:kvmg#kvm_configuration On Thu, Apr 25, 2013 at 3:16 AM, Mohammad Fazli Ahmat Jalaluddin fazli@gmail.com wrote: Hi, I am new to OpenNebula. Currently the version of OpenNebula I am using is 3.8.3 I have some question regarding cloning persistent image: Why I cannot clone any persistent image (READY) and if I change the persistent image back to non-persistent, I still cannot clone it. Also, If I want to deploy a VM using a non-persistent image that was previously a persistent image, it FAILED with this error message: Error executing image transfer script: Error copying hpc-workstation1:/var/lib/one/ var/datastores/1/1a173d1d2b39cfd247a8438bfbbe4cae to onevmhost:/var/lib/one/var//datastores/0/116/disk.0 VM Log: Thu Apr 25 09:02:35 2013 [DiM][I]: New VM state is ACTIVE. Thu Apr 25 09:02:35 2013 [LCM][I]: New VM state is PROLOG. Thu Apr 25 09:02:36 2013 [TM][I]: Command execution fail: /var/lib/one/var/remotes/tm/shared/clone hpc-workstation1:/var/lib/one/var/datastores/1/1a173d1d2b39cfd247a8438bfbbe4cae onevmhost:/var/lib/one/var//datastores/0/116/disk.0 116 1 Thu Apr 25 09:02:36 2013 [TM][I]: clone: Cloning /var/lib/one/var/datastores/1/1a173d1d2b39cfd247a8438bfbbe4cae in onevmhost:/var/lib/one/var//datastores/0/116/disk.0 Thu Apr 25 09:02:36 2013 [TM][E]: clone: Command cd /var/lib/one/var/datastores/0/116; cp -r /var/lib/one/var/datastores/1/1a173d1d2b39cfd247a8438bfbbe4cae /var/lib/one/var/datastores/0/116/disk.0 failed: cp: cannot open `/var/lib/one/var/datastores/1/1a173d1d2b39cfd247a8438bfbbe4cae' for reading: Permission denied Thu Apr 25 09:02:36 2013 [TM][E]: Error copying hpc-workstation1:/var/lib/one/var/datastores/1/1a173d1d2b39cfd247a8438bfbbe4cae to onevmhost:/var/lib/one/var//datastores/0/116/disk.0 Thu Apr 25 09:02:36 2013 [TM][I]: ExitCode: 1 Thu Apr 25 09:02:36 2013 [TM][E]: Error executing image transfer script: Error copying hpc-workstation1:/var/lib/one/var/datastores/1/1a173d1d2b39cfd247a8438bfbbe4cae to onevmhost:/var/lib/one/var//datastores/0/116/disk.0 Thu Apr 25 09:02:36 2013 [DiM][I]: New VM state is FAILED Regards, Fazli ___ Users mailing list Users@lists.opennebula.org http://lists.opennebula.org/listinfo.cgi/users-opennebula.org -- Javier Fontán Muiños Project Engineer OpenNebula - The Open Source Toolkit for Data Center Virtualization www.OpenNebula.org | jfon...@opennebula.org | @OpenNebula -- Javier Fontán Muiños Project Engineer OpenNebula - The Open Source Toolkit for Data Center Virtualization www.OpenNebula.org | jfon...@opennebula.org | @OpenNebula ___ Users mailing list Users@lists.opennebula.org http://lists.opennebula.org/listinfo.cgi/users-opennebula.org