[one-users] kvm instance doesn't start because machine type isn't set
Shankhadeep Shome
shank15217 at gmail.com
Sun Oct 28 21:01:50 PDT 2012
sigh nevermind.. i ran 'virsh capabilities' again then restarted it and it
worked without modification.. seems like virsh capabilities should be run
once in a while after a major upgrade.
On Sun, Oct 28, 2012 at 11:51 PM, Shankhadeep Shome <shank15217 at gmail.com>wrote:
> Openebula version 3.8.1
>
>
> On Sun, Oct 28, 2012 at 11:50 PM, Shankhadeep Shome <shank15217 at gmail.com>wrote:
>
>> The XML file created by opennebula seems to fail on ubuntu 12.04
>>
>> <domain type='kvm' xmlns:qemu='http://libvirt.org/schemas/domain/qemu/1.0
>> '>
>> <name>one-1</name>
>> <vcpu>2</vcpu>
>> <cputune>
>> <shares>2048</shares>
>> </cputune>
>> <memory>2097152</memory>
>> <os>
>> <type arch='x86_64'>hvm</type>
>> <boot dev='hd'/>
>> </os>
>> <devices>
>> <emulator>/usr/bin/kvm</emulator>
>> <disk type='file' device='disk'>
>> <source
>> file='/var/lib/one//datastores/0/1/disk.0'/>
>> <target dev='vda'/>
>> <driver name='qemu' type='qcow2' cache='default'/>
>> </disk>
>> <interface type='bridge'>
>> <source bridge='br0'/>
>> <mac address='02:00:0a:01:0b:56'/>
>> <model type='virtio'/>
>> </interface>
>> <graphics type='vnc' listen='0.0.0.0' port='5901'/>
>> <input type='tablet' bus='usb'/>
>> </devices>
>> <features>
>> <acpi/>
>> </features>
>>
>> </domain>
>>
>>
>> i have to add
>>
>> <os>
>> <type arch='x86_64' *machine='pc'*>hvm</type>
>> <boot dev='hd'/>
>> </os>
>>
>> to make it boot properly. This wasn't an issue before and I am not sure
>> what changed but it seems to me the machine type should be specified for
>> correctness. KVM already sets pc to the latest version by default
>> migrations may fail if the machine types weren't specified anyways.
>>
>> Shank
>>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opennebula.org/pipermail/users-opennebula.org/attachments/20121029/c3787bbb/attachment-0002.htm>
More information about the Users
mailing list