[one-users] Images from Images (Ceph) Datastore Not Deploying
Ruben S. Montero
rsmontero at opennebula.org
Tue Apr 8 02:59:35 PDT 2014
Well
The deployment file seems to be properly generated, so given the error
message complaining about the missing port:
1.- could you try manually to add port to the <source attribute, and check
if the VM boots with virsh create
2.- I've not seen this required by ceph, here it is working with the
libvirt packages from the ceph guys (libvirt 0.10.2 and qemu-kvm-0.12.1),
Could it be a version problem?
Cheers
On Tue, Apr 8, 2014 at 11:09 AM, Steve @ MyEvolve <steve at myevolve.com>wrote:
> Hi Ruben,
>
> Contents of /var/lib/one//datastores/125/32/deployment.0
>
> <domain type='kvm' xmlns:qemu='http://libvirt.org/schemas/domain/qemu/1.0
> '>
>
> <name>one-32</name>
>
> <cputune>
>
> <shares>1024</shares>
>
> </cputune>
>
> <memory>524288</memory>
>
> <os>
>
> <type arch='x86_64'>hvm</type>
>
> <boot dev='hd'/>
>
> </os>
>
> <devices>
>
> <emulator>/usr/libexec/qemu-kvm</emulator>
>
> <disk type='network' device='disk'>
>
> <source protocol='rbd' name='one/one-18-32-0'>
>
> <host name='cloudweb12' port='6789'/>
>
> <host name='cloudweb13' port='6789'/>
>
> <host name='cloudweb14' port='6789'/>
>
> </source>
>
> <target dev='hda'/>
>
> <driver name='qemu' type='raw' cache='none'/>
>
> </disk>
>
> <disk type='file' device='cdrom'>
>
> <source
> file='/var/lib/one//datastores/125/32/disk.1'/>
>
> <target dev='hdb'/>
>
> <readonly/>
>
> <driver name='qemu' type='raw'/>
>
> </disk>
>
> <interface type='bridge'>
>
> <source bridge='br0'/>
>
> <mac address='02:00:26:6b:bb:96'/>
>
> </interface>
>
> <graphics type='vnc' listen='0.0.0.0' port='5947'/>
>
> </devices>
>
> <features>
>
> <acpi/>
>
> </features>
>
> </domain>
>
>
>
> Ceph Datastore:
> CEPH_HOST = cloudweb12:6789 cloudweb13:6789 cloudweb14:6789
>
>
> Thanks,
> Steve
>
>
> On Tue, Apr 8, 2014 at 1:18 AM, Ruben S. Montero <rsmontero at opennebula.org
> > wrote:
>
>> Hi
>>
>> Could you send /var/lib/one//datastores/125/32/deployment.0? Also could
>> you double check you ceph datastore configuration, specially the CEPH_HOST
>> attribute to read something like
>>
>> CEPH_HOST="cephmon1:6789 cephmon2:6789"
>>
>> Cheers
>>
>> Ruben
>>
>>
>> On Mon, Apr 7, 2014 at 2:02 AM, Steve @ MyEvolve <steve at myevolve.com>wrote:
>>
>>> Hi,
>>>
>>> I've added successfully images from the marketplace to the default image
>>> datastore and deployed without any issues.
>>>
>>> I've continued to add a Ceph datastore and retrieved an image from
>>> marketplace to it successfully as well.
>>>
>>> However, when I try to deploy this same image, I get the following
>>> failures:
>>>
>>> Sun Apr 6 16:01:41 2014 [DiM][I]: New VM state is ACTIVE.
>>>
>>> Sun Apr 6 16:01:41 2014 [LCM][I]: New VM state is PROLOG.
>>>
>>> Sun Apr 6 16:01:43 2014 [LCM][I]: New VM state is BOOT
>>>
>>> Sun Apr 6 16:01:43 2014 [VMM][I]: Generating deployment file:
>>> /var/lib/one/vms/32/deployment.0
>>>
>>> Sun Apr 6 16:01:43 2014 [VMM][I]: ExitCode: 0
>>>
>>> Sun Apr 6 16:01:43 2014 [VMM][I]: Successfully execute network driver
>>> operation: pre.
>>>
>>> Sun Apr 6 16:01:43 2014 [VMM][I]: Command execution fail: cat << EOT |
>>> /var/tmp/one/vmm/kvm/deploy '/var/lib/one//datastores/125/32/deployment.0'
>>> 'cloud4' 32 cloud4
>>>
>>> Sun Apr 6 16:01:43 2014 [VMM][I]: error: Failed to create domain from
>>> /var/lib/one//datastores/125/32/deployment.0
>>>
>>> Sun Apr 6 16:01:43 2014 [VMM][I]: error: XML error: missing port for
>>> host
>>>
>>> Sun Apr 6 16:01:43 2014 [VMM][E]: Could not create domain from
>>> /var/lib/one//datastores/125/32/deployment.0
>>>
>>> Sun Apr 6 16:01:43 2014 [VMM][I]: ExitCode: 255
>>>
>>> Sun Apr 6 16:01:43 2014 [VMM][I]: Failed to execute virtualization
>>> driver operation: deploy.
>>>
>>> Sun Apr 6 16:01:43 2014 [VMM][E]: Error deploying virtual machine:
>>> Could not create domain from /var/lib/one//datastores/125/32/deployment.0
>>>
>>> Sun Apr 6 16:01:43 2014 [DiM][I]: New VM state is FAILED
>>>
>>>
>>> Any suggestions/help would be greatly appreciated!
>>>
>>>
>>> Thank you,
>>>
>>> Steve
>>>
>>>
>>>
>>> _______________________________________________
>>> Users mailing list
>>> Users at lists.opennebula.org
>>> http://lists.opennebula.org/listinfo.cgi/users-opennebula.org
>>>
>>>
>>
>>
>> --
>> --
>> Ruben S. Montero, PhD
>> Project co-Lead and Chief Architect
>> OpenNebula - Flexible Enterprise Cloud Made Simple
>> www.OpenNebula.org | rsmontero at opennebula.org | @OpenNebula
>>
>
>
--
--
Ruben S. Montero, PhD
Project co-Lead and Chief Architect
OpenNebula - Flexible Enterprise Cloud Made Simple
www.OpenNebula.org | rsmontero at opennebula.org | @OpenNebula
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opennebula.org/pipermail/users-opennebula.org/attachments/20140408/f9983bd7/attachment-0002.htm>
More information about the Users
mailing list