<div dir="ltr">Well<div><br></div><div>The deployment file seems to be properly generated, so given the error message complaining about the missing port:</div><div><br></div><div>1.- could you try manually to add port to the <source attribute, and check if the VM boots with virsh create</div>

<div><br></div><div>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?</div><div><br></div><div>

Cheers</div><div><br></div><div><br></div></div><div class="gmail_extra"><br><br><div class="gmail_quote">On Tue, Apr 8, 2014 at 11:09 AM, Steve @ MyEvolve <span dir="ltr"><<a href="mailto:steve@myevolve.com" target="_blank">steve@myevolve.com</a>></span> wrote:<br>

<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">Hi Ruben,<div><br></div><div>Contents of /var/lib/one//datastores/125/32/deployment.0</div><div><br></div>

<div>







<p><domain type='kvm' xmlns:qemu='<a href="http://libvirt.org/schemas/domain/qemu/1.0" target="_blank">http://libvirt.org/schemas/domain/qemu/1.0</a>'></p>
<p>        <name>one-32</name></p>
<p>        <cputune></p>
<p>                <shares>1024</shares></p>
<p>        </cputune></p>
<p>        <memory>524288</memory></p>
<p>        <os></p>
<p>                <type arch='x86_64'>hvm</type></p>
<p>                <boot dev='hd'/></p>
<p>        </os></p>
<p>        <devices></p>
<p>                <emulator>/usr/libexec/qemu-kvm</emulator></p>
<p>                <disk type='network' device='disk'></p>
<p>                        <source protocol='rbd' name='one/one-18-32-0'></p>
<p>                                <host name='cloudweb12' port='6789'/></p>
<p>                                <host name='cloudweb13' port='6789'/></p>
<p>                                <host name='cloudweb14' port='6789'/></p>
<p>                        </source></p>
<p>                        <target dev='hda'/></p>
<p>                        <driver name='qemu' type='raw' cache='none'/></p>
<p>                </disk></p>
<p>                <disk type='file' device='cdrom'></p>
<p>                        <source file='/var/lib/one//datastores/125/32/disk.1'/></p>
<p>                        <target dev='hdb'/></p>
<p>                        <readonly/></p>
<p>                        <driver name='qemu' type='raw'/></p>
<p>                </disk></p>
<p>                <interface type='bridge'></p>
<p>                        <source bridge='br0'/></p>
<p>                        <mac address='02:00:26:6b:bb:96'/></p>
<p>                </interface></p>
<p>                <graphics type='vnc' listen='0.0.0.0' port='5947'/></p>
<p>        </devices></p>
<p>        <features></p>
<p>                <acpi/></p>
<p>        </features></p>
<p></domain></p><p><br></p></div><div><br></div><div>Ceph Datastore:</div><div>CEPH_HOST = <span style="background-color:rgb(249,249,249);color:rgb(51,51,51);font-family:'Open Sans',sans-serif;font-size:14px;line-height:18px">cloudweb12:6789 cloudweb13:6789 cloudweb14:6789</span></div>


<div><span style="background-color:rgb(249,249,249);color:rgb(51,51,51);font-family:'Open Sans',sans-serif;font-size:14px;line-height:18px"><br></span></div><div><br></div><div><font color="#333333" face="Open Sans, sans-serif"><span style="line-height:18px;background-color:rgb(249,249,249)">Thanks,</span></font></div>


<div><font color="#333333" face="Open Sans, sans-serif"><span style="line-height:18px;background-color:rgb(249,249,249)">Steve</span></font></div></div><div class="gmail_extra"><br><br><div class="gmail_quote">On Tue, Apr 8, 2014 at 1:18 AM, Ruben S. Montero <span dir="ltr"><<a href="mailto:rsmontero@opennebula.org" target="_blank">rsmontero@opennebula.org</a>></span> wrote:<br>


<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">Hi<div><br></div><div>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</div>




<div><br></div><div>CEPH_HOST="cephmon1:6789 cephmon2:6789"<br></div><div><br></div><div>Cheers</div><div><br></div><div>Ruben</div></div><div class="gmail_extra"><br><br><div class="gmail_quote"><div><div>
On Mon, Apr 7, 2014 at 2:02 AM, Steve @ MyEvolve <span dir="ltr"><<a href="mailto:steve@myevolve.com" target="_blank">steve@myevolve.com</a>></span> wrote:<br>

</div></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div><div><div dir="ltr">Hi,<div><br></div><div>I've added successfully images from the marketplace to the default image datastore and deployed without any issues.  <br>




<div><br></div><div>I've continued to add a Ceph datastore and retrieved an image from marketplace to it successfully as well.</div>
<div><br></div><div>However, when I try to deploy this same image, I get the following failures:</div><div><br></div><div>







<p>Sun Apr  6 16:01:41 2014 [DiM][I]: New VM state is ACTIVE.</p>
<p>Sun Apr  6 16:01:41 2014 [LCM][I]: New VM state is PROLOG.</p>
<p>Sun Apr  6 16:01:43 2014 [LCM][I]: New VM state is BOOT</p>
<p>Sun Apr  6 16:01:43 2014 [VMM][I]: Generating deployment file: /var/lib/one/vms/32/deployment.0</p>
<p>Sun Apr  6 16:01:43 2014 [VMM][I]: ExitCode: 0</p>
<p>Sun Apr  6 16:01:43 2014 [VMM][I]: Successfully execute network driver operation: pre.</p>
<p>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</p>
<p>Sun Apr  6 16:01:43 2014 [VMM][I]: error: Failed to create domain from /var/lib/one//datastores/125/32/deployment.0</p>
<p>Sun Apr  6 16:01:43 2014 [VMM][I]: error: XML error: missing port for host</p>
<p>Sun Apr  6 16:01:43 2014 [VMM][E]: Could not create domain from /var/lib/one//datastores/125/32/deployment.0</p>
<p>Sun Apr  6 16:01:43 2014 [VMM][I]: ExitCode: 255</p>
<p>Sun Apr  6 16:01:43 2014 [VMM][I]: Failed to execute virtualization driver operation: deploy.</p>
<p>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</p>
<p>Sun Apr  6 16:01:43 2014 [DiM][I]: New VM state is FAILED</p><p><br></p><p>Any suggestions/help would be greatly appreciated!</p><p><br></p><p>Thank you,</p><p>Steve</p>
<p><br></p></div></div></div>
<br></div></div>_______________________________________________<br>
Users mailing list<br>
<a href="mailto:Users@lists.opennebula.org" target="_blank">Users@lists.opennebula.org</a><br>
<a href="http://lists.opennebula.org/listinfo.cgi/users-opennebula.org" target="_blank">http://lists.opennebula.org/listinfo.cgi/users-opennebula.org</a><br>
<br></blockquote></div><span><font color="#888888"><br><br clear="all"><span class="HOEnZb"><font color="#888888"><div><br></div>-- <br><div dir="ltr"><div><div>-- <br></div></div>Ruben S. Montero, PhD<br>Project co-Lead and Chief Architect<div>

OpenNebula - Flexible Enterprise Cloud Made Simple<br>


<a href="http://www.OpenNebula.org" target="_blank">www.OpenNebula.org</a> | <a href="mailto:rsmontero@opennebula.org" target="_blank">rsmontero@opennebula.org</a> | @OpenNebula</div></div>
</font></span></font></span></div>
</blockquote></div><br></div>
</blockquote></div><br><br clear="all"><div><br></div>-- <br><div dir="ltr"><div><div>-- <br></div></div>Ruben S. Montero, PhD<br>Project co-Lead and Chief Architect<div>OpenNebula - Flexible Enterprise Cloud Made Simple<br>

<a href="http://www.OpenNebula.org" target="_blank">www.OpenNebula.org</a> | <a href="mailto:rsmontero@opennebula.org" target="_blank">rsmontero@opennebula.org</a> | @OpenNebula</div></div>
</div>