[one-users] Problem with saveas
Hi, I am having some problems with saving a image using onevm saveas and I don't know what might be causing them. I am using OpenNebula 3.2 running on Ubuntu Server 11 with two configured hosts, also running Ubuntu Server 11. In the host I have configured in /etc/libvirt/qemu.conf user = oneadmin group = cloud and dynamic_ownership = 0 After the VM starts I run a 'onevm saveas 29 0 test-29' and then 'onevm shutdown 29' however, after the VM completes the shutdown the newly created image is in error with the following message: 'chmod: changing permissions of /srv/cloud/one/var/images/fc98df772581a7b493e02b5de1b20082': Operation not permitted'. I have tracked this down to the fact that source disk belongs to root instead of oneadmin user as shown by 'SRC: -rw-rw-rw- 1 root root 549781504 Oct 25 11:16 /srv/cloud/one/var/29/images/disk.0' This change in permissions happens only after issuing the shutdown command. Does anyone have any ideas why would this happen? I am attaching below the complete logs Thank you and best regards, Florian Antonescu Thu Oct 25 11:16:25 2012 [DiM][D]: Deploying VM 29 Thu Oct 25 11:16:29 2012 [TM][D]: Message received: LOG D 29 tm_clone.sh: pandora:/srv/cloud/one/var/images/ad6689e50e084a4392c370bbe345bf4b gaia:/srv/cloud/one/var/29/images/disk.0 Thu Oct 25 11:16:29 2012 [TM][D]: Message received: LOG D 29 tm_clone.sh: DST: /srv/cloud/one/var/29/images/disk.0 Thu Oct 25 11:16:29 2012 [TM][D]: Message received: LOG I 29 tm_clone.sh: Creating directory /srv/cloud/one/var/29/images Thu Oct 25 11:16:29 2012 [TM][D]: Message received: LOG I 29 tm_clone.sh: Executed mkdir -p /srv/cloud/one/var/29/images. Thu Oct 25 11:16:29 2012 [TM][D]: Message received: LOG I 29 tm_clone.sh: Executed chmod a+w /srv/cloud/one/var/29/images. Thu Oct 25 11:16:29 2012 [TM][D]: Message received: LOG I 29 tm_clone.sh: Cloning /srv/cloud/one/var/images/ad6689e50e084a4392c370bbe345bf4b Thu Oct 25 11:16:29 2012 [TM][D]: Message received: LOG I 29 tm_clone.sh: SRC: -rw-rw 1 oneadmin cloud 549781504 Oct 16 17:12 /srv/cloud/one/var/images/ad6689e50e084a4392c370bbe345bf4b Thu Oct 25 11:16:29 2012 [TM][D]: Message received: LOG I 29 tm_clone.sh: Executed cp -r /srv/cloud/one/var/images/ad6689e50e084a4392c370bbe345bf4b /srv/cloud/one/var/29/images/disk.0. Thu Oct 25 11:16:29 2012 [TM][D]: Message received: LOG I 29 tm_clone.sh: DST: -rw-r- 1 oneadmin cloud 549781504 Oct 25 11:16 /srv/cloud/one/var/29/images/disk.0 Thu Oct 25 11:16:29 2012 [TM][D]: Message received: LOG I 29 tm_clone.sh: Executed chmod a+rw /srv/cloud/one/var/29/images/disk.0. Thu Oct 25 11:16:29 2012 [TM][D]: Message received: LOG I 29 tm_clone.sh: DST: *-rw-rw-rw- 1 oneadmin cloud 549781504 Oct 25 11:16 /srv/cloud/one/var/29/images/disk.0* Thu Oct 25 11:16:29 2012 [TM][D]: Message received: LOG I 29 ExitCode: 0 Thu Oct 25 11:16:29 2012 [TM][D]: Message received: TRANSFER SUCCESS 29 - Thu Oct 25 11:16:29 2012 [VMM][D]: Message received: LOG I 29 ExitCode: 0 Thu Oct 25 11:16:29 2012 [VMM][D]: Message received: LOG I 29 Successfully execute network driver operation: pre. Thu Oct 25 11:16:30 2012 [VMM][D]: Message received: LOG I 29 ExitCode: 0 Thu Oct 25 11:16:30 2012 [VMM][D]: Message received: LOG I 29 Successfully execute virtualization driver operation: deploy. Thu Oct 25 11:16:30 2012 [VMM][D]: Message received: LOG I 29 ExitCode: 0 Thu Oct 25 11:16:30 2012 [VMM][D]: Message received: LOG I 29 Successfully execute network driver operation: post. Thu Oct 25 11:16:30 2012 [VMM][D]: Message received: DEPLOY SUCCESS 29 one-29 Thu Oct 25 11:16:53 2012 [DiM][D]: Shutting down VM 29 Thu Oct 25 11:17:05 2012 [VMM][D]: Message received: LOG I 29 ExitCode: 0 Thu Oct 25 11:17:05 2012 [VMM][D]: Message received: LOG I 29 Successfully execute virtualization driver operation: shutdown. Thu Oct 25 11:17:05 2012 [VMM][D]: Message received: LOG I 29 ExitCode: 0 Thu Oct 25 11:17:05 2012 [VMM][D]: Message received: LOG I 29 Successfully execute network driver operation: clean. Thu Oct 25 11:17:05 2012 [VMM][D]: Message received: SHUTDOWN SUCCESS 29 Domain one-29 is being shutdown Thu Oct 25 11:17:05 2012 [TM][D]: Message received: LOG I 29 tm_mv.sh: Moving /srv/cloud/one/var/29/images/disk.0 Thu Oct 25 11:17:05 2012 [TM][D]: Message received: LOG I 29 tm_mv.sh: SRC: *-rw-rw-rw- 1 root root 549781504 Oct 25 11:16 /srv/cloud/one/var/29/images/disk.0* Thu Oct 25 11:17:05 2012 [TM][D]: Message received: LOG I 29 tm_mv.sh: Executed mv /srv/cloud/one/var/29/images/disk.0 /srv/cloud/one/var/29/disk.0. Thu Oct 25 11:17:05 2012 [TM][D]: Message received: LOG I 29 ExitCode: 0 Thu Oct 25 11:17:05 2012 [TM][D]: Message received: LOG I 29 tm_delete.sh: Deleting /srv/cloud/one/var/29/images Thu Oct 25 11:17:05 2012 [TM][D]: Message received: LOG I 29 tm_delete.sh: Executed rm -rf /srv/cloud/one/var/29/images. Thu Oct 25 11:17:05 2012 [TM][D]: Message received: LOG I 29 ExitCode: 0 Thu Oct 25 11:17:05 2012 [TM][D]: Message received: TRANSFER SUCCESS 29 - Thu Oct 25
Re: [one-users] one 3.2: VLAN inside VM definition template
I know it is possible to add a NIC to a VM only with only the IP, MAC and BRIDGE name, but is it possible to add a NIC only with IP, MAC; PHYDEV, VLAN_ID and VLAN? On Tue, Jan 24, 2012 at 3:05 PM, Florian Antonescu florinantone...@gmail.com wrote: Hello, I would like to know if it is possible to add a NIC to VM definition with a VLAN, without using a previously defined virtual network, similar to the attached one: NIC=[ IP=192.168.122.5, MAC=02:00:c0:a8:7a:05, PHYDEV=eth0, VLAN=YES, VLAN_ID=3 ] Thank you, Florian Antonescu ___ Users mailing list Users@lists.opennebula.org http://lists.opennebula.org/listinfo.cgi/users-opennebula.org
[one-users] ONE 3.2 networking management
Hi All, I have some questions about the network management in OpenNebula 3.2. 1. Will a virtual bridge be always created if a PHYDEV is defined? Or does this work only for hosts with 802.1q networking? 2. What will happen if a virtual network is defined with VLAN=YES and there are some hosts with dummy drivers and some hosts with 802.1q drivers? Will the scheduler select only the proper hosts or is there a need to add some requirements to VM template? Thank you, Florian Antonescu ___ Users mailing list Users@lists.opennebula.org http://lists.opennebula.org/listinfo.cgi/users-opennebula.org
[one-users] one 3.2: VLAN inside VM definition template
Hello, I would like to know if it is possible to add a NIC to VM definition with a VLAN, without using a previously defined virtual network, similar to the attached one: NIC=[ IP=192.168.122.5, MAC=02:00:c0:a8:7a:05, PHYDEV=eth0, VLAN=YES, VLAN_ID=3 ] Thank you, Florian Antonescu ___ Users mailing list Users@lists.opennebula.org http://lists.opennebula.org/listinfo.cgi/users-opennebula.org
Re: [one-users] Help required
Hi, As displayed on OpenNebula wiki [1] in the Tutorials section, you can find a good step-by-step tutorial at [2]. Best regards, Florian [1] http://wiki.opennebula.org/ [2] http://redes-privadas-virtuales.blogspot.com/search/label/Cloud%20computing On Tue, Jan 24, 2012 at 10:30 AM, Habib Khadar habib_kha...@hotmail.co.uk wrote: My name is Khadar and I am a new user on OpenNebula, can anybody help me with step by step tutorial on how to install and configure OpenNebual. I am finding difficult to follow the guide/instruction of installing OpenNebula 3.2 provided on the web site, especially the codes/commands as I can't figure out where to place them. So far I have downloaded opennebula-3.2.0.tar for my windows. If anyone has video tutorial on how to install and configure OpenNebula would be an advantage. If not step by step instruction should be fine. Thank you very much for your time. ___ 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] one3.2: XML-RPC one.imagepool.info
I found out this was my mistake as I was actually using some code designed for version 2.2. On Mon, Jan 23, 2012 at 12:05 PM, Florian Antonescu florinantone...@gmail.com wrote: Hi All, I am getting an error (Not enough parameters) when invoking one.imagepool.info with the code I have for OpenNebula 3.0. According to the documentation [1], nothing changed. Is the documentation wrong? Thank you, Florian Antonescu [1] http://opennebula.org/documentation:rel3.2:api#oneimagepoolinfo ___ Users mailing list Users@lists.opennebula.org http://lists.opennebula.org/listinfo.cgi/users-opennebula.org
[one-users] one3.2: XML-RPC one.imagepool.info
Hi All, I am getting an error (Not enough parameters) when invoking one.imagepool.info with the code I have for OpenNebula 3.0. According to the documentation [1], nothing changed. Is the documentation wrong? Thank you, Florian Antonescu [1] http://opennebula.org/documentation:rel3.2:api#oneimagepoolinfo ___ Users mailing list Users@lists.opennebula.org http://lists.opennebula.org/listinfo.cgi/users-opennebula.org
Re: [one-users] one3.2: Problem creating image
Thank you for your answer. Maybe this aspect should be mentioned in the documentation on http://opennebula.org/documentation:rel3.2:vmg Best regards, Florian On Thu, Jan 19, 2012 at 5:40 PM, Ruben S. Montero rube...@dacya.ucm.eswrote: Hi This is a security improvement in 3.2. As the images are copied as oneadmin, any file readable by oneadmin could be registered as an image (including for example /var/lib/one/one.db, other users images /var/lib/one/3/images/disk.0 etc) you can tune the behavior in /etc/one/image/fs.conf, more info at http://www.opennebula.org/documentation:rel3.2:image_repo Cheers Ruben On Thu, Jan 19, 2012 at 5:32 PM, Florian Antonescu florinantone...@gmail.com wrote: I am trying to create an image using OpenNebula 3.2 and the provided ttylinux but I get some strange errors (see below). The strange thing is that if I manually try to copy the image with cp /srv/cloud/one/one-templates/ttylinux.img /srv/cloud/one/var/images/ it works just fine. The /srv/cloud/one/var folder is exported using nfs to the frontend and oneadmin can read and write both one-templates and var/images folders. Any ideas? Thank you, Florian Antonescu Thu Jan 19 08:19:26 2012 [ReM][D]: ImageAllocate method invoked Thu Jan 19 08:19:26 2012 [ImM][I]: Copying /srv/cloud/one/one-templates/ttylinux.img to repository for image 2 Thu Jan 19 08:19:27 2012 [ImG][D]: Message received: LOG I 2 Command execution fail: /srv/cloud/one/var/remotes/image/fs/cp /srv/cloud/one/one-templates/ttylinux.img 2 2 Thu Jan 19 08:19:27 2012 [ImM][I]: Command execution fail: /srv/cloud/one/var/remotes/image/fs/cp /srv/cloud/one/one-templates/ttylinux.img 2 2 Thu Jan 19 08:19:27 2012 [ImG][D]: Message received: LOG E 2 cp: Not allowed to copy images from /srv/cloud/one/var/ /srv/cloud/one/etc/ /srv/cloud/one/ /etc/ Thu Jan 19 08:19:27 2012 [ImM][E]: cp: Not allowed to copy images from /srv/cloud/one/var/ /srv/cloud/one/etc/ /srv/cloud/one/ /etc/ Thu Jan 19 08:19:27 2012 [ImG][D]: Message received: LOG E 2 Not allowed to copy image file /srv/cloud/one/one-templates/ttylinux.img Thu Jan 19 08:19:27 2012 [ImM][E]: Not allowed to copy image file /srv/cloud/one/one-templates/ttylinux.img Thu Jan 19 08:19:27 2012 [ImG][D]: Message received: LOG I 2 ExitCode: 255 Thu Jan 19 08:19:27 2012 [ImM][I]: ExitCode: 255 Thu Jan 19 08:19:27 2012 [ImG][D]: Message received: CP FAILURE 2 Not allowed to copy image file /srv/cloud/one/one-templates/ttylinux.img Thu Jan 19 08:19:27 2012 [ImM][E]: Error copying image in the repository: Not allowed to copy image file /srv/cloud/one/one-templates/ttylinux.img ___ Users mailing list Users@lists.opennebula.org http://lists.opennebula.org/listinfo.cgi/users-opennebula.org -- Dr. Ruben Santiago Montero Associate Professor (Profesor Titular), Complutense University of Madrid URL: http://dsa-research.org/doku.php?id=people:ruben Weblog: http://blog.dsa-research.org/?author=7 ___ 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
[one-users] ONE3.2: create dummy host
Hi, I am trying to add a dummy host on a OpenNebula 3.2 installation using onehost create test-host im_dummy vmm_dummy tm_dummy dummy but from the logs I see that the monitoring is not performed due to: Could not find information driver im_dummy. What is the proper way of adding a dummy host in OpenNebula 3.2? Best regards, Florian Antonescu ___ Users mailing list Users@lists.opennebula.org http://lists.opennebula.org/listinfo.cgi/users-opennebula.org
[one-users] Extending VM monitoring system
Hi All, Can anyone tell me if it is possible to extend the VM monitoring system, similar to extending the extension[1] of the host monitoring system? Thank you, Florian Antonescu [1] https://support.opennebula.pro/entries/352602-extending-the-monitoring-system ___ Users mailing list Users@lists.opennebula.org http://lists.opennebula.org/listinfo.cgi/users-opennebula.org
[one-users] Opennebula 3.2: Problem running install_gems
I get an error (see below) when trying to run opennebula-3.2.0/share/install_gems/install_gems Can someone give me a hint on how to proceed? Best regards, Florian Antonescu No LSB modules are available. Distribution debian detected. About to install these dependencies: * gcc * libexpat1-dev Press enter to continue... apt-get install gcc libexpat1-dev Reading package lists... Done Building dependency tree Reading state information... Done gcc is already the newest version. libexpat1-dev is already the newest version. 0 upgraded, 0 newly installed, 0 to remove and 303 not upgraded. About to install the gems for these components: * optional * sunstone * quota * cloud * ozones_server * acct * auth_ldap Press enter to continue... rake=/usr/bin/rake gem install --no-ri --no-rdoc xmlparser Building native extensions. This could take a while... ERROR: Error installing xmlparser: ERROR: Failed to build gem native extension. /usr/bin/rake RUBYARCHDIR=/var/lib/gems/1.8/gems/xmlparser-0.6.81/lib RUBYLIBDIR=/var/lib/gems/1.8/gems/xmlparser-0.6.81/lib rm -rf test/coverage NOTE: Gem::Specification#has_rdoc= is deprecated with no replacement. It will be removed on or after 2011-10-01. Gem::Specification#has_rdoc= called from /var/lib/gems/1.8/gems/mkrf-0.2.3/lib/mkrf/rakehelper.rb:81 . NOTE: Gem::Specification#has_rdoc= is deprecated with no replacement. It will be removed on or after 2011-10-01. Gem::Specification#has_rdoc= called from /var/lib/gems/1.8/gems/xmlparser-0.6.81/Rakefile:30 . /usr/bin/ruby1.8 mkrf_conf.rb (in /var/lib/gems/1.8/gems/xmlparser-0.6.81) rake gcc -fPIC -fno-strict-aliasing -g -g -O2 -fPIC-DHAVE_EXPAT_H -I/usr/include -I/usr/lib/ruby/1.8/x86_64-linux -I/usr/local/lib/site_ruby/1.8 -I. -c xmlparser.c (in /var/lib/gems/1.8/gems/xmlparser-0.6.81/ext/xmlparser) xmlparser.c: In function âXMLParser_getIdAttrributeâ: xmlparser.c:2022:16: error: âXMLParserâ has no member named âlastAttrsâ rake aborted! Command failed with status (1): [gcc -fPIC -fno-strict-aliasing -g -g -O2 ...] /var/lib/gems/1.8/gems/xmlparser-0.6.81/ext/xmlparser/Rakefile:29 (See full trace by running task with --trace) rake aborted! Command failed with status (1): [rake...] (See full trace by running task with --trace) Gem files will remain installed in /var/lib/gems/1.8/gems/xmlparser-0.6.81 for inspection. Results logged to /var/lib/gems/1.8/gems/xmlparser-0.6.81/./gem_make.out Error executing rake=/usr/bin/rake gem install --no-ri --no-rdoc xmlparser ___ Users mailing list Users@lists.opennebula.org http://lists.opennebula.org/listinfo.cgi/users-opennebula.org
Re: [one-users] Opennebula 3.2: Problem running install_gems
This gave me the following error, so I don't think it is the best way to go. Could it be that there is an error in OpenNebula's install_gems script (perhaps a version mismatch)? ERROR: gem update --system is disabled on Debian, because it will overwrite the content of the rubygems Debian package, and might break your Debian system in subtle ways. The Debian-supported way to update rubygems is through apt-get, using Debian official repositories. If you really know what you are doing, you can still update rubygems by setting the REALLY_GEM_UPDATE_SYSTEM environment variable, but please remember that this is completely unsupported by Debian. On Thu, Jan 19, 2012 at 2:11 PM, Nasser Mooman nmoo...@yahoo.com wrote: update your gem and rubygems. gem update --system 1.3.7 gem install rubygems-update I hope this helps. --Mooman On 19/01/2012 7:31 AM, Florian Antonescu wrote: I get an error (see below) when trying to run opennebula-3.2.0/share/install_gems/install_gems Can someone give me a hint on how to proceed? Best regards, Florian Antonescu No LSB modules are available. Distribution debian detected. About to install these dependencies: * gcc * libexpat1-dev Press enter to continue... apt-get install gcc libexpat1-dev Reading package lists... Done Building dependency tree Reading state information... Done gcc is already the newest version. libexpat1-dev is already the newest version. 0 upgraded, 0 newly installed, 0 to remove and 303 not upgraded. About to install the gems for these components: * optional * sunstone * quota * cloud * ozones_server * acct * auth_ldap Press enter to continue... rake=/usr/bin/rake gem install --no-ri --no-rdoc xmlparser Building native extensions. This could take a while... ERROR: Error installing xmlparser: ERROR: Failed to build gem native extension. /usr/bin/rake RUBYARCHDIR=/var/lib/gems/1.8/gems/xmlparser-0.6.81/lib RUBYLIBDIR=/var/lib/gems/1.8/gems/xmlparser-0.6.81/lib rm -rf test/coverage NOTE: Gem::Specification#has_rdoc= is deprecated with no replacement. It will be removed on or after 2011-10-01. Gem::Specification#has_rdoc= called from /var/lib/gems/1.8/gems/mkrf-0.2.3/lib/mkrf/rakehelper.rb:81 . NOTE: Gem::Specification#has_rdoc= is deprecated with no replacement. It will be removed on or after 2011-10-01. Gem::Specification#has_rdoc= called from /var/lib/gems/1.8/gems/xmlparser-0.6.81/Rakefile:30 . /usr/bin/ruby1.8 mkrf_conf.rb (in /var/lib/gems/1.8/gems/xmlparser-0.6.81) rake gcc -fPIC -fno-strict-aliasing -g -g -O2 -fPIC-DHAVE_EXPAT_H -I/usr/include -I/usr/lib/ruby/1.8/x86_64-linux -I/usr/local/lib/site_ruby/1.8 -I. -c xmlparser.c (in /var/lib/gems/1.8/gems/xmlparser-0.6.81/ext/xmlparser) xmlparser.c: In function âXMLParser_getIdAttrributeâ: xmlparser.c:2022:16: error: âXMLParserâ has no member named âlastAttrsâ rake aborted! Command failed with status (1): [gcc -fPIC -fno-strict-aliasing -g -g -O2 ...] /var/lib/gems/1.8/gems/xmlparser-0.6.81/ext/xmlparser/Rakefile:29 (See full trace by running task with --trace) rake aborted! Command failed with status (1): [rake...] (See full trace by running task with --trace) Gem files will remain installed in /var/lib/gems/1.8/gems/xmlparser-0.6.81 for inspection. Results logged to /var/lib/gems/1.8/gems/xmlparser-0.6.81/./gem_make.out Error executing rake=/usr/bin/rake gem install --no-ri --no-rdoc xmlparser ___ Users mailing listUsers@lists.opennebula.orghttp://lists.opennebula.org/listinfo.cgi/users-opennebula.org ___ Users mailing list Users@lists.opennebula.org http://lists.opennebula.org/listinfo.cgi/users-opennebula.org
[one-users] Download link for OpenNebula 3.2 tar.gz archive
Can anyone tell me the download link for OpenNebula 3.2 tar.gz archive? For ONE 3.0 it was wget http://dev.opennebula.org/attachments/download/478/opennebula-3.0.0.tar.gzbut I don't seem to find a similar one for version 3.2. Thank you, Florian Antonescu ___ Users mailing list Users@lists.opennebula.org http://lists.opennebula.org/listinfo.cgi/users-opennebula.org
[one-users] one3.2: Problem creating image
I am trying to create an image using OpenNebula 3.2 and the provided ttylinux but I get some strange errors (see below). The strange thing is that if I manually try to copy the image with cp /srv/cloud/one/one-templates/ttylinux.img /srv/cloud/one/var/images/ it works just fine. The /srv/cloud/one/var folder is exported using nfs to the frontend and oneadmin can read and write both one-templates and var/images folders. Any ideas? Thank you, Florian Antonescu Thu Jan 19 08:19:26 2012 [ReM][D]: ImageAllocate method invoked Thu Jan 19 08:19:26 2012 [ImM][I]: Copying /srv/cloud/one/one-templates/ttylinux.img to repository for image 2 Thu Jan 19 08:19:27 2012 [ImG][D]: Message received: LOG I 2 Command execution fail: /srv/cloud/one/var/remotes/image/fs/cp /srv/cloud/one/one-templates/ttylinux.img 2 2 Thu Jan 19 08:19:27 2012 [ImM][I]: Command execution fail: /srv/cloud/one/var/remotes/image/fs/cp /srv/cloud/one/one-templates/ttylinux.img 2 2 Thu Jan 19 08:19:27 2012 [ImG][D]: Message received: LOG E 2 cp: Not allowed to copy images from /srv/cloud/one/var/ /srv/cloud/one/etc/ /srv/cloud/one/ /etc/ Thu Jan 19 08:19:27 2012 [ImM][E]: cp: Not allowed to copy images from /srv/cloud/one/var/ /srv/cloud/one/etc/ /srv/cloud/one/ /etc/ Thu Jan 19 08:19:27 2012 [ImG][D]: Message received: LOG E 2 Not allowed to copy image file /srv/cloud/one/one-templates/ttylinux.img Thu Jan 19 08:19:27 2012 [ImM][E]: Not allowed to copy image file /srv/cloud/one/one-templates/ttylinux.img Thu Jan 19 08:19:27 2012 [ImG][D]: Message received: LOG I 2 ExitCode: 255 Thu Jan 19 08:19:27 2012 [ImM][I]: ExitCode: 255 Thu Jan 19 08:19:27 2012 [ImG][D]: Message received: CP FAILURE 2 Not allowed to copy image file /srv/cloud/one/one-templates/ttylinux.img Thu Jan 19 08:19:27 2012 [ImM][E]: Error copying image in the repository: Not allowed to copy image file /srv/cloud/one/one-templates/ttylinux.img ___ Users mailing list Users@lists.opennebula.org http://lists.opennebula.org/listinfo.cgi/users-opennebula.org
Re: [one-users] Download link for OpenNebula 3.2 tar.gz archive
I want to use the download link with wget, not with a browser, in order to use it in a script. On Thu, Jan 19, 2012 at 5:25 PM, Mohit Dhingra mohitdhing...@gmail.comwrote: http://downloads.opennebula.org/ Select OpenNebula3.2.0 tar ball * Thanks Regards Mohit Dhingra +919611190435* On 19 January 2012 19:27, Florian Antonescu florinantone...@gmail.comwrote: Can anyone tell me the download link for OpenNebula 3.2 tar.gz archive? For ONE 3.0 it was wget http://dev.opennebula.org/attachments/download/478/opennebula-3.0.0.tar.gzbut I don't seem to find a similar one for version 3.2. Thank you, Florian Antonescu ___ 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
Re: [one-users] Hosts not monitored
This problem is persisting even re-installation of OpenNebula 3.0. I have tried to enable debugging by exporting ONE_MAD_DEBUG but I see no extra messages logged to oned.log and no new file created in var folder. Everything appears to be working properly, except that it doesn't. These are the messages logged to var/oned.log Fri Oct 7 09:18:53 2011 [InM][I]: Monitoring host zrhs9 (0) Fri Oct 7 09:18:55 2011 [InM][I]: ExitCode: 0 Fri Oct 7 09:18:59 2011 [ReM][D]: HostPoolInfo method invoked From here it would seem that the monitoring code is executed properly. Also, when I run onehost show 0 this is what is displayed: HOST 0 INFORMATION ID: 0 NAME : zrhs69 STATE : INIT IM_MAD: im_kvm VM_MAD: vmm_kvm TM_MAD: tm_shared HOST SHARES MAX MEM : 0 USED MEM (REAL) : 0 USED MEM (ALLOCATED) : 0 MAX CPU : 0 USED CPU (REAL) : 0 USED CPU (ALLOCATED) : 0 RUNNING VMS : 0 MONITORING INFORMATION The monitoring information is missing and no extra error message is displayed. Can someone give me some help with debugging this? Best regards, Florian On Thu, Oct 6, 2011 at 3:14 PM, Alexandru - Florian Antonescu florinantone...@gmail.com wrote: Hello, After digging though the scripts, I reached the point were the one_im_exec.rb ruby script is called and from here I couldn't follow anymore. When running the script I don't get any output, and if I interrupt the script I get the following output. Can someone help me identify what is going on? ./lib/mads/one_im_exec.rb -r 0 -t 15 kvm ^C/srv/cloud/one/lib/ruby/ActionManager.rb:168:in `wait': Interrupt from /srv/cloud/one/lib/ruby/ActionManager.rb:168:in `start_listener' from /srv/cloud/one/lib/ruby/ActionManager.rb:166:in `synchronize' from /srv/cloud/one/lib/ruby/ActionManager.rb:166:in `start_listener' from /srv/cloud/one/lib/ruby/OpenNebulaDriver.rb:300:in `start_driver' from ./lib/mads/one_im_exec.rb:117 Best regards, Florian On Thu, Oct 6, 2011 at 12:30 PM, Valentin Bud valentin@gmail.comwrote: On Thu, Oct 6, 2011 at 1:09 PM, Alexandru - Florian Antonescu florinantone...@gmail.com wrote: Hello, I have recently installed OpenNebula 3.0 (from source) and noticed that the added hosts are not being monitored, they just remain in INIT state. In var/oned.log I see entries like these: Thu Oct 6 08:01:51 2011 [InM][I]: Monitoring host zrhs69 (2) Thu Oct 6 08:01:51 2011 [InM][I]: Monitoring host zrhs6a (3) Thu Oct 6 08:02:06 2011 [ReM][D]: HostPoolInfo method invoked oneadmin user is able to ssh into the hosts without a password. After looking in etc/im_kvm folder I saw that it is empty. Is this normal? How are hosts being monitored in OpenNebula 3.0 ? Can anyone give me a hint on how to proceed? Best regards, Florian ___ Users mailing list Users@lists.opennebula.org http://lists.opennebula.org/listinfo.cgi/users-opennebula.org Hello Florian, In /etc/one/oned.conf at the KVM Information Driver Manager Configuration section: IM_MAD = [ name = im_kvm, executable = one_im_ssh, arguments = -r 0 -t 15 kvm ] The executable one_im_ssh is located in /usr/lib/one/mads or $ONE_LOCATION/lib/mads, depends if you installed OpenNebula self contained on in root (/). The one_im_ssh script sets $MAD_LOCATION and executes $MAD_LOCATION/one_im_exec $*. Maybe you can find out what happens following the logic found in those scripts. The monitoring part works for me. I have ONE3.0 on Debian Squeeze (6.0.2) as frontend. The nodes are also Debian 6.0.2 with qemu-kvm 0.12.5 and libvirt 0.8.3-5. Have a great day, v -- network warrior ___ Users mailing list Users@lists.opennebula.org http://lists.opennebula.org/listinfo.cgi/users-opennebula.org
Re: [one-users] Hosts not monitored
The problem seems to have been NFS related (var folder was not mounted correctly on hosts). On Fri, Oct 7, 2011 at 2:00 PM, Alexandru - Florian Antonescu florinantone...@gmail.com wrote: This problem is persisting even re-installation of OpenNebula 3.0. I have tried to enable debugging by exporting ONE_MAD_DEBUG but I see no extra messages logged to oned.log and no new file created in var folder. Everything appears to be working properly, except that it doesn't. These are the messages logged to var/oned.log Fri Oct 7 09:18:53 2011 [InM][I]: Monitoring host zrhs9 (0) Fri Oct 7 09:18:55 2011 [InM][I]: ExitCode: 0 Fri Oct 7 09:18:59 2011 [ReM][D]: HostPoolInfo method invoked From here it would seem that the monitoring code is executed properly. Also, when I run onehost show 0 this is what is displayed: HOST 0 INFORMATION ID: 0 NAME : zrhs69 STATE : INIT IM_MAD: im_kvm VM_MAD: vmm_kvm TM_MAD: tm_shared HOST SHARES MAX MEM : 0 USED MEM (REAL) : 0 USED MEM (ALLOCATED) : 0 MAX CPU : 0 USED CPU (REAL) : 0 USED CPU (ALLOCATED) : 0 RUNNING VMS : 0 MONITORING INFORMATION The monitoring information is missing and no extra error message is displayed. Can someone give me some help with debugging this? Best regards, Florian On Thu, Oct 6, 2011 at 3:14 PM, Alexandru - Florian Antonescu florinantone...@gmail.com wrote: Hello, After digging though the scripts, I reached the point were the one_im_exec.rb ruby script is called and from here I couldn't follow anymore. When running the script I don't get any output, and if I interrupt the script I get the following output. Can someone help me identify what is going on? ./lib/mads/one_im_exec.rb -r 0 -t 15 kvm ^C/srv/cloud/one/lib/ruby/ActionManager.rb:168:in `wait': Interrupt from /srv/cloud/one/lib/ruby/ActionManager.rb:168:in `start_listener' from /srv/cloud/one/lib/ruby/ActionManager.rb:166:in `synchronize' from /srv/cloud/one/lib/ruby/ActionManager.rb:166:in `start_listener' from /srv/cloud/one/lib/ruby/OpenNebulaDriver.rb:300:in `start_driver' from ./lib/mads/one_im_exec.rb:117 Best regards, Florian On Thu, Oct 6, 2011 at 12:30 PM, Valentin Bud valentin@gmail.comwrote: On Thu, Oct 6, 2011 at 1:09 PM, Alexandru - Florian Antonescu florinantone...@gmail.com wrote: Hello, I have recently installed OpenNebula 3.0 (from source) and noticed that the added hosts are not being monitored, they just remain in INIT state. In var/oned.log I see entries like these: Thu Oct 6 08:01:51 2011 [InM][I]: Monitoring host zrhs69 (2) Thu Oct 6 08:01:51 2011 [InM][I]: Monitoring host zrhs6a (3) Thu Oct 6 08:02:06 2011 [ReM][D]: HostPoolInfo method invoked oneadmin user is able to ssh into the hosts without a password. After looking in etc/im_kvm folder I saw that it is empty. Is this normal? How are hosts being monitored in OpenNebula 3.0 ? Can anyone give me a hint on how to proceed? Best regards, Florian ___ Users mailing list Users@lists.opennebula.org http://lists.opennebula.org/listinfo.cgi/users-opennebula.org Hello Florian, In /etc/one/oned.conf at the KVM Information Driver Manager Configuration section: IM_MAD = [ name = im_kvm, executable = one_im_ssh, arguments = -r 0 -t 15 kvm ] The executable one_im_ssh is located in /usr/lib/one/mads or $ONE_LOCATION/lib/mads, depends if you installed OpenNebula self contained on in root (/). The one_im_ssh script sets $MAD_LOCATION and executes $MAD_LOCATION/one_im_exec $*. Maybe you can find out what happens following the logic found in those scripts. The monitoring part works for me. I have ONE3.0 on Debian Squeeze (6.0.2) as frontend. The nodes are also Debian 6.0.2 with qemu-kvm 0.12.5 and libvirt 0.8.3-5. Have a great day, v -- network warrior ___ Users mailing list Users@lists.opennebula.org http://lists.opennebula.org/listinfo.cgi/users-opennebula.org
[one-users] Hosts not monitored
Hello, I have recently installed OpenNebula 3.0 (from source) and noticed that the added hosts are not being monitored, they just remain in INIT state. In var/oned.log I see entries like these: Thu Oct 6 08:01:51 2011 [InM][I]: Monitoring host zrhs69 (2) Thu Oct 6 08:01:51 2011 [InM][I]: Monitoring host zrhs6a (3) Thu Oct 6 08:02:06 2011 [ReM][D]: HostPoolInfo method invoked oneadmin user is able to ssh into the hosts without a password. After looking in etc/im_kvm folder I saw that it is empty. Is this normal? How are hosts being monitored in OpenNebula 3.0 ? Can anyone give me a hint on how to proceed? Best regards, Florian ___ Users mailing list Users@lists.opennebula.org http://lists.opennebula.org/listinfo.cgi/users-opennebula.org
Re: [one-users] Hosts not monitored
Hello, After digging though the scripts, I reached the point were the one_im_exec.rb ruby script is called and from here I couldn't follow anymore. When running the script I don't get any output, and if I interrupt the script I get the following output. Can someone help me identify what is going on? ./lib/mads/one_im_exec.rb -r 0 -t 15 kvm ^C/srv/cloud/one/lib/ruby/ActionManager.rb:168:in `wait': Interrupt from /srv/cloud/one/lib/ruby/ActionManager.rb:168:in `start_listener' from /srv/cloud/one/lib/ruby/ActionManager.rb:166:in `synchronize' from /srv/cloud/one/lib/ruby/ActionManager.rb:166:in `start_listener' from /srv/cloud/one/lib/ruby/OpenNebulaDriver.rb:300:in `start_driver' from ./lib/mads/one_im_exec.rb:117 Best regards, Florian On Thu, Oct 6, 2011 at 12:30 PM, Valentin Bud valentin@gmail.comwrote: On Thu, Oct 6, 2011 at 1:09 PM, Alexandru - Florian Antonescu florinantone...@gmail.com wrote: Hello, I have recently installed OpenNebula 3.0 (from source) and noticed that the added hosts are not being monitored, they just remain in INIT state. In var/oned.log I see entries like these: Thu Oct 6 08:01:51 2011 [InM][I]: Monitoring host zrhs69 (2) Thu Oct 6 08:01:51 2011 [InM][I]: Monitoring host zrhs6a (3) Thu Oct 6 08:02:06 2011 [ReM][D]: HostPoolInfo method invoked oneadmin user is able to ssh into the hosts without a password. After looking in etc/im_kvm folder I saw that it is empty. Is this normal? How are hosts being monitored in OpenNebula 3.0 ? Can anyone give me a hint on how to proceed? Best regards, Florian ___ Users mailing list Users@lists.opennebula.org http://lists.opennebula.org/listinfo.cgi/users-opennebula.org Hello Florian, In /etc/one/oned.conf at the KVM Information Driver Manager Configuration section: IM_MAD = [ name = im_kvm, executable = one_im_ssh, arguments = -r 0 -t 15 kvm ] The executable one_im_ssh is located in /usr/lib/one/mads or $ONE_LOCATION/lib/mads, depends if you installed OpenNebula self contained on in root (/). The one_im_ssh script sets $MAD_LOCATION and executes $MAD_LOCATION/one_im_exec $*. Maybe you can find out what happens following the logic found in those scripts. The monitoring part works for me. I have ONE3.0 on Debian Squeeze (6.0.2) as frontend. The nodes are also Debian 6.0.2 with qemu-kvm 0.12.5 and libvirt 0.8.3-5. Have a great day, v -- network warrior ___ Users mailing list Users@lists.opennebula.org http://lists.opennebula.org/listinfo.cgi/users-opennebula.org
Re: [one-users] Unable to migrate virtual machines
I have solved this by upgrading to libvirt version 0.9.2 as it seems this behaviour was related to libvirt 0.8.3 which is the version installed on Ubuntu 10.10. I have also updated nodes' OS to ubuntu version 11.10. On Aug 30, 2011 10:42 AM, Alexandru - Florian Antonescu florinantone...@gmail.com wrote: Hello, I am having some problems while trying to migrate a virtual machine using OpenNebula 3.0 Beta 1 with NFS and KVM on Ubuntu 10.10. The error seems to be related to virsh restore (cannot close file: Bad file descriptor). Does anyone have any ideas about what could be causing this? Thank you, Florian The error log follows: Tue Aug 30 06:31:20 2011 [LCM][I]: New VM state is RUNNING Tue Aug 30 06:33:54 2011 [LCM][I]: New VM state is SAVE_MIGRATE Tue Aug 30 06:34:02 2011 [VMM][I]: save: Executed virsh --connect qemu:///system save one-67 /srv/cloud/one/var/67/images/checkpoint. Tue Aug 30 06:34:02 2011 [VMM][I]: ExitCode: 0 Tue Aug 30 06:34:02 2011 [LCM][I]: New VM state is PROLOG_MIGRATE Tue Aug 30 06:34:02 2011 [TM][I]: tm_mv.sh: Will not move, source and destination are equal Tue Aug 30 06:34:02 2011 [TM][I]: ExitCode: 0 Tue Aug 30 06:34:02 2011 [LCM][I]: New VM state is BOOT Tue Aug 30 06:34:33 2011 [VMM][I]: Command execution fail: 'if [ -x /var/tmp/one/vmm/kvm/restore ]; then /var/tmp/one/vmm/kvm/restore /srv/cloud/one/var/67/images/checkpoint zrhsa 67 zrhsa; else exit 42; fi' Tue Aug 30 06:34:33 2011 [VMM][E]: restore: Command virsh --connect qemu:///system restore /srv/cloud/one/var/67/images/checkpoint failed. Tue Aug 30 06:34:33 2011 [VMM][E]: restore: error: Failed to restore domain from /srv/cloud/one/var/67/images/checkpoint Tue Aug 30 06:34:33 2011 [VMM][I]: error: cannot close file: Bad file descriptor Tue Aug 30 06:34:33 2011 [VMM][E]: Could not restore from /srv/cloud/one/var/67/images/checkpoint Tue Aug 30 06:34:33 2011 [VMM][I]: ExitCode: 1 Tue Aug 30 06:34:33 2011 [VMM][E]: Error restoring VM: Could not restore from /srv/cloud/one/var/67/images/checkpoint Tue Aug 30 06:34:33 2011 [DiM][I]: New VM state is FAILED Tue Aug 30 06:34:33 2011 [TM][W]: Ignored: LOG I 67 tm_delete.sh: Deleting /srv/cloud/one/var/67/images Tue Aug 30 06:34:33 2011 [TM][W]: Ignored: LOG I 67 tm_delete.sh: Executed rm -rf /srv/cloud/one/var/67/images. Tue Aug 30 06:34:33 2011 [TM][W]: Ignored: LOG I 67 ExitCode: 0 Tue Aug 30 06:34:33 2011 [TM][W]: Ignored: TRANSFER SUCCESS 67 - ___ Users mailing list Users@lists.opennebula.org http://lists.opennebula.org/listinfo.cgi/users-opennebula.org