Re: [one-users] Fencing and/or STONITH in case of an host error (ft/host_error.rb)
> As a side note, we are now working (it maybe incorporated in 4.8.1) in a > "off-line" migration capability. This is, once the host is fence (the > VM > will be in UNKNOWN), the error hook will be able to set the reschedule > flag > and the scheduler will look for a new host. The VM will move from UNKNOWN > to BOOT and then RUNNING in a different host. Provided you have a > shared > storage NFS or Ceph like across cluster hosts that will preserve > volatile > disk changes and speed up the restart process. Ruben, this would be great. I'm running 4.10.0-1, is "off-line" migration capability included? ___ Users mailing list Users@lists.opennebula.org http://lists.opennebula.org/listinfo.cgi/users-opennebula.org
Re: [one-users] Opennebula 2.2 Sunstone problem
Have you checked the log ? Can you run this command 'lsof -i:4567' to make sure that the status of sunstone is running ? On 4/13/2011 8:09 PM, Sebastian Neg wrote: Hi, I installed Opennebula 2.2 on CentOS 5.5 and i am trying to configure Sunstone. When i run: /srv/cloud/one/bin/sunstone-server start Stale .lock detected.Erasing it. sunstone-server started But i can not access to the url where my Sunstone server is deployed "localhost:4567" Any thoughts as to where I might have gone wrong? 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
[one-users] Live migrate failed
Hi, all. I am testing the live migrate function of opennebula. But it seemed that it didn't work on my machine.So I checked the vm log and found this error information : Tue Apr 12 14:56:07 2011 [LCM][I]: New VM state is MIGRATE Tue Apr 12 14:56:07 2011 [VMM][I]: Command execution fail: 'if [ -x "/var/tmp/one/vmm/kvm/migrate" ]; then /var/tmp/one/vmm/kvm/migrate one-67 cloudlabnc1; else exit 42; fi' Tue Apr 12 14:56:07 2011 [VMM][I]: STDERR follows. Tue Apr 12 14:56:07 2011 [VMM][I]: error: Cannot access CA certificate '/etc/pki/CA/cacert.pem': No such file or directory Tue Apr 12 14:56:07 2011 [VMM][I]: ExitCode: 1 Tue Apr 12 14:56:07 2011 [VMM][E]: Error live-migrating VM, error: Cannot access CA certificate '/etc/pki/CA/cacert.pem': No such file or directory Tue Apr 12 14:56:08 2011 [LCM][I]: Fail to life migrate VM. Assuming that the VM is still RUNNING (will poll VM). Tue Apr 12 14:56:08 2011 [VMM][D]: Monitor Information: Could anyone please give me any advice ? Best Regards Jeff ___ Users mailing list Users@lists.opennebula.org http://lists.opennebula.org/listinfo.cgi/users-opennebula.org
Re: [one-users] Sunstone in ubuntu
Thank you olivier. It seems that there is something wrong with the option -H when using sunstone-server command .So I edited the $ONE_LOCATION/bin/sunstone-server and replaced line ' HOST="127.0.0.1" ' with 'HOST="myip"' ,then it worked. That's kind of weird. Maybe it is a bug ? Regards Jeff On 4/11/2011 6:13 PM, Olivier Sallou wrote: the ip must be the one of the host running the sunstone server. Then you can access it, as long as your ip is accessible via http (firewalls?) *De: *"Jeff" *À: *"Olivier Sallou" *Cc: *users@lists.opennebula.org *Envoyé: *Lundi 11 Avril 2011 12:12:31 *Objet: *Re: [one-users] Sunstone in ubuntu Hi, Oliver. I tried but failed again. Can you access your Sunstone from a remote client ? Regards Jeff On 4/11/2011 5:40 PM, Olivier Sallou wrote: by default, it listens on 127.0.0.1 only To enable access from remote, run sunstone specifying the network ip (-h option i think) Olivier *De: *"Jeff" *À: *users@lists.opennebula.org *Envoyé: *Lundi 11 Avril 2011 11:13:38 *Objet: *[one-users] Sunstone in ubuntu Hi, all. I have installed the opennebula successfully in Ubuntu Maverick. I also can start a vm through the command line. Now I want to try to use sunstone to manage VMs. However, after configuring Sunstone following the instuctions, I can start Sunstone without any error but just can't access it through the web browser. The command sudo lsof -i:4567 shows that the port is using by rack.I think that means Sunstone running properly. When I try to access it through Chrome browser, I get the error information saying "Google Chrome could not connect to X.X.X.X:4567" (X.X.X.X is the ip of head node). Any hints ? 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
Re: [one-users] Sunstone in ubuntu
Hi, Oliver. I tried but failed again. Can you access your Sunstone from a remote client ? Regards Jeff On 4/11/2011 5:40 PM, Olivier Sallou wrote: by default, it listens on 127.0.0.1 only To enable access from remote, run sunstone specifying the network ip (-h option i think) Olivier *De: *"Jeff" *À: *users@lists.opennebula.org *Envoyé: *Lundi 11 Avril 2011 11:13:38 *Objet: *[one-users] Sunstone in ubuntu Hi, all. I have installed the opennebula successfully in Ubuntu Maverick. I also can start a vm through the command line. Now I want to try to use sunstone to manage VMs. However, after configuring Sunstone following the instuctions, I can start Sunstone without any error but just can't access it through the web browser. The command sudo lsof -i:4567 shows that the port is using by rack.I think that means Sunstone running properly. When I try to access it through Chrome browser, I get the error information saying "Google Chrome could not connect to X.X.X.X:4567" (X.X.X.X is the ip of head node). Any hints ? 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
Re: [one-users] Sunstone in ubuntu
Thank you for your reply, Daniel. I have tried following your advice. I stoped Sunstone and started it with arguments : -H ip-of-head-cloud It's still unable to work. I'm a little confused about the -H option. Does it refer to the ip of the head cloud or remote client ip ? Thanks again Jeff On 4/11/2011 5:38 PM, Daniel Molina wrote: Hi Jeff, Sunstone is started on localhost by default, if you want to define a different IP you should use the -H option when starting the server. Regards. On 11 April 2011 11:13, Jeff wrote: Hi, all. I have installed the opennebula successfully in Ubuntu Maverick. I also can start a vm through the command line. Now I want to try to use sunstone to manage VMs. However, after configuring Sunstone following the instuctions, I can start Sunstone without any error but just can't access it through the web browser. The command sudo lsof -i:4567 shows that the port is using by rack.I think that means Sunstone running properly. When I try to access it through Chrome browser, I get the error information saying "Google Chrome could not connect to X.X.X.X:4567" (X.X.X.X is the ip of head node). Any hints ? 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
[one-users] Sunstone in ubuntu
Hi, all. I have installed the opennebula successfully in Ubuntu Maverick. I also can start a vm through the command line. Now I want to try to use sunstone to manage VMs. However, after configuring Sunstone following the instuctions, I can start Sunstone without any error but just can't access it through the web browser. The command sudo lsof -i:4567 shows that the port is using by rack.I think that means Sunstone running properly. When I try to access it through Chrome browser, I get the error information saying "Google Chrome could not connect to X.X.X.X:4567" (X.X.X.X is the ip of head node). Any hints ? Best Regards Jeff ___ Users mailing list Users@lists.opennebula.org http://lists.opennebula.org/listinfo.cgi/users-opennebula.org
Re: [one-users] Help
Hi, why not download the source code from the website directly ? http://opennebula.org/software:software Regards Jeff On 4/7/2011 3:53 AM, Carlos Daniel Garay Ayala wrote: Hello, can someone help? Following this instrucctions: http://dev.opennebula.org/projects/management-console/wiki/onemc_install_ubuntu I got this error: svn: OPTIONS of 'http://svn.dev.opennebula.org/management-console/trunk': Could not resolve hostname `svn.dev.opennebula.org <http://svn.dev.opennebula.org>': Host not found (http://svn.dev.opennebula.org) What would be the correct link now? Regards, Carlos ___ 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 remain boot status.
Hi, Have you ever removed the ~/.ssh/known_hosts file ? Try to ssh to your cluster node to make sure that you can login without a password. I have met a similar problem because the known_hosts file had been removed for some reasons. Regards Jeff On 4/6/2011 12:51 PM, Khoa Nguyen wrote: Hj , Some information about one.log and vm.log. one.log. Thu Apr 7 16:37:41 2011 [ReM][D]: VirtualMachinePoolInfo method invoked Thu Apr 7 16:37:53 2011 [ReM][D]: VirtualMachineAllocate invoked Thu Apr 7 16:37:56 2011 [ReM][D]: VirtualMachinePoolInfo method invoked Thu Apr 7 16:38:02 2011 [ReM][D]: VirtualMachineDeploy invoked Thu Apr 7 16:38:02 2011 [DiM][D]: Deploying VM 69 Thu Apr 7 16:38:58 2011 [ReM][D]: VirtualMachinePoolInfo method invoked Thu Apr 7 16:39:03 2011 [ReM][D]: VirtualMachinePoolInfo method invoked Thu Apr 7 16:39:33 2011 [TM][D]: Message received: LOG - 69 tm_clone.sh: oneadmin-desktop:/srv/cloud/images/ubuntu/ubuntu.img 172.29.70.137:/srv/cloud/one/var//69/images/disk.0 Thu Apr 7 16:39:33 2011 [TM][D]: Message received: LOG - 69 tm_clone.sh: DST: /srv/cloud/one/var//69/images/disk.0 Thu Apr 7 16:39:33 2011 [TM][D]: Message received: LOG - 69 tm_clone.sh: Creating directory /srv/cloud/one/var//69/images Thu Apr 7 16:39:33 2011 [TM][D]: Message received: LOG - 69 tm_clone.sh: Executed "mkdir -p /srv/cloud/one/var//69/images". Thu Apr 7 16:39:33 2011 [TM][D]: Message received: LOG - 69 tm_clone.sh: Executed "chmod a+w /srv/cloud/one/var//69/images". Thu Apr 7 16:39:33 2011 [TM][D]: Message received: LOG - 69 tm_clone.sh: Cloning /srv/cloud/images/ubuntu/ubuntu.img Thu Apr 7 16:39:33 2011 [TM][D]: Message received: LOG - 69 tm_clone.sh: Executed "cp -r /srv/cloud/images/ubuntu/ubuntu.img /srv/cloud/one/var//69/images/disk.0". Thu Apr 7 16:39:33 2011 [TM][D]: Message received: LOG - 69 tm_clone.sh: Executed "chmod a+rw /srv/cloud/one/var//69/images/disk.0". Thu Apr 7 16:39:33 2011 [TM][D]: Message received: TRANSFER SUCCESS 69 - Thu Apr 7 16:39:34 2011 [ReM][D]: VirtualMachinePoolInfo method invoked Thu Apr 7 16:39:38 2011 [ReM][D]: VirtualMachinePoolInfo method invoked Thu Apr 7 16:41:18 2011 [InM][I]: Monitoring host 172.29.70.137 (1) Thu Apr 7 16:41:22 2011 [InM][D]: Host 1 successfully monitored. vm.log Thu Apr 7 16:38:02 2011 [DiM][I]: New VM state is ACTIVE. Thu Apr 7 16:38:03 2011 [LCM][I]: New VM state is PROLOG. Thu Apr 7 16:38:03 2011 [VM][I]: Virtual Machine has no context Thu Apr 7 16:39:33 2011 [TM][I]: tm_clone.sh: oneadmin-desktop:/srv/cloud/images/ubuntu/ubuntu.img 172.29.70.137:/srv/cloud/one/var//69/images/disk.0 Thu Apr 7 16:39:33 2011 [TM][I]: tm_clone.sh: DST: /srv/cloud/one/var//69/images/disk.0 Thu Apr 7 16:39:33 2011 [TM][I]: tm_clone.sh: Creating directory /srv/cloud/one/var//69/images Thu Apr 7 16:39:33 2011 [TM][I]: tm_clone.sh: Executed "mkdir -p /srv/cloud/one/var//69/images". Thu Apr 7 16:39:33 2011 [TM][I]: tm_clone.sh: Executed "chmod a+w /srv/cloud/one/var//69/images". Thu Apr 7 16:39:33 2011 [TM][I]: tm_clone.sh: Cloning /srv/cloud/images/ubuntu/ubuntu.img Thu Apr 7 16:39:33 2011 [TM][I]: tm_clone.sh: Executed "cp -r /srv/cloud/images/ubuntu/ubuntu.img /srv/cloud/one/var//69/images/disk.0". Thu Apr 7 16:39:33 2011 [TM][I]: tm_clone.sh: Executed "chmod a+rw /srv/cloud/one/var//69/images/disk.0". Thu Apr 7 16:39:35 2011 [LCM][I]: New VM state is BOOT Thu Apr 7 16:39:35 2011 [VMM][I]: Generating deployment file: /srv/cloud/one/var/69/deployment.0 I don't know why . When i turn on computer, I create VM sucessfully. It changes status from pending to running. Unfortunaly, After i try to stop and resume VM , I can't . It's display error : wrong state. Then, I delete that VM and create a new VM. It's remain boot state. Thank you for your reply. On Mon, Apr 4, 2011 at 5:27 PM, Prakhar Srivastava mailto:prakhar@gmail.com>> wrote: Hi, Could you please provide the log files : oned.log and virtual machine (that did not pass the boot state) log file. You can find them in /var/log/one directory. Regards, Prakhar On Mon, Apr 4, 2011 at 1:24 PM, Khoa Nguyen mailto:vankhoa...@gmail.com>> wrote: Hj all. First time , when i deploy VM on host. It changes the status from pending to running. Then I create the second VM but it remain boot status. I don't know why. Anybody know? Help me. Thank you in advance. -- Nguyễn Vũ Văn Khoa Đại học Khoa Học Tự Nhiên TP HCM ___ Users mailing list Users@lists.opennebula.org <mailto: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
Re: [one-users] Does anyone have run Ubuntu instance in OpenNebula successfully ?
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 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.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
[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
[one-users] how to attach a "console" to the VM and access the console via "virsh"
Hi, all, I have put this section in my vm definition file : RAW = [ type = "kvm", data = "" ] the ttylinux instance runs normally. When I ssh to the host and try to open the console of it, by the command "virsh console ", it is just stuck in the screen with only one line of message: Connected to domain one-19 Escape character is ^] Can anybody help me ? Best Regards, Jeff ___ Users mailing list Users@lists.opennebula.org http://lists.opennebula.org/listinfo.cgi/users-opennebula.org
Re: [one-users] Can opennebula use the image created for Eucalyptus ?
Hi, Olivier, thank you so much for your reply.That help me a lot. When I create a os image for opennebula, do I need to setup the boot loader such as grub ? Best Regards, Jeff On 4/3/2011 3:39 PM, Olivier Sallou wrote: Hi, if you care with Suse, there is the wonderful suse studio to create VMs (among other things). You can customize anything. vmdk output can be converted with kvm-convert to raw or qcow2 for opennebula. For eucalyptus I do not know what they do, but most of images (amazon etc..) always have specific stuff Regarding your image, all depends if you dhcp etc... Your connection issue may be a bad network setup. I don't know what is default for Eucalyptus images. Furthermore, with ubuntu, there is network persistence. If image has been used once, mac address is associated with one ethernet interface. So on next reuse, the new mac address used is associated to an other interface, if such is configured and result often in network setup failure. If you want to check your ubuntu image, you should connect to console and check network setup. Regards Olivier Hi, all. I have installed the opennebula in ubuntu 10.10 following this instruction. I also can run the ttylinux successfully. However, when I try to run a ubuntu instance, some issues arose. The command 'onevm list' showed that the instance is running.But I just can't ssh or even ping it. I got the imaged from the eucalyptus website and ubuntu website, both are created for eucalyptus. I am wondering if the images created for eucalyptus can be use for opennebula. Or can anyone tell me how to create my own image for opennebula . My opennebula platform is built on ubuntu 10.10 server with KVM as the hypervisor.Thank you all. 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 ___ Users mailing list Users@lists.opennebula.org http://lists.opennebula.org/listinfo.cgi/users-opennebula.org
[one-users] Can opennebula use the image created for Eucalyptus ?
Hi, all. I have installed the opennebula in ubuntu 10.10 following this instruction. I also can run the ttylinux successfully. However, when I try to run a ubuntu instance, some issues arose. The command 'onevm list' showed that the instance is running.But I just can't ssh or even ping it. I got the imaged from the eucalyptus website and ubuntu website, both are created for eucalyptus. I am wondering if the images created for eucalyptus can be use for opennebula. Or can anyone tell me how to create my own image for opennebula . My opennebula platform is built on ubuntu 10.10 server with KVM as the hypervisor.Thank you all. Jeff ___ Users mailing list Users@lists.opennebula.org http://lists.opennebula.org/listinfo.cgi/users-opennebula.org
Re: [one-users] Why is the OpenNebula 1.4 binary package for Ubuntu in system-wide mode?
I would guess because the ubuntu packaging standards have rules about where everything should be put. This way, someone familiar with Ubuntu will know where to find things and bin files will be in their path etc. The 2.0 beta ubuntu package is in the self-contained mode and I would have much preferred the system wide! Jeff On 12/08/2010, at 4:27 PM, Tobias Weikard wrote: > Hi, > I've got a small question. In the documentation from OpenNebula 1.4 > (http://opennebula.org/documentation:rel1.4:plan) is described, that the > preferred installation mode is the self-contained mode. > > But the Ubunutu binary packaged available at > http://downloads.dsa-research.org/opennebula/ubuntu-one-1.4.0 is packaged in > the system-wide mode. Why isn't it provided in the self-contained mode? Is > there any reason? > > Thanks, > 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] A couple of questions
On 05/08/2010, at 7:31 PM, Tino Vazquez wrote: > >> 2) I'm not familiar with the Xen Cloud Platform, but if you can install >> libvirt on it, it should work. Maybe somebody who knows more can clarify >> this. > > XCP goes beyond the hypervisor and effectively offers much more > (storage, network, etc). We have evaluated its integration, while that > doesn't happen using libvirt on top of XCP is a nice choice to manage > it from OpenNebula. We haven't tried it though, and would be delighted > to receive some feedback on this. > Well, I finally got around to trying this out. I added the host using: /onehost create xcp im_xen vmm_xen tm_ssh But one doesn't seem to get any information from the host: onead...@opennebula:~$ onehost show xcp HOST 2 INFORMATION ID: 2 NAME : xcp CLUSTER : default STATE : MONITORED IM_MAD: im_xen VM_MAD: vmm_xen TM_MAD: tm_ssh 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 ARCH=i686 HOSTNAME=server-bsehsenk MODELNAME=Intel(R) Xeon(R) CPU3040 @ 1.86GHz Should I be using another driver? I assumed the xen one would be the right one, however I see in the xen notes that it requires /etc/init.d/xend and uses xm, both of which XCP doesn't appear to have. Any ideas? Regards, Jeff ___ Users mailing list Users@lists.opennebula.org http://lists.opennebula.org/listinfo.cgi/users-opennebula.org
[one-users] A couple of questions
Hi, I'm new to looking at the opennebula project and have a couple of questions which I couldn't find answers for on the site: 1) Can the infrastructure manager component be installed as a VM as you would with vmware's vcenter? 2) Can you use Xen Cloud platform servers as the nodes? Jeff ___ Users mailing list Users@lists.opennebula.org http://lists.opennebula.org/listinfo.cgi/users-opennebula.org