Re: [one-users] hooks on migration
Hello, In OpenNebula the hooks can only be executed on the following events: - CREATE, when the VM is created (onevm create) - RUNNING, after the VM is successfully booted - SHUTDOWN, after the VM is shutdown - STOP, after the VM is stopped (including VM image transfers) - DONE, after the VM is deleted or shutdown Therefore after a migration the ebtables script will not be executed. Regards, Jaime 2010/7/5 Székelyi Szabolcs szeke...@niif.hu: Hello, I'd like to ask about the operation of the hook system. We're using the recommended ebtables way to separate virtual networks. The question is, what happens if a VM is live-migrated from a host to the other: does the hook script that sets up ebtables run at that time as well to set up the proper rules on the destination host? Thanks, -- Szabolcs ___ 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] VM remains in boot state
Hello Rubén, does this happen all the time, or just when deploying many VMs simultaneously? Have you tried to do 'virsh create deployment.0' (if you're using kvm) or 'xm create deployment.0' (if you're using xen) manually from the worker nodes, to see what happens? regards, Jaime On Thu, Jul 29, 2010 at 2:40 PM, Ruben Diez rd...@cesga.es wrote: HI: When we attempt to launch a VM, it remains in boot status. The deployment.0 file is generated in the OpenNebula side, but it is not copied to the $ONE_LOCATION/var/xx/images directory... The last message in the vm.log file is: Generating deployment file: /srv/cloud/one/var/41/deployment.0 No strange things appears in oned.log file??? Some ideas about what is happens?? Any probe to to debug??? Thanks ___ 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] Open Nebula Images
Hi, We only have one small VM running ttylinux here: http://opennebula.org/documentation:rel1.4:vmg I'm afraid there is no repository with other OpenNebula VM images. Nevertheless, any VM which runs in KVM, Xen or VMWare should work with OpenNebula. There are many online resources to do that. You may also want to check appliances for the hypervisor of your choice. Also, in OpenNebula you can't run native Amazon VMs. But you can follow this guide to convert them to KVM images: http://blog.layerboom.com/2009/10/20/how-to-move-a-virtual-machine-from-ec2-to-virtualbox-or-kvm/ In any case, if you need support to contextualize and run these images in OpenNebula, let us know and we can give you a hand. Regards, Jaime On Sun, Aug 8, 2010 at 5:20 PM, Allahbaksh Mohammedali Asadullah allahbaksh_asadul...@infosys.com wrote: Hi, I am unable to build Open Nebula VM images. Whether any one has a small .img which they can host it so that I can download it and use it. Is there public VM images available? Can I run Amazon Virtual Machine Image on Open Nebula? Regards, Allahbaksh ___ 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] Failed during boot
Hello, Also, that error might also be produced by an out-dated version of KVM. What version of KVM and libvirt are you running and under what OS? cheers, Jaime On Tue, Aug 10, 2010 at 5:24 PM, Jaime Melis j.me...@fdi.ucm.es wrote: Hello, KVM supports both para-virtualization and full-virtualization. In libvirt (used by OpenNebula for KVM), the type of virtualization is specified in the domain file, under the type element. If typehvm/type (hardware virtual machine) then it requires full-virtualization. Take a look at: http://libvirt.org/formatdomain.html#elementsOSBIOS I'm guessing the problem you're having is that either your hardware does not support hardware virtualization or, as suggested by Ricky Melgares, it's not enabled in the BIOS. To check for harware virtualization support take a look at: http://www.linux-kvm.org/page/FAQ#Preparing_to_use_KVM cheers, Jaime On Tue, Aug 10, 2010 at 1:52 PM, Chris Sarginson chris.sargin...@ukfast.co.uk wrote: Is hvm not for Xen deployments, rather than KVM? *From:* users-boun...@lists.opennebula.org [mailto: users-boun...@lists.opennebula.org] *On Behalf Of *Diego Perez Fabado *Sent:* 10 August 2010 08:51 *To:* Phuwadon (Aun) Danrahan *Cc:* users@lists.opennebula.org *Subject:* Re: [one-users] Failed during boot Hello I'm also having a similar problem with kvm, any help would be very appreciated Tue Aug 10 10:40:43 2010 [VMM][I]: Generating deployment file: /opt/opennebula/var/89/deployment.0 Tue Aug 10 10:40:43 2010 [VMM][I]: Command execution fail: 'mkdir -p /opt/opennebula/var/89/images cat /opt/opennebula/var/89/images/deployment.0 virsh --connect qemu:///system create /opt/opennebula/var/89/images/deployment.0' Tue Aug 10 10:40:43 2010 [VMM][I]: STDERR follows. Tue Aug 10 10:40:43 2010 [VMM][I]: error: Failed to create domain from /opt/opennebula/var/89/images/deployment.0 Tue Aug 10 10:40:43 2010 [VMM][I]: error: internal error no supported architecture for os type 'hvm' Tue Aug 10 10:40:43 2010 [VMM][I]: ExitCode: 1 Tue Aug 10 10:40:43 2010 [VMM][E]: Error deploying virtual machine Thank you very much!!! 2010/8/10 Phuwadon (Aun) Danrahan phuwa...@tarad.com Note: i manually create the .img file by using command qemu-img create -f qcow2 /opt/image/myimage.img 14G . I'm very new to OpenNebula. Tue Aug 10 11:54:18 2010 [VMM][D]: Message received: LOG - 21 Command execution fail: 'mkdir -p /srv/cloud/one/var//21/images cat /srv/cloud/one/var//21/images/deployment.0 virsh --connect qemu:///system create /srv/cloud/one/var//21/images/deployment.0' Tue Aug 10 11:54:18 2010 [VMM][D]: Message received: LOG - 21 STDERR follows. Tue Aug 10 11:54:18 2010 [VMM][D]: Message received: LOG - 21 error: Failed to create domain from /srv/cloud/one/var//21/images/deployment.0 Tue Aug 10 11:54:18 2010 [VMM][D]: Message received: LOG - 21 error: internal error Domain one-21 didn't show up Tue Aug 10 11:54:18 2010 [VMM][D]: Message received: LOG - 21 Tue Aug 10 11:54:18 2010 [VMM][D]: Message received: LOG - 21 ExitCode: 1 Tue Aug 10 11:54:18 2010 [VMM][D]: Message received: DEPLOY FAILURE 21 - Tue Aug 10 11:54:19 2010 [TM][D]: Message received: LOG - 21 tm_delete.sh: Deleting /srv/cloud/one/var//21/images Tue Aug 10 11:54:19 2010 [TM][D]: Message received: LOG - 21 tm_delete.sh: Executed ssh devvm1 rm -rf /srv/cloud/one/var//21/images. Tue Aug 10 11:54:19 2010 [TM][D]: Message received: TRANSFER SUCCESS 21 - On 10/8/2553 12:07, Ricky Melgares wrote: Can you please list the next couple of lines that follow the STDERR line. On Aug 10, 2010, at 1:02 AM, Phuwadon (Aun) Danrahan wrote: Hello, I'm testing my first OpenNebular cloud and got an error that need your support. Anyone, know howto fix this error. Tue Aug 10 11:54:18 2010 [VMM][D]: Message received: LOG - 21 Command execution fail: 'mkdir -p /srv/cloud/one/var//21/images cat /srv/cloud/one/var//21/images/deployment.0 virsh --connect qemu:///system create /srv/cloud/one/var//21/images/deployment.0' Tue Aug 10 11:54:18 2010 [VMM][D]: Message received: LOG - 21 STDERR follows. This error occurred after i ran onevm create myvhost. I did not see the file /srv/cloud/one/var//21/images/deployment.0 but i could see /srv/cloud/one/var//21/deployment.0 ___ 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] Compiling Error: Error calling pkg-config xmlrpc_server_abyss++ --static --libs
Hi Viktor, are you still experiencing this? Do you have by chance an http proxy configured? Regards, Jaime On Wed, Jul 28, 2010 at 9:36 AM, Mauch, Viktor ma...@kit.edu wrote: Hello everyone, I use Ubuntu 10.04 server und get always this error Messages: $scons ... Error calling pkg-config xmlrpc_server_abyss++ --static --libs ... Error calling pkg-config xmlrpc_client++ xmlrpc++ --libs ... During the compiling. At the end the scons command give me a success message: scons: done reading SConscript files. scons: Building targets ... scons: `.' is up to date. scons: done building targets. But afterwards I'm not able to boot a VM, in the sched.log there is always this error message: [SCHED][E]: Exception raised: Unable to transport XML to server and get XML response back. HTTP response: 503 I think it has something to do with the compiling error message. Can anyone help me. Before the compiling procedure I've installed all xmlrpc-c* packages which come with Ubuntu 10.04 server. Thank you in advance Greets Viktor -- Dipl.-Phys. Viktor Mauch Steinbuch Centre for Computing (SCC) http://www.scc.kit.edu/ Karlsruhe Institute of Technology (KIT) Hermann-von-Helmholtz-Platz 1 D-76344 Eggenstein-Leopoldshafen Phone: +49(0)7247 82-8721 eMail: ma...@kit.edu ___ 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] reduce monitoring interval doesn't work under 30 seconds?
Hi Tobias, there is a variable which is not included in oned.conf called MANAGER_TIMER. This variable represents the interval the the core uses to evaluate periodical functions, like polling, etc. It's set by default to 30. Try adding this to your oned.conf (without removing the VM_POLLING_INTERVAL): MANAGER_TIMER=10 regards, Jaime On Thu, Aug 12, 2010 at 10:33 AM, Tobias Weikard q6280...@mailstore.fernuni-hagen.de wrote: Hi, I'm using OpenNebula 1.4. I tried to reduce the VM_POLLING_INTERVAL to 10 seconds (in /etc/one/oned.conf. But it seems that the interval can't be smaller than 30 seconds. Is 30 seconds the minimum or how can I reduce the interval? Greetings, Tobias ___ 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] using real disk partitions for storage?
Hi Dan, You can look inside the tm_mkimage.sh and modify it accordingly to your needs. For example, you could comment out the line (for nfs driver): 41 exec_and_log mkfs -t $FSTYPE -F $DST_PATH regards, Jaime On Wed, Aug 11, 2010 at 10:36 PM, Dan Yocum yo...@fnal.gov wrote: Hi, I've got a special use case where we'd like to use an entire disk partition, i.e., /dev/sdc, for storage space. Is there a way to create an appropriate template with contextualization to tell Opennebula to NOT create a file and format it, but format a disk partition? Thanks, Dan -- Dan Yocum Fermilab 630.840.6509 yo...@fnal.gov, http://fermigrid.fnal.gov I fly because it releases my mind from the tyranny of petty things. ___ 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] Open Nebula unable to delete the snapshot of a VM
Hi Italo, that is weird. Can you paste the output of 'lvs' ? regards, Jaime On Thu, Sep 2, 2010 at 6:16 PM, Italo Madalozo italo.madal...@gmail.com wrote: Hi Jaime, thanks for the reply. /images is not a path it is the name of the VG, first I tried /dev/images and it did not work, when I change to /images it works. But it can not delete the snapshots afterwards. Cheers Italo On 2 September 2010 15:59, Jaime Melis j.me...@fdi.ucm.es wrote: Hi Italo, it looks like $VG_NAME contains /images, but it shouldn't be a path, it should be the name of the volume group that LVM uses to create LVs. Try changing that to images, by editing tm_lvmrc. cheers, Jaime On Wed, Sep 1, 2010 at 5:30 PM, Italo Madalozo italo.madal...@gmail.com wrote: Hi, I have been trying Open Nebula for a couple of weeks now and so far it works great, one of the complex steps of building the cloud is the storage. After reading about LVM on the website and then from the mailing list I managed to get it working , VG_NAME=/images, and now I can instance many virtual machines to the pool within seconds or minutes without having to clone (wasting storage) the images or wasting bandwidth transferring from the front end to the nodes. Now the problem I am facing is that the lvm/tm_delete.sh script can't manage to delete the snapshots created by lvm/clone.sh. I have tried onevm $ID delete,shutdown and cancel as recommended in a previous thread but none of them worked. This is the log output: Wed Sep 1 16:20:47 2010 [InM][I]: Monitoring host 192.168.1.4 (5) Wed Sep 1 16:20:47 2010 [VMM][D]: Message received: LOG - 62 Driver command for 62 cancelled Wed Sep 1 16:20:47 2010 [TM][D]: Message received: LOG - 62 Command execution fail: /srv/cloud/one/lib/tm_commands/lvm/tm_delete.sh 192.168.1.4:/srv/cloud/one/var/62/images Wed Sep 1 16:20:47 2010 [TM][D]: Message received: LOG - 62 STDERR follows. Wed Sep 1 16:20:47 2010 [TM][D]: Message received: LOG - 62 ERROR MESSAGE --8-- Wed Sep 1 16:20:47 2010 [TM][D]: Message received: LOG - 62 /images: Invalid path for Logical Volume Wed Sep 1 16:20:47 2010 [TM][D]: Message received: LOG - 62 /images/: Invalid path for Logical Volume Wed Sep 1 16:20:47 2010 [TM][D]: Message received: LOG - 62 ERROR MESSAGE --8-- Wed Sep 1 16:20:47 2010 [TM][D]: Message received: LOG - 62 ExitCode: 5 Wed Sep 1 16:20:47 2010 [TM][D]: Message received: LOG - 62 tm_delete.sh: Deleting remote LVs Wed Sep 1 16:20:47 2010 [TM][D]: Message received: LOG - 62 tm_delete.sh: ERROR: Command ssh 192.168.1.4 sudo lvremove -f $(echo /images/$(sudo lvs --noheadings /images|awk '{print $1}'|grep lv-one-62)) failed. Wed Sep 1 16:20:47 2010 [TM][D]: Message received: LOG - 62 tm_delete.sh: ERROR: /images: Invalid path for Logical Volume Wed Sep 1 16:20:47 2010 [TM][D]: Message received: LOG - 62 /images/: Invalid path for Logical Volume Wed Sep 1 16:20:47 2010 [TM][D]: Message received: TRANSFER FAILURE 62 /images: Invalid path for Logical Volume Wed Sep 1 16:20:47 2010 [TM][D]: Message received: /images/: Invalid path for Logical Volume Wed Sep 1 16:20:48 2010 [VMM][D]: Message received: CANCEL SUCCESS 62 - Wed Sep 1 16:20:51 2010 [InM][D]: Host 5 successfully monitored. After checking the script tm_delete.sh I see everything is fine , so I don't understand why instead of /dev/images one is looking for /images/. Italo ___ 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] ttylinux via ssh not accessible any more after migrate / suspend - resume
Hi Viktor, that's a very interesting problem. Let's check if it's related to the bridge. Start the vm and execute 'brctl show' on one host. Migrate it to another host and execute 'brctl show' on that second host. Compare those outputs and check if libvirt/kvm is correctly attaching the network interface to the bridge. cheers, Jaime On Fri, Sep 3, 2010 at 12:54 AM, Viktor Mauch ma...@kit.edu wrote: hello javier, one more time, I'm now working with OpenNebula 2.0beta with the KVM Hypervisor (head node and cluster nodes are based on 10.04). I tried to play with the supported ttylinux image form the ONE website. Starting the machine and login via ssh is no problem. After Stop - Resume the machine is still available via network. But if I perform a migration of the the machine or suspend - resume, the network conncetion is gone (ping / ssh find no aim). I looked via VNC into the VM, and everything looks ok, the eth0 device is still configured right, but also no possibility to ping something others outside the VM. Restarting of the network did not solve the problem. The log files are clear. All physical hosts are in the same switch. Does anyone have an idee what goes wrong?? Greets Viktor Am 30.08.2010 11:32, schrieb Javier Fontan: Hello, Can you try to access it by other means to check if there is something broken in the VM? If you are using xen you should be able to access it using xm console from the physical node. With KVM you can add VNC access to it. If the machine seems to be in good shape there can also be some problem in the network relearning where the machine is. Are both physical hosts in the same switch? Bye On Mon, Aug 30, 2010 at 12:56 AM, Viktor Mauchma...@kit.edu wrote: Hello, I use ONE 1.4 with a shared NFS and play a litle bit with the ttylinux image which automatically configures the eth0 device during booting. The VM is accessible via SSH and everything looks fine. After livemigration, normal migration or suspend-resume the ssh connection is no longer available: $ ssh r...@vm_ip ssh: connect to host VM_IP port 22: No route to host Greets Viktor ___ 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] blktap module and image files with holes
Hi Rubén, Qemu provides an utility to create sparse images. I have compared the sparse image generated by the dd command and by the qemu-img command, and although they offer the same functionality, they are not the same: $ dd if=/dev/zero of=sparse-dd.img bs=1 count=1 seek=1073741823 2/dev/null $ qemu-img create -f raw sparse-qemu.img 1G Formatting 'sparse-qemu.img', fmt=raw size=1073741824 $ ls -l sparse-* -rw-r--r-- 1 jmelis jmelis 1073741824 Sep 17 12:07 sparse-dd.img -rw-r--r-- 1 jmelis jmelis 1073741824 Sep 17 12:07 sparse-qemu.img $ du sparse-* 4 sparse-dd.img 0 sparse-qemu.img You could try: exec_and_log ssh $DST_HOST qemu-img create -f raw $DST_PATH $SIZE see if it gives a better result? Make sure you have the qemu utils installed in the worker node. regards, Jaime On Fri, Sep 17, 2010 at 9:22 AM, Ruben Diez rd...@cesga.es wrote: Hi: Recently, we has study a strange issue about the i/o performance in virtual machines created with OpenNebula over xen The symptoms of these i/o related issues was: 1) A massive scp command to the VM report various stalled status and are very slow. 2) dd command of the type dd if=/dev/urandom bs=1M count=500 of=probe.raw fail sometimes (usually after a heavy scp stress), by writing less data that it would do. After a lot of tests, we found this: The problem appears in the disks (usually scratch) created with the '' type = fs '' way in opennebula. When the xen deployment.0 file is created, the blktap module is used (with the xen tap:aio mechanism). OpenNebula creates the scratch disk by using dd for make files with holes. This is very fast, but these archives seems to fail when are used by xen with the blktap module... If in the tm_mkimage.sh file we change the line: exec_and_log ssh $DST_HOST dd if=/dev/zero of=$DST_PATH bs=1 count=1 seek=${SIZE}M by this one: exec_and_log ssh $DST_HOST dd if=/dev/zero of=$DST_PATH bs=1M count=${SIZE} the problems disappears But then the VM deployment is slow, if the scratch disk is large The system is a Centos 5.5. The xen hypervisor version is the standard one with centos 5.5: the 3.0.3, and the kernel is a 2.6.18-194.8.1.el5xen We suppose that this issue is a bug in the blktap module distributed with xen. One possibility is to upgrade the xen version. There are a centos xen repository at http://www.gitco.de/repo/, but it is only the hypervisor. The blktap module seems to be distributed with the xen patched kernel Any of you know about a centos xen-kernel recent version repository?? Are the compilation the only way to upgrade the xen kernel to a recent version??? Regards. ___ 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] SCRIPTS_REMOTE_DIR in Ubuntu ONE 2.0 binary
Hi, thank you all for reporting this. We have analyzed the code and it is in fact a bug. We have created a bug and applied the fix: http://dev.opennebula.org/issues/380 To fix it manually edit /usr/lib/one/ruby/ActionManager.rb: line 186: one_config='/var/log/one/config' change that to: one_config='/var/lib/one/config' The problem is that we originally placed the configuration file generated by oned in /var/log/one, but we later decided to move it to /var/lib/one, but didn't update this file. thank you all for your great feedback! cheers, Jaime On Thu, Oct 28, 2010 at 4:09 PM, Tiago Batista tiagosbati...@gmail.comwrote: I am stumped... You can always modify the line @remote_dir = @config['SCRIPTS_REMOTE_DIR'] || '/tmp/one' on the mads, but that is not what should be done. In fact your oned is behaving as if the variable is not set on /etc/oned.conf (I am assuming a system wide install). On Thu, Oct 28, 2010 at 2:57 PM, Oscar Elfving sofa...@gmail.com wrote: Sadly this does nothing, still creates the files under /tmp/one. /Oscar On Thu, Oct 28, 2010 at 3:50 PM, Jhon Masschelein jhon.masschel...@sara.nl wrote: Hi, Not sure if this will help but I read somewhere in the doc that the remote scripts are only copied out when their timestamps have changed. (i guess to reduce the overhead of copying files.) I'm still running an older beta version, but just try and touch the files under /usr/lib/one and see if that does the trick? Wkr, Jhon On 10/28/2010 03:46 PM, Oscar Elfving wrote: So, where do I start debugging this? As far as I can tell the /usr/lib/one/mads/one_im_ssh.rb and /usr/lib/one/mads/one_vmm_ssh.rb scripts are the only ones using the variable but I am unsure how to actually verify that it is getting the variable or not as it says in the file: @remote_dir = @config['SCRIPTS_REMOTE_DIR'] || '/tmp/one'. Any other ideas? Best regards, Oscar Elfving On Thu, Oct 28, 2010 at 3:37 PM, Tiago Batista tiagosbati...@gmail.com wrote: I know it sounded stupid, but I was bitten by this more than once... As far as I can tell you are doing the right thing, my installation is on the user-dir, other than that I use the same procedure! On Thu, Oct 28, 2010 at 2:21 PM, Oscar Elfving sofa...@gmail.com wrote: Yes I restarted it, the /var/lib/one/config is reflecting the change as well. And just to make sure, a restart is one stop; one start right? Best regards, Oscar Elfving On Thu, Oct 28, 2010 at 3:14 PM, Tiago Batista tiagosbati...@gmail.com wrote: In my case, the most common explanation for this is the lack of a process restart... Did you stop and restart oned? On Thu, Oct 28, 2010 at 2:08 PM, Oscar Elfving sofa...@gmail.com wrote: Hi, I have a problem right now where no matter what I set SCRIPTS_REMOTE_DIR in /etc/one/oned.conf when I add a host it still puts all the related scripts in /tmp/one. This is undesirable since this purges the scripts at every reboot and I would like to set the location myself. Any pointers to why I might be experiencing this problem? Best regards, Oscar Elfving ___ 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 ___ 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] Another race
Hi Rich, we have applied it to the repo. Thanks for the heads up. Regards, Jaime On Thu, Oct 28, 2010 at 9:00 PM, Javier Fontan jfon...@gmail.com wrote: Thanks, we will change that. It seems that the network start order changed between versions On Wed, Oct 27, 2010 at 1:37 AM, Rich Wellner r...@objenv.com wrote: In this example: http://dev.opennebula.org/projects/opennebula/repository/revisions/master/changes/share/scripts/centos-5/net-vmcontext/vmcontext When used on a RHEL 5.5 system, the needed config file will sometimes not be in place when networking needs it because they both start at priority 10. Changing that file to: # chkconfig: 2345 9 90 Fixes the problem. rw2 ___ Users mailing list Users@lists.opennebula.org http://lists.opennebula.org/listinfo.cgi/users-opennebula.org -- Javier Fontan, Grid Virtualization Technology Engineer/Researcher DSA Research Group: http://dsa-research.org Globus GridWay Metascheduler: http://www.GridWay.org OpenNebula Virtual Infrastructure Engine: http://www.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] opennebula 2.0.1 under Debian Lenny (5.0.6)
Hi Marlon, thank you for reporting this. We have created a bug in order to fix it. regards, Jaime On Tue, Nov 9, 2010 at 11:33 AM, openneb...@nerling.ch wrote: The opennebula 2.0 debian package for Lenny (5.0.6) has a dependency on libmysqlclient16, althought the default Lenny repository only has libmysqlclient15. I'm posting here, knowing there are another thread for the same issue, since the second November : OpenNebula Express 2.0 on Debian_5.0.6 problem By my meaning should opennebula not never depend on a backport package. Would it be a problem to change the dependency in the package and use libmysqlclient15 instead of libmysqlclient16? Has it been tested? Best Regards Marlon Nerling ___ 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] OpenNebula Express 2.0 on Debian_5.0.6 problem
Hi, thank you for reporting this. We have created a bug in order to fix it. Regards, Jaime 2010/11/2 Che-Yuan Tu ri...@nchc.org.tw Dear ONE users: I have just modified the OpenNebula Express 2.0 RC for the support of Debian 5.0.6 lenny. It now works on Debian_5.0.6 i386, but it meets a dependency problem on Debian_5.0.6 amd64. Because of the package: libmysqlclient16 dependency, the source.list of Debian_5.0.6 only provides libmysqlclient15(...). In order to install the OpenNubula Express 2.0 successfully on Debian 5.0.6 amd64, it's seems that adding the deb http://www.backports.org/debianlenny-backports main into source.list and solve the dependency between mysql-common(= 5.1.49-1~bpo50+1 vs. 5.0.51a-24+lenny4) and libmysqlclient16 are two main issues. Does any one have suggestions for this problem? I am very appreciated. For the attached file is the ONE express for Debian_5.0.6. (Two files are modified: ./os/debian-5.0.sh install.sh) Thanks Best Regards == Bill Tu Rider National Center for High-Performance Computing No.22, Keyuan Rd., Central Taiwan Science Park, Taichung City 40763, Taiwan Tel : 886-4-24620202 # 826 Fax : 886-4-24627373 E-mail : ri...@nchc.org.tw ___ 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] Express Installation Script.
Hi, The scripts under /usr/lib/one/remotes are reponsible for the VMM and IM actions. You have to copy them because they are by default copied to /tmp which is generally not persistent after reboot. The default path of these scripts has been changed to /var/tmp in order to avoid this issue and in the upcoming 2.0.1 that will be fixed. If you don't want to wait to the next release follow this thread where we previously discussed this problem: http://lists.opennebula.org/htdig.cgi/users-opennebula.org/2010-October/003102.html regards, Jaime On Wed, Nov 10, 2010 at 1:32 PM, KING LABS kinglabs...@gmail.com wrote: Thats a good thing to know, Once again thanks Daniel for helping me with immediate solution. Also I would like to remind about /usr/lib/one/remote , what is its role... I have to copy this every time i reboot node. Currently I am running on single node setup to understand and build the POC. On Wed, Nov 10, 2010 at 5:17 PM, Jaime Melis j.me...@fdi.ucm.es wrote: Hello, thank you both for reporting these issues. There is indeed a problem with /var/lock/one and /var/run/one directories getting removed on system restart. The problem is not OpenNebula Express but the binary packages themselves. We have opened an issue to provide init scripts which will recreate these directories. This will be fixed in the upcoming 2.0.1 maintanence release. There is one other thing that is still unclear to us: Daniel, you said that /var/lib/one wasn't created with the correct permissions, could you please elaborate? We think 755 are the correct permissions for that directory and not 777. Why do you need it to be world-writable? Regards, Jaime On Sat, Nov 6, 2010 at 8:49 AM, daniel.moldo...@cs.utcluj.ro wrote: I think that the error is related to export ONE_AUTH=/$HOME/.one-auth and it means that there is no one_auth file. This file should contain username:pasword of the opennebula user. but it might also be from some broken/missing ruby dependencies. You can also try install ruby-full from a package manager. Now about installing nebula. Using the express install is the easiest way of getting things working(I am still talking of installing on a Ubuntu distribution). 1. You run the install on the client machine(using sudo install.sh or something). The install script creates a oneadmin user and generates a rsa key for this user. When it generates the node-install.sh it copies that key to the node-install script. 2. If you add a node using tm_ssh( i have only used ssh, never nfs because i am new at this too) then OpenNebula will get the host info by using a scp to copy the remotes folder in the node /tmp/one and then will connect using ssh to the node and call those ruby scripts. NOTE1: one start must be done from the oneadmin user( so log in as oneadmin , because this is why the instalation script creates it ) and DO NOT USE sudo. If you use SUDO for sudo start one, nebula will try to ssh as root. NOTE2: to log in as oneadmin (i don't know the default oneadmin password) i do a sudo passwd oneadmin and input another password. 3. The commands: 1. export ONE_AUTH=/$HOME/.one-auth 2. export ONE_XMLRPC=http://localhost:2633/RPC2 3. sudo mkdir /var/run/one 4. sudo mkdir /var/lock/one 5. sudo chmod 0777 /var/run/one 6. sudo chmod 0777 /var/lock/one 7. one start Need to be performed on the client machine from the oneadmin user logged in. NOTE1: The install script should had created the /$HOME/.one-auth containing oneadmin:oneadmin inside. NOTE2: The password in the one_auth file does NOT NEED TO match the password of the oneadmin user. They are two separate things. The one_auth file is used for opennebula requests for client validation. 4. To install opennebula-node just run the node-install.sh on each node. The node-install script also creates a oneadmin user. And more important, it creates a $HOME/.ssh (hidden folder, use Ctrl+H to see it in a file manager). In this folder it creates(if not already existing) a file called authorized_keys. Here the rsa key generated on the client is placed. This file contains all the rsa keys used by anywone which wants to be able to connect remotely to this node trough ssh. If the key is not present a password is requested when issuing a ssh. NOTE1: after running node-install, generate a password for oneadmin user and log in as oneadmin. If you remain logged as other user the nebula client will not be able to connect to the node to get info. NOTE2: this steps only enable onehost add and onevm submit methods to work. Migrate and onevm stop will fail because when migrating the nebula nodes communicate directly. And when issuing a stop the node will try to save the state of the virtual machine and copy back the machine to the nebula client. This two methods will fail because the nodes do not have the rsa key of the other nodes in their $HOME/.ssh/authorized_keys file. And also the nebula
Re: [one-users] VMs stuck in PEND state
Hi Fernando, you are probably missing the KERNEL and INITRD attributes in your VM template. Take a look at this: http://opennebula.org/documentation:rel2.0:template#os_and_boot_options_section Regards, Jaime On Wed, Nov 10, 2010 at 5:39 PM, Fernando Morgenstern ferna...@consultorpc.com wrote: Hello, After applying this patch and adding host again i had a couple of different errors ( like ruby not being installed in the node ) which i was able to fix. But now i got stuck again during the VM startup, at the log i see the following error: Wed Nov 10 17:22:38 2010 [LCM][I]: New VM state is BOOT Wed Nov 10 17:22:38 2010 [VMM][I]: Generating deployment file: /var/lib/one/5/deployment.0 Wed Nov 10 17:22:38 2010 [VMM][E]: No kernel or bootloader defined and no default provided. Wed Nov 10 17:22:38 2010 [VMM][E]: deploy_action, error generating deployment file: /var/lib/one/5/deployment.0 Wed Nov 10 17:22:38 2010 [DiM][I]: New VM state is FAILED Wed Nov 10 17:22:38 2010 [TM][W]: Ignored: LOG - 5 tm_delete.sh: Deleting /var/lib/one//5/images Wed Nov 10 17:22:38 2010 [TM][W]: Ignored: LOG - 5 tm_delete.sh: Executed rm -rf /var/lib/one//5/images. Wed Nov 10 17:22:38 2010 [TM][W]: Ignored: TRANSFER SUCCESS 5 - The thread that i found here at list about this doesn't contain a solution for this problem, so i'm not sure how to proceed. Regards, Fernando. Em 10/11/2010, às 11:49, openneb...@nerling.ch escreveu: Yes, it is related to the bug http://dev.opennebula.org/issues/385. I attached a patch for /usr/lib/one/mads/one_im_ssh.rb. ## Save it on the /tmp #cd /usr/lib/one/mads/ #patch -p0 /tmp/one_im_ssh.rb.patch Quoting Fernando Morgenstern ferna...@consultorpc.com: Hi, The tmp folder in my host is empty. Here is the output of the commands: $ onehost show 1 HOST 1 INFORMATION ID: 1 NAME : node01 CLUSTER : default STATE : ERROR IM_MAD: im_xen VM_MAD: vmm_xen TM_MAD: tm_nfs 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 $ onehost show -x 1 HOST ID1/ID NAMEnode01/NAME STATE3/STATE IM_MADim_xen/IM_MAD VM_MADvmm_xen/VM_MAD TM_MADtm_nfs/TM_MAD LAST_MON_TIME1289394482/LAST_MON_TIME CLUSTERdefault/CLUSTER HOST_SHARE HID1/HID DISK_USAGE0/DISK_USAGE MEM_USAGE0/MEM_USAGE CPU_USAGE0/CPU_USAGE MAX_DISK0/MAX_DISK MAX_MEM0/MAX_MEM MAX_CPU0/MAX_CPU FREE_DISK0/FREE_DISK FREE_MEM0/FREE_MEM FREE_CPU0/FREE_CPU USED_DISK0/USED_DISK USED_MEM0/USED_MEM USED_CPU0/USED_CPU RUNNING_VMS0/RUNNING_VMS /HOST_SHARE TEMPLATE/ /HOST Thanks again for your answers. Em 10/11/2010, às 11:22, openneb...@nerling.ch escreveu: Hallo Fernando. try to log in the host and look if there is a folder names /tmp/one. If not it could be related to the bug: http://dev.opennebula.org/issues/385 please post the output from: #onehost show 1 #onehost show -x 1 I thought before your host has an id of 0. Marlon Nerling Quoting Fernando Morgenstern ferna...@consultorpc.com: Hello, Thanks for the answer. You are right, the host is showing an error state and i didn't verified it. How can i know what is causing the error in host? $ onehost list ID NAME CLUSTER RVM TCPU FCPU ACPUTMEMFMEM STAT 1 node01default0 0 0100 0K 0K err $ onevm show 0 VIRTUAL MACHINE 0 INFORMATION ID : 0 NAME : ttylinux STATE : DONE LCM_STATE : LCM_INIT START TIME : 11/09 19:06:37 END TIME : 11/09 19:11:09 DEPLOY ID: : - VIRTUAL MACHINE MONITORING NET_RX : 0 USED MEMORY: 0 USED CPU : 0 NET_TX : 0 VIRTUAL MACHINE TEMPLATE CPU=0.1 DISK=[ DISK_ID=0, READONLY=no, SOURCE=/home/oneadmin/ttylinux.img, TARGET=hda ] FEATURES=[ ACPI=no ] MEMORY=64 NAME=ttylinux NIC=[ BRIDGE=br0, IP=*, MAC=02:00:5d:9f:d0:68, NETWORK=Small network, NETWORK_ID=0 ] VMID=0 $ onehost show 0 Error: [HostInfo] Error getting HOST [0]. Thanks! Em 10/11/2010, às 06:45, openneb...@nerling.ch escreveu: Hallo Fernando. Could you please post the output of: #onehost list #onevm show 0 #onehost show 0 It seems that none of your Hosts are enabled! Tue Nov 9 20:31:18 2010 [HOST][D]: Discovered Hosts (enabled): best regards Marlon Nerling Zitat von Fernando Morgenstern ferna...@consultorpc.com: Hello, This is the first time that i'm using open nebula, so i tried to do it with express script which ran fine. I'm using CentOS 5.5 with
Re: [one-users] oneacct error with mysql
Hello Olivier, you have to install the mysql gem. Take a look at this: http://opennebula.org/documentation:rel2.0:accounting#prerequisites Regards, Jaime On Fri, Nov 12, 2010 at 6:22 PM, Olivier Sallou olivier.sal...@irisa.fr wrote: Hi, I changed my config to use MySQL as backend but I have an error with oneacct, do you have any idea of what could be the problem ? Other one commands works fine. /usr/lib/ruby/1.8/rubygems/custom_require.rb:31:in `gem_original_require': LoadError: no such file to load -- mysql (Sequel::AdapterNotFound) from /usr/lib/ruby/1.8/rubygems/custom_require.rb:31:in `require' from /var/lib/gems/1.8/gems/sequel-3.16.0/lib/sequel/adapters/mysql.rb:4 from /usr/lib/ruby/1.8/rubygems/custom_require.rb:31:in `gem_original_require' from /usr/lib/ruby/1.8/rubygems/custom_require.rb:31:in `k_require' from /var/lib/gems/1.8/gems/sequel-3.16.0/lib/sequel/core.rb:249:in `tsk_require' from /var/lib/gems/1.8/gems/sequel-3.16.0/lib/sequel/core.rb:72:in `check_requiring_thread' from /var/lib/gems/1.8/gems/sequel-3.16.0/lib/sequel/core.rb:69:in `synchronize' from /var/lib/gems/1.8/gems/sequel-3.16.0/lib/sequel/core.rb:69:in `check_requiring_thread' from /var/lib/gems/1.8/gems/sequel-3.16.0/lib/sequel/core.rb:249:in `tsk_require' from /var/lib/gems/1.8/gems/sequel-3.16.0/lib/sequel/database/connecting.rb:23:in `adapter_class' from /var/lib/gems/1.8/gems/sequel-3.16.0/lib/sequel/database/connecting.rb:52:in `connect' from /var/lib/gems/1.8/gems/sequel-3.16.0/lib/sequel/core.rb:119:in `connect' from /usr/lib/one/ruby/oneacct.rb:32:in `initialize' from /usr/bin/oneacct:215:in `new' from /usr/bin/oneacct:215:in `initialize' from /usr/bin/oneacct:408:in `new' from /usr/bin/oneacct:408 thanks Olivier ___ 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] Express Installation Script.
Hi, could you please attach the log file showing this error? we don't quite understand why you need world writable permissions. As for your problem of deploying 10 virtual machines in one command, try doing it in a for loop: for i in `seq 1 10`; do onevm create template.one; done Cheers, Jaime On Fri, Nov 12, 2010 at 1:05 PM, KING LABS kinglabs...@gmail.com wrote: Hi, Another strange thing that I notice is every now and then I have to use 777(i am using 777 since begining ) on /var/lib/one when creating new vms other wise they are failing with permission denied error.Once I give 777 I am able to deploy more than 1 vm for a stretch, but later at some point I have redo this step to resolve permission denied error . Also one more query. I have registered image (appliance). I want to deploy for example 10 vms based on the appliance with single command. How can i do so. Regards, kinglabs On Wed, Nov 10, 2010 at 6:18 PM, Jaime Melis j.me...@fdi.ucm.es wrote: Hi, The scripts under /usr/lib/one/remotes are reponsible for the VMM and IM actions. You have to copy them because they are by default copied to /tmp which is generally not persistent after reboot. The default path of these scripts has been changed to /var/tmp in order to avoid this issue and in the upcoming 2.0.1 that will be fixed. If you don't want to wait to the next release follow this thread where we previously discussed this problem: http://lists.opennebula.org/htdig.cgi/users-opennebula.org/2010-October/003102.html regards, Jaime On Wed, Nov 10, 2010 at 1:32 PM, KING LABS kinglabs...@gmail.com wrote: Thats a good thing to know, Once again thanks Daniel for helping me with immediate solution. Also I would like to remind about /usr/lib/one/remote , what is its role... I have to copy this every time i reboot node. Currently I am running on single node setup to understand and build the POC. On Wed, Nov 10, 2010 at 5:17 PM, Jaime Melis j.me...@fdi.ucm.es wrote: Hello, thank you both for reporting these issues. There is indeed a problem with /var/lock/one and /var/run/one directories getting removed on system restart. The problem is not OpenNebula Express but the binary packages themselves. We have opened an issue to provide init scripts which will recreate these directories. This will be fixed in the upcoming 2.0.1 maintanence release. There is one other thing that is still unclear to us: Daniel, you said that /var/lib/one wasn't created with the correct permissions, could you please elaborate? We think 755 are the correct permissions for that directory and not 777. Why do you need it to be world-writable? Regards, Jaime On Sat, Nov 6, 2010 at 8:49 AM, daniel.moldo...@cs.utcluj.ro wrote: I think that the error is related to export ONE_AUTH=/$HOME/.one-auth and it means that there is no one_auth file. This file should contain username:pasword of the opennebula user. but it might also be from some broken/missing ruby dependencies. You can also try install ruby-full from a package manager. Now about installing nebula. Using the express install is the easiest way of getting things working(I am still talking of installing on a Ubuntu distribution). 1. You run the install on the client machine(using sudo install.sh or something). The install script creates a oneadmin user and generates a rsa key for this user. When it generates the node-install.sh it copies that key to the node-install script. 2. If you add a node using tm_ssh( i have only used ssh, never nfs because i am new at this too) then OpenNebula will get the host info by using a scp to copy the remotes folder in the node /tmp/one and then will connect using ssh to the node and call those ruby scripts. NOTE1: one start must be done from the oneadmin user( so log in as oneadmin , because this is why the instalation script creates it ) and DO NOT USE sudo. If you use SUDO for sudo start one, nebula will try to ssh as root. NOTE2: to log in as oneadmin (i don't know the default oneadmin password) i do a sudo passwd oneadmin and input another password. 3. The commands: 1. export ONE_AUTH=/$HOME/.one-auth 2. export ONE_XMLRPC=http://localhost:2633/RPC2 3. sudo mkdir /var/run/one 4. sudo mkdir /var/lock/one 5. sudo chmod 0777 /var/run/one 6. sudo chmod 0777 /var/lock/one 7. one start Need to be performed on the client machine from the oneadmin user logged in. NOTE1: The install script should had created the /$HOME/.one-auth containing oneadmin:oneadmin inside. NOTE2: The password in the one_auth file does NOT NEED TO match the password of the oneadmin user. They are two separate things. The one_auth file is used for opennebula requests for client validation. 4. To install opennebula-node just run the node-install.sh on each node. The node-install script also creates a oneadmin user. And more important, it creates a $HOME/.ssh (hidden folder, use Ctrl+H to see
Re: [one-users] Source RPM package
Hello, for what distribution do you want the source package? regards, Jaime On Thu, Nov 18, 2010 at 1:03 PM, Pham Kim Long lon...@fpt.net wrote: Hi Is there a source RPM package available for ONE 2.0? I looked at http://dev.opennebula.org/projects/packages/files and found only 2.0 beta source. Thanks OpenNebula team for the great work. Long ___ Users mailing list Users@lists.opennebula.org http://lists.opennebula.org/listinfo.cgi/users-opennebula.org ___ Users mailing list Users@lists.opennebula.org http://lists.opennebula.org/listinfo.cgi/users-opennebula.org
Re: [one-users] Problem with OpenNebula debian package based setup.
Hi, I think your problem is when you ssh into localhost (frontend). Try this: ssh onea...@frontend It will probably complain about the host key. Fix it by removing the offending keys from the ~/.ssh/known_hosts file. Regards, Jaime On Tue, Dec 7, 2010 at 3:11 PM, KING LABS kinglabs...@gmail.com wrote: Yup I am able to login . On Tue, Dec 7, 2010 at 5:56 PM, Damien Raude-Morvan draz...@drazzib.comwrote: On Tue, 7 Dec 2010 16:00:03 +0530, KING LABS kinglabs...@gmail.com wrote: Hi All, Hi, So far I have been used express script to configure the setup, today i switched to debian to install 2.0.1 with the new deb package released yesterday. Configured exactly as given in the README file http://git.debian.org/?p=pkg-opennebula/opennebula.git;a=blob_plain;f=debian/opennebula.README.Debian;hb=HEAD From oneadmin account on frontend could try to run ssh onead...@192.168.138.231 ? Cheers, -- Damien ___ 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] OpenNebula doesn't recognize x86_64 platforms
Hello Philippe, take a look at this thread: http://lists.opennebula.org/pipermail/users-opennebula.org/2010-December/003448.html Regards, Jaime On Tue, Dec 14, 2010 at 11:18 AM, Philippe Berthault philippe.bertha...@bull.net wrote: Another detail: When I deploys a VM with onevm command, in the ps command result, I see that qemu-kvm is launched with the option -cpu qemu32. When I start a VM with virt-manager, there is no -cpu option in the qemu-kvm command. Le 14/12/2010 11:02, Philippe Berthault a écrit : I've compiled and installed OpenNebula 2.0.1 on a x86_64 platform (Fedora-14). I'm able to create and run virtual machines with virt-manager but not with OpenNebula. When I deploys a VM with OpenNebula, in the VNC viewer, I have the following message: This kernel requires an x86-64 CPU, but only detected an i686 CPU. The uname command on my cluster node says x86_64. The onehost show command on my cluster node says ARCH=x86_64. The virt-manager GUI on my virtual machine says Architecture: x86_64 So, where is the problem ? ___ 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 -- Jaime Melis, Cloud Technology Engineer/Researcher DSA Research Group: web http://dsa-research.org and blog http://blog.dsa-research.org OpenNebula Open Source Toolkit for Cloud Computing: http://www.OpenNebula.org ___ Users mailing list Users@lists.opennebula.org http://lists.opennebula.org/listinfo.cgi/users-opennebula.org
Re: [one-users] Cannot connect to VM
| (unix)[have]+fun-0x60);} Skype: gian.uberto.lauri | David Korn, ATT Bell Labs http://www.eng.it | ioccc best One Liner, 1987 ___ Users mailing list Users@lists.opennebula.org http://lists.opennebula.org/listinfo.cgi/users-opennebula.org -- Christophe Hamerling RD Engineer Project Leader Petals Link - SOA open-source company OW2 PEtALS SOA Suite Comitter Skype : christophe.hamerling Jabber : chamerl...@jabber.org Blog : http://chamerling.org -- Christophe Hamerling RD Engineer Project Leader Petals Link - SOA open-source company OW2 PEtALS SOA Suite Comitter Skype : christophe.hamerling Jabber : chamerl...@jabber.org Blog : http://chamerling.org -- Christophe Hamerling RD Engineer Project Leader Petals Link - SOA open-source company OW2 PEtALS SOA Suite Comitter Skype : christophe.hamerling Jabber : chamerl...@jabber.org Blog : http://chamerling.org ___ Users mailing list Users@lists.opennebula.org http://lists.opennebula.org/listinfo.cgi/users-opennebula.org -- Jaime Melis, Cloud Technology Engineer/Researcher DSA Research Group: web http://dsa-research.org and blog http://blog.dsa-research.org OpenNebula Open Source Toolkit for Cloud Computing: http://www.OpenNebula.org ___ Users mailing list Users@lists.opennebula.org http://lists.opennebula.org/listinfo.cgi/users-opennebula.org
Re: [one-users] Cannot connect to VM
No, launch the vncviewer from your desktop PC, connecting to your worker node (which is running the VM): vncviewer 192.168.2.61::5900 Regards, Jaime On Wed, Dec 15, 2010 at 6:54 PM, Christophe Hamerling - Petals Link chamerling.eb...@gmail.com wrote: Ok i Will try this. I need to launch vnc viewer from node? Le 15 déc. 2010 à 18:06, Jaime Melis j.me...@fdi.ucm.es a écrit : Hi Christophe, I've been reading the thread but I think your configuration looks correct. Can you give it a shot at using VNC to see if the VM is booting up correctly? Maybe there's a problem with the VM... Add the following to your ONE template: GRAPHICS = [ TYPE = vnc, LISTEN = 0.0.0.0, PORT = 5900] Start the VM and connect to it via a VNC client (for instance vncviewer). Inspect the VM to see if there's a problem with it. Regards, Jaime On Wed, Dec 15, 2010 at 4:47 PM, Christophe Hamerling - Petals Link christophe.hamerl...@petalslink.com wrote: I am wondering if the problem does not also comes from the virtual network configuration. Here is my configuration : I am at home, my LAN address is 192.168.2.0/255.255.255.0 . GW is 192.168.2.1 My front address is 192.168.2.60 and the node one is 192.168.2.61 I tried to setup a bridge on the node, it seems to work (refer to my previous mails). I try to create a VM and to reach it at 192.168.2.71 but I am wondering now if it is possible to access a VM network from my laptop for exemple? How can I say to opennebula that I want to 'publish' VMs on my LAN? Is PUBLIC = YES is enough in the network configuration file? Do I need to put the front as a gateway somewhere, or another host? Thanks a lot Christophe On Wed, Dec 15, 2010 at 3:59 PM, Christophe Hamerling - Petals Link christophe.hamerl...@petalslink.com wrote: Is there a link between the MAC address defined in the VM and with the ones listed with ifconfig on the node? I do not have any. On Wed, Dec 15, 2010 at 3:46 PM, Christophe Hamerling - Petals Link christophe.hamerl...@petalslink.com wrote: Is there a web page where the network configuration on front and nodes is described? The only thing that I can find is at http://marianmi.comp.nus.edu.sg/2010/08/opennebula-installation-and-configuration-guide.php I really think that it is a network configuration problem. Here is what I did : Front : eth0 = 192.168.2.60 On the Node : br0 = 192.168.2.61 The gateway defined to 192.168.2.60, not sure about that. Using my internet box as gateway does not work too. I defined a LEASES address out of my DHCP range. When the VM is starting, I can see on the node a new network interface named vnet0 with the same mac address of my bridge. Is it ok? Before the VM start, the br0 mac address is the same as eth0... Is this a normal behaviour? Here is my ifconfig log br0 Link encap:Ethernet HWaddr 00:ff:da:72:02:21 inet adr:192.168.2.61 Bcast:192.168.2.255 Masque:255.255.255.0 adr inet6: fe80::a00:27ff:fed7:f0fd/64 Scope:Lien UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 RX packets:787 errors:0 dropped:0 overruns:0 frame:0 TX packets:500 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 lg file transmission:0 RX bytes:126978 (124.0 KiB) TX bytes:81984 (80.0 KiB) eth0 Link encap:Ethernet HWaddr 08:00:27:d7:f0:fd adr inet6: fe80::a00:27ff:fed7:f0fd/64 Scope:Lien UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 RX packets:1268 errors:0 dropped:0 overruns:0 frame:0 TX packets:506 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 lg file transmission:1000 RX bytes:188739 (184.3 KiB) TX bytes:82452 (80.5 KiB) lo Link encap:Boucle locale inet adr:127.0.0.1 Masque:255.0.0.0 adr inet6: ::1/128 Scope:Hôte UP LOOPBACK RUNNING MTU:16436 Metric:1 RX packets:28 errors:0 dropped:0 overruns:0 frame:0 TX packets:28 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 lg file transmission:0 RX bytes:2156 (2.1 KiB) TX bytes:2156 (2.1 KiB) vnet0 Link encap:Ethernet HWaddr 00:ff:da:72:02:21 adr inet6: fe80::2ff:daff:fe72:221/64 Scope:Lien UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 RX packets:0 errors:0 dropped:0 overruns:0 frame:0 TX packets:226 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 lg file transmission:500 RX bytes:0 (0.0 B) TX bytes:38791 (37.8 KiB) On Wed, Dec 15, 2010 at 11:37 AM, Gian Uberto Lauri sa...@eng.it wrote: CH == Christophe Hamerling - Petals Link christophe.hamerl...@petalslink.com writes: CH Ok, so I will check that the generated IP is the one expected from CH the leases list based on this script algorithm. Is the VM is CH exploded somewhere at startup? If yes, where? No, it is not. A _new_, temporary cd image
Re: [one-users] Cannot connect to VM
Hi Christophe, If I understand correctly you're trying with the ttylinux image at: http://dev.opennebula.org/attachments/download/170/ttylinux.tar.gz correct? I have downloaded it again and tested it and it works for me. Could it be that yout image is corrupt? The md5sum should be: 04c7d00e88fa66d9aaa34d9cf8ad6aaa ttylinux.img If you're trying this with the correct image, can you send us the output of virsh dumpxl of the running vm? virsh -c qemu:///system dumpxl one-VMID Regards, Jaime On Thu, Dec 16, 2010 at 10:24 AM, Christophe Hamerling - Petals Link christophe.hamerl...@petalslink.com wrote: Hi all, So you are right, something looks wrong in the ttylinux image. I am able to connect to the VM with VNC and it seems to have some problems with LILO : Booting from Hard Disk... LILO - Keytable read/checksum error and nothing more... :( Attached is the screenshot of VNC viewer window. On Wed, Dec 15, 2010 at 7:07 PM, Jaime Melis j.me...@fdi.ucm.es wrote: No, launch the vncviewer from your desktop PC, connecting to your worker node (which is running the VM): vncviewer 192.168.2.61::5900 Regards, Jaime On Wed, Dec 15, 2010 at 6:54 PM, Christophe Hamerling - Petals Link chamerling.eb...@gmail.com wrote: Ok i Will try this. I need to launch vnc viewer from node? Le 15 déc. 2010 à 18:06, Jaime Melis j.me...@fdi.ucm.es a écrit : Hi Christophe, I've been reading the thread but I think your configuration looks correct. Can you give it a shot at using VNC to see if the VM is booting up correctly? Maybe there's a problem with the VM... Add the following to your ONE template: GRAPHICS = [ TYPE = vnc, LISTEN = 0.0.0.0, PORT = 5900] Start the VM and connect to it via a VNC client (for instance vncviewer). Inspect the VM to see if there's a problem with it. Regards, Jaime On Wed, Dec 15, 2010 at 4:47 PM, Christophe Hamerling - Petals Link christophe.hamerl...@petalslink.com wrote: I am wondering if the problem does not also comes from the virtual network configuration. Here is my configuration : I am at home, my LAN address is 192.168.2.0/255.255.255.0 . GW is 192.168.2.1 My front address is 192.168.2.60 and the node one is 192.168.2.61 I tried to setup a bridge on the node, it seems to work (refer to my previous mails). I try to create a VM and to reach it at 192.168.2.71 but I am wondering now if it is possible to access a VM network from my laptop for exemple? How can I say to opennebula that I want to 'publish' VMs on my LAN? Is PUBLIC = YES is enough in the network configuration file? Do I need to put the front as a gateway somewhere, or another host? Thanks a lot Christophe On Wed, Dec 15, 2010 at 3:59 PM, Christophe Hamerling - Petals Link christophe.hamerl...@petalslink.com wrote: Is there a link between the MAC address defined in the VM and with the ones listed with ifconfig on the node? I do not have any. On Wed, Dec 15, 2010 at 3:46 PM, Christophe Hamerling - Petals Link christophe.hamerl...@petalslink.com wrote: Is there a web page where the network configuration on front and nodes is described? The only thing that I can find is at http://marianmi.comp.nus.edu.sg/2010/08/opennebula-installation-and-configuration-guide.php I really think that it is a network configuration problem. Here is what I did : Front : eth0 = 192.168.2.60 On the Node : br0 = 192.168.2.61 The gateway defined to 192.168.2.60, not sure about that. Using my internet box as gateway does not work too. I defined a LEASES address out of my DHCP range. When the VM is starting, I can see on the node a new network interface named vnet0 with the same mac address of my bridge. Is it ok? Before the VM start, the br0 mac address is the same as eth0... Is this a normal behaviour? Here is my ifconfig log br0 Link encap:Ethernet HWaddr 00:ff:da:72:02:21 inet adr:192.168.2.61 Bcast:192.168.2.255 Masque:255.255.255.0 adr inet6: fe80::a00:27ff:fed7:f0fd/64 Scope:Lien UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 RX packets:787 errors:0 dropped:0 overruns:0 frame:0 TX packets:500 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 lg file transmission:0 RX bytes:126978 (124.0 KiB) TX bytes:81984 (80.0 KiB) eth0 Link encap:Ethernet HWaddr 08:00:27:d7:f0:fd adr inet6: fe80::a00:27ff:fed7:f0fd/64 Scope:Lien UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 RX packets:1268 errors:0 dropped:0 overruns:0 frame:0 TX packets:506 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 lg file transmission:1000 RX bytes:188739 (184.3 KiB) TX bytes:82452 (80.5 KiB) lo Link encap:Boucle locale inet adr:127.0.0.1 Masque:255.0.0.0 adr inet6: ::1/128 Scope:Hôte
Re: [one-users] Cannot connect to VM
Hi Christophe, Your deployment file seems correct. You said in your first email: My environment : libvirt/KVM on Debian 5 (In fact the Debian Node runs on top of virtual box, I hope that it is not a problem). We are thinking the problem might be that. In order to discard that possibility, could you by any chance try to virtualize on a physical host? In any case we are positive your network configuration is OK, and your OpenNebula configuration is also OK. The problem here is the hypervisor, which is not working correctly. regards, Jaime On Thu, Dec 16, 2010 at 1:26 PM, Christophe Hamerling - Petals Link christophe.hamerl...@petalslink.com wrote: md5 SUM is OK. Here is the dump : debian-node01:~# virsh -c qemu:///system dumpxml one-20 domain type='kvm' id='1' nameone-20/name uuid34c3f015-0127-2bca-a9a8-646adf25d83e/uuid memory65536/memory currentMemory65536/currentMemory vcpu1/vcpu os type arch='i686' machine='pc'hvm/type boot dev='hd'/ /os clock offset='utc'/ on_poweroffdestroy/on_poweroff on_rebootrestart/on_reboot on_crashdestroy/on_crash devices emulator/usr/bin/kvm/emulator disk type='file' device='disk' driver name='qemu' type='raw'/ source file='/srv/cloud/one/var//20/images/disk.0'/ target dev='hda' bus='ide'/ /disk interface type='bridge' mac address='02:00:c0:a8:02:47'/ source bridge='br0'/ target dev='vnet0'/ /interface input type='mouse' bus='ps2'/ graphics type='vnc' port='5900' autoport='no' listen='0.0.0.0'/ /devices /domain On Thu, Dec 16, 2010 at 11:52 AM, Jaime Melis j.me...@fdi.ucm.es wrote: Hi Christophe, If I understand correctly you're trying with the ttylinux image at: http://dev.opennebula.org/attachments/download/170/ttylinux.tar.gz correct? I have downloaded it again and tested it and it works for me. Could it be that yout image is corrupt? The md5sum should be: 04c7d00e88fa66d9aaa34d9cf8ad6aaa ttylinux.img If you're trying this with the correct image, can you send us the output of virsh dumpxl of the running vm? virsh -c qemu:///system dumpxl one-VMID Regards, Jaime On Thu, Dec 16, 2010 at 10:24 AM, Christophe Hamerling - Petals Link christophe.hamerl...@petalslink.com wrote: Hi all, So you are right, something looks wrong in the ttylinux image. I am able to connect to the VM with VNC and it seems to have some problems with LILO : Booting from Hard Disk... LILO - Keytable read/checksum error and nothing more... :( Attached is the screenshot of VNC viewer window. On Wed, Dec 15, 2010 at 7:07 PM, Jaime Melis j.me...@fdi.ucm.es wrote: No, launch the vncviewer from your desktop PC, connecting to your worker node (which is running the VM): vncviewer 192.168.2.61::5900 Regards, Jaime On Wed, Dec 15, 2010 at 6:54 PM, Christophe Hamerling - Petals Link chamerling.eb...@gmail.com wrote: Ok i Will try this. I need to launch vnc viewer from node? Le 15 déc. 2010 à 18:06, Jaime Melis j.me...@fdi.ucm.es a écrit : Hi Christophe, I've been reading the thread but I think your configuration looks correct. Can you give it a shot at using VNC to see if the VM is booting up correctly? Maybe there's a problem with the VM... Add the following to your ONE template: GRAPHICS = [ TYPE = vnc, LISTEN = 0.0.0.0, PORT = 5900] Start the VM and connect to it via a VNC client (for instance vncviewer). Inspect the VM to see if there's a problem with it. Regards, Jaime On Wed, Dec 15, 2010 at 4:47 PM, Christophe Hamerling - Petals Link christophe.hamerl...@petalslink.com wrote: I am wondering if the problem does not also comes from the virtual network configuration. Here is my configuration : I am at home, my LAN address is 192.168.2.0/255.255.255.0 . GW is 192.168.2.1 My front address is 192.168.2.60 and the node one is 192.168.2.61 I tried to setup a bridge on the node, it seems to work (refer to my previous mails). I try to create a VM and to reach it at 192.168.2.71 but I am wondering now if it is possible to access a VM network from my laptop for exemple? How can I say to opennebula that I want to 'publish' VMs on my LAN? Is PUBLIC = YES is enough in the network configuration file? Do I need to put the front as a gateway somewhere, or another host? Thanks a lot Christophe On Wed, Dec 15, 2010 at 3:59 PM, Christophe Hamerling - Petals Link christophe.hamerl...@petalslink.com wrote: Is there a link between the MAC address defined in the VM and with the ones listed with ifconfig on the node? I do not have any. On Wed, Dec 15, 2010 at 3:46 PM, Christophe Hamerling - Petals Link christophe.hamerl...@petalslink.com wrote: Is there a web page where the network configuration on front and nodes
Re: [one-users] Migration woes and a vnc question
Hello, Could you try setting empty strings for certificate related parameters in your libvirtd.conf? In particular: tls_no_verify_certificate = 1 key_file = cert_file = Restart libvirt in both worker nodes and try again. Regards, Jaime On Tue, Dec 21, 2010 at 2:23 PM, sa...@eng.it wrote: CC == saint sa...@eng.it writes: CC And then the VNC question. Is there a way to specify a dynamic CC IP in the VM template, something like what's done for the IPs that CC will be used by the VM ? Solved. If I specify both ip = 0.0.0.0 and a password (that's not used) then I can connect with VNC to the node hosting. The bad thing is that the password seems not to be used. It's still open the issue about the livemigrate command in onevm that does not work: CC Except when I tried the livemigrate command, which caused this CC to pop up in the log: CC LOG - 27 Command execution fail: /tmp/one/vmm/kvm/migrate one-27 CC red3 CC LOG - 27 STDERR follows. CC LOG - 27 error: Cannot access CA certificate CC '/etc/pki/CA/cacert.pem': Permission denied CC LOG - 27 ExitCode: 1 CC MIGRATE FAILURE 27 - CC POLL SUCCESS 27 STATE=a USEDMEMORY=65536 CC (timing and [VMM][D]: Message received: header omitted to save CC space). CC /etc/pki/CA/cacert.pem does not exist. Should I create it ? Or CC should I get it in some CentOS package ? Any suggestion is welcome! -- ing. Gian Uberto Lauri Ricercatore / Reasearcher Divisione Ricerca ed Innovazione / Research Innovation Division gianuberto.la...@eng.it Engineering Ingegneria Informatica spa Corso Stati Uniti 23/C, 35127 Padova (PD) Tel. +39-049.8283.538 | main(){printf(unix[\021%six\012\0], Fax +39-049.8283.569 |(unix)[have]+fun-0x60);} Skype: gian.uberto.lauri | David Korn, ATT Bell Labs http://www.eng.it | ioccc best One Liner, 1987 ___ Users mailing list Users@lists.opennebula.org http://lists.opennebula.org/listinfo.cgi/users-opennebula.org -- Jaime Melis, Cloud Technology Engineer/Researcher DSA Research Group: web *http://dsa-research.org* and blog * http://blog.dsa-research.org* OpenNebula Open Source Toolkit for Cloud Computing: * http://www.OpenNebula.org http://www.opennebula.org/* ___ Users mailing list Users@lists.opennebula.org http://lists.opennebula.org/listinfo.cgi/users-opennebula.org
Re: [one-users] Outdated search index
Hello Matthias, thanks for pointing this out. It should be fixed by now! Cheers, Jaime On Mon, Feb 7, 2011 at 7:37 PM, Matthias Keller mkel...@upb.de wrote: Dear all, does someone of the reading developer's knows the admin's of this list? Can you please forward my request on periodically updating the search index? It would really help anyone. As I'm new at this list, I didn't got mails last year. (And somehow I didn't receive mail-digists anymore.) Thank you in advance. Matthias Keller ___ Users mailing list Users@lists.opennebula.org http://lists.opennebula.org/listinfo.cgi/users-opennebula.org -- Jaime Melis, Cloud Technology Engineer/Researcher Major Contributor 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] Error with TM_LVM
Hello Anoop, Is the ID of the VM you're trying to deploy '0' ? When you deploy a new vm the following LV volume will be created: lv-one-ID. If that LV already exists then it fails. My guess is that it's failing because for some reason OpenNebula didn't get the change to do a 'delete' removing the LV partition. I suggest you remove manually all the LVM partitions. You can find out the existing ones with lvs and remove them with lvremove (do that as root in the Xen node). Cheers, Jaime On Wed, Feb 16, 2011 at 2:26 PM, Anoop L anpl1...@gmail.com wrote: Hi, I have successfully created a VM from Front-End to a Xen node However on creating the second VM I get an error: Wed Feb 16 18:45:24 2011 [TM][I]: tm_clone.sh: Creating LV lv-one--0 Wed Feb 16 18:45:24 2011 [TM][I]: tm_clone.sh: ERROR: Command /usr/bin/ssh node-1 /usr/bin/sudo /sbin/lvcreate -L20G -n lv-one--0 vg00 failed. My VM template: NAME = centos55 CPU= 1 MEMORY = 2048 OS = [ bootloader = /usr/bin/pygrub ] DISK = [ image = centos5564_Base.img] DISK = [ type = swap, size = 5120 #target = sdb ] NIC = [ BRIDGE = xenbr0, MAC = 00:16:3E:02:03:05 ] FEATURES=[ acpi=no ] GRAPHICS = [ type= vnc, listen = 0.0.0.0, port= 5916 ] The same template is used for creating first VM and it all was working fine. Except the swap is not created as an LV. How can I change this template so as to create a new LV for swap partiotion. Please note that I have not created any LV manually. If I create a LV manually how can I specify this in the VM template. I am stuck on this for some time and posted this multiple times with no answer. Any help would be appreciated. Thanks, Anoop ___ Users mailing list Users@lists.opennebula.org http://lists.opennebula.org/listinfo.cgi/users-opennebula.org -- Jaime Melis, Cloud Technology Engineer/Researcher Major Contributor 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] KVM hypervisor and Virt-Manager
Hi Filippo, OpenNebula doesn't support qemu, although since kvm is based in qemu there are many compatibilities. To figure out why it's not working for you with the domain type kvm, please send us the vm.log. Cheers, Jaime On Mon, Jan 31, 2011 at 12:51 PM, Filippo Dalla Gassa pippo.dallaga...@gmail.com wrote: Hi, I've seen that if in the deployment file I set domain type=kvm (exactly what one sets) and then I manually create the vm via virsh create I have problems assigning IP address and opening the vm via virt-manager. But if I set domain type=qemu and manually create the vm all goes well: I can assign automatically IP address using the vmcontext.sh script and I can open the vm with virt-manager...in other words the vm works perfectly. Any idea? Cause if I create a vm with one and not manually via virsh I can't change the domain type, is it true? Regards, -- Filippo Dalla Gassa ___ 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] Error with TM_LVM
Hi Anoop, we have figured out what's wrong. A while back we changed the $SED variable and to use by default the '-r' option (extended reg-exps), but that change broke the sed script which parses de VM ID which is passed to the tm_clone script. We have reported a bug and submitted a patch: http://dev.opennebula.org/issues/496 In order to fix it manually, edit $ONE_LOCATION/etc/tm_lvm/tm_lvmrc and change this line: echo $1 |$SED -e 's%^.*/\([^/]*\)/images.*$%\1%' to this one: echo $1 |$SED -e 's%^.*/([^/]*)/images.*$%\1%' The link to the patch: http://dev.opennebula.org/projects/opennebula/repository/revisions/ef738d5d51cefff55f7ee2aec4f7721473ebeb0e/diff/src/tm_mad/lvm/tm_lvmrc Thanks for reporting this! cheers, Jaime On Wed, Feb 16, 2011 at 6:08 PM, Anoop L anpl1...@gmail.com wrote: sure Jaime. I have attached the vm.log as well. Vm.log: Wed Feb 16 20:49:43 2011 [DiM][I]: New VM state is ACTIVE. Wed Feb 16 20:49:43 2011 [LCM][I]: New VM state is PROLOG. Wed Feb 16 20:49:43 2011 [VM][I]: Virtual Machine has no context Wed Feb 16 20:49:54 2011 [TM][I]: Command execution fail: /opt/cloud/one/lib/tm_commands/lvm/tm_clone.sh ast462:/opt/cloud/one/var//images/fd34675a5656d3b5b92e01b11dbae9c819e5f4c4 ast-wks-348:/opt/cloud/one/var//86/images/disk.0 Wed Feb 16 20:49:54 2011 [TM][I]: STDERR follows. Wed Feb 16 20:49:54 2011 [TM][I]: /bin/sed: -e expression #1, char 29: invalid reference \1 on `s' command's RHS Wed Feb 16 20:49:54 2011 [TM][I]: ERROR MESSAGE --8-- Wed Feb 16 20:49:54 2011 [TM][I]: Logical volume lv-one--0 already exists in volume group vg00 Wed Feb 16 20:49:54 2011 [TM][I]: ERROR MESSAGE --8-- Wed Feb 16 20:49:54 2011 [TM][I]: ExitCode: 5 Wed Feb 16 20:49:54 2011 [TM][I]: tm_clone.sh: ast462:/opt/cloud/one/var//images/fd34675a5656d3b5b92e01b11dbae9c819e5f4c4 ast-wks-348:/opt/cloud/one/var//86/images/disk.0 Wed Feb 16 20:49:54 2011 [TM][I]: tm_clone.sh: DST: /opt/cloud/one/var//86/images/disk.0 Wed Feb 16 20:49:54 2011 [TM][I]: tm_clone.sh: Creating directory /opt/cloud/one/var//86/images Wed Feb 16 20:49:54 2011 [TM][I]: tm_clone.sh: Executed /usr/bin/ssh ast-wks-348 mkdir -p /opt/cloud/one/var//86/images. Wed Feb 16 20:49:54 2011 [TM][I]: tm_clone.sh: Creating LV lv-one--0 Wed Feb 16 20:49:54 2011 [TM][I]: tm_clone.sh: ERROR: Command /usr/bin/ssh ast-wks-348 /usr/bin/sudo /sbin/lvcreate -L20G -n lv-one--0 vg00 failed. Wed Feb 16 20:49:54 2011 [TM][I]: tm_clone.sh: ERROR: Logical volume lv-one--0 already exists in volume group vg00 Wed Feb 16 20:49:54 2011 [TM][E]: Error excuting image transfer script: Logical volume lv-one--0 already exists in volume group vg00 Wed Feb 16 20:49:55 2011 [DiM][I]: New VM state is FAILED Wed Feb 16 20:50:00 2011 [TM][W]: Ignored: LOG - 86 Command execution fail: /opt/cloud/one/lib/tm_commands/lvm/tm_delete.sh ast-wks-348:/opt/cloud/one/var//86/images Wed Feb 16 20:50:00 2011 [TM][W]: Ignored: LOG - 86 STDERR follows. Wed Feb 16 20:50:00 2011 [TM][W]: Ignored: LOG - 86 /bin/sed: -e expression #1, char 29: invalid reference \1 on `s' command's RHS Wed Feb 16 20:50:00 2011 [TM][W]: Ignored: LOG - 86 ERROR MESSAGE --8-- Wed Feb 16 20:50:00 2011 [TM][W]: Ignored: LOG - 86 Can't remove open logical volume lv-one--0 Wed Feb 16 20:50:00 2011 [TM][W]: Ignored: LOG - 86 ERROR MESSAGE --8-- Wed Feb 16 20:50:00 2011 [TM][W]: Ignored: LOG - 86 ExitCode: 5 Wed Feb 16 20:50:00 2011 [TM][W]: Ignored: LOG - 86 tm_delete.sh: Deleting remote LVs Wed Feb 16 20:50:00 2011 [TM][W]: Ignored: LOG - 86 tm_delete.sh: ERROR: Command /usr/bin/ssh ast-wks-348 /usr/bin/sudo /sbin/lvremove -f $(echo vg00/$(/usr/bin/sudo /sbin/lvs --noheadings vg00|awk '{print $1}'|grep lv-one-)) failed. Wed Feb 16 20:50:00 2011 [TM][W]: Ignored: LOG - 86 tm_delete.sh: ERROR: Can't remove open logical volume lv-one--0 Wed Feb 16 20:50:00 2011 [TM][W]: Ignored: TRANSFER FAILURE 86 Can't remove open logical volume lv-one--0 Thanks, Anoop On Wed, Feb 16, 2011 at 9:12 PM, Jaime Melis jme...@opennebula.orgwrote: Hi Anoop, could you please send me the full vm.log of that VM? cheers, Jaime On Wed, Feb 16, 2011 at 4:31 PM, Anoop L anpl1...@gmail.com wrote: Hi Jaime, Thanks for the reply. My VM ID is 86 but still ONE uses 0 as identifier for LV. Even the working VM with ID is using lv-one--0. I have already tried removing LV manually. I guess issue is that ONE is trying to create the LV of same name and some how VM ID is not appended to the LV_NAME. One more things is when second VM fails it deletes the lv-one--0. Also any idea how can I force set a VM template that a swap space/disk to be created on LV. Some more information: onevm list ID USER NAME STAT CPU MEMHOSTNAMETIME 85 oneadmin centos55 runn 0 2G ast-wks-348 00 02:00:16 86 oneadmin centos55 fail 0 0K ast-wks-348 00 00:00:42 onevm show 86 gives: VIRTUAL MACHINE 86
Re: [one-users] What's available about the LVM backend ?
Hi Gian, You're right, if you use a Cluster LVM [1] then you will be able to use migration with an empty tm_mv.sh (as you point out, same idea as the tm_mv.sh in the TM_NFS drivers). [1] http://www.centos.org/docs/5/html/Cluster_Logical_Volume_Manager/LVM_Cluster_Overview.html Cheers, Jaime On Thu, Mar 3, 2011 at 1:11 PM, Gian Uberto Lauri sa...@eng.it wrote: CC == Gian Uberto Lauri sa...@eng.it writes: CC The web site is not very promising: Stop/Migration: These CC features have not been implemented for this Transfer Manager, CC since they depend strongly on the scenario. Limitations confirmed :(. Anyway, I would work with a clustered volume group, that is every node sees the same VG, and that is very close to NFS case where everybody see the same thing. Is it safe then, to assume that tm_mv it's a no op ? I would like avoid using a distributed fs and keep my VMs on a logical volume, and since all nodes share the volume group, migration and stopping should be a no-op... Or am I wrong ? -- ing. Gian Uberto Lauri Ricercatore / Reasearcher Laboratorio Ricerca e Sviluppo / Research Development Lab. Area Calcolo Distribuito / Distributed Computation Area gianuberto.la...@eng.it Engineering Ingegneria Informatica spa Corso Stati Uniti 23/C, 35127 Padova (PD) Tel. +39-049.8283.571 | main(){printf(unix[\021%six\012\0], Fax +39-049.8283.569 |(unix)[have]+fun-0x60);} Skype: gian.uberto.lauri | David Korn, ATT Bell Labs http://www.eng.it | ioccc best One Liner, 1987 ___ Users mailing list Users@lists.opennebula.org http://lists.opennebula.org/listinfo.cgi/users-opennebula.org -- Jaime Melis, Cloud Technology Engineer/Researcher Major Contributor 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] iSCSI SAN(Storage Area Network) Feature Request
Hi, those features sound very interesting. Is there any way we can help you out in achieving them? Furthermore, could you please explain in more detail, or provide a diagram, of the deployment that will be available with the integration of iSCSI based storage devices? regards, Jaime On Wed, Mar 2, 2011 at 8:32 AM, Impetus Infotech impetus.cl...@gmail.comwrote: Hi All, We would like to have turnkey storage solution in OpenNebula, which provide seamless integration of iSCSI based storage devices. Currently we are working over this feature for XEN hypervisors, and would make announcements very soon. Brief details about extension: 1. Integration of SAN with OpenNebula via modified OpenFiler for OpenNebula 2. Ruby based scripts for attaching/deattaching volumes to virtual machines 3. Embedded xml-rpc code in OpenNebula for iSCSI based volume management via OpenFiler 4. Java based OpenNebula managment UI, which will provide Volume management. PS: Any suggestion/advice is welcome. Regards, Team Impetus ___ Users mailing list Users@lists.opennebula.org http://lists.opennebula.org/listinfo.cgi/users-opennebula.org -- Jaime Melis, Cloud Technology Engineer/Researcher Major Contributor 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
[one-users] Change of OpenNebula's git url
Hello, we've changed OpenNebula's git url to: git://git.opennebula.org/one.git (or http://git.opennebula.org/one.git) This change has been reflected in the dev portal [1]. To change the url in your existing git repo you can manually edit '.ssh/config' and make the following change: - url = git://opennebula.org/one.git + url = git://git.opennebula.org/one.git For a few days git://opennebula.org/one.git will continue to work, but it will eventually disappear. This change has no effect whatsoever over our Github mirror [2]. [1] http://dev.opennebula.org/ [2] https://github.com/OpenNebula/one Regards, Jaime -- Jaime Melis, Cloud Technology Engineer/Researcher Major Contributor 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] Change of OpenNebula's git url
Hello, Apologies, there was a typo in the previous email, it should be '.git/config' not '.ssh/config'! cheers, Jaime On Thu, Mar 17, 2011 at 8:54 PM, Jaime Melis jme...@opennebula.org wrote: Hello, we've changed OpenNebula's git url to: git://git.opennebula.org/one.git (or http://git.opennebula.org/one.git) This change has been reflected in the dev portal [1]. To change the url in your existing git repo you can manually edit '.ssh/config' and make the following change: - url = git://opennebula.org/one.git + url = git://git.opennebula.org/one.git For a few days git://opennebula.org/one.git will continue to work, but it will eventually disappear. This change has no effect whatsoever over our Github mirror [2]. [1] http://dev.opennebula.org/ [2] https://github.com/OpenNebula/one Regards, Jaime -- Jaime Melis, Cloud Technology Engineer/Researcher Major Contributor OpenNebula - The Open Source Toolkit for Cloud Computing www.OpenNebula.org | jme...@opennebula.org -- Jaime Melis, Cloud Technology Engineer/Researcher Major Contributor 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] Permission libvirt/qemu driver
Hi Guillaume, Can you send us $ONE_LOCATION/var/config and the output of: find $ONE_LOCATION -type d -printf %u %g %M %p\n Regards, Jaime On Fri, Mar 25, 2011 at 12:08 PM, Guillaume GENS guillaume.g...@cnam.frwrote: small up nobody help me ? nobody had a installation problem with kvm on ubuntu 10.04 ? --- Guillaume GENS On Wed, Mar 23, 2011 at 11:33 AM, Guillaume GENS guillaume.g...@cnam.fr wrote: hi I've got a problem deployment about ttylinux image in my Opennebula infrastruture (self-contained installation). I think It's a permission problem between libvirt and his qemu driver, I tried many solution but i can't resolve it. in /srv/cloud/one/var/14/vm.log: Wed Mar 23 11:08:10 2011 [VMM][I]: Generating deployment file: /srv/cloud/one/var/14/deployment.0 Wed Mar 23 11:08:40 2011 [VMM][I]: Command execution fail: 'if [ -x /srv/cloud/one/var/remotes/vmm/kvm/deploy ]; then /srv/cloud/one/var/remotes/vmm/kvm/deploy /srv/cloud/one/var/images/14/images/deployment.0; else exit 42; fi' Wed Mar 23 11:08:40 2011 [VMM][I]: STDERR follows. Wed Mar 23 11:08:40 2011 [VMM][I]: error: Failed to create domain from /srv/cloud/one/var/images/14/images/deployment.0 Wed Mar 23 11:08:40 2011 [VMM][I]: error: cannot set ownership on /srv/cloud/one/var/images/14/images/disk.0: No such file or directory Wed Mar 23 11:08:40 2011 [VMM][I]: ExitCode: 255 Wed Mar 23 11:08:40 2011 [VMM][E]: Error deploying virtual machine: error: Failed to create domain from /srv/cloud/one/var/images/14/images/deployment.0 Wed Mar 23 11:08:41 2011 [DiM][I]: New VM state is FAILED in : /var/log/libvirt/qemu/one-14.log LC_ALL=C PATH=/usr/local/sbin:/usr/local/bin:/usr/bin:/usr/sbin:/sbin:/bin /usr/bin/kvm -S -M pc-0.12 -cpu qemu32 -enable-kvm -m 64 -smp 1 -name one-14 -uuid 279a251a-e841-f910-68d3-0ebe89d6bff9 -nographic -chardev socket,id=monitor,path=/var/lib/libvirt/qemu/one-14.monitor,server,nowait -monitor chardev:monitor -no-acpi -boot c -drive file=/srv/cloud/one/var/images/14/images/disk.0,if=ide,index=0,boot=on,format=raw -drive file=/srv/cloud/one/var/images/14/images/disk.1,if=ide,media=cdrom,index=2,format=raw -net nic,macaddr=54:52:a3:ad:e7:15,vlan=0,name=nic.0 -net tap,fd=33,vlan=0,name=tap.0 -serial none -parallel none -usb libvir: QEMU error : cannot set ownership on /srv/cloud/one/var/images/14/images/disk.0: No such file or directory in /etc/group : kvm:x:115:oneadmin libvirtd:x:116:guigui,oneadmin cloud:x:9000: oneadmin@frontend:~$ id uid=9000(oneadmin) gid=9000(cloud) groups=115(kvm),116(libvirtd),9000(cloud) in /etc/libvirt/libvirtd.conf : unix_sock_group = libvirtd unix_sock_ro_perms = 0777 unix_sock_rw_perms = 0777 in /etc/libvirt/qemu.conf : user = oneadmin group = libvirtd thanks ahead PS: the download wget http://dev.opennebula.org/attachments/download/170/ttylinux.tar.gz always restart past 97%. you've got a problem of EndOfFile in your repository. --- Guillaume GENS ___ Users mailing list Users@lists.opennebula.org http://lists.opennebula.org/listinfo.cgi/users-opennebula.org -- Jaime Melis, Cloud Technology Engineer/Researcher Major Contributor 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] OpenNebula 2.2 Sunstone Error : Unable to Login
://lists.opennebula.org/listinfo.cgi/users-opennebula.org -- Jaime Melis, Cloud Technology Engineer/Researcher Major Contributor 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] OpenNebula 2.2 Sunstone Error : Unable to Login
Hello, I forgot to mention that you need to set the ONE_AUTH environment variable: http://opennebula.org/documentation:rel2.2:cg#opennebula_users Regards, Jaime On Wed, Apr 6, 2011 at 10:44 AM, Jaime Melis jme...@opennebula.org wrote: Hi, It seems that you don't have write permissions in /var/log/one, could you try the following? touch /var/log/one/test If that's the problem try to fix it with chown or chmod. However, you shouldn't be having that problem, how have you installed OpenNebula? what package and what distro? Regards, Jaime On Wed, Apr 6, 2011 at 7:12 AM, KING LABS kinglabs...@gmail.com wrote: Hi , I have been trying to install and configure 2.2 with Sunstone. I unable to login into the sunstone . The details of the error are as follows when I log in as a normal user on the frontend. Also when i try while logged in as oneadmin I get oneadmin@frontend:~$ sunstone-server start /usr/bin/sunstone-server: line 70: /var/log/one/sunstone.log: Permission denied sunstone-server started oneadmin@frontend:~$ Please correct me if I am missing anything. - RuntimeError - ONE_AUTH file not present: /usr/lib/one/ruby/OpenNebula.rb:93:in `initialize' /usr/lib/one/sunstone/models/SunstoneServer.rb:51:in `new' /usr/lib/one/sunstone/models/SunstoneServer.rb:51:in `authorize' /usr/lib/one/sunstone/sunstone-server.rb:48:in `build_session' /usr/lib/one/sunstone/sunstone-server.rb:120:in `POST /login' /var/lib/gems/1.8/gems/sinatra-1.2.1/lib/sinatra/base.rb:1125:in `call' /var/lib/gems/1.8/gems/sinatra-1.2.1/lib/sinatra/base.rb:1125:in `compile!' /var/lib/gems/1.8/gems/sinatra-1.2.1/lib/sinatra/base.rb:709:in `instance_eval' /var/lib/gems/1.8/gems/sinatra-1.2.1/lib/sinatra/base.rb:709:in `route_eval' /var/lib/gems/1.8/gems/sinatra-1.2.1/lib/sinatra/base.rb:693:in `route!' /var/lib/gems/1.8/gems/sinatra-1.2.1/lib/sinatra/base.rb:741:in `process_route' /var/lib/gems/1.8/gems/sinatra-1.2.1/lib/sinatra/base.rb:738:in `catch' /var/lib/gems/1.8/gems/sinatra-1.2.1/lib/sinatra/base.rb:738:in `process_route' /var/lib/gems/1.8/gems/sinatra-1.2.1/lib/sinatra/base.rb:692:in `route!' /var/lib/gems/1.8/gems/sinatra-1.2.1/lib/sinatra/base.rb:691:in `each' /var/lib/gems/1.8/gems/sinatra-1.2.1/lib/sinatra/base.rb:691:in `route!' /var/lib/gems/1.8/gems/sinatra-1.2.1/lib/sinatra/base.rb:826:in `dispatch!' /var/lib/gems/1.8/gems/sinatra-1.2.1/lib/sinatra/base.rb:619:in `call!' /var/lib/gems/1.8/gems/sinatra-1.2.1/lib/sinatra/base.rb:791:in `instance_eval' /var/lib/gems/1.8/gems/sinatra-1.2.1/lib/sinatra/base.rb:791:in `invoke' /var/lib/gems/1.8/gems/sinatra-1.2.1/lib/sinatra/base.rb:791:in `catch' /var/lib/gems/1.8/gems/sinatra-1.2.1/lib/sinatra/base.rb:791:in `invoke' /var/lib/gems/1.8/gems/sinatra-1.2.1/lib/sinatra/base.rb:619:in `call!' /var/lib/gems/1.8/gems/sinatra-1.2.1/lib/sinatra/base.rb:604:in `call' /var/lib/gems/1.8/gems/rack-1.2.2/lib/rack/session/abstract/id.rb:63:in `context' /var/lib/gems/1.8/gems/rack-1.2.2/lib/rack/session/abstract/id.rb:58:in `call' /var/lib/gems/1.8/gems/sinatra-1.2.1/lib/sinatra/showexceptions.rb:21:in `call' /var/lib/gems/1.8/gems/rack-1.2.2/lib/rack/methodoverride.rb:24:in `call' /var/lib/gems/1.8/gems/rack-1.2.2/lib/rack/commonlogger.rb:18:in `call' /var/lib/gems/1.8/gems/sinatra-1.2.1/lib/sinatra/base.rb:1245:in `call' /var/lib/gems/1.8/gems/sinatra-1.2.1/lib/sinatra/base.rb:1276:in `synchronize' /var/lib/gems/1.8/gems/sinatra-1.2.1/lib/sinatra/base.rb:1245:in `call' /var/lib/gems/1.8/gems/rack-1.2.2/lib/rack/lint.rb:48:in `_call' /var/lib/gems/1.8/gems/rack-1.2.2/lib/rack/lint.rb:36:in `call' /var/lib/gems/1.8/gems/rack-1.2.2/lib/rack/showexceptions.rb:24:in `call' /var/lib/gems/1.8/gems/rack-1.2.2/lib/rack/commonlogger.rb:18:in `call' /usr/lib/ruby/1.8/rack/content_length.rb:13:in `call' /usr/lib/ruby/1.8/rack/chunked.rb:15:in `call' /usr/lib/ruby/1.8/thin/connection.rb:76:in `pre_process' /usr/lib/ruby/1.8/thin/connection.rb:74:in `catch' /usr/lib/ruby/1.8/thin/connection.rb:74:in `pre_process' /usr/lib/ruby/1.8/thin/connection.rb:57:in `process' /usr/lib/ruby/1.8/thin/connection.rb:42:in `receive_data' /usr/lib/ruby/1.8/eventmachine.rb:240:in `run_machine' /usr/lib/ruby/1.8/eventmachine.rb:240:in `run' /usr/lib/ruby/1.8/thin/backends/base.rb:57:in `start' /usr/lib/ruby/1.8/thin/server.rb:156:in `start' /usr/lib/ruby/1.8/rack/handler/thin.rb:14:in `run' /usr/lib/ruby/1.8/rack/server.rb:155:in `start' /usr/lib/ruby/1.8/rack/server.rb:83:in `start' /usr/bin/rackup:4 127.0.0.1 - - [06/Apr/2011 01:07:05] POST /login HTTP/1.1 500 138892 0.0876 127.0.0.1 - - [06/Apr/2011 01:07:05] POST /login HTTP/1.1 500 138892 0.0885 ^C king@frontend
Re: [one-users] Setting up private networks for VM
Hi Prakhar, you need to use the same bridge, both for public and private networks: eth0. regards, Jaime On Wed, Apr 6, 2011 at 9:18 PM, Prakhar Srivastava prakhar@gmail.comwrote: Hi, Thannx for the reply. Using two NIC sections per VM (one has eth0 bridge and the other one has eth1 as bridge) But I have a single bridge created on each of my cluster nodes i.e. eth0. When I insert NIC for private network which has bridge as eth1, I get a error that eth1 bridge does not exist and the deployment fails.eth0 acts as a bridge between my public network and the network interfaces of VMs. This works fine. I want that a second NIC can be added to the VMs but it fails because of the reason mentioned above.(there is no eth1 bidge). Regards, Prakhar On Wed, Apr 6, 2011 at 9:18 PM, Jaime Melis jme...@opennebula.org wrote: Hi Prakhar, The scenario you've described is very easily achievable, you only need to create another private network vnet instance (created with the onevnet utility) and add two NIC sections per VM, one for the public NIC and one for the private one. It has one drawback, though, if you do this you will not be able to use the ebtables hook for network isolation, therefore someone using one of your VMs might be able to do MAC spoofing. But other than that it should work perfectly. cheers, Jaime On Mon, Apr 4, 2011 at 12:24 PM, Prakhar Srivastava prakhar@gmail.com wrote: Hi, By private networks, I mean the virtual network created by opennebula onevnet utility. Consider the scenario where I have 4 VMs running in my opennebula cloud setup. All of them has a public IP (allocated from a virtual network created by using onevnet utility) thats accessible from my network(LAN) . Its easy enough to access because it falls under the same network in which I am. What if I want to attach another interface to the VMs, so that I can assign private IPs to them .This is handy if you want to have more VMs than the number of public IPs available to you. Hope this makes sense. My question i do I need to have another physical NIC on all my cluster nodes for this.If not, please suggest a solution. Regards, Prakhar On Mon, Apr 4, 2011 at 11:33 AM, Prakhar Srivastava prakhar@gmail.com wrote: Hi, I wanted to set up private networks for VMs in my opennebula setup. Is it necessary to have two physical NICs on the cluster nodes for setting private networks. If yes, is there any alternative to it so that I can use my VMs using their private IPs. Regards, Prakhar ___ Users mailing list Users@lists.opennebula.org http://lists.opennebula.org/listinfo.cgi/users-opennebula.org -- Jaime Melis, Cloud Technology Engineer/Researcher Major Contributor OpenNebula - The Open Source Toolkit for Cloud Computing www.OpenNebula.org | jme...@opennebula.org -- Jaime Melis, Cloud Technology Engineer/Researcher Major Contributor 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] Does anyone have run Ubuntu instance in OpenNebula successfully ?
Hello, Indeed the classic approach of installing manually an Ubuntu 10.04 VM under KVM and launching it with OpenNebula is a bit tricky since it has problems booting up. We have used and alternative method to prepare VMs which works perfectly with Ubuntu 10.04: - Create an OpenNebula template with 2 DISKs: DISK = [ source = /path/to/ubuntu-10.04.2-server-amd64.iso, type= cdrom, target = hdc ] DISK = [ TYPE = fs, SIZE = 10240, FORMAT = ext3, SAVE = yes, TARGET = sda ] - Define the VNC attribute, and OS = [BOOT = cdrom ] - Launch the VM with OpenNebula - Connect to the running VM with VNC and install Ubuntu. (It comes in really handy here to have a DHCP server for the installation). - Manually partition: a single partition mounted on / without swap. - Install OpenSSH server during installation - Before shutting down the VM, execute onevm saveas VM_ID DISK_ID new_image_name DISK_ID should be '0'. The saved image should now boot without further trouble. Regarding Contextualization: - for net-contexutalization: a very easy and straight-forward way to contextualize is to disable automatic configuration of eth0 in /etc/network/interfaces and adding this [1] script to /etc/rc.local - don't forget to install acpid package - follow OpenNebula's guide on contextualization for full contextualization [2] We are preparing a blog post explaining this more thoroughly and we will link to a contextualized Ubuntu 10.04 prepared by us. It should be ready by next week. [1] http://pastebin.com/hL3Z23kH [2] http://opennebula.org/documentation:rel2.2:cong Regards, Jaime 2011/4/18 Idafen Santana Pérez idafe...@gmail.com Hi Jeff, did you solve your problem? I'm stuck at the same point. Regards Idafen On Mon, Apr 4, 2011 at 4:52 AM, Jeff jafe...@gmail.com wrote: Thanks you very much ,Carsten. You guys are so kind! I will give it a try. Best Regards, Jeff On 4/4/2011 10:43 AM, carsten.friedr...@csiro.au wrote: Try enabling the VNC option. This might give you some indication about what went wrong. Ssh or ping will only work if the VM successfully booted and successfully configured the network. VNC is available from the very start of the boot process. If this fails, I can give you a Ubuntu 10.4 image and template that works here. It requires KVM as hypervisor and an existing DHCP server to obtain an IP address. Carsten [image: cid:387141907@30042010-37FB] http://www.csiro.au/ Carsten Friedrich Research Team leader ICT Centre, GPO Box 664,Canberra, ACT 2601 Phone: +61 2 6216 7019 Email: carsten.friedr...@csiro.au Web: http://www.csiro.au/org/ICT.html *From:* users-boun...@lists.opennebula.org [ mailto:users-boun...@lists.opennebula.orgusers-boun...@lists.opennebula.org] *On Behalf Of *Jeff Lee *Sent:* Monday, 4 April 2011 12:11 *To:* users@lists.opennebula.org *Subject:* [one-users] Does anyone have run ubuntu instance in opennebula successfully ? Hi, all.I am stuck in this problem for several days.I can get the instance running, however, I just can't ssh or even ping to it. I try to fix this issues by Google.However, I have failed to find any tutorial about how to create a ubuntu image from scratch for opennebula. Ubuntu website provides images for Eucalyptus and EC2. So I am wondering ,is there any website providing such kind of images ? Best Regards, Jeff ___ 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 -- Jaime Melis, Cloud Technology Engineer/Researcher Major Contributor 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] Not able to access running Ubuntu vm
Hi Amit, take a look at this [1] post, it might help you out with running Ubuntu 10.10. Although I have described the process for Ubuntu 10.04 it should work with Ubuntu 10.10. [1] http://lists.opennebula.org/pipermail/users-opennebula.org/2011-April/004893.html Cheers, Jaime On Fri, Apr 15, 2011 at 12:52 PM, Amit Soni get.amits...@gmail.com wrote: Hello, I made this img file using the following commands: qemu-img create -f qcow2 vdisk.img 10G qemu-system-x86_64 -hda vdisk.img -cdrom /path/to/ubuntu-server.iso -boot d -m 384 mv vdisk.img ubuntu-1010-server-network-init.img So, I am pretty sure it's qcow2 format. Also, I tried to convert the img file to the raw format using the following command but still I got the same blank screen: qemu-img convert -O raw ubuntu-1010-server-network-init.img ubuntu-1010-server-network-init.raw So I am still not able to run ubuntu VM in opennebula. I would be great if there are some sort of standard contextualized images of standard linux distros available for usage. Amit On Fri, Apr 15, 2011 at 1:26 PM, Olivier Sallou olivier.sal...@irisa.fr wrote: your source file is ubuntu-1010-server-network-init.img with img extension are you sure it is a qcow2? Olivier Le 4/15/11 12:13 PM, Amit Soni a écrit : Hello, There is some interesting progress. I was able to connect to the vnc session of the machine. I found the following output: Booting from Hard Disk ... Boot failed: not a bootable disk No bootable device. Apparently, the format of the IMG file is qcow2 and I didn't mentioned that format in the VM template. Hence, I did the following changes in the VM template as mentioned in the link https://support.opennebula.pro/entries/348847-using-qcow-images: DISK = [ source = /srv/cloud/images/ubuntu/ubuntu-1010-server-network-init.img, target = hda, readonly = no, DRIVER=qcow2 ] However, now when I access the VM from the vnc session I see blank screen (not a single character on the screen). The VM is still in the runn state. Now I am really confused what could have went wrong. --Amit 2011/4/14 Amit Soni get.amits...@gmail.com: Hello, I was trying the same thing using following parameters in the template file: RAW = [ type = kvm, data = devicesserial type=\pty\source path=\/dev/pts/5\/target port=\0\//serialconsole type=\pty\ tty=\/dev/pts/5\source path=\/dev/pts/5\/target port=\0\//console/devices ] However, when I accessed the machine using the virsh console I got the following output after which it just froze. I hit enter many time but no response. Although I was able to get out of the console: virsh # console one-13 Connected to domain one-13 Escape character is ^] I read somewhere that this can be because I have not enabled the VM to be accessed from serial console so then I followed the following guide to make some modification in the VM: https://help.ubuntu.com/community/SerialConsoleHowto However, after making the changes when I boot the VM using the qemu command I just see the some output like follows: fsck from util-linux-ng 2.17.2 /dev/sda1: clean ... files, ... blocks * Starting AppArmor profiles And that's it. After this there is no response from the VM. However, I am able to ssh into the VM (since I have started it from qemu command). But the important thing is, even after these changes for enabling serial console in the VM and starting the VM from the opennebula with the above mentioned RAW parameters, I get the same result. It get the same output upon accessing the console and after that it just freezes. Could see any mistake that I might be making. Thanks Regards, Amit 2011/4/14 Idafen Santana Pérez idafe...@gmail.com: Hi Zeeshan, how do you access a running VM? Regards Idafen On Thu, Apr 14, 2011 at 6:13 PM, Zeeshan Ali Shah zas...@pdc.kth.se wrote: Manually Console to the running VM to see what went wrong .. /Zeeshan On Thu, Apr 14, 2011 at 5:40 PM, Amit Soni get.amits...@gmail.com wrote: Hello, I manually created a Ubuntu IMG by installing the Ubuntu 10.10 server ISO using qemu command as follows: qemu-img create -f qcow2 vdisk.img 10G qemu-system-x86_64 -hda vdisk.img -cdrom /path/to/ubuntu-server.iso -boot d -m 384 Then I added the network contextualisation scripts as mentioned in the first section of the article: http://opennebula.org/documentation:archives:rel2.0:cong But I did one change; I added the execution of the vmcontext script in the /etc/init.d/networking script since adding the vmcontext script in the runlevel 2 didn't helped. Now when I start the installed Ubuntu IMG using the following command, I get the desired IP in the machine. I am also able to SSH to the machine: qemu-system-x86_64 -hda ubuntu-server.img -net
Re: [one-users] OpenNebula Express Addons
Hi, I have some issues during OpenNebula installation with Express addons. After finishing installation on front node, I checked there was no /cloud/one directory on /srv/ although the installer script set installation to /srv/cloud/one although OpenNebula daemon succesfully started. OpenNebula Express installs in system wide mode. You have to look for /var/lib/one instead of /srv/cloud/one, which will be oneadmin's home directory. And I still didn't know how to execute generated node-install.sh script from frontnode to install it at each worker nodes. Sorry, I am newbie to linux command and opennebula. Hope someone can help my problems. Thanks. you have to copy the script to the worker node. Try doing it with scp (you need to have an ssh server enabled in the worker node). Once it's copied run it with sudo. cheers, Jaime -- Jaime Melis, Cloud Technology Engineer/Researcher Major Contributor 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] SRPMs for 2.2-1 available?
Hi Töns, there are some srpm's available in http://dev.opennebula.org/projects/packages/files I'll try to post the OpenNebula 2.2 srpm's. What previous versions are you looking for? I'm afraid we haven't kept those... regards, Jaime On Tue, Apr 26, 2011 at 9:48 AM, Toens Bueker toens.bue...@lists0903.nurfuerspam.neuroserve.de wrote: Hi *, http://dev.opennebula.org/projects/packages/files has SRPMs for CentOS/RHEL for older versions of OpenNebula before 2.2-1. Could somebody make the SRPM for 2.2-1 available, as well? Thx. Kind regards, Töns -- There is no safe distance. ___ Users mailing list Users@lists.opennebula.org http://lists.opennebula.org/listinfo.cgi/users-opennebula.org -- Jaime Melis, Cloud Technology Engineer/Researcher Major Contributor 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] Installation Problem, CentOS 5.5 x86_64, opennebula 2.0.1 / 2.2
: libxmlrpc_server_abyss++.so.3()(64bit) for package: o pennebula -- Processing Dependency: libxmlrpc_server_abyss.so.3()(64bit) for package: ope nnebula -- Processing Dependency: libxmlrpc_util.so.3()(64bit) for package: opennebula -- Finished Dependency Resolution opennebula-2.0-1.x86_64 from /opennebula-2.0-1.x86_64 has depsolving problems -- Missing Dependency: libxmlrpc_server++.so.3()(64bit) is needed by package opennebula-2.0-1.x86_64 (/opennebula-2.0-1.x86_64) opennebula-2.0-1.x86_64 from /opennebula-2.0-1.x86_64 has depsolving problems -- Missing Dependency: libxmlrpc++.so.3()(64bit) is needed by package openneb ula-2.0-1.x86_64 (/opennebula-2.0-1.x86_64) opennebula-2.0-1.x86_64 from /opennebula-2.0-1.x86_64 has depsolving problems -- Missing Dependency: libxmlrpc_server_abyss.so.3()(64bit) is needed by pack age opennebula-2.0-1.x86_64 (/opennebula-2.0-1.x86_64) opennebula-2.0-1.x86_64 from /opennebula-2.0-1.x86_64 has depsolving problems -- Missing Dependency: libxmlrpc_util.so.3()(64bit) is needed by package open nebula-2.0-1.x86_64 (/opennebula-2.0-1.x86_64) opennebula-2.0-1.x86_64 from /opennebula-2.0-1.x86_64 has depsolving problems -- Missing Dependency: libxmlrpc_client++.so.3()(64bit) is needed by package opennebula-2.0-1.x86_64 (/opennebula-2.0-1.x86_64) opennebula-2.0-1.x86_64 from /opennebula-2.0-1.x86_64 has depsolving problems -- Missing Dependency: libxmlrpc_server_abyss++.so.3()(64bit) is needed by pa ckage opennebula-2.0-1.x86_64 (/opennebula-2.0-1.x86_64) Error: Missing Dependency: libxmlrpc_server_abyss++.so.3()(64bit) is needed by p ackage opennebula-2.0-1.x86_64 (/opennebula-2.0-1.x86_64) Error: Missing Dependency: libxmlrpc_util.so.3()(64bit) is needed by package ope nnebula-2.0-1.x86_64 (/opennebula-2.0-1.x86_64) Error: Missing Dependency: libxmlrpc_client++.so.3()(64bit) is needed by package opennebula-2.0-1.x86_64 (/opennebula-2.0-1.x86_64) Error: Missing Dependency: libxmlrpc_server_abyss.so.3()(64bit) is needed by pac kage opennebula-2.0-1.x86_64 (/opennebula-2.0-1.x86_64) Error: Missing Dependency: libxmlrpc_server++.so.3()(64bit) is needed by package opennebula-2.0-1.x86_64 (/opennebula-2.0-1.x86_64) Error: Missing Dependency: libxmlrpc++.so.3()(64bit) is needed by package openne bula-2.0-1.x86_64 (/opennebula-2.0-1.x86_64) You could try using --skip-broken to work around the problem You could try running: package-cleanup --problems package-cleanup --dupes rpm -Va --nofiles -nodigest (9) Any ideas? Best regards, John ___ Users mailing list Users@lists.opennebula.org http://lists.opennebula.org/listinfo.cgi/users-opennebula.org -- Jaime Melis, Cloud Technology Engineer/Researcher Major Contributor 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] ebtables-kvm issue
Hi Kees, you are right, the hook was broken. You can find the bug report here [1] and the patch here [2]. [1] http://dev.opennebula.org/issues/617 [2] http://dev.opennebula.org/projects/opennebula/repository/revisions/0e88d4248ac55aaba2cefcec8e28bb808b9b8a1c Regards, Jaime On Thu, Apr 14, 2011 at 9:12 PM, Kees Verstoep c.verst...@vu.nl wrote: Hi, Like others on this list I am also experimenting with setting up ebtables for KVM and ran into the issue that the ebtables-kvm script does not appear to add rules. After some debugging there turns out to be a relevant difference between this version on the site: http://opennebula.org/documentation:archives:rel2.0:nm and the version included with 2.2. The 2.2 version does not flatten the hash-of-arrays containing the bridging interfaces, and as a result the condition if interfaces.include? tap never succeeds it seems, so activation never occurs. Note I am not a Ruby expert, maybe someone can have a look. Regards, Kees Verstoep ___ Users mailing list Users@lists.opennebula.org http://lists.opennebula.org/listinfo.cgi/users-opennebula.org -- Jaime Melis, Cloud Technology Engineer/Researcher Major Contributor 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] problem with ebtables-xen OpenNebula
Hi, change lines 54 and 55 of ebtables-xen script to reflect the full path of the xm executable (typically /usr/sbin/xm). I suggest you migrate to OpenNebula 2.2 cheers, Jaime 2011/5/6 高建平 13810416...@qq.com Dear I have some problem when I using ebtables to isolate vlans. My OpenNebula version is 1.4,and i'm using Xen(3.0.3) and centos(5.4;nodes os). and I have done sone configuration according to Private Cloud Computing with OpenNebula 1.4 document: 1. install ebtables and configure sudoers on every nodes. oneadmin ALL=(ALL) NOPASSWD: /usr/local/sbin/ebtables* 2. modify my one configure, /opt/nebula/ONE/etc/oned.conf: VM_HOOK = [ name=ebtables-start, on =running, command =/opt/nebula/ONE/share/hooks/ebtables-xen, arguments =one-$VMID, remote =yes ] VM_HOOK = [ name=ebtables-flush, on =done, command =/opt/nebula/ONE/share/hooks/ebtables-flush, arguments =, remote =yes ] but when VM is created the ebtables rules is empty,and the oned.log has this msg: Thu May 5 15:59:41 2011 [HKM][D]: Message received: LOG - 10 CQ_TEST## ssh node30 '/opt/nebula/ONE/share/hooks/ebtables-xen one-10' ; echo ExitCode: $? 12 Thu May 5 15:59:42 2011 [HKM][D]: Message received: LOG - 10 Command execution fail: '/opt/nebula/ONE/share/hooks/ebtables-xen one-10' Thu May 5 15:59:42 2011 [HKM][D]: Message received: LOG - 10 STDERR follows. Thu May 5 15:59:42 2011 [HKM][D]: Message received: LOG - 10 sudo: xm: command not found Thu May 5 15:59:42 2011 [HKM][D]: Message received: LOG - 10 sudo: xm: command not found Thu May 5 15:59:42 2011 [HKM][D]: Message received: LOG - 10 /opt/nebula/ONE/share/hooks/ebtables-xen:80: command not found: brctl show Thu May 5 15:59:42 2011 [HKM][D]: Message received: LOG - 10 /opt/nebula/ONE/share/hooks/ebtables-xen:33:in `get_bridges': undefined method `each' for nil:NilClass (NoMethodError) Thu May 5 15:59:42 2011 [HKM][D]: Message received: LOG - 10 from /opt/nebula/ONE/share/hooks/ebtables-xen:47:in `get_interfaces' Thu May 5 15:59:42 2011 [HKM][D]: Message received: LOG - 10 from /opt/nebula/ONE/share/hooks/ebtables-xen:58 Thu May 5 15:59:42 2011 [HKM][D]: Message received: LOG - 10 ExitCode: 1 Thu May 5 15:59:42 2011 [HKM][D]: Message received: EXECUTE FAILURE 10 ebtables-start can you help me to fix this problem, thanks for your time. Best Regards gaojp ___ Users mailing list Users@lists.opennebula.org http://lists.opennebula.org/listinfo.cgi/users-opennebula.org -- Jaime Melis, Cloud Technology Engineer/Researcher Major Contributor 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] problem with ebtables-xen OpenNebula
Hi, change lines 54 and 55 of ebtables-xen script to reflect the full path of the xm binary (typically /usr/sbin/xm). I suggest you migrate to OpenNebula 2.2 regards, Jaime 2011/5/6 高建平 13810416...@qq.com Dear I have some problem when I using ebtables to isolate vlans. My OpenNebula version is 1.4,and i'm using Xen(3.0.3) and centos(5.4;nodes os). and I have done sone configuration according to Private Cloud Computing with OpenNebula 1.4 document: 1. install ebtables and configure sudoers on every nodes. oneadmin ALL=(ALL) NOPASSWD: /usr/local/sbin/ebtables* 2. modify my one configure, /opt/nebula/ONE/etc/oned.conf: VM_HOOK = [ name=ebtables-start, on =running, command =/opt/nebula/ONE/share/hooks/ebtables-xen, arguments =one-$VMID, remote =yes ] VM_HOOK = [ name=ebtables-flush, on =done, command =/opt/nebula/ONE/share/hooks/ebtables-flush, arguments =, remote =yes ] but when VM is created the ebtables rules is empty,and the oned.log has this msg: Thu May 5 15:59:41 2011 [HKM][D]: Message received: LOG - 10 CQ_TEST## ssh node30 '/opt/nebula/ONE/share/hooks/ebtables-xen one-10' ; echo ExitCode: $? 12 Thu May 5 15:59:42 2011 [HKM][D]: Message received: LOG - 10 Command execution fail: '/opt/nebula/ONE/share/hooks/ebtables-xen one-10' Thu May 5 15:59:42 2011 [HKM][D]: Message received: LOG - 10 STDERR follows. Thu May 5 15:59:42 2011 [HKM][D]: Message received: LOG - 10 sudo: xm: command not found Thu May 5 15:59:42 2011 [HKM][D]: Message received: LOG - 10 sudo: xm: command not found Thu May 5 15:59:42 2011 [HKM][D]: Message received: LOG - 10 /opt/nebula/ONE/share/hooks/ebtables-xen:80: command not found: brctl show Thu May 5 15:59:42 2011 [HKM][D]: Message received: LOG - 10 /opt/nebula/ONE/share/hooks/ebtables-xen:33:in `get_bridges': undefined method `each' for nil:NilClass (NoMethodError) Thu May 5 15:59:42 2011 [HKM][D]: Message received: LOG - 10 from /opt/nebula/ONE/share/hooks/ebtables-xen:47:in `get_interfaces' Thu May 5 15:59:42 2011 [HKM][D]: Message received: LOG - 10 from /opt/nebula/ONE/share/hooks/ebtables-xen:58 Thu May 5 15:59:42 2011 [HKM][D]: Message received: LOG - 10 ExitCode: 1 Thu May 5 15:59:42 2011 [HKM][D]: Message received: EXECUTE FAILURE 10 ebtables-start can you help me to fix this problem, thanks for your time. Best Regards gaojp ___ Users mailing list Users@lists.opennebula.org http://lists.opennebula.org/listinfo.cgi/users-opennebula.org -- Jaime Melis, Cloud Technology Engineer/Researcher Major Contributor 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
[one-users] opennebula.org is down
Hi, opennebula.org is down because of an outage in Linod, our host provider. See this [1] link for more info on the outage: [1] http://status.linode.com/2011/05/outage-in-fremont-facility.html Regards, Jaime -- Jaime Melis, Cloud Technology Engineer/Researcher Major Contributor 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
[one-users] Reminder: OpenNebula IRC session is about to start
Hi, The OpenNebula IRC session is about to start in #opennebula at freenode. Come and join us! http://opennebula.org/community:events#opennebula_irc_sessions Cheers, Jaime -- Jaime Melis, Cloud Technology Engineer/Researcher Major Contributor 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] Help needed in understand virtual bridges
Hi Adnan, The required bridge setup is actually quite straight-forward. I'll assume you want to connect your VMs to the same network your eth0 is connected to. The following commands should be executed on the worker nodes. brctl addbr br0 ifconfig eth0 0.0.0.0 up brctl addif br0 eth0 ifconfig br0 old_eth0_ip_address Don't do this over an ssh connection since you will get disconnected. That's quick recipe to make it work, but you should read documents on bridging, especially to make the persistent, each distro has its own mechanism: http://wiki.debian.org/BridgeNetworkConnections http://www.linuxfoundation.org/collaborate/workgroups/networking/bridge (extensive) regards, Jaime On Tue, May 24, 2011 at 11:54 AM, Adnan Pasic pq...@yahoo.de wrote: Here is the problem I'm having, and as can be seen obviously the virtual bridge is creating this error, so please tell me what to do? Do I need to create a virtual bridge on my front-end? And how can I do this? Tue May 24 11:46:31 2011 [DiM][D]: Deploying VM 7 Tue May 24 11:46:31 2011 [TM][D]: Message received: LOG - 7 tm_clone.sh: nebula1:/srv/cloud/one/one-templates/ttylinux.img 192.168.0.2:/srv/cloud/one/var//7/images/disk.0 Tue May 24 11:46:31 2011 [TM][D]: Message received: LOG - 7 tm_clone.sh: DST: /srv/cloud/one/var//7/images/disk.0 Tue May 24 11:46:31 2011 [TM][D]: Message received: LOG - 7 tm_clone.sh: Creating directory /srv/cloud/one/var//7/images Tue May 24 11:46:31 2011 [TM][D]: Message received: LOG - 7 tm_clone.sh: Executed mkdir -p /srv/cloud/one/var//7/images. Tue May 24 11:46:31 2011 [TM][D]: Message received: LOG - 7 tm_clone.sh: Executed chmod a+w /srv/cloud/one/var//7/images. Tue May 24 11:46:31 2011 [TM][D]: Message received: LOG - 7 tm_clone.sh: Cloning /srv/cloud/one/one-templates/ttylinux.img Tue May 24 11:46:31 2011 [TM][D]: Message received: LOG - 7 tm_clone.sh: Executed cp -r /srv/cloud/one/one-templates/ttylinux.img /srv/cloud/one/var//7/images/disk.0. Tue May 24 11:46:31 2011 [TM][D]: Message received: LOG - 7 tm_clone.sh: Executed chmod a+rw /srv/cloud/one/var//7/images/disk.0. Tue May 24 11:46:31 2011 [TM][D]: Message received: TRANSFER SUCCESS 7 - Tue May 24 11:46:31 2011 [VMM][D]: Message received: LOG - 7 Command execution fail: 'if [ -x /var/tmp/one/vmm/kvm/deploy ]; then /var/tmp/one/vmm/kvm/deploy /srv/cloud/one/var//7/images/deployment.0; else exit 42; fi' Tue May 24 11:46:31 2011 [VMM][D]: Message received: LOG - 7 STDERR follows. Tue May 24 11:46:31 2011 [VMM][D]: Message received: LOG - 7 error: Failed to create domain from /srv/cloud/one/var//7/images/deployment.0 Tue May 24 11:46:31 2011 [VMM][D]: Message received: LOG - 7 error: Failed to add tap interface to bridge 'br0': No such device Tue May 24 11:46:31 2011 [VMM][D]: Message received: LOG - 7 ExitCode: 255 Tue May 24 11:46:31 2011 [VMM][D]: Message received: DEPLOY FAILURE 7 error: Failed to create domain from /srv/cloud/one/var//7/images/deployment.0 Tue May 24 11:46:31 2011 [VMM][D]: Message received: error: Failed to add tap interface to bridge 'br0': No such device Tue May 24 11:46:31 2011 [VMM][D]: Message received: ExitCode: 255 Tue May 24 11:46:31 2011 [TM][D]: Message received: LOG - 7 tm_delete.sh: Deleting /srv/cloud/one/var//7/images Tue May 24 11:46:31 2011 [TM][D]: Message received: LOG - 7 tm_delete.sh: Executed rm -rf /srv/cloud/one/var//7/images. Tue May 24 11:46:31 2011 [TM][D]: Message received: TRANSFER SUCCESS 7 - Von: Adnan Pasic pq...@yahoo.de An: users@lists.opennebula.org users@lists.opennebula.org Gesendet: 16:38 Montag, 23.Mai 2011 Betreff: [one-users] Help needed in understand virtual bridges Hello, this could very likely be my last question regarding opennebula, because if I get this to work, my opennebula should finally start running. The question I have is - how do I really set up this virtual network? I have a front-end PC, and two clusters (with IP-addresses: 192.168.0.1 , and .2, .3 respectively) and now everything is set. Even the command onehost list shows me the clusters as being discovered and connected. Currently I have only two interfaces in my front-end, eth0 (connecting the PCs over a local network) and the lo-interface. Can you now please tell me how I can create this virtual bridge, needed for our virtual machines? And is this the bridge that needs to be mentioned in the network-template file? Thank you! Best regards, Adnan ___ 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 -- Jaime Melis, Cloud Technology Engineer/Researcher Major Contributor OpenNebula - The Open Source Toolkit for Cloud Computing
Re: [one-users] Booting VM with xen
Hi, I noticed a typo in deployment.0 disk = [ 'file/opt/nebula/images//72/images/disk.0,xvda,w', ] note the missing semicolon after file. Can you send us OpenNebula's VM template? regards, Jaime On Wed, Jun 1, 2011 at 3:41 PM, anthony garnier sokar6...@hotmail.comwrote: disk = [ 'file/opt/nebula/images//72/images/disk.0,xvda,w', ] -- Jaime Melis, Cloud Technology Engineer/Researcher Major Contributor 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] mkdir: cannot create directory /var/lib/one: Permission denied
Hi Amber, apparently something went wrong during the installation. Could you create in your worker node /var/lib/one and give ownership to oneadmin? regards, Jaime On Fri, Jun 3, 2011 at 4:14 PM, Amber Jain i.amber.j...@gmail.com wrote: Also, here is output of onevm show 0: http://pastebin.com/Mu07UQ63 Output of onehost show 1: http://pastebin.com/UzDNGjDr There are 2 machines in this setup (as I mentioned in my previous mail). Frontend server is 'useraj2', while worker node is 'useraj1'. I can do password-less SSH from 'oneadmin' on 'useraj2' to 'oneadmin' on 'useraj1' (i.e. I can SSH worker node from frontend server). On Fri, Jun 3, 2011 at 7:39 PM, Amber Jain i.amber.j...@gmail.com wrote: Hello, I'm trying to setup opennebula express 2.2.0 on clean install of Ubuntu 10.04.1. My network topology consists of 1 frontend server and 1 worker node. install.sh and node-install.sh are both installed successfully. When I try to deploy ttylinux VM (as instructed at http://opennebula.org/documentation:rel2.2:vmg), the VM stat shows fail (http://pastebin.com/phG4xrnX). When I tried searching google, this thread sounds very similar. I tried many combinations of permissions but couldnot get it working. Can anyone please elaborate as to how do I resolve this permission(s) issue? I'm attaching relevant configuration and log files with this mail. The output of onehost list: http://pastebin.com/gt58WUkx Thanks in advance... -- Amber Jain http://amberj.devio.us/ -- Amber Jain http://amberj.devio.us/ ___ Users mailing list Users@lists.opennebula.org http://lists.opennebula.org/listinfo.cgi/users-opennebula.org -- Jaime Melis, Cloud Technology Engineer/Researcher Major Contributor 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] NIC model in a xen machine
Hello Rubén, thanks for reporting this, it is in fact a bug. We have created a new ticket and applied a patch. This will be fixed for OpenNebula 3.0. http://dev.opennebula.org/issues/671 cheers, Jaime On Mon, Jun 6, 2011 at 2:14 PM, Ruben Diez rd...@cesga.es wrote: Hi: We are attempt to use an e1000 network card in a virtual machine running in a xen virtualization node under OpenNebula control. In a direct xen configuración file this is done by the line: vif = ['model=e1000,mac=02:fe:xx:xx:xx:xx,ip=xxx.xxx.xxx.xxx,bridge=virbrXX',] But when we use this line in the openebula template: NIC=[ NETWORK=AA, IP=xxx.xxx.xxx.xxx, MODEL=e1000 ] The generated line in the deployment.0 file is: vif = ['type=e1000,mac=02:fe:xx:xx:xx:xx,ip=xxx.xxx.xxx.xxx,bridge=virbrXX',] instead the correct one: vif = ['model=e1000,mac=02:fe:xx:xx:xx:xx,ip=xxx.xxx.xxx.xxx,bridge=virbrXX',] So: how can we do in order to force the xen model parameter from the opennebula machine template??? Note that a model parameter in the opennebula template correspond to a type parameter in the xen deployment.0, not to a model parameter... Regards. ___ Users mailing list Users@lists.opennebula.org http://lists.opennebula.org/listinfo.cgi/users-opennebula.org -- Jaime Melis, Cloud Technology Engineer/Researcher Major Contributor 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] [patch] Add support for rate-limiting a NIC on XEN
Hi Vivien, first of all thanks a lot for your ideas and for your patch. This feature seems quite interesting, we have created a new feature issue in Redmine: http://dev.opennebula.org/issues/673 As for the RAW section under an attribute, that's actually a very good idea, and with xen it's easily achievable, but adding support for it with libvirt should be a little bit trickier, since it needs to be rendered as XML (a libvirt domain file). We will study this further to see how could we support it. cheers, Jaime On Tue, Jun 7, 2011 at 2:00 PM, Vivien Bernet-Rollande vivien.bernet-rolla...@nexen.alterway.fr wrote: Hi everyone. I've a lot of hopes set on those networking setup and teardown hooks that were discussed during yesterday's session. They would allow me to have much finer control on quite a few items (filtering, traffic shaping, etc.) while keeping support for migration. Anyway, in the meantime, I have a use case where I need to be able to limit the upload rate of a VM. Basically, we bill clients based on their upload traffic. We need the ability to cap clients who wish to make sure they never go over their quota.I'd rather do this in dom0 with tc, which allows for nice burst control, but the hooks I would need don't exist yet. The patch I propose ( see http://dev.opennebula.org/attachments/385/one_xen_rate_limit.diff ) adds support for rate limiting using the rate configuration parameter for a Xen vif. There is no support for KVM since I can't test it, but I doubt it would be hard to add. There is no support in Sunstone or the various API servers either. The ONE config simply file goes like this : NIC = [ NETWORK = INTERNET, RATE = 10Mb/s ] This will create the following deployment file : vif = [ 'mac=02:00:01:02:03:04,ip=1.2.3.4,bridge=xenbr0,rate=10Mb/s', ] And a xenstore-ls will show : ma /local/domain/0/backend/vif/20/0/rate = 62500,5 Iperf tests show an effective upload rate of 7-8 Mb/s, so provisioning a bit over the desired value seems to be necessary. Something I'd really love to see would be the ability to add raw data on a vif or block device. That way, I could have solved my issue using something like : NIC = [ NETWORK = INTERNET, RAW = rate=10Mb/s ] -- Vivien Bernet-Rollande Systems Networking Engineer Alter Way Hosting ___ Users mailing list Users@lists.opennebula.org http://lists.opennebula.org/listinfo.cgi/users-opennebula.org -- Jaime Melis, Cloud Technology Engineer/Researcher Major Contributor 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] Few questions about opennebula express installation
Hi Amber I have a few questions: 1. Does above quoted mail applies to version 2.2.0 (i.e. Do I still need to setup storage, virtualization, networking, users and password-less SSH in v2.2.0 as the quoted mail talks of v2.0 and 1.6)? OpenNebula Express will handle the ssh keys, the rest should be done manually, with OpenNebula commands. 2. Opennebula express documentation says that the installer does SSH keys creation. Does this means that password-less SSH is setup for opennebula automatically by express installer? yes 3. My current network topology consists of 1 worker node and 1 frontend server. I installed opennebula express on frontend server. Now, how am I supposed to use onehost create on frontend server command to add worker nodes to host pool? From what I understand, the first second command line argument to 'onehost' should be the hostname (i.e. onehost create hostname)right? To add a host you need this information: Hostname of the cluster node or IP Information Driver to be used to monitor the host, e.g. im_kvm. Storage Driver to clone, delete, move or copy images into the host, e.g. tm_nfs. Virtualization Driver to boot, stop, resume or migrate VMs in the host, e.g. vmm_kvm. The command would be, for example: onehost create host01 im_kvm vmm_kvm tm_nfs Take a look at this guide for more details: http://opennebula.org/documentation:rel2.2:cluster_guide Regards, Jaime -- Jaime Melis, Cloud Technology Engineer/Researcher Major Contributor 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] ebtables does not give anything
Hi Fanttazio, Could you send us a few things in order to see what's going on? - /srv/cloud/one/var/config (remove any passwords in that file) - set ONE_MAD_DEBUG=1 in /srv/cloud/one/etc/defaultrc, restart OpenNebula, relaunch the vm and send us the error that will appear on oned.log - the version: oned -v Regards, Jaime On Fri, Jun 24, 2011 at 3:33 PM, fanttazio fantta...@gmail.com wrote: Hi, I am trying to use ebtables hook but despite it gives no error on oned.log and it says that *execute success ebtables-start* for every VM that I create but in hosts when I execute ebtables -L the entries are empty. when I try to execute ebtables-kvm manually on hosts it gives me this error: *Comand 'dumxml' requires domain option.* */srv/cloud/one/share/hooks/ebtables-kvm:75: undefined nethod 'elements' for nil:NilClass (NoMethodError)* * * anybody knows what's wrong with my setting? Regards, Fanttazio ___ 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] About OpenNebula 3 and Open vSwitch (Network Isolation)
Hi Florin, yes, it does. If you don't have an infrastructure that supports forwarding VLAN traffic you may want to check out the ebtables hook. Regards, Jaime On Fri, Jun 24, 2011 at 8:11 PM, Florin Antonescu florinantone...@gmail.com wrote: Hello, This might be a silly question, but does using Open vSwitch Network Isolation, require a network switch capable of forwarding VLAN tagged traffic as in the case of using host-managed VLANs ? Thank you ___ Users mailing list Users@lists.opennebula.org http://lists.opennebula.org/listinfo.cgi/users-opennebula.org -- Jaime Melis, Cloud Technology Engineer/Researcher Major Contributor 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] Yet another problem with connecting to ttylinux via ssh
Sendewarteschlangenlänge:500 RX bytes:300 (300.0 B) TX bytes:1040 (1.0 KB) The VM has been created with the IP 192.168.0.5, but when I try to ssh onto it, I get the above mentioned error. Strangely, when I perform a sudo vncviewer localhost:6789 I get the screen of the VM, but can't also do anything in it. I try to type in the password, but no keystrokes get taken over and the vncviewer screen looks more like just a screenshot through which I can scroll up and down. This is my network-configuration: NAME = Small Network TYPE = FIXED BRIDGE = virbr0 LEASES = [IP=192.168.0.5] Anyone got an idea??? Thanks! __**_ Users mailing list Users@lists.opennebula.org http://lists.opennebula.org/**listinfo.cgi/users-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.**orghttp://lists.opennebula.org/listinfo.cgi/users-opennebula.org -- Javier Fontan, Grid Virtualization Technology Engineer/Researcher DSA Research Group: http://dsa-research.org Globus GridWay Metascheduler: http://www.GridWay.org OpenNebula Virtual Infrastructure Engine: http://www.OpenNebula.org __**_ Users mailing list Users@lists.opennebula.org http://lists.opennebula.org/**listinfo.cgi/users-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.**orghttp://lists.opennebula.org/listinfo.cgi/users-opennebula.org -- Jaime Melis, Cloud Technology Engineer/Researcher Major Contributor 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] VM not pingable after Live migration
Hi, just like Justin said, make sure the bridge is also connected to the physical device: brctl addif virbr0 eth0 in the worker nodes Regards, Jaime On Tue, Jun 21, 2011 at 11:02 PM, Adnan Pasic pq...@yahoo.de wrote: I’m sorry, no! I’m still trying to figure out how this could be done. Maybe the developers could have an idea? Carlos Co.? ** ** Regards. ** ** *Von:* Khoa Nguyen [mailto:vankhoa...@gmail.com] *Gesendet:* Dienstag, 21. Juni 2011 16:31 *An:* Adnan Pasic *Betreff:* Re: [one-users] VM not pingable after Live migration ** ** Hi all, I have the same problem with you but I don't solve. Do you find the way to solve it ? On Tue, Jun 21, 2011 at 12:04 AM, Adnan Pasic pq...@yahoo.de wrote: Hello, well, actually this command gives me as result that the virbr0-bridge is connected to the vnet0-interface. Is this what you meant? How could I change this to eth0? And would the VM then be pingable after the migration as well?? Thanks for your help! Best regards, Adnan -Ursprüngliche Nachricht- Von: Justin Cinkelj [mailto:justin.cink...@xlab.si] Gesendet: Montag, 20. Juni 2011 08:44 An: Adnan Pasic Cc: users@lists.opennebula.org Betreff: Re: [one-users] VM not pingable after Live migration I assume this would occur if VM's network interface is connected to a bridge, and bridge is not connected to to a physical network interface. 'brctl show' should show if this is the case. Regards, justin ___ Users mailing list Users@lists.opennebula.org http://lists.opennebula.org/listinfo.cgi/users-opennebula.org -- Nguyễn Vũ Văn Khoa Đại học Khoa Học Tự Nhiên TP HCM ___ Users mailing list Users@lists.opennebula.org http://lists.opennebula.org/listinfo.cgi/users-opennebula.org -- Jaime Melis, Cloud Technology Engineer/Researcher Major Contributor 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] [Beta 3.0] Sunstone-Server error on starting
-server.conf is configured so: http://pastebin.com/4bjn1bqX I hope someone can help me with my problem... I need the Sunstone server for an article in the linux-admin magazin (Germany ;) ) Regards Chr.Raible Hi Thanks for your help. With those informations and all gems, sunstone and monitoring system works fine :) Now I found two other errors/bug (don't know how to describe ;) ) The onevm top command doesn't refresh the status of the VMs. When I start creation of an VM and switch to the top overview, the status is always on pending state... The second bug is that the IP-Table configurtaion doesn't work. I insert the following Option to the NIC section: ICMP = drop But after creation of the VM I can ping those VM. oneadmin has rights to add an delete iptable rules and has also full sudo rights... Has anyone an idea? Or is this just not implemented in the Beta? Thank an best regards, Christoph -- Vorstand/Board of Management: Dr. Bernd Finkbeiner, Dr. Roland Niemeier, Dr. Arno Steitz, Dr. Ingrid Zech Vorsitzender des Aufsichtsrats/ Chairman of the Supervisory Board: Philippe Miltin Sitz/Registered Office: Tuebingen Registergericht/Registration Court: Stuttgart Registernummer/Commercial Register No.: HRB 382196 __**___ Users mailing list Users@lists.opennebula.org mailto:Users@lists.**opennebula.orgUsers@lists.opennebula.org http://lists.opennebula.org/__**listinfo.cgi/users-opennebula.**__orghttp://lists.opennebula.org/__listinfo.cgi/users-opennebula.__org http://lists.opennebula.org/**listinfo.cgi/users-opennebula.**orghttp://lists.opennebula.org/listinfo.cgi/users-opennebula.org -- Vorstand/Board of Management: Dr. Bernd Finkbeiner, Dr. Roland Niemeier, Dr. Arno Steitz, Dr. Ingrid Zech Vorsitzender des Aufsichtsrats/ Chairman of the Supervisory Board: Philippe Miltin Sitz/Registered Office: Tuebingen Registergericht/Registration Court: Stuttgart Registernummer/Commercial Register No.: HRB 382196 __**_ Users mailing list Users@lists.opennebula.org http://lists.opennebula.org/**listinfo.cgi/users-opennebula.**orghttp://lists.opennebula.org/listinfo.cgi/users-opennebula.org -- Jaime Melis, Cloud Technology Engineer/Researcher Major Contributor 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] Creating a deb package from a Opennebula installation
Hello, We don't offer anymore the 32-bit packages. But you can find the source packages (starting with OpenNebula 3.0 RC - 2.9.90) here: http://dev.opennebula.org/packages/ cheers, Jaime On Mon, Sep 19, 2011 at 11:18 AM, Prakhar Srivastava prakhar@gmail.comwrote: Hi, I have installed opennebula by building it from source on an i386 machine. The Opennebula 3.0 beta2 download page does not list the Ubuntu package for i386 machines. I would now like to install the package on another machine What is the standard way to create a .deb package that can be used on ubuntu out of my existing installation. Prakhar ___ Users mailing list Users@lists.opennebula.org http://lists.opennebula.org/listinfo.cgi/users-opennebula.org -- Jaime Melis, Cloud Technology Engineer/Researcher Major Contributor 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] Packages for RHEL6?
Hi Ismael, we've just uploaded centos 6 packages: http://opennebula.org/software:software Please note that this package requires EPEL and Karan repos: http://opennebula.org/documentation:rel3.0:ignc#centos_platform_notes Cheers, Jaime On Fri, Sep 30, 2011 at 7:40 PM, Ismael Farfán sulfur...@gmail.com wrote: Hello list Any plans for making packages for RHEL 6 / Centos 6? I tried installing opennebula-2.2.1-1.x86_64.rpm which is for Centos 5, but it depends on libmysqlclient.so.15 and other outdated libraries that doesn't exist on RHEL 6. If it was linked against libmysqlclient.so there would be no problem since libmysqlclient.so[.16] is in the repos, but that's not the case. So, are there any plans for making those packages any time soon or should I install from source? Regards Ismael -- Do not let me induce you to satisfy my curiosity, from an expectation, that I shall gratify yours. What I may judge proper to conceal, does not concern myself alone. ___ 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
[one-users] Screencast - OpenNebula 3.0 Sunstone
Hello, We have released a screencast about OpenNebula Sunstone: http://blog.opennebula.org/?p=2070 This is the first in a series of screencasts that will show the major features of OpenNebula. Cheers, Jaime -- 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] Bare-metal
Hello, that's something we're certainly considering. Could you please ellaborate a bit more on your use case? This also applies to anyone interested in this feature, how would you use it? cheers, Jaime On Wed, Oct 12, 2011 at 9:41 PM, Alexandre Emeriau alexandre.emer...@ainsidonc.com wrote: Hi, Is a bare-metal OpenNebula is planned ? Something like Proxmox or Opennode. Regards ___ 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] Bare-metal
Hi Alex, actually what we're asking is how do you think this feature should be implemented. What features should OpenNebula offer to integrate with bare-metal? Besides technical detals, such as specific distributions, could you describe what you'd like to see OpenNebula doing with bare-metal? Thanks again, Jaime On Fri, Oct 14, 2011 at 9:36 PM, Alexandre Emeriau cloudbe...@gmail.comwrote: Hi Jaime, Do you mean dependency upon the choosed os ? or a particular project among anothers of mine ? Just trying to follow and bring the answer you're waiting for. Regards, Alex Le 14/10/2011 09:40, Jaime Melis a écrit : Hello, that's something we're certainly considering. Could you please ellaborate a bit more on your use case? This also applies to anyone interested in this feature, how would you use it? cheers, Jaime On Wed, Oct 12, 2011 at 9:41 PM, Alexandre Emeriau alexandre.emer...@ainsidonc.com wrote: Hi, Is a bare-metal OpenNebula is planned ? Something like Proxmox or Opennode. Regards ___ 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 -- 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] OpenNebuka Hosted-VLAN support
Hello Patrice, you make very valid points and we're aware of those limitations. They have actually been reflected on the documentation: http://opennebula.org/documentation:rel3.0:nm#considerations_limitations The problem is that the network management is based on the hook subsystem, but we have realized there should be a specific driver for networking. We have created a feature ticket to develop this functionality: http://dev.opennebula.org/issues/863 The target release for this functionality is OpenNebula 3.2. For the moment, in OpenNebula 3.0, the only solution to the aforementioned problems is to create a static network configuration. Regards, Jaime On Mon, Oct 17, 2011 at 5:59 PM, Patrice LACHANCE patlacha...@gmail.comwrote: Hello In previous version there was a cluster feature that was replaced in OpenNebula 3.0 by ozones. Shouldn't opennebula make sure that all the nodes in a zone are able to run a vm and thus handle network creation on all nodes before starting a new VM? Patrice 2011/9/27 Alberto Picón Couselo alpic...@gmail.com ** Hello, We are testing hosted VLAN support in OpenNebula to implement network isolation. This feature seems to work correctly when a new instance is deployed, as it is stated in oned.conf, hm-vlan hook is executed in PROLOG state. However, there are another states where VLANs and bridges should be created (or its existence checked) before executing a concrete operation: * Migration/Live migration of an instance to a hypervisor where VLAN and bridge of the instance has never been created VLAN and bridge existence should be checked and created if necessary before migration is executed. Opennebula 3.0 RC1 performs migration without doing these checks and fails to migrate/live migrate the instance, leaving it in a FAILED state. * A failed instance cannot be redeployed to a hypervisor where VLAN and bridge of the instance has never been created VLAN and bridge existence should be checked and created if necessary to redeploy the image to the selected hypervisor. * A stopped instance cannot be resumed if VLAN and bridge of the instance does not exist. If we stop all instances of a concrete hypervisor and reboot the hypervisor for maintenance purposes, all bridges and VLANs will be deleted. Stopped instances won't resume because VLANs and bridges requirements are not satisfied and will enter in a FAILED state (performing a deletion of non persistent disks; BTW, we have removed deletion lines in tm_delete script for the moment, :D). So, VLAN and bridge existence should be checked and created if necessary to resume/migrate/livemigrate/recover_from_failed_state the instance to the selected hypervisor. As it is stated in oned.conf, hm-vlan hook could be executed on: # Virtual Machine Hooks (VM_HOOK) defined by: # name : for the hook, useful to track the hook (OPTIONAL) # on: when the hook should be executed, # - CREATE, when the VM is created (onevm create) # - PROLOG, when the VM is in the prolog state # - RUNNING, after the VM is successfully booted # - SHUTDOWN, after the VM is shutdown # - STOP, after the VM is stopped (including VM image transfers) # - DONE, after the VM is deleted or shutdown # - FAILED, when the VM enters the failed state But I'm not able to find a procedure to implement these functionalities in oned.conf for the states I mentioned. Please, can you give me any clues? Best Regards, Alberto Picón ___ Users mailing list Users@lists.opennebula.org http://lists.opennebula.org/listinfo.cgi/users-opennebula.org -- Patrice LACHANCE Manager IT Consulting, Logica : http://www.logica.com Réseau Viaduc Consultez mon profil: http://www.viaduc.com/public/profil/?memberId=00226pj42r07h9f3 Vous inscrire sur le réseau: http://www.viaduc.com/invitation/00226pj42r07h9f3 LinkedIn Network: See my profile: http://www.linkedin.com/in/plachance Join the network: http://www.linkedin.com ___ 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] OpenNebuka Hosted-VLAN support
I apologize, the message was both for Patrice and Alberto Picón, who raised the initial questions. On Thu, Oct 27, 2011 at 11:30 AM, Jaime Melis jme...@opennebula.org wrote: Hello Patrice, you make very valid points and we're aware of those limitations. They have actually been reflected on the documentation: http://opennebula.org/documentation:rel3.0:nm#considerations_limitations The problem is that the network management is based on the hook subsystem, but we have realized there should be a specific driver for networking. We have created a feature ticket to develop this functionality: http://dev.opennebula.org/issues/863 The target release for this functionality is OpenNebula 3.2. For the moment, in OpenNebula 3.0, the only solution to the aforementioned problems is to create a static network configuration. Regards, Jaime On Mon, Oct 17, 2011 at 5:59 PM, Patrice LACHANCE patlacha...@gmail.comwrote: Hello In previous version there was a cluster feature that was replaced in OpenNebula 3.0 by ozones. Shouldn't opennebula make sure that all the nodes in a zone are able to run a vm and thus handle network creation on all nodes before starting a new VM? Patrice 2011/9/27 Alberto Picón Couselo alpic...@gmail.com ** Hello, We are testing hosted VLAN support in OpenNebula to implement network isolation. This feature seems to work correctly when a new instance is deployed, as it is stated in oned.conf, hm-vlan hook is executed in PROLOG state. However, there are another states where VLANs and bridges should be created (or its existence checked) before executing a concrete operation: * Migration/Live migration of an instance to a hypervisor where VLAN and bridge of the instance has never been created VLAN and bridge existence should be checked and created if necessary before migration is executed. Opennebula 3.0 RC1 performs migration without doing these checks and fails to migrate/live migrate the instance, leaving it in a FAILED state. * A failed instance cannot be redeployed to a hypervisor where VLAN and bridge of the instance has never been created VLAN and bridge existence should be checked and created if necessary to redeploy the image to the selected hypervisor. * A stopped instance cannot be resumed if VLAN and bridge of the instance does not exist. If we stop all instances of a concrete hypervisor and reboot the hypervisor for maintenance purposes, all bridges and VLANs will be deleted. Stopped instances won't resume because VLANs and bridges requirements are not satisfied and will enter in a FAILED state (performing a deletion of non persistent disks; BTW, we have removed deletion lines in tm_delete script for the moment, :D). So, VLAN and bridge existence should be checked and created if necessary to resume/migrate/livemigrate/recover_from_failed_state the instance to the selected hypervisor. As it is stated in oned.conf, hm-vlan hook could be executed on: # Virtual Machine Hooks (VM_HOOK) defined by: # name : for the hook, useful to track the hook (OPTIONAL) # on: when the hook should be executed, # - CREATE, when the VM is created (onevm create) # - PROLOG, when the VM is in the prolog state # - RUNNING, after the VM is successfully booted # - SHUTDOWN, after the VM is shutdown # - STOP, after the VM is stopped (including VM image transfers) # - DONE, after the VM is deleted or shutdown # - FAILED, when the VM enters the failed state But I'm not able to find a procedure to implement these functionalities in oned.conf for the states I mentioned. Please, can you give me any clues? Best Regards, Alberto Picón ___ Users mailing list Users@lists.opennebula.org http://lists.opennebula.org/listinfo.cgi/users-opennebula.org -- Patrice LACHANCE Manager IT Consulting, Logica : http://www.logica.com Réseau Viaduc Consultez mon profil: http://www.viaduc.com/public/profil/?memberId=00226pj42r07h9f3 Vous inscrire sur le réseau: http://www.viaduc.com/invitation/00226pj42r07h9f3 LinkedIn Network: See my profile: http://www.linkedin.com/in/plachance Join the network: http://www.linkedin.com ___ 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 -- 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] issue with LVM storage
for the /dev/dm-0, the device mapper for the logical volume created during VM creation, it shows me that /dev/dm-0 is present. Hope someone could throw some light on this error. Regards, Prakhar ___ 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] ebtables does not give anything
27 13:10:02 2011 [ReM][D]: VirtualMachinePoolInfo method invoked Mon Jun 27 13:10:13 2011 [ReM][D]: VirtualMachinePoolInfo method invoked Mon Jun 27 13:10:32 2011 [ReM][D]: HostPoolInfo method invoked Mon Jun 27 13:10:32 2011 [ReM][D]: VirtualMachinePoolInfo method invoked Mon Jun 27 13:10:33 2011 [ReM][D]: VirtualNetworkPoolInfo method invoked Mon Jun 27 13:10:43 2011 [ReM][D]: UserPoolInfo method invoked Mon Jun 27 13:10:47 2011 [VMM][I]: Monitoring VM 8. Mon Jun 27 13:10:47 2011 [VMM][D]: Message received: POLL SUCCESS 8 STATE=a NETTX=19318 USEDCPU=0.9 USEDMEMORY=1048576 NETRX=10673136 ### Config file: ### DB=BACKEND=mysql,DB_NAME=opennebula,PORT=0,SERVER=localhost,USER=oneadmin DEBUG_LEVEL=3 DEFAULT_DEVICE_PREFIX=hd DEFAULT_IMAGE_TYPE=OS HM_MAD=EXECUTABLE=one_hm HOST_MONITORING_INTERVAL=600 IMAGE_REPOSITORY_PATH=/srv/cloud/one/var//images IM_MAD=ARGUMENTS=-r 0 -t 15 kvm,EXECUTABLE=one_im_ssh,NAME=im_kvm MAC_PREFIX=02:00 MANAGER_TIMER=15 NETWORK_SIZE=254 PORT=2633 SCRIPTS_REMOTE_DIR=/var/tmp/one TM_MAD=ARGUMENTS=tm_nfs/tm_nfs.conf,EXECUTABLE=one_tm,NAME=tm_nfs VM_DIR=/srv/cloud/one/var/ VM_HOOK=ARGUMENTS=$VMID,COMMAND=image.rb,NAME=image,ON=DONE VM_HOOK=ARGUMENTS=one-$VMID,COMMAND=/srv/cloud/one/share/hooks/ebtables-kvm,NAME=ebtables-start,ON=running,REMOTE=yes VM_HOOK=ARGUMENTS=,COMMAND=/srv/cloud/one/share/hooks/ebtables-flush,NAME=ebtables-flush,ON=done,REMOTE=yes VM_MAD=ARGUMENTS=-t 15 -r 0 kvm,DEFAULT=vmm_ssh/vmm_ssh_kvm.conf,EXECUTABLE=one_vmm_ssh,NAME=vmm_kvm,TYPE=kvm VM_POLLING_INTERVAL=600 VNC_BASE_PORT=5900 # VM log: # Mon Jun 27 13:06:32 2011 [DiM][I]: New VM state is ACTIVE. Mon Jun 27 13:06:32 2011 [LCM][I]: New VM state is PROLOG. Mon Jun 27 13:06:32 2011 [VM][I]: Virtual Machine has no context Mon Jun 27 13:06:32 2011 [TM][I]: tm_clone.sh: front-end:/srv/cloud/images/ttylinux.img node01:/srv/cloud/one/var//10/images/disk.0 Mon Jun 27 13:06:32 2011 [TM][I]: tm_clone.sh: DST: /srv/cloud/one/var//10/images/disk.0 Mon Jun 27 13:06:32 2011 [TM][I]: tm_clone.sh: Creating directory /srv/cloud/one/var//10/images Mon Jun 27 13:06:32 2011 [TM][I]: tm_clone.sh: Executed mkdir -p /srv/cloud/one/var//10/images. Mon Jun 27 13:06:32 2011 [TM][I]: tm_clone.sh: Executed chmod a+w /srv/cloud/one/var//10/images. Mon Jun 27 13:06:32 2011 [TM][I]: tm_clone.sh: Cloning /srv/cloud/images/ttylinux.img Mon Jun 27 13:06:32 2011 [TM][I]: tm_clone.sh: Executed cp -r /srv/cloud/images/ttylinux.img /srv/cloud/one/var//10/images/disk.0. Mon Jun 27 13:06:32 2011 [TM][I]: tm_clone.sh: Executed chmod a+rw /srv/cloud/one/var//10/images/disk.0. Mon Jun 27 13:06:32 2011 [LCM][I]: New VM state is BOOT Mon Jun 27 13:06:32 2011 [VMM][I]: Generating deployment file: /srv/cloud/one/var/10/deployment.0 Mon Jun 27 13:07:01 2011 [LCM][I]: New VM state is RUNNING Mon Jun 27 13:07:29 2011 [HKM][I]: Hook ebtables-start successfully executed. ### oned -v output: ### Copyright 2002-2011, OpenNebula Project Leads (OpenNebula.org) OpenNebula 2.2 is distributed and licensed for use under the terms of the Apache License, Version 2.0 (http://www.apache.org/licenses/LICENSE-2.0). ### after activating the debug mode in defaultrc file, couple of files were created in var folder but all of them are empty. Regards, Fanttazio On Mon, Jun 27, 2011 at 11:32 AM, Jaime Melis j.me...@gmail.com wrote: Hi Fanttazio, Could you send us a few things in order to see what's going on? - /srv/cloud/one/var/config (remove any passwords in that file) - set ONE_MAD_DEBUG=1 in /srv/cloud/one/etc/defaultrc, restart OpenNebula, relaunch the vm and send us the error that will appear on oned.log - the version: oned -v Regards, Jaime On Fri, Jun 24, 2011 at 3:33 PM, fanttazio fantta...@gmail.com wrote: Hi, I am trying to use ebtables hook but despite it gives no error on oned.log and it says that *execute success ebtables-start* for every VM that I create but in hosts when I execute ebtables -L the entries are empty. when I try to execute ebtables-kvm manually on hosts it gives me this error: *Comand 'dumxml' requires domain option.* */srv/cloud/one/share/hooks/ebtables-kvm:75: undefined nethod 'elements' for nil:NilClass (NoMethodError)* * * anybody knows what's wrong with my setting? Regards, Fanttazio ___ 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
Re: [one-users] [Beta 3.0] Problem creating VM: Failed to create domain
Hello Florin, Are you still experiencing this issue? It seems like you were using tm_nfs, but you should be using tm_ssh. A few extra tips for debugging: set ONE_MAD_DEBUG=1 in etc/defaultrc issue the commands in oned.log manually. Also, TM_* scripts are always ran from the frontend host. Regards, Jaime On Mon, Aug 8, 2011 at 12:13 PM, Florin Antonescu florinantone...@gmail.com wrote: I tend to believe that disk.0 image file is not correctly copied to destination host. How can I debug this process in order to see what is really happening? The logs are not very detailed regarding where these actions are executed on the remote host. Any help is greatly appreciated. Best regards On Thu, Aug 4, 2011 at 6:18 PM, Florin Antonescu florinantone...@gmail.com wrote: Hi, I modified tm_delete.sh and added ls -l $SRC_PATH just before rm command and this was the output it generated: -rw-rw-rw- 1 oneadmin cloud 41943040 Jul 28 20:42 disk.0 it seems that disk.0 is in place, but I think there is an authorization problem, related to error: unable to set user and group to '117:126' on '/srv/cloud/one/var//11/images/disk.0': Any new ideas? On Thu, Aug 4, 2011 at 5:54 PM, Vladimir Vuksan vli...@veus.hr wrote: I would explore this Thu Jul 28 19:56:05 2011 [VMM][D]: Message received: LOG I 11 error: unable to set user and group to '117:126' on '/srv/cloud/one/var//11/images/disk.0': No such file or directory Edit tm_delete.sh in $ONE_HOME/lib/tm_commands (?). Comment out the line where it deletes the images. Then once things fail see what's in the /srv/cloud/one/var/11/images/ directory. On Thu, 4 Aug 2011 17:40:27 +0200, Florin Antonescu florinantone...@gmail.com wrote: Hello, I am running into some problems when I try to create a VM with onevm command. These are the logged messages on oned.log and var/11/vm.log. Can anyone give me a suggestion on how to fix this? Best regards, Florian Thu Jul 28 19:55:52 2011 [DiM][D]: Deploying VM 11 Thu Jul 28 19:56:03 2011 [TM][D]: Message received: LOG D 11 tm_clone.sh: zrhv:/srv/cloud/one/var/images/aca498c2dc295b68a9311246f0745526 zrhs:/srv/cloud/one/var//11/images/disk.0 Thu Jul 28 19:56:03 2011 [TM][D]: Message received: LOG D 11 tm_clone.sh: DST: /srv/cloud/one/var//11/images/disk.0 Thu Jul 28 19:56:03 2011 [TM][D]: Message received: LOG I 11 tm_clone.sh: Creating directory /srv/cloud/one/var//11/images Thu Jul 28 19:56:03 2011 [TM][D]: Message received: LOG I 11 tm_clone.sh: Executed mkdir -p /srv/cloud/one/var//11/images. Thu Jul 28 19:56:03 2011 [TM][D]: Message received: LOG I 11 tm_clone.sh: Executed chmod a+w /srv/cloud/one/var//11/images. Thu Jul 28 19:56:03 2011 [TM][D]: Message received: LOG I 11 tm_clone.sh: Cloning /srv/cloud/one/var/images/aca498c2dc295b68a9311246f0745526 Thu Jul 28 19:56:03 2011 [TM][D]: Message received: LOG I 11 tm_clone.sh: Executed cp -r /srv/cloud/one/var/images/aca498c2dc295b68a9311246f0745526 /srv/cloud/one/var//11/images/disk.0. Thu Jul 28 19:56:03 2011 [TM][D]: Message received: LOG I 11 tm_clone.sh: Executed chmod a+rw /srv/cloud/one/var//11/images/disk.0. Thu Jul 28 19:56:03 2011 [TM][D]: Message received: LOG I 11 ExitCode: 0 Thu Jul 28 19:56:03 2011 [TM][D]: Message received: TRANSFER SUCCESS 11 - Thu Jul 28 19:56:05 2011 [VMM][D]: Message received: LOG I 11 Command execution fail: 'if [ -x /var/tmp/one/vmm/kvm/deploy ]; then /var/tmp/one/vmm/kvm/deploy /srv/cloud/one/var//11/images/deployment.0 zrhs 11 zrhs; else exit 42; fi' Thu Jul 28 19:56:05 2011 [VMM][D]: Message received: LOG I 11 error: Failed to create domain from /srv/cloud/one/var//11/images/deployment.0 Thu Jul 28 19:56:05 2011 [VMM][D]: Message received: LOG I 11 error: unable to set user and group to '117:126' on '/srv/cloud/one/var//11/images/disk.0': No such file or directory Thu Jul 28 19:56:05 2011 [VMM][D]: Message received: LOG E 11 Could not create domain from /srv/cloud/one/var//11/images/deployment.0 Thu Jul 28 19:56:05 2011 [VMM][D]: Message received: LOG I 11 ExitCode: 255 Thu Jul 28 19:56:05 2011 [VMM][D]: Message received: DEPLOY FAILURE 11 Could not create domain from /srv/cloud/one/var//11/images/deployment.0 Thu Jul 28 19:56:05 2011 [TM][D]: Message received: LOG I 11 tm_delete.sh: Deleting /srv/cloud/one/var//11/images Thu Jul 28 19:56:05 2011 [TM][D]: Message received: LOG I 11 tm_delete.sh: Executed rm -rf /srv/cloud/one/var//11/images. Thu Jul 28 19:56:05 2011 [TM][D]: Message received: LOG I 11 ExitCode: 0 Thu Jul 28 19:56:05 2011 [TM][D]: Message received: TRANSFER SUCCESS 11 - ___ 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
Re: [one-users] Hi, I have some questions about Open vSwitch management in Opennebula 3(feature 476).
Hello, When we released OpenNebula 3.0, we finalized the network configuration documentation, you can see how to activate the Open vSwitch integration here: http://opennebula.org/documentation:rel3.0:openvswitch When you originally wrote this email this guide wasn't yet written (the network drivers themselves were still under development). I hope it answers your questions. It addresse the 'brctl' by indicating that the Open vSwitch compatibility layer for Linux bridging must be installed: http://openvswitch.org/cgi-bin/gitweb.cgi?p=openvswitch;a=blob_plain;f=INSTALL.bridge;hb=HEAD Cheers, Jaime On Tue, Jul 26, 2011 at 2:58 AM, wen.y...@cs2c.com.cn wrote: Hello developers: I am interesting about feature 476 that Open vSwitch management in Opennebula 3. I download the source code by git. I have some questions: (1) How to use scripts in /src/vnm_mad? I can't find the C++ code that call vnm_mad scripts in Opennebula 3. If I want to use these scripts to test the Open vSwitch management function, what should I do? (2) In vnm_mad scripts, 'brctl' command is used to control bridge. The 'brctl' command can't work normally if the bridge module is not loaded. But it is neccessary to start Open vSwitch that remove the bridge module(rmmod bridge). Moreover, Open vSwitch has a database named 'ovsdb', all information(such as bridge,port,and so on) be stored in ovsdb. The bridge created by 'brctl' command can't be used by Open vSwitch because the bridge information isn't stored in ovsdb. So, I think that the 'brctl' command can't be used in vnm_mad scripts. I execute the following experiment: brctl addbr br0 rmmod bridge insmod openvswitch_mod.ko / start openvswitch / ovs-vsctl add-port br0 eth0 Error message is printed as bridge br0 not exist. Looking forward to your reply. Thanks best regards! ___ 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] Bare-metal
Hi Alex, Thanks for your feedback. Could you please create a ticket in dev.opennebula.org requesting this feature? We will append the information you have provided and take it into account when developing this feature. Regards, Jaime On Tue, Oct 25, 2011 at 1:09 AM, Alexandre Emeriau cloudbe...@gmail.comwrote: Hello Jame, As a basis, Proxmox and Opennode are the best examples i can provide for easy and fast setup of an hypervisor. Proxmox is quite well established but at this point Opennode seems more promising, that's the reason why i invite you to have a look on its features, its roadmap and its features requests ( http://opennode.activesys.org/forum/index.php?board=5.0). Taking as a basis you already know both of them quite well and as you're still asking details for a bare-metal approach, then i suppose you ask for a more advanced view of bare-metal in comparison to the status where most of them are now. Some interesting points : - Hot deployment of templated bare-metal : based on pre-established bare-metal configurations (or templates if your prefer), setup to deployment automation of as much as wanted bare-metal ready to boot from the network. These configurations concern the bare-metal themselves but also the configured image appliances they are supposed to host for a given goal. - Central management of these deployed bare-metal and the mentioned configurations with Sunstone. All Sunstone capabilities being possible through API too. - Appstore like : taking advantage of third party software for deploying new functionnalities either on the platform (the bare-metal itself) or through image appliances. The load balancing Opennode feature request ( http://opennode.activesys.org/forum/index.php/topic,95.0.html) is an example of image appliance serving the capabilities the bare-metal has to offer. I'm not sure if it were this kind of statement you were waiting for or if it answers your question so ask for details if needed. Cheers, Alex Le 24/10/2011 23:18, Jaime Melis a écrit : Hi Alex, actually what we're asking is how do you think this feature should be implemented. What features should OpenNebula offer to integrate with bare-metal? Besides technical detals, such as specific distributions, could you describe what you'd like to see OpenNebula doing with bare-metal? Thanks again, Jaime On Fri, Oct 14, 2011 at 9:36 PM, Alexandre Emeriau cloudbe...@gmail.comwrote: Hi Jaime, Do you mean dependency upon the choosed os ? or a particular project among anothers of mine ? Just trying to follow and bring the answer you're waiting for. Regards, Alex Le 14/10/2011 09:40, Jaime Melis a écrit : Hello, that's something we're certainly considering. Could you please ellaborate a bit more on your use case? This also applies to anyone interested in this feature, how would you use it? cheers, Jaime On Wed, Oct 12, 2011 at 9:41 PM, Alexandre Emeriau alexandre.emer...@ainsidonc.com wrote: Hi, Is a bare-metal OpenNebula is planned ? Something like Proxmox or Opennode. Regards ___ 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 -- Jaime Melis Project Engineer OpenNebula - The Open Source Toolkit for Cloud Computing www.OpenNebula.org | jme...@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] Bonded/trunked interfaces in OpenNebula
Hello Donny, I have been doing a good bit of searching for the answer to this but cannot seem to find a straight answer. My servers have 4 network cards each. Currently I have them all bonded/trunked. How does OpenNebula handle this? I want to redo my hosts and start fresh. Do I need to go ahead and do the bond/trunk on the host manually or does OpenNebula handle that? using a bonded interface with OpenNebula is the same as using a regular interface i.e. perform the network configuration first (including attaching the bonded -or regular- interface to a bridge) and use that bridge in the network configuration templates. In other words, OpenNebula doesn't handle the network configuration, you have to do that manually, it only cares about what bridge to hook the VMs to. Also I thought to bond 2 each for SAN and network traffic instead of all 4 bonded like they are. The bond is really only for speed increase more so than fault tolerance. Bonding interfaces is a very good idea, for all the hosts and especially more for the storage server (SAN or whatever). Since the storage network will have a lot of traffic keeping it separated is a very good practice. Regards, Jaime On Fri, Oct 28, 2011 at 9:55 PM, Donny Brooks dbro...@mdah.state.ms.uswrote: I have been doing a good bit of searching for the answer to this but cannot seem to find a straight answer. My servers have 4 network cards each. Currently I have them all bonded/trunked. How does OpenNebula handle this? I want to redo my hosts and start fresh. Do I need to go ahead and do the bond/trunk on the host manually or does OpenNebula handle that? Also I thought to bond 2 each for SAN and network traffic instead of all 4 bonded like they are. The bond is really only for speed increase more so than fault tolerance. -- Donny B. __**_ Users mailing list Users@lists.opennebula.org http://lists.opennebula.org/**listinfo.cgi/users-opennebula.**orghttp://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] VMs are not reachable over their IP
Hi Martin, The way the default network configuration works in OpenNebula is by making the hypervisor hook the virtual network interface of a virtual machine to a pre-existent bridge (created by the administrator), which is, in turn, connected to a real physical device: +---+ | | | br0 | | | +---+--++ | | | | +-+ +---+ | | | | | eth0 | |vnet0 | | | | | +-+ +---+ br0: bridge created by administrator during the installation process of OpenNebula (which may or may not have an IP) eth0: real physical device (which doesn't have an IP) vnet0: the virtual network device of the virtual machine, created by the hypervisor. You can verify this when running a VM by running the following command in your worker nodes: $ bridge name bridge id STP enabled interfaces br0 8000.001e682f4a02 no eth0 vnet1 br1 8000.001e682f4a03 no eth1 vnet0 In this particular case there are two bridges: br0 and br1 You can read about alternative network setups here: http://opennebula.org/documentation:rel3.0:nm Regards, Jaime On Mon, Nov 14, 2011 at 1:06 PM, Martin Lauer ml...@hdm-stuttgart.dewrote: ** Hi, I've set up my machine images with contextualization and they're configured right, when looking into the machines via VNC. The leases from my public.net are also given to the machines. Shouldn't the bridge on the host(s) br0 be mapped with additional IPs (the ones from the VMs)? This is just an assumption, when thinking back to Eucalyptus, which I tried to use before as a Private Cloud Infrastructure. Can someone give me a hint how routing is done in OpenNebula and how packets are accepted by the bridge! Thanks, martin -- Martin LauerHochschule der Medien Nobelstraße 10 70569 Stuttgart ___ 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] Authentication problem. Opennebula 3.0 on debian squeeze
Hello Alberto, we have created a new issue [1] to generate the ONE_AUTH file in /var/lib/one/.one/one_auth which is where OpenNebula expects it to be. This should fix your problem. [1] http://dev.opennebula.org/issues/987 Thanks for reporting this. Cheers, Jaime On Thu, Nov 10, 2011 at 8:59 PM, Alberto Molina Coballes alb.mol...@gmail.com wrote: Hi, Installing opennebula 3.0 on debian squeeze using [1], I've found a authentication problem with oneadmin. The installation process creates oneadmin properly, generates the pair ssh keys and oned is launched by oneadmin. In order to verify installation: oneadmin@mut:~$ onevm list ONE_AUTH file not present This is OK, oneadmin password is not defined in ~/.one/one_auth oneadmin@mut:~$ mkdir ~/.one oneadmin@mut:~$ echo oneadmin:password ~/.one/one_auth oneadmin@mut:~$ chmod 600 ~/.one/one_auth oneadmin@mut:~$ one stop oneadmin@mut:~$ one start oneadmin@mut:~$ onevm list [VirtualMachinePoolInfo] User couldn't be authenticated, aborting call. What's the problem? I've found the SHA1 hash password for oneadmin in one.db doesn't match with the password defined in ~/.one/one_auth. If hash password is modified to proper value or one.db is deleted, after stop/start one authentication becomes operative. Making a new clean installation, /var/lib/one/one.db exists and oneadmin user is defined with a hashed password before oneadmin password was set in /var/lib/one/.one/one_auth. Is this correct or is a bug? Thanks [1] http://dev.opennebula.org/packages/opennebula-3.0.0/Debian-6.0.2/opennebula_3.0.0-1_amd64.deb ___ 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] VMs are not reachable over their IP
Hello Martin, When OpenNebula launches a (the first) VM, the vnet0 is attached to the bridge (this works flawlessly in my case). If my bridge has the IP 141.x.x.66 and the VMs get an IP , ranged from 141.x.x.67-141.x.x.80, how are the packets been routed to the VMs? Does OpenNebula (my context Script) just set the VM IP within the running VM, or is there also a mechanism that sets the corresponding IP (eg. 141.x.x.67) also on the bridge, so the VM is visible to the Network? The bridge acts as a hub. All the packets that arrive trough the physical device are forwarded over to all the virtual network interfaces of all the running VMs. If a VM has configured from within an IP, it will capture the packet, otherwise it will simply ignore the packet. In other words, if you fire up tcpdump from within the VM you will see all the traffic of the bridge. By configuring an IP from within the VM you will capture the packets delivered to that IP address. The VMs' interfaces should be visible to the network, just as any other physical machine. Or are VLAN Tags/Open vSwitch/ebtables the only way to process IP Packages to the KVM virtual Interfaces? No, they're alternative network configurations precisely to avoid the security problems exposed by a flat network like the one described in the first scenario, where all the traffic is visible across al the VMs. I'm not sure if I understood correctly, but if you're having problems with your network setup, could you be more specific on your configuration and send us the output of some commands, like: * ifconfig -a (both in the host and the vm) * route -n (both in the host and the vm) * brctl show (in the host) * ps -ef|grep kvm (in the host) cheers, Jaime -- 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] Doubt about VNet operation
Hello Erico, take a look at this thread which is currently under discussion: http://www.mail-archive.com/users@lists.opennebula.org/msg04582.html regards, Jaime On Wed, Nov 16, 2011 at 2:15 AM, Erico Augusto Cavalcanti Guedes e...@cin.ufpe.br wrote: Dears, when two VMs are running on same Physical Machine under one unique VNet, communication between then are performed without an external device, like a switch, or it is unpredictable that traffic pass through the switch? I read [1], but It was inconclusive. Thanks in advance, Erico. [1] http://www.opennebula.org/_detail/documentation:rel1.4:network-02.png?id=documentation%3Arel3.0%3Avgg ___ 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] What ever happened to....
Hello Robert, The article is there, but there are some problems with the domain registry provider. Hopefully it will be back up in a few hours. Regards, Jaime On Sun, Dec 4, 2011 at 8:19 PM, Robert Schweikert rjsch...@suse.com wrote: Hi, Whatever happened to https://support.opennebula.pro/entries/20466331-using-suse-studio-with-opennebula apparently this points to nowhere now. Did 3.0 break anything that was working previously w.r.t. Studio integration or was the information simply outdated and got removed? Thanks, Robert -- Robert Schweikert MAY THE SOURCE BE WITH YOU SUSE-IBM Software Integration Center LINUX Tech Lead rjsch...@suse.com rschw...@ca.ibm.com 781-464-8147 ___ 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] What ever happened to....
Hello Robert, it has taken longer than expected but the domain is finally up. Thank you for your patience. Regards, Jaime On Sun, Dec 4, 2011 at 9:50 PM, Jaime Melis jme...@opennebula.org wrote: Hello Robert, The article is there, but there are some problems with the domain registry provider. Hopefully it will be back up in a few hours. Regards, Jaime On Sun, Dec 4, 2011 at 8:19 PM, Robert Schweikert rjsch...@suse.com wrote: Hi, Whatever happened to https://support.opennebula.pro/entries/20466331-using-suse-studio-with-opennebula apparently this points to nowhere now. Did 3.0 break anything that was working previously w.r.t. Studio integration or was the information simply outdated and got removed? Thanks, Robert -- Robert Schweikert MAY THE SOURCE BE WITH YOU SUSE-IBM Software Integration Center LINUX Tech Lead rjsch...@suse.com rschw...@ca.ibm.com 781-464-8147 ___ 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 -- 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] Announce 3.0 packages for SUSE
Hello Robert, thanks a lot for updating the packages, and thanks a lot for developing the new systemd scripts, we will include them in OpenNebula's source code. Regards, Jaime On Thu, Dec 8, 2011 at 9:46 PM, Robert Schweikert rjsch...@suse.com wrote: Hi, Yes, 3.0 has been out for a while and I am a bit late. But better late then never. Earlier this week I released 3.0 builds from the :Testing repository on OBS (openSUSE Build Service) into the main repository http://download.opensuse.org/**repositories/Virtualization:/** Cloud:/OpenNebula/http://download.opensuse.org/repositories/Virtualization:/Cloud:/OpenNebula/ I also updated the KIWI example, available with the next KIWI development release tomorrow, as well as the wiki entries: http://en.opensuse.org/SDB:**Cloud_OpenNebulahttp://en.opensuse.org/SDB:Cloud_OpenNebula http://en.opensuse.org/SDB:**KIWI_Cookbook_ONebula_Cloudhttp://en.opensuse.org/SDB:KIWI_Cookbook_ONebula_Cloud For openSUSE 12.1 we switched to systemd. The openSUSE 12.1 package for OpenNebula contains service unit files. I'll post those in a separet e-mail. Enjoy, Robert -- Robert Schweikert MAY THE SOURCE BE WITH YOU SUSE-IBM Software Integration Center LINUX Tech Lead rjsch...@suse.com rschw...@ca.ibm.com 781-464-8147 __**_ Users mailing list Users@lists.opennebula.org http://lists.opennebula.org/**listinfo.cgi/users-opennebula.**orghttp://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] iscsi target as a guest disk
would be about iscsi support. I can't find any reference from oned documents itself about iscsi. Is it possible to configure guests using iscsi lun from remote server as a os block device? I have done it using libvirt, so it works, but how to map this to oned configs? another way which would also work would be booting kernel directly or via ipxe and give it iscsi as a root device. Both of those work too. Is there a way to do this in oned? I found an old related posting here, but I don't know if it ever led to anything: http://lists.opennebula.org/htdig.cgi/users-opennebula.org/2009-July/000599.html -- Ilkka Tengvall Senior Specialist, Linux Virtualization Architecture ___ 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 -- 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] Issue
Hello Hutson, Actually that's the expected behaviour of the 8021Q network drivers. We decided to keep the bridge and the physical device with the vlan tag in the host for the following reasons: 1) It doesn't hurt to leave the bridge and the tagged interface. It won't eat up system's resources. 2) If another VM with the same network ID is launched in the same host, you don't need to create it again, therefore (slightly) speeding up boot times Do you agree with this? Do you think the default behaviour should be to remove the bridge and tagged interface? Of course this behaviour can be modified by enhancing the clean script [1]. Take a look at the ebtables clean script [2]. You will probably need to develop a deactivate method in the ruby class that handles the 8021q network drivers [3]. [1] https://github.com/OpenNebula/one/blob/master/src/vnm_mad/remotes/802.1Q/clean [2] https://github.com/OpenNebula/one/blob/master/src/vnm_mad/remotes/ebtables/clean [3] https://github.com/OpenNebula/one/blob/master/src/vnm_mad/remotes/802.1Q/HostManaged.rb Regards, Jaime On Wed, Dec 14, 2011 at 10:54 PM, Hutson Betts hut...@tamu.edu wrote: I have been testing Host-managed VLANs, but I'm having an issue with cleanup. After creating a VNET and VM, I have the following: oneadmin@opennebula-server:~$ onevm show 5 VIRTUAL MACHINE 5 INFORMATION ID : 5 NAME: vm-example USER: oneadmin GROUP : oneadmin STATE : ACTIVE LCM_STATE : RUNNING HOSTNAME: 10.1.0.101 START TIME : 12/14 15:40:51 END TIME: - DEPLOY ID : one-5 VIRTUAL MACHINE MONITORING NET_TX : 0 NET_RX : 390 USED MEMORY : 524288 USED CPU: 66 VIRTUAL MACHINE TEMPLATE CPU=1 DISK=[ CLONE=YES, DISK_ID=0, IMAGE=Machine A, IMAGE_ID=1, READONLY=NO, SAVE=NO, SOURCE=/var/lib/one/images/643c79fb423c71730ffb84b1a88f06d0, TARGET=hda, TYPE=DISK ] MEMORY=512 NAME=vm-example NIC=[ BRIDGE=onebr2, IP=192.168.0.1, MAC=02:00:c0:a8:00:01, NETWORK=VLAN Test, NETWORK_ID=2, PHYDEV=eth2 ] OS=[ INITRD=/initrd.img, KERNEL=/vmlinuz, ROOT=sda ] VMID=5 oneadmin@opennebula-server:~$ onevnet show 2 VIRTUAL NETWORK 2 INFORMATION ID : 2 USER : oneadmin GROUP : oneadmin PUBLIC : No USED LEASES: 1 VIRTUAL NETWORK TEMPLATE BRIDGE=onebr2 NAME=VLAN Test NETWORK_ADDRESS=192.168.0.0 NETWORK_SIZE=C PHYDEV=eth2 TYPE=RANGED LEASES INFORMATION LEASE=[ IP=192.168.0.1, MAC=02:00:c0:a8:00:01, USED=1, VID=5 ] On the host system, I have the following, created as a result of the Host-managed VLAN script: eth2.502 Link encap:Ethernet HWaddr 00:1b:21:b8:cf:3d inet6 addr: fe80::21b:21ff:feb8:cf3d/64 Scope:Link UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 RX packets:0 errors:0 dropped:0 overruns:0 frame:0 TX packets:5 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:0 RX bytes:0 (0.0 B) TX bytes:390 (390.0 B)\ onebr2Link encap:Ethernet HWaddr 00:1b:21:b8:cf:3d inet6 addr: fe80::9820:dff:fe31:9aab/64 Scope:Link UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 RX packets:0 errors:0 dropped:0 overruns:0 frame:0 TX packets:5 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:0 RX bytes:0 (0.0 B) TX bytes:390 (390.0 B) vnet1 Link encap:Ethernet Next, I proceed to delete the VM and VNET using the following: oneadmin@opennebula-server:~$ onevm delete 5 oneadmin@opennebula-server:~$ onevnet delete 2 The vnet0 tap was removed along with the VM, but the bridge and VLAN-tagged virtual interface are still there. Am I missing a configuration step to insure that those are removed when all remnants of the VM and VNET are deleted? -- Hutson Betts Computer Science and Engineering Texas AM University ___ 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] OpenNebulaV3.0 + Openvswitch
Hello, that's correct. Cheers, Jaime On Wed, Jan 18, 2012 at 4:24 PM, NEVEU Stephane stephane.ne...@thalesgroup.com wrote: Ok sorry regarding the documentation for opennebula 3.2 : http://opennebula.org/documentation:rel3.2:openvswitch ** ** Compatibility layer for bridge is still needed and the way to tag a vlan is to set : ** ** VLAN= YES VLAN_ID = 50 ** ** -- ** ** *De :* users-boun...@lists.opennebula.org [mailto: users-boun...@lists.opennebula.org] *De la part de* NEVEU Stephane *Envoyé :* mercredi 18 janvier 2012 14:34 *À :* users@lists.opennebula.org *Objet :* [one-users] OpenNebulaV3.0 + Openvswitch ** ** Hi all, ** ** Just some quick questions : - Do I still need to use the compatibility layer for linux bridge (cf documentation) to create my bridge with brctl or can I use ovs-vsctl add-br br0 ? - Where can I tag a vlan in sunstone virtual networks ? ** ** Many thanks, Regards, ** ** ___ 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] OpenNebulaV3.0 + Openvswitch
Hello, to make it easier for the user to tag a vlan in Sunstone, we have opened a ticket to include specific support for VLAN and VLAN_ID in the network creation dialog. http://dev.opennebula.org/issues/1067 cheers, Jaime On Wed, Jan 18, 2012 at 4:24 PM, NEVEU Stephane stephane.ne...@thalesgroup.com wrote: Ok sorry regarding the documentation for opennebula 3.2 : http://opennebula.org/documentation:rel3.2:openvswitch ** ** Compatibility layer for bridge is still needed and the way to tag a vlan is to set : ** ** VLAN= YES VLAN_ID = 50 ** ** -- ** ** *De :* users-boun...@lists.opennebula.org [mailto: users-boun...@lists.opennebula.org] *De la part de* NEVEU Stephane *Envoyé :* mercredi 18 janvier 2012 14:34 *À :* users@lists.opennebula.org *Objet :* [one-users] OpenNebulaV3.0 + Openvswitch ** ** Hi all, ** ** Just some quick questions : - Do I still need to use the compatibility layer for linux bridge (cf documentation) to create my bridge with brctl or can I use ovs-vsctl add-br br0 ? - Where can I tag a vlan in sunstone virtual networks ? ** ** Many thanks, Regards, ** ** ___ 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
[one-users] second part of the oZones screencast
Hello, the second part of the oZone screencast has been published: http://blog.opennebula.org/?p=2448 Enjoy! -- 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] Source RPMS?
Hello Graeme, Here you go: http://dev.opennebula.org/packages/ regards, Jaime On Wed, Jan 18, 2012 at 1:35 AM, Graeme Gillies graeme.r.gill...@gmail.comwrote: Hi, I am currently looking at deploying opennebula 3.2 to my environment, however, I want to do some patching to the source rpm with some local changes before rebuilding and deploying. I've looked everywhere high and low, and I can't seem to find the SRPMs for opennebula anywhere? Is there an easy place to find them (in particular, for the Centos 6 3.2 release). If someone can point out a link the SRPMS for me it would be much appreciated. Regards, Graeme ___ 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] open nebula 3 deb packages makes use of mkisofs instead of genisoimage
Hi Olivier, this has been fixed for the just released debian package of OpenNebula 3.2. Cheers, Jaime On Fri, Jan 6, 2012 at 4:23 PM, Olivier Sallou olivier.sal...@irisa.frwrote: I found impacted script: /usr/lib/one/sh/scripts_common.sh but it means that deb package does not add the patch as it did in 2.2 (not in same file). Olivier Le 1/6/12 4:19 PM, Olivier Sallou a écrit : Open nebula debian package (OpenNebula 3.1.80), calls mkisofs instead of genisoimage. It seems it was solved in OpenNebula 2. Should config be modified to do so? Thanks Olivier -- Olivier Sallou IRISA / University of Rennes 1 Campus de Beaulieu, 35000 RENNES - FRANCE Tel: 02.99.84.71.95 gpg key id: 4096R/326D8438 (pgp.mit.edu) Key fingerprint = 5FB4 6F83 D3B9 5204 6335 D26D 78DC 68DB 326D 8438 ___ 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] authentication issue
Hi, we have changed the way this works for the 3.2 package. Is this still an issue? cheers, Jaime On Fri, Jan 6, 2012 at 4:01 PM, Olivier Sallou olivier.sal...@irisa.frwrote: Hi, I found something. If I start one with one start instead of init.d scripts, I do not have hostpool error anymore I installed debian package which provide those scripts. Olivier Le 1/6/12 3:34 PM, Olivier Sallou a écrit : Hi, I try to create a VM from SunStone but I have issues. I am connected as oneadmin. I created network, templates etc When I create a VM, it remains in INIT, there is no VM log. In oned.log I see the following: Fri Jan 6 15:29:18 2012 [AuM][D]: Message received: AUTHENTICATE SUCCESS 14 - Fri Jan 6 15:29:37 2012 [ReM][D]: HostPoolInfo method invoked Fri Jan 6 15:29:37 2012 [ReM][E]: [HostPoolInfo] User couldn't be authenticated, aborting call. Fri Jan 6 15:29:40 2012 [ReM][D]: UserPoolInfo method invoked Fri Jan 6 15:29:48 2012 [ReM][D]: VirtualMachinePoolInfo method invoked Fri Jan 6 15:29:54 2012 [ReM][D]: ImagePoolInfo method invoked Fri Jan 6 15:29:56 2012 [ReM][D]: VirtualMachineInfo method invoked Fri Jan 6 15:29:56 2012 [ReM][D]: VirtualMachineInfo method invoked Fri Jan 6 15:30:01 2012 [ReM][D]: VirtualNetworkPoolInfo method invoked Fri Jan 6 15:30:07 2012 [ReM][D]: HostPoolInfo method invoked Fri Jan 6 15:30:07 2012 [ReM][E]: [HostPoolInfo] User couldn't be authenticated, aborting call. Fri Jan 6 15:30:11 2012 [ReM][D]: HostPoolInfo method invoked Fri Jan 6 15:30:12 2012 [ReM][D]: GroupPoolInfo method invoked Fri Jan 6 15:30:14 2012 [ReM][D]: VirtualMachineInfo method invoked Fri Jan 6 15:30:14 2012 [ReM][D]: VirtualMachineAction method invoked Fri Jan 6 15:30:14 2012 [DiM][D]: Finalizing VM 1 What is strange is [ReM][E]: [HostPoolInfo] User couldn't be authenticated, aborting call. When connected via SSH as oneadmin user, I can do one commands with no issue. Seems that I am authenticzted for all but HostPoolInfo Olivier -- Olivier Sallou IRISA / University of Rennes 1 Campus de Beaulieu, 35000 RENNES - FRANCE Tel: 02.99.84.71.95 gpg key id: 4096R/326D8438 (pgp.mit.edu) Key fingerprint = 5FB4 6F83 D3B9 5204 6335 D26D 78DC 68DB 326D 8438 ___ 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] Network problem with ebtables
Hello Manuel, Actually that's the intented behaviour of this network driver. If you apply this filter to a NIC, it will only be reachable from other VMs, meaning that you won't be able to access it from your physical host, even if they're on the same network. I suggest that you use VLANs with the 802.1Q driver if you want to be able to reach your VMs from your hosts while keeping them isolated. If you can't use that driver beacuse of your netwrok infrastructure, you could always create two NICs in a VM, and apply the ebtables filter to only one of them, and use that VM as a gateway to reach your other VMs. Cheers, Jaime 2012/1/15 Manuel Padrón mpad...@citec-sl.com Hi: I'm trying to make work the network of the vms with ebtables. I've got in the physical machine an eth0 and a br0 working with 192.168.0.1 ip. I create an vnet with one fix address 192.168.0.2. Everything seems to work. onevnet show said that 192.168.0.2 is USED by the VID of the vm. ebtables --list shows something like the guide (http://opennebula.org/documentation:rel3.0:ebtables ) said: btables --list Bridge table: filter Bridge chain: INPUT, entries: 0, policy: ACCEPT Bridge chain: FORWARD, entries: 2, policy: ACCEPT -s ! 2:0:ac:15:20:0/ff:ff:ff:ff:ff:0 -o vnet0 -j DROP -s ! 2:0:ac:15:20:29 -i vnet0 -j DROP Bridge chain: OUTPUT, entries: 0, policy: ACCEPT I even can do a ping between 192.168.0.1 and 192.168.0.2. But if I try to reach the gw of the net (192.168.0.4) from the physical machine I can but from the vm I didn't get any response. Anyone could help me? Regards from Canary Islands -- Manuel Padrón Martínez Administrador de Redes y Sistemas . CITEC Centro Canario de Tratamiento de la Información, S.L. C/ Viera y Clavijo 34, 5ª Planta- 35002- Las Palmas de Gran Canaria - España Telf.: +34 928 939 411 Fax: +34 928 939 343 email: mpad...@citec-sl.com . Este mensaje y cualquier archivo adjunto al mismo son confidenciales y atañe exclusivamente a las personas a las que va dirigido. Si usted no es el destinatario de este mensaje, considérese advertido de que lo ha recibido por error y que cualquier uso, difusión o copia están absolutamente prohibidos, recomendándole la comunicación de este hecho a la siguiente dirección de e-mail del remitente. Asimismo, se le advierte que toda la información personal contenida en este mensaje se encuentra protegida por la Ley 15/1999, de 13 de Diciembre de protección de datos de carácter personal, quedando totalmente prohibido su uso y/o tratamiento, así como la cesión de aquella a terceros al margen de lo dispuesto en la citada ley protectora de datos personales y de su normativa de desarrollo. ___ 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] authentication issue
Hello Robert, what I meant is that what Olivier reported was specific to the OpenNebula 3.0 Debian package, and since we fixed it during the development of OpenNebula 3.2, it's not an issue any more with the package we've generated for OpenNebula 3.2 and it certainly doesn't affect the openSUSE packages. It's true that there has been a lot of involvement from the community to polish some non-critical issues, especially related to the user interfaces, so in this case we will publish a maintainance release in a few days. Thanks a lot for your work, and let us know if you need some help. Regards, Jaime On Tue, Jan 24, 2012 at 2:49 PM, Robert Schweikert rjsch...@suse.comwrote: On 01/24/2012 08:39 AM, Jaime Melis wrote: Hi, we have changed the way this works for the 3.2 package. Is this still an issue? Hmm, if you are fixing package, will there be a 3.2.x release soon with fixes included? I have 3.2 building in OBS (openSUSE build service). But because of all the reported problems right after the release I have not pushed this build from the :Testing project to the main project Virtualization:Cloud:** OpenNebula. A bit of guidance is appreciated. Thanks, Robert -- Robert Schweikert MAY THE SOURCE BE WITH YOU SUSE-IBM Software Integration Center LINUX Tech Lead rjsch...@suse.com rschw...@ca.ibm.com 781-464-8147 __**_ Users mailing list Users@lists.opennebula.org http://lists.opennebula.org/**listinfo.cgi/users-opennebula.**orghttp://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] Download link for OpenNebula 3.2 tar.gz archive
Hello Florian, here you go: http://dev.opennebula.org/packages/ cheers, Jaime On Thu, Jan 19, 2012 at 5:33 PM, Florian Antonescu florinantone...@gmail.com wrote: 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 -- 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] one 3.2: VLAN inside VM definition template
Hi, that would work. Keep in mind though, that since NIC/MAC and NIC/VLAN_ID are restricted attributes, it will only work for oneadmin: http://opennebula.org/documentation:rel3.2:compatibility#resource_management cheers, Jaime On Wed, Jan 25, 2012 at 2:47 PM, Florian Antonescu florinantone...@gmail.com wrote: 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 -- 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] Does anyone have run Ubuntu instance in OpenNebula successfully ?
Hello, I think this is the resource you're looking for: https://support.opennebula.pro/entries/455869-image-contextualization Cheers, Jaime On Mon, Jan 30, 2012 at 3:12 AM, Torres, Eliana eltor...@axcess-financial.com wrote: Hello Jaime, Can´t find the blog post or the link you mentioned on the last post of this thread. Can you guide me, please. Regards -- Eliana Torres Infrastructure Architect Axcess-Financial ___ 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] libvirt not allowing access to /dev/kvm
Hi Michael, to figure out what's wrong, can you send us: $ grep -Ev '^(#|$)' /etc/libvirt/qemu.conf $ grep -Ev '^(#|$)' /etc/libvirt/libvirtd.conf I'm aware you already sent part of your qemu.conf... but I'd like to know if there's anything else besides what you pasted. cheers, Jaime On Wed, Feb 8, 2012 at 7:53 PM, Michael Brown mich...@netdirect.ca wrote: I think I've finally nailed the root cause of my troubles. I posted this on http://serverfault.com/q/358118/2101 but you guys may be able to answer with more authority: I have a fresh Open Nebula 3.2.1 installation which I'm trying to get working and manage some freshly-installed debian squeeze kvm hosts. My problem is that when Open Nebula deploys VMs the KVM process does not have access to the /dev/kvm device on the host. I've set up everything according to documentation: root@onhost1:~# ls -al /dev/kvm crw-rw 1 root kvm 10, 232 Feb 8 11:24 /dev/kvm root@onhost1:~# id oneadmin uid=500(oneadmin) gid=500(oneadmin) groups=500(oneadmin),106(kvm),108(libvirt) libvirt/qemu.conf has: user = oneadmin group = oneadmin When libvirt creates VMs they do not have any of the secondary groups set so the process doesn't have access to /dev/kvm via file permissions. OK, fair enough, though the Open Nebula documentation seems to indicate it should be set up this way. I've tried mounting cgroups to try and resolve this problem. After I do so, the kvm process has the following cgroup entry: 1:devices,cpu:/libvirt/qemu/one-29 corresponding to: /dev/cgroup/libvirt/qemu/one-29/devices.list:c 10:232 rwm My lack of understanding of how cgroups work indicate to me that this ought to allow the process to access /dev/kvm, but no go. I can make things work by adding an ACL entry (setfacl -m u:oneadmin:rw /dev/kvm) but that doesn't Seem Right. Shouldn't Open Nebula/libvirt be handling this? * What are the Correct Changes to make? * Should the documentation be changed? * Have I missed something? -- Michael Brown | `One of the main causes of the fall of Systems Consultant | the Roman Empire was that, lacking zero, Net Direct Inc. | they had no way to indicate successful ☎: +1 519 883 1172 x5106 | termination of their C programs.' - Firth ___ 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] Centos 6.2 - Execution errors with libvirt
Hello Adrian Thanks a bunch, that will definitely come in handy for OpenNebula 3.4 packages cheers, Jaime On Mon, Mar 5, 2012 at 7:48 AM, Snyman, Adrian adri...@uj.ac.za wrote: Just thought I would post this heads up. I was battling with machines / nodes permissions, and I stumbled onto this page: http://www.mail-archive.com/users@lists.opennebula.org/msg05465.html Turns out that the policykit on Centos6.2 blocks the oneadmin user from doing certain tasks, and my adding the following: # content of file: /etc/polkit-1/localauthority/50-local.d/50-org.libvirt.unix.manage-opennebula.pkla [Allow oneadmin user to manage virtual machines] Identity=unix-user:oneadmin Action=org.libvirt.unix.manage ResultAny=yes ResultInactive=yes ResultActive=yes I can now see the resources (ie: the node can be monitored). Regards, Adrian Snyman Linux Systems Administrator Tel: 011-559-4929 Cell: 082-600-1211 -- This email and all contents are subject to the following disclaimer: http://disclaimer.uj.ac.za ___ 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] Version 3.2.0 + MySQL problems
]: [UserPoolInfo] User couldn't be authenticated, aborting call. I'm new to OpenNebula, so any help is much appreciated. Thank you [1] http://opennebula.org/documentation:rel3.2:mysql ___ 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] Version 3.2.0 + MySQL problems
received: AUTHENTICATE FAILURE 7 - Sat Mar 3 18:10:20 2012 [AuM][E]: Auth Error: Sat Mar 3 18:10:20 2012 [ReM][E]: [UserPoolInfo] User couldn't be authenticated, aborting call. I'm new to OpenNebula, so any help is much appreciated. Thank you [1] http://opennebula.org/documentation:rel3.2:mysql ___ 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] Files in /var/tmp/one/vmm/kvm/ disappear.
Hello Richard, I'm not sure if this is related to OpenNebula, maybe there's some other daemon who's removing those files. Just to be sure it isn't OpenNebula, I suggest you audit that file to discover the PID of the process removing it: # install audit package # start the auditd daemon $ auditctl -w /var/tmp/one/vmm/kvm/deploy -p war -k opennebula_remotes wait for the unwanted delete to take place (you'll find the log in /var/log/audit/audit.log) Once you're finished do $ auditctl -W /var/tmp/one/vmm/kvm/deploy -p war -k opennebula_remotes # shut down the auditd daemon Regards, Jaime On Thu, Mar 8, 2012 at 11:37 PM, richard -rw- weinberger richard.weinber...@gmail.com wrote: Hi! I see a very strange issue on OpenNebula 3.0. From time to time most files n /var/tmp/one/vmm/kvm/ disappear on all my hosts. $ ls /var/tmp/one/vmm/kvm/ kvmrc poll vs. $ ls /var/tmp/one/vmm/kvm/ cancel deploy kvmrc migrate migrate_local poll poll_ganglia restore save shutdown After a onehost sync all files come back. But it takes some time and is very annoying. Is this a known bug? /var/tmp/one is on each host a regular directory on top of ext4. -- Thanks, //richard ___ 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] vm state is unknown...what to do???
Hello Darshan, are you using Xen? Our ttylinux image is prepared only to run with KVM. Cheers, Jaime On Mon, Feb 6, 2012 at 8:31 AM, Darshan Upadhyay darshan...@gmail.comwrote: hi guys.. please help me out i am trying to run vm on host through front end with the command onevm but my vm is reach upto running stage and certainly it will transfer to unknown state..so i am not able to findout that at which poing i am doing wrongi have register ttylinux image through oneimage...and using it in vmmy vm template is shown below.Please guide me where i am doing wrong. vm template NAME = ttyvm CPU = 0.3 MEMORY = 200 VCPU = 1 OS = [ KERNEL = /boot/vmlinuz-2.6.18-194.el5xen, INITRD = /boot/vmlinuz-2.6.18.194.el5xen.img ] DISK = [ IMAGE = ttylinux, IMAGE_ID = 1, READONLY = no ] FEATURES = [ ACPI = no ] ___ 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] help with a configuration
Hello Jan, this line is confusing me: I don't want to share anything between the host and the frontend but i can mount filesystems from the host to the frontend on demand. Can you export from your SAN system both to your host and to your frontend? In that case you can mount a shared /var/lib/one in both. Cheers, Jaime On Wed, Feb 15, 2012 at 9:49 AM, Jan M. Stankovsky jan.stankov...@univie.ac.at wrote: I have a single server with access to a SAN System. I would like to use this server as a (cluster) node [host] and virtualize the frontend on my working place computer with virtualbox. I don't want to share anything between the host and the frontend but i can mount filesystems from the host to the frontend on demand. in such a setup where/how should i put the image repositories, because the host has the storage. thanks j. ___ 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] problem when installing OpenNebula on Opensuse 11.4
Hello Nicolas, did you figure this out? From other mails you've written to the mailing list I understand that you have managed to install OpenNebula. Did you use openSUSE's packages? Cheers, Jaime On Thu, Feb 16, 2012 at 6:12 PM, nicolas diogo nicolasdi...@gmx.com wrote: hello, i have followed the documentation available and i find that i can not start portions of my ONE installation. when trying to start sunstone: service sunstone start i get an error message and the following is posted on the log: */usr/lib64/ruby/gems/1.8/gems/sequel-3.32.0/lib/sequel/adapters/sqlite.rb:67:in `initialize': SQLite3::CantOpenException: unable to open database file (Sequel::DatabaseConnectionError) from /usr/lib64/ruby/gems/1.8/gems/sequel-3.32.0/lib/sequel/adapters/sqlite.rb:67:in `new' from /usr/lib64/ruby/gems/1.8/gems/sequel-3.32.0/lib/sequel/adapters/sqlite.rb:67:in `connect' from /usr/lib64/ruby/gems/1.8/gems/sequel-3.32.0/lib/sequel/database/misc.rb:48:in `initialize' from /usr/lib64/ruby/gems/1.8/gems/sequel-3.32.0/lib/sequel/connection_pool.rb:92:in `call' from /usr/lib64/ruby/gems/1.8/gems/sequel-3.32.0/lib/sequel/connection_pool.rb:92:in `make_new' from /usr/lib64/ruby/gems/1.8/gems/sequel-3.32.0/lib/sequel/connection_pool/threaded.rb:127:in `make_new' from /usr/lib64/ruby/gems/1.8/gems/sequel-3.32.0/lib/sequel/connection_pool/threaded.rb:113:in `available' from /usr/lib64/ruby/gems/1.8/gems/sequel-3.32.0/lib/sequel/connection_pool/threaded.rb:103:in `acquire' from /usr/lib64/ruby/gems/1.8/gems/sequel-3.32.0/lib/sequel/connection_pool/threaded.rb:147:in `sync' from /usr/lib64/ruby/gems/1.8/gems/sequel-3.32.0/lib/sequel/connection_pool/threaded.rb:147:in `synchronize' from /usr/lib64/ruby/gems/1.8/gems/sequel-3.32.0/lib/sequel/connection_pool/threaded.rb:147:in `sync' from /usr/lib64/ruby/gems/1.8/gems/sequel-3.32.0/lib/sequel/connection_pool/threaded.rb:102:in `acquire' from /usr/lib64/ruby/gems/1.8/gems/sequel-3.32.0/lib/sequel/connection_pool/threaded.rb:74:in `hold' from /usr/lib64/ruby/gems/1.8/gems/sequel-3.32.0/lib/sequel/database/connecting.rb:225:in `synchronize' from /usr/lib64/ruby/gems/1.8/gems/sequel-3.32.0/lib/sequel/adapters/sqlite.rb:94:in `execute_ddl' from /usr/lib64/ruby/gems/1.8/gems/sequel-3.32.0/lib/sequel/database/schema_methods.rb:377:in `create_table_from_generator' from /usr/lib64/ruby/gems/1.8/gems/sequel-3.32.0/lib/sequel/database/schema_methods.rb:97:in `create_table' from /usr/lib64/ruby/gems/1.8/gems/sequel-3.32.0/lib/sequel/database/schema_methods.rb:122:in `create_table?' from /usr/lib/one/ruby/acct/watch_helper.rb:137:in `bootstrap' from /usr/lib/one/ruby/acct/watch_helper.rb:221 from /usr/lib64/ruby/vendor_ruby/1.8/rubygems/custom_require.rb:36:in `gem_original_require' from /usr/lib64/ruby/vendor_ruby/1.8/rubygems/custom_require.rb:36:in `require' from /usr/lib/one/ruby/acct/watch_client.rb:18 from /usr/lib64/ruby/vendor_ruby/1.8/rubygems/custom_require.rb:36:in `gem_original_require' from /usr/lib64/ruby/vendor_ruby/1.8/rubygems/custom_require.rb:36:in `require' from /usr/lib/one/sunstone/models/SunstoneServer.rb:20 from /usr/lib64/ruby/vendor_ruby/1.8/rubygems/custom_require.rb:36:in `gem_original_require' from /usr/lib64/ruby/vendor_ruby/1.8/rubygems/custom_require.rb:36:in `require' from /usr/lib/one/sunstone/sunstone-server.rb:51* i am hoping this would be clear somebody that understands ruby. but for me - only sadness.. and more interisting is that i can not find a script; /usr/bin/one it is not there.. i have installed all opennebula packages: zypper instal opennebula* could it be that i am using the wrong repos? this is OpenNebula repo (and i have also enabled Packman) *[Virtualization_Cloud_OpenNebula] name=openNebula Cloud environment (openSUSE_11.4) enabled=1 autorefresh=0 baseurl=http://download.opensuse.org/repositories/Virtualization:/Cloud:/OpenNebula/openSUSE_11.4/ type=rpm-md gpgcheck=1 gpgkey=http://download.opensuse.org/repositories/Virtualization:/Cloud:/OpenNebula/openSUSE_11.4/repodata/repomd.xml.key keeppackages=0* suggestions on how to solve this are most welcome Nicolas ___ 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