[one-users] Can't boot with Windows XP image

2011-04-14 Thread Hoang Dinh Phuc
Hi all, My LAB is total 3 physical server - OpenNebula version 2.2 (CentOS 5.5) - KVM host ( Ubuntu Server 10.10) - VMWARE ESX4.0 In KVM host, i've installed 2 images: centos5.5.img and winxp.img by the following command: - cd /srv/cloud/images (Repository images of OpenNebula) -

[one-users] trying to troubleshoot onevm shutdown/stop/restart

2011-04-14 Thread John Nyhuis
Greetings, I am trying to troubleshoot our OpenNebula 2.0 installation (w/ kvm) and would appreciate some help. When we run onevm shutdown or onevm stop , the VM fails to stop and enters the 'fail' state. Once in this state, it can not be restarted using onevm restart or repai

[one-users] ebtables-kvm issue

2011-04-14 Thread Kees Verstoep
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/documen

Re: [one-users] sunstone auth problem

2011-04-14 Thread Robert Parrott
Hi Daniel et.al., nokigiri was installed, as per the installation documentation: [root ~]# ls -ld /usr/lib/ruby/gems/1.8/gems/noko* drwxr-xr-x 4 root root 4096 Apr 8 14:07 /usr/lib/ruby/gems/1.8/gems/nokogiri-1.3.1 Is there somehing that needs to be done in order to ensure that it it used inste

Re: [one-users] Not able to access running Ubuntu vm

2011-04-14 Thread Amit Soni
Hello, I was trying the same thing using following parameters in the template file: RAW = [ type = "kvm", data = "" ] 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

[one-users] OpenNebula KVM livemigration problem

2011-04-14 Thread Michael W. Lucas
Hi, I'm attempting to replace my ON 1.4 install with 2.2 on Ubuntu 10.10. I've removed a couple worker nodes from the 1.4 cluster, and have them running as a test cluster. Everything seems to work except live migration. Basic connectivity works, as I can submit, deploy, etc, my virtual machines.

Re: [one-users] how to predeploy image

2011-04-14 Thread Łukasz Grabowski
Hi Carlos, Thanks for help. I modified tm_clone.sh and it is working fine now. I am enclosing below the part of the script which was modified (from 43th line). Regards, Łukasz if [ `ssh $DST_HOST 'ls '$DST_PATH' '` ]; then log "Disk image predeployed" else log "Creating directory $DST_DIR

Re: [one-users] Not able to access running Ubuntu vm

2011-04-14 Thread Idafen Santana Pérez
Hi Zeeshan, how do you access a running VM? Regards Idafen On Thu, Apr 14, 2011 at 6:13 PM, Zeeshan Ali Shah wrote: > Manually Console to the running VM to see what went wrong .. > > /Zeeshan > > On Thu, Apr 14, 2011 at 5:40 PM, Amit Soni wrote: >> >> Hello, >> >> I manually created a Ubuntu I

Re: [one-users] Not able to access running Ubuntu vm

2011-04-14 Thread Zeeshan Ali Shah
Manually Console to the running VM to see what went wrong .. /Zeeshan On Thu, Apr 14, 2011 at 5:40 PM, Amit Soni 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-syste

[one-users] Not able to access running Ubuntu vm

2011-04-14 Thread Amit Soni
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 mention

Re: [one-users] dynamically change HOST_MONITORING_INTERVAL without restarting one daemon

2011-04-14 Thread Héctor Sanjuán
El 14/04/11 14:40, Pieter Simoens escribió: > Will I lose all my information if I stop the one daemon (e.g. configured > hosts,running virtual machines etc...) No, you won't loose them. AFAIK stopping, changing oned.conf and re-starting ONE, shouldn't affect your configuration as all is stored in

Re: [one-users] Fwd: Error trying to CREATE HOST Error inserting Host Share in DB

2011-04-14 Thread Sebastian Neg
Hi Carlos, I fixed the problem with the installation of rack (version 1.2.0) instead of 1.2.2 and i can crete onehost. But the problem now that the status of the host remains unchanged. [oneadmin@root ~]$ onehost list ID NAME CLUSTER RVM TCPU FCPU ACPUTMEMFMEM STAT

Re: [one-users] Opennebula 2.2 Sunstone problem

2011-04-14 Thread Sebastian Neg
Thanks, i did: gem install uninstall rack gem install rack --version '1.2.0' and it works fine, i can now access: localhost:4567 On Thu, Apr 14, 2011 at 12:16 PM, Daniel Molina wrote: > Hi, > > You should check the FAQ in the OpenNebula website: > http://www.opennebula.org/documentation:communit

[one-users] dynamically change HOST_MONITORING_INTERVAL without restarting one daemon

2011-04-14 Thread Pieter Simoens
Dear all, I would like to temporarily decrease the interval to monitor hosts (e.g. from 600 to 60). I would assume that changing the value in oned.conf has no effect unless the oned is stopped/started. Is there any way to do perform this actio

Re: [one-users] initialize a new virtual machine

2011-04-14 Thread Carlos Martín Sánchez
Hi, Do you have a registered image called "ubuntu_desktop"? Is it in ready state? Regards. -- Carlos Martín, MSc Project Major Contributor OpenNebula - The Open Source Toolkit for Cloud Computing www.OpenNebula.org | cmar...@opennebula.org On 14 April 2011 12:37, M

Re: [one-users] Fwd: Error trying to CREATE HOST Error inserting Host Share in DB

2011-04-14 Thread Carlos Martín Sánchez
Hi Sebastian, Any other error messages? What about the bootstrapping section of the log? Try that sqlite3 command (assuming you have sqlite set in your oned.conf) in /var/lib/one; or $ONE_LOCATION/var if you installed it in self-contained mode. That's where you'll find the one.db file. On a side

Re: [one-users] Host hooks aren't triggered

2011-04-14 Thread Zaina AFOULKI
Hi Tino, I have changed the line as you indicated, and it doesn't change anything... But, I've tried to replace the line with: vms = VirtualMachinePool.new(client, -2) and the VM goes in pending state. However the VM isn't resubmitted to the scheduler (Haizea) By the way, oned is running as

[one-users] initialize a new virtual machine

2011-04-14 Thread Marco Mirabile
hello I created this template file for onevm REQUIREMENTS = "HYPERVISOR=\"kvm\"" > NAME = ubuntu > CPU = 1 > MEMORY = 512 > DISK = [ image= "ubuntu_desktop" ] > OS = [ boot = "hd" ] when I want to initialize a new virtual machine I get an error the following error Can you help me? oneadmin@marc

Re: [one-users] Opennebula 2.2 Sunstone problem

2011-04-14 Thread Daniel Molina
Hi, You should check the FAQ in the OpenNebula website: http://www.opennebula.org/documentation:community:faq There is a compatibility problem with rack and sinatra Regards On 14 April 2011 11:58, Sebastian Neg wrote: > The log file shows: > /usr/lib/ruby/gems/1.8/gems/rack-1.2.2/lib/rack/serv

Re: [one-users] Fwd: Error trying to CREATE HOST Error inserting Host Share in DB

2011-04-14 Thread Sebastian Neg
Hi, I installed Opennebula 2.2 and it works fine. but when i want to create a host, i get this error: [oneadmin@root ~]$ onehost create localhost im_kvm vmm_kvm tm_ssh Error: [HostAllocate] Error trying to CREATE HOST Error inserting Host in DB. When i try to run this command "sqlite3 one.db ".sc

Re: [one-users] Opennebula 2.2 Sunstone problem

2011-04-14 Thread Sebastian Neg
The log file shows: /usr/lib/ruby/gems/1.8/gems/rack-1.2.2/lib/rack/server.rb:228: warning: parenthesize argument(s) for future version /usr/lib/ruby/gems/1.8/gems/rack-1.2.2/lib/rack/utils.rb:138:in `union': can't convert Array into String (TypeError) from /usr/lib/ruby/gems/1.8/gems/rack-1.2.

Re: [one-users] sunstone auth problem

2011-04-14 Thread Daniel Molina
I think the problem is the ruby version, are you using the default REXML gem? if so, would you mind to try installing the nokogiri gem (and restart both one and sunstone). If this gem is installed OpenNebula will use it instead of REXML. $ gem install nokogiri. Hope this helps On 14 April 2011 0