[one-users] Getting closer

Héctor Sanjuán hsanjuan at opennebula.org
Mon Jun 13 12:30:22 PDT 2011


Hi,

Sorry Robert, I missed something in your VM template in the first place.
You need to add the attribute DRIVER=qcow2 in the DISK section, because
it is a qcow image, as follows:

NAME   = suse-test
MEMORY = 512
CPU    = 1

OS     = [ ARCH = x86_64,
           BOOT = hd,
           ROOT = sda1 ]

DISK   = [ IMAGE_ID  = 1,
           DRIVER=qcow2 ]

NIC    = [ MAC = "00:16:3e:7e:18:26",
           BRIDGE = br0 ]

GRAPHICS = [ TYPE   = "vnc",
             LISTEN = "0.0.0.0",
             PORT   = "5905" ]

Hope it fixes it!

Hector

El 13/06/11 20:58, Robert Schweikert escribió:
> 
> 
> On 06/13/2011 02:46 PM, Héctor Sanjuán wrote:
>> Hi,
>>
>> well it looks you're almost there :)
>>
>> I see that you declared a ROOT argument in the OS section in your VM
>> template. However I think it is not necessary for KVM and unless you
>> have specified a kernel [1]. Maybe the problem comes from there.
> 
> I stopped the running vm
> 
> -> onevm shutdown 1
> 
> Deleted the VM
> 
> -> onevm delete 0
> 
> and after removing the ROOT entry from my description I created a new VM
> 
> -> onevm create testVM.vmd
> 
> This did not help, I still get the same error as in the previous test
>>
>> If not, can you paste the output of "oneimage show 1"? Maybe there is
>> something missing in the image template...
> 
> Here is the info:
> 
> IMAGE INFORMATION
> ID             : 1
> NAME           : openSUSE test image
> TYPE           : OS
> REGISTER TIME  : 06/13 13:28:58
> PUBLIC         : Yes
> PERSISTENT     : No
> SOURCE         :
> /var/lib/one//images/44833e18c42179d7012a9229ade7aad049399aef
> STATE          : used
> RUNNING_VMS    : 1
> 
> IMAGE TEMPLATE
> DESCRIPTION=A test image to test the basic functionality of the openSUSE
> based OpenNebula setup
> DEV_PREFIX=hd
> NAME=openSUSE test image
> PATH=/home/ctester/suse-11.3-SUSENebula-guest.x86_64-1.0.0.qcow2
> 
> Thanks,
> Robert
> 
> 
> 


-- 
Héctor Sanjuán
OpenNebula Sunstone Developer



More information about the Users mailing list