Re: [one-users] Upgrading of the physical nodes xen problem(OpenNebula2.2)
Hi, Maybe the patches included in tickets [1] [2] can solve your problem. Could you please log in to the host as oneadmin, and paste the output of 'sudo /usr/sbin/xentop -bi2'? We could use the feedback to fix it. Regards, Carlos. [1] http://dev.opennebula.org/issues/656 [2] http://dev.opennebula.org/issues/567 -- Carlos Martín, MSc Project Major Contributor OpenNebula - The Open Source Toolkit for Cloud Computing www.OpenNebula.org | cmar...@opennebula.org On Mon, Jul 25, 2011 at 10:51 AM, david liude...@neusoft.com wrote: Hi, My operating system (the physical nodes ) is centos5.4 , the default xen3.1.2 upgrade to xen3.4.3. In xen3.1.2, the information is no problem to query the virtual machine by xen poll. After creating a virtual machine can not check cpu, memory information, the implementation of xen poll script error as follows: [root@node150 images]# /var/tmp/one/vmm/xen/poll one-0 Error executing sudo /usr/sbin/xentop -bi2 /var/tmp/one/vmm/xen/poll:186:in `get_vm_info': undefined method `[]' for nil:NilClass (NoMethodError) from /var/tmp/one/vmm/xen/poll:310:in `print_one_vm_info' from /var/tmp/one/vmm/xen/poll:344 ask for advice Regards! david linus 2011-07-25 linus --- Confidentiality Notice: The information contained in this e-mail and any accompanying attachment(s) is intended only for the use of the intended recipient and may be confidential and/or privileged of Neusoft Corporation, its subsidiaries and/or its affiliates. If any reader of this communication is not the intended recipient, unauthorized use, forwarding, printing, storing, disclosure or copying is strictly prohibited, and may be unlawful.If you have received this communication in error,please immediately notify the sender by return e-mail, and delete the original message and all copies from your system. Thank you. --- ___ 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] onetemplate chown bug
Hi Rogier, Thanks for the feedback, it is now fixed in master [1] Regards. [1] http://dev.opennebula.org/projects/opennebula/repository/revisions/85d8ef3e7c9af970a206e852510bbaf963c61541 -- Carlos Martín, MSc Project Major Contributor OpenNebula - The Open Source Toolkit for Cloud Computing www.OpenNebula.org | cmar...@opennebula.org On Sun, Jul 31, 2011 at 12:10 AM, Rogier Mars rog...@fortytwo.nl wrote: Hi, It looks like there is a small bug in the onetemplate chown command. According to the help included with the command, it should be possible to chown a template to a specific user and group in one command: * chown range|templateid_list userid [groupid] Changes the Template owner and group When I try to do that I get the following message: -bash-3.2$ onetemplate chown 4 0 1 /usr/bin/onetemplate:151: undefined method `to_id' for 1:Fixnum (NoMethodError) from /usr/lib/one/ruby/cli/command_parser.rb:172:in `call' from /usr/lib/one/ruby/cli/command_parser.rb:172:in `run' from /usr/lib/one/ruby/cli/command_parser.rb:79:in `initialize' from /usr/bin/onetemplate:33:in `new' from /usr/bin/onetemplate:33 -bash-3.2$ The individual commands chgrp and chown to change group and change owner of a template work fine. Best regards, rogier ___ 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] [Beta 3.0] Sunstone Cluster features
Hi, the live migration action can be found under the drop-down menu in the Virtual Machines view. It is only active for users belonging to the oneadmin group (or group with gid=0). Perhaps that is why you don't see it? This action, as well as others such deploy, are not active for default users because the default ACL does not give permission to list or use hosts. Making it visible for non-admins requires adding the correct ACL, enabling the right plugins and modiying a couple of lines of code in the vms-tab plugin [1]. About the ability to see what vms exist on what host, you can simply use the search box at the top of the VMs list, and grep the table writing the hostname. Hector [1] I can provide more details into the process. Also, the Sunstone plugin guide is here: http://opennebula.org/documentation:rel3.0:sunstone_plugin_guide El 31/07/11 15:18, Chris Richardson escribió: I was did not see features like live migration or the ability to see what vms exist on what host. I looked arround and think it is an acl command i need to use but I was unable to figure it out and was hoping some one had some details on it. -Chris ___ Users mailing list Users@lists.opennebula.org http://lists.opennebula.org/listinfo.cgi/users-opennebula.org -- Héctor Sanjuán OpenNebula Sunstone Developer ___ Users mailing list Users@lists.opennebula.org http://lists.opennebula.org/listinfo.cgi/users-opennebula.org
Re: [one-users] [Beta 3.0] Sunstone-Server error on starting
Hi Christoph, regarding the firewall hook, I've reviewed the rules and simulated your scenario and it's the expected behaviour. The ping should work from the worker node running the vm to the vm, but it won't from other vms, which is the purpose of the filter. Could you please start another VM and try pinging from there? Regards, Jaime 2011/7/29 Christoph Raible c.rai...@science-computing.de Hi Carlos, this doesn't work for me... I uncomment this options and restart the one daemon. Then I create a virtual Machine with following Template: https://pastee.org/j6f3d After commenting out Default requiretty in /etc/sudoers creation and inserting IPTABLES rule works but have no effect... An IPTABLES -L shows me the following output: https://pastee.org/vjynr But I can Ping my VM... Is it possible that the Firwalling is still buggy? Or is this an error of my bridged network configuration? Regards Chritoph Am 27.07.2011 17:16, schrieb Carlos Martín Sánchez: Hi Christoph, We are aware of the top command bug, see [1] if you are interested in the ticket. As for the iptables configuration, we are still improving the documentation and some requirements and configurations are not as detailed as they should. Some of the networking features have to be activated editing /etc/one/oned.conf I believe you just need to uncomment this hook: VM_HOOK = [ name = firewall, on= RUNNING, command = vnm/firewall, arguments = on $TEMPLATE, remote= yes ] And restart OpenNebula with one stop; one start Best regards, Carlos. [1] http://dev.opennebula.org/**issues/747http://dev.opennebula.org/issues/747 -- Carlos Martín, MSc Project Major Contributor OpenNebula - The Open Source Toolkit for Cloud Computing www.OpenNebula.org http://www.opennebula.org/ | cmar...@opennebula.org mailto:cmar...@opennebula.org** On Wed, Jul 27, 2011 at 2:00 PM, Christoph Raible c.rai...@science-computing.de mailto:c.raible@science-**computing.dec.rai...@science-computing.de wrote: Am 27.07.2011 11 tel:27.07.2011%2011:14, schrieb Héctor Sanjuán: Hi Christoph, it seems the ruby gem 'sequel' is not present in your system. This gem is needed by the monitoring system (requirements in [1], also seems you are missing sqlite3), which is used by Sunstone (requirements in [2]). You can install the missing dependencies manually issuing 'gem install...'. Also, in order to assure that you have all the dependencies necessary for OpenNebula in general, we recommend to use the 'install_gems' script [3], which will try to install all the ruby gems for you in their correct versions. For Scientific linux, this means however that you will need to install the packages listed in the doc manually before the script can proceed to install the gems. Don't hesitate to write back if you have more questions, Hector [1] http://opennebula.org/__**documentation:rel3.0:acctd___** conf#requirements_installationhttp://opennebula.org/__documentation:rel3.0:acctd___conf#requirements_installation http://opennebula.org/**documentation:rel3.0:acctd_** conf#requirements_installationhttp://opennebula.org/documentation:rel3.0:acctd_conf#requirements_installation ** [2] http://opennebula.org/__**documentation:rel3.0:sunstone#** __requirements_installationhttp://opennebula.org/__documentation:rel3.0:sunstone#__requirements_installation http://opennebula.org/**documentation:rel3.0:sunstone#** requirements_installationhttp://opennebula.org/documentation:rel3.0:sunstone#requirements_installation [3] http://opennebula.org/__**documentation:rel3.0:ignc#__** ruby_libraries_requirements___**front-endhttp://opennebula.org/__documentation:rel3.0:ignc#__ruby_libraries_requirements___front-end http://opennebula.org/**documentation:rel3.0:ignc#** ruby_libraries_requirements_**front-endhttp://opennebula.org/documentation:rel3.0:ignc#ruby_libraries_requirements_front-end El 27/07/11 10:21, Christoph Raible escribió: Hi @all, I got the following error on Starting sunstone-server with OpenNebula 3.0 Beta1. http://pastebin.com/SdBJZSc5 My System is a 64-Bit Scientific Linux 6.0 Selinux disabled iptables disabled One networkinterface as bridge Following Gems are installed: daemons (1.1.4) eventmachine (0.12.10) json (1.5.3) mkrf (0.2.3) nokogiri (1.5.0) rack (1.3.2) rake (0.9.2, 0.8.7) sinatra (1.2.6) thin (1.2.11) tilt (1.3.2) and my
[one-users] deploy vm failed
Hello, I'm trying to configure Opennebula 2.2.1 in Ubuntu 11.04 and some Xen nodes in Centos 5.6 (xen-3.0.3), I have installed Opennebula from source and an NFS storage dir to share the installation dir and images with Xen nodes (/srv/cloud/one). I have test also with tm_ssh and tm_nfs. I can create a host and it can be monitored I can create an Image (ttylinux or xen image) correctly I can create Virtual Networks such Small network that comes with ttylinux example I can create Virtual machines but when they are deployed I have always the next error: NAME = ttylinux2 CPU= 0.1 MEMORY = 64 DISK = [ IMAGE_ID = 1 ] NIC= [ NETWORK_ID = 1 ] FEATURES=[ acpi=no ] Sun Jul 31 23:42:11 2011 [DiM][I]: New VM state is ACTIVE. Sun Jul 31 23:42:11 2011 [LCM][I]: New VM state is PROLOG. Sun Jul 31 23:42:11 2011 [VM][I]: Virtual Machine has no context Sun Jul 31 23:42:18 2011 [TM][I]: tm_clone.sh: opennebula:/srv/cloud/images/ttylinux/ttylinux.img node1:/srv/cloud/one/var//8/images/disk.0 Sun Jul 31 23:42:18 2011 [TM][I]: tm_clone.sh: DST: /srv/cloud/one/var//8/images/disk.0 Sun Jul 31 23:42:18 2011 [TM][I]: tm_clone.sh: Creating directory /srv/cloud/one/var//8/images Sun Jul 31 23:42:18 2011 [TM][I]: tm_clone.sh: Executed mkdir -p /srv/cloud/one/var//8/images. Sun Jul 31 23:42:18 2011 [TM][I]: tm_clone.sh: Executed chmod a+w /srv/cloud/one/var//8/images. Sun Jul 31 23:42:19 2011 [TM][I]: tm_clone.sh: Cloning /srv/cloud/images/ttylinux/ttylinux.img Sun Jul 31 23:42:19 2011 [TM][I]: tm_clone.sh: Executed cp -r /srv/cloud/images/ttylinux/ttylinux.img /srv/cloud/one/var//8/images/disk.0. Sun Jul 31 23:42:19 2011 [TM][I]: tm_clone.sh: Executed chmod a+rw /srv/cloud/one/var//8/images/disk.0. Sun Jul 31 23:42:19 2011 [LCM][I]: New VM state is BOOT Sun Jul 31 23:42:19 2011 [VMM][I]: Generating deployment file: /srv/cloud/one/var/8/deployment.0 Sun Jul 31 23:42:19 2011 [VMM][E]: No kernel or bootloader defined and no default provided. Sun Jul 31 23:42:19 2011 [VMM][E]: deploy_action, error generating deployment file: /srv/cloud/one/var/8/deployment.0 Sun Jul 31 23:42:20 2011 [DiM][I]: New VM state is FAILED Sun Jul 31 23:42:21 2011 [TM][W]: Ignored: LOG - 8 tm_delete.sh: Deleting /srv/cloud/one/var//8/images Sun Jul 31 23:42:21 2011 [TM][W]: Ignored: LOG - 8 tm_delete.sh: Executed rm -rf /srv/cloud/one/var//8/images. Sun Jul 31 23:42:21 2011 [TM][W]: Ignored: TRANSFER SUCCESS 8 - Mon Aug 1 15:59:54 2011 [DiM][I]: New VM state is DONE. If I insert the bootloader I only have one error but the deploy fails... NAME = ttylinux2 CPU= 0.1 MEMORY = 64 DISK = [ IMAGE_ID = 1 ] NIC= [ NETWORK_ID = 1 ] FEATURES=[ acpi=no ] OS = [ bootloader = /usr/bin/pygrub ] Mon Aug 1 22:08:29 2011 [DiM][I]: New VM state is ACTIVE. Mon Aug 1 22:08:30 2011 [LCM][I]: New VM state is PROLOG. Mon Aug 1 22:08:30 2011 [VM][I]: Virtual Machine has no context Mon Aug 1 22:08:35 2011 [TM][I]: tm_clone.sh: opennebula:/srv/cloud/one/var//images/dcc95e49f324ce936f459ef135079cc69a12eef6 node1:/srv/cloud/one/var//15/images/disk.0 Mon Aug 1 22:08:35 2011 [TM][I]: tm_clone.sh: DST: /srv/cloud/one/var//15/images/disk.0 Mon Aug 1 22:08:35 2011 [TM][I]: tm_clone.sh: Creating directory /srv/cloud/one/var//15/images Mon Aug 1 22:08:35 2011 [TM][I]: tm_clone.sh: Executed mkdir -p /srv/cloud/one/var//15/images. Mon Aug 1 22:08:35 2011 [TM][I]: tm_clone.sh: Executed chmod a+w /srv/cloud/one/var//15/images. Mon Aug 1 22:08:35 2011 [TM][I]: tm_clone.sh: Cloning /srv/cloud/one/var//images/dcc95e49f324ce936f459ef135079cc69a12eef6 Mon Aug 1 22:08:35 2011 [TM][I]: tm_clone.sh: Executed cp -r /srv/cloud/one/var//images/dcc95e49f324ce936f459ef135079cc69a12eef6 /srv/cloud/one/var//15/images/disk.0. Mon Aug 1 22:08:35 2011 [TM][I]: tm_clone.sh: Executed chmod a+rw /srv/cloud/one/var//15/images/disk.0. Mon Aug 1 22:08:36 2011 [LCM][I]: New VM state is BOOT Mon Aug 1 22:08:36 2011 [VMM][I]: Generating deployment file: /srv/cloud/one/var/15/deployment.0 Mon Aug 1 22:08:37 2011 [VMM][I]: Command execution fail: 'if [ -x /tmp/one/vmm/xen/deploy ]; then /tmp/one/vmm/xen/deploy /srv/cloud/one/var//15/images/deployment.0; else exit 42; fi' Mon Aug 1 22:08:37 2011 [VMM][I]: STDERR follows. Mon Aug 1 22:08:38 2011 [VMM][I]: Traceback (most recent call last): Mon Aug 1 22:08:38 2011 [VMM][I]: File /usr/bin/pygrub, line 691, in ? Mon Aug 1 22:08:38 2011 [VMM][I]: chosencfg = run_grub(file, entry, fs) Mon Aug 1 22:08:38 2011 [VMM][I]: File /usr/bin/pygrub, line 545, in run_grub Mon Aug 1 22:08:38 2011 [VMM][I]: g = Grub(file, fs) Mon Aug 1 22:08:38 2011 [VMM][I]: File /usr/bin/pygrub, line 203, in __init__ Mon Aug 1 22:08:38 2011 [VMM][I]: self.read_config(file, fs) Mon Aug 1 22:08:38 2011 [VMM][I]: File /usr/bin/pygrub, line 402, in read_config Mon Aug 1 22:08:38 2011 [VMM][I]: if self.cf.filename is None: Mon Aug 1 22:08:38 2011 [VMM][I]: AttributeError: Grub instance has no attribute 'cf' Mon Aug 1 22:08:38