[one-users] Load balancing hosts

2011-02-04 Thread Steffen Neumann
Hi, I have a question about the scheduling in ONE: 1) Is there a way to migrate VMs off a host to another free host ? I know I can manually onevm migrate 56 13, but I had somehow expected that onehost 12 disable would clean out that host. 2) Is there a way to migrate VMs between host

Re: [one-users] Incomplete information from hosts polling (VMWare ESXi 4.1 an OpenNebula 2.0.1)

2011-02-04 Thread Ruben S. Montero
Hi, You have to add also de CPU capacity for the VM (apart from the number of virtual cpus CPUs). The CPU value is used at the allocation phase. However you are specifying MEMORY and should be included in the allocated memeory (USED MEMORY in onehost show) So I guess there should be other problem

[one-users] Create a VM using onevm create

2011-02-04 Thread Krishna R. Kantam
Hi all, I created an image and network but When i try to create VM using onevm create i was getting this error. I have the image created in /srv/cloud/var/images/ubuntu.img and have all the permissions, Please help. Error: [VirtualMachineAllocate] Error trying to CREATE VM Could not get disk i

Re: [one-users] Kernel panic - not syncing: Attempted to kill init!

2011-02-04 Thread anoop Lekshmanan
Steve, Thank you so much! I was really stuck here and you saved me. :) Thanks, Anoop On Sat, Feb 5, 2011 at 1:38 AM, Steven Timm wrote: > > This is my template for running a Xen VM out of the image repository. > [timm@fcl002 ~/OpenNebula]$ cat cloudlvs_xen.one > NAME = cloudlvs.fnal.gov > C

Re: [one-users] Kernel panic - not syncing: Attempted to kill init!

2011-02-04 Thread Steven Timm
This is my template for running a Xen VM out of the image repository. [timm@fcl002 ~/OpenNebula]$ cat cloudlvs_xen.one NAME = cloudlvs.fnal.gov CPU= 2 VCPU = 2 MEMORY = 2048 #OS = [ # kernel = /vmlinuz, # initrd = /initrd.img, # root = sda1, # kernel_cmd = "ro xenco

Re: [one-users] Kernel panic - not syncing: Attempted to kill init!

2011-02-04 Thread anoop Lekshmanan
Thanks Steve. I tried to boot using pyGrub and that did not work for me. I have prepared a CentOS.img created using virt-install and registered with oneimage. Could you please share how can I use guest's kernel. Thanks again. Anoop On Sat, Feb 5, 2011 at 1:00 AM, Steven Timm wrote: > > T

Re: [one-users] Kernel panic - not syncing: Attempted to kill init!

2011-02-04 Thread Steven Timm
The error you are getting is probably due to a malformed ramdisk for your Xen kernel. Likely what is happening is that the ramdisk is trying to load the real scsi device as sda1 rather than the xenblk block device. Try to replace the ramdisk and see if you do any better. I had this same error a

[one-users] Kernel panic - not syncing: Attempted to kill init!

2011-02-04 Thread anoop Lekshmanan
I get this error on loading ttylinux or any other image in to Xen Node and LVM, I have tried native kernel as well, but that did not work. device-mapper: uevent: version 1.0.3 device-mapper: ioctl: 4.11.5-ioctl (2007-12-12) initialised: dm-de...@redhat.com device-mapper: dm-raid45: initialized v0.

Re: [one-users] OCA API / deleting user

2011-02-04 Thread Daniel Molina Aranda
Hi, The current implementation require that the applications, built upon the OCA API, check that kind of things. This functionality will be added to the OpenNebula Core in upcoming releases, this way the application wont have to take into account this kind of stuff. Regards. On 4 February 2011

Re: [one-users] Create an Image and registering

2011-02-04 Thread Krishna R. Kantam
Though I was getting the error below it seems an image was registered. Does it mean is there a problem in registering the image? [root@localhost bin]# oneimage list ID USER NAME TYPE REGTIME PUB PER STAT #VMS 0 oneadmin Ubuntu Desktop OS Jan 23, 20

Re: [one-users] Create an Image and registering

2011-02-04 Thread Krishna R. Kantam
Great Thanks, So I changed the paths and checked the permissions. The srv/cloud/var/images/ folder always shows conetents 1 item with 2GB (which is ubuntu.img) and free space available is 0 bytes. registerubuntu.one file: NAME = "Ubuntu Web Development" PATH = /srv/cloud/one/

Re: [one-users] onevnet range network handing without range

2011-02-04 Thread Ruben S. Montero
Just forgot to mention that sizes and starting address must conform a CIDR notation... (if not OPenNebula will round them) On Fri, Feb 4, 2011 at 5:14 PM, Ruben S. Montero wrote: > Hi > > A Ranged Network is a contiguous range of IPs (any number of IPs) class > networks can be defined for conveni

Re: [one-users] onevnet range network handing without range

2011-02-04 Thread Ruben S. Montero
Hi A Ranged Network is a contiguous range of IPs (any number of IPs) class networks can be defined for convenience, though. however you can specify any size. eg. ... NETWORK = 10.20.0.10 SIZE = 240 ... This will produce the range you are looking for... Cheers On Fri, Feb 4, 2011 at 12:13 AM,

Re: [one-users] passwordless ssh between onehosts

2011-02-04 Thread Olivier Sallou
if your oneadmin homedir is mounted, all you need is to put each host key on authorized keys, no exponential combination. Indeed, this is quite hard to manage if you use a local homedir for each host. Olivier Le 2/4/11 3:22 PM, Steffen Neumann a écrit : Hi, how is the passwordless ssh supp

Re: [one-users] Writing one template that allows for persistent VM:

2011-02-04 Thread Steven Timm
When OpenNebula is installed, the images directory is set up with the sticky bit. From install.sh: chmod 3770 $DESTDIR$IMAGES_LOCATION In [1], it says "The IMAGE_REPOSITORY_PATH can be changed to another administrator defined folder. This folder will need to be created with special permissions

Re: [one-users] Writing one template that allows for persistent VM:

2011-02-04 Thread Carlos Martín Sánchez
Hi Steven, On 4 February 2011 05:22, Steven Timm wrote: > hOn Thu, 3 Feb 2011, Steven Timm wrote: > > >> I am trying to come up with a prescription for users that allows the >> following sequence: >> >> 1) Launch a VM based on a standard VM repository template >> >> 2) Save the contents of the V

[one-users] passwordless ssh between onehosts

2011-02-04 Thread Steffen Neumann
Hi, how is the passwordless ssh supposed to work ? I can ssh from head -> any node just fine, but "onevm migrate" requires passwordless ssh from node01 -> node02 so oneadmin@node01's id_rsa_pub needs to be in oneadmin@node02's authorized keys. This will explode with the number of hosts involved

[one-users] ONE with Xen and LVM

2011-02-04 Thread anoop Lekshmanan
Hi All, I have setup ONE 2.0.1 with Xen node, everything is working fine except loading an image to LVM on node. Have you ever tried that? It would be great if you can share an example VM template/ intial steps to do the VM Instance launch with Xen/KVM with TM_LVM. Thanks, Anoop ___

Re: [one-users] serial console on KVM domains

2011-02-04 Thread Tino Vazquez
Hi Steven, You can achieve that using the RAW attribute. Please see the last bit of [1]. Regards, -Tino [1] http://www.opennebula.org/documentation:rel2.0:kvmg -- Constantino Vázquez Blanco | dsa-research.org/tinova Virtualization Technology Engineer / Researcher OpenNebula Toolkit | opennebul

Re: [one-users] Connection refused error while adding the host through onehost create

2011-02-04 Thread Tino Vazquez
Hi Siva, It doesn't look like a problem with the hypervisor, but rather a connection one. Could you check that you can ping and telnet (443) "myremotehost" from the OpenNebula front-end? Regards, -Tino -- Constantino Vázquez Blanco | dsa-research.org/tinova Virtualization Technology Engineer /

Re: [one-users] Incomplete information from hosts polling (VMWare ESXi 4.1 an OpenNebula 2.0.1)

2011-02-04 Thread Luigi Fortunati
I can post the VM template content on monday. However, as far as I remember, the vm template was really simple: NAME="Debian" VCPU= 2 MEMORY=1024 DISK=[IMAGE="Debian5-i386"] OS=[ARCH=i686] The VMs can boot and run, I can log on console through vSphere Client on the newly created VMs. I noticed th

Re: [one-users] Incomplete information from hosts polling (VMWare ESXi 4.1 an OpenNebula 2.0.1)

2011-02-04 Thread Luigi Fortunati
On Fri, Feb 4, 2011 at 10:35 AM, Luigi Fortunati wrote: > To Siva: > As far as I know you can connect to the ESXi Server in three ways: > > libvirt and virsh (the way of OpenNebula-VMWare Driver): > The VMWare Driver of OpenNebula uses virsh commands (which relies on > libvirt) to access some hype