<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40"><head><meta http-equiv=Content-Type content="text/html; charset=us-ascii"><meta name=Generator content="Microsoft Word 15 (filtered medium)"><style><!--
/* Font Definitions */
@font-face
{font-family:"Cambria Math";
panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
{font-family:Calibri;
panose-1:2 15 5 2 2 2 4 3 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
{margin:0in;
margin-bottom:.0001pt;
font-size:12.0pt;
font-family:"Times New Roman","serif";}
a:link, span.MsoHyperlink
{mso-style-priority:99;
color:blue;
text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
{mso-style-priority:99;
color:purple;
text-decoration:underline;}
p
{mso-style-priority:99;
mso-margin-top-alt:auto;
margin-right:0in;
mso-margin-bottom-alt:auto;
margin-left:0in;
font-size:12.0pt;
font-family:"Times New Roman","serif";}
span.hoenzb
{mso-style-name:hoenzb;}
span.EmailStyle19
{mso-style-type:personal-reply;
font-family:"Calibri","sans-serif";
color:#1F497D;}
.MsoChpDefault
{mso-style-type:export-only;
font-family:"Calibri","sans-serif";}
@page WordSection1
{size:8.5in 11.0in;
margin:1.0in 1.0in 1.0in 1.0in;}
div.WordSection1
{page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]--></head><body lang=EN-US link=blue vlink=purple><div class=WordSection1><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>Are you using CentOS/RHEL? Are you using CephX Authentication?<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'><o:p> </o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>There have been a few changes in how Libvirt handles the configurations of Ceph images, and I’m not sure if that version of Qemu is compiled with RBD support.<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'><o:p> </o:p></span></p><p class=MsoNormal><b><span style='font-size:11.0pt;font-family:"Calibri","sans-serif"'>From:</span></b><span style='font-size:11.0pt;font-family:"Calibri","sans-serif"'> users-bounces@lists.opennebula.org [mailto:users-bounces@lists.opennebula.org] <b>On Behalf Of </b>Ruben S. Montero<br><b>Sent:</b> Tuesday, April 08, 2014 6:00 AM<br><b>To:</b> Steve @ MyEvolve<br><b>Cc:</b> users@lists.opennebula.org<br><b>Subject:</b> Re: [one-users] Images from Images (Ceph) Datastore Not Deploying<o:p></o:p></span></p><p class=MsoNormal><o:p> </o:p></p><div><p class=MsoNormal>Well<o:p></o:p></p><div><p class=MsoNormal><o:p> </o:p></p></div><div><p class=MsoNormal>The deployment file seems to be properly generated, so given the error message complaining about the missing port:<o:p></o:p></p></div><div><p class=MsoNormal><o:p> </o:p></p></div><div><p class=MsoNormal>1.- could you try manually to add port to the <source attribute, and check if the VM boots with virsh create<o:p></o:p></p></div><div><p class=MsoNormal><o:p> </o:p></p></div><div><p class=MsoNormal>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?<o:p></o:p></p></div><div><p class=MsoNormal><o:p> </o:p></p></div><div><p class=MsoNormal>Cheers<o:p></o:p></p></div><div><p class=MsoNormal><o:p> </o:p></p></div><div><p class=MsoNormal><o:p> </o:p></p></div></div><div><p class=MsoNormal style='margin-bottom:12.0pt'><o:p> </o:p></p><div><p class=MsoNormal>On Tue, Apr 8, 2014 at 11:09 AM, Steve @ MyEvolve <<a href="mailto:steve@myevolve.com" target="_blank">steve@myevolve.com</a>> wrote:<o:p></o:p></p><blockquote style='border:none;border-left:solid #CCCCCC 1.0pt;padding:0in 0in 0in 6.0pt;margin-left:4.8pt;margin-right:0in'><div><p class=MsoNormal>Hi Ruben,<o:p></o:p></p><div><p class=MsoNormal><o:p> </o:p></p></div><div><p class=MsoNormal>Contents of /var/lib/one//datastores/125/32/deployment.0<o:p></o:p></p></div><div><p class=MsoNormal><o:p> </o:p></p></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>'><o:p></o:p></p><p> <name>one-32</name><o:p></o:p></p><p> <cputune><o:p></o:p></p><p> <shares>1024</shares><o:p></o:p></p><p> </cputune><o:p></o:p></p><p> <memory>524288</memory><o:p></o:p></p><p> <os><o:p></o:p></p><p> <type arch='x86_64'>hvm</type><o:p></o:p></p><p> <boot dev='hd'/><o:p></o:p></p><p> </os><o:p></o:p></p><p> <devices><o:p></o:p></p><p> <emulator>/usr/libexec/qemu-kvm</emulator><o:p></o:p></p><p> <disk type='network' device='disk'><o:p></o:p></p><p> <source protocol='rbd' name='one/one-18-32-0'><o:p></o:p></p><p> <host name='cloudweb12' port='6789'/><o:p></o:p></p><p> <host name='cloudweb13' port='6789'/><o:p></o:p></p><p> <host name='cloudweb14' port='6789'/><o:p></o:p></p><p> </source><o:p></o:p></p><p> <target dev='hda'/><o:p></o:p></p><p> <driver name='qemu' type='raw' cache='none'/><o:p></o:p></p><p> </disk><o:p></o:p></p><p> <disk type='file' device='cdrom'><o:p></o:p></p><p> <source file='/var/lib/one//datastores/125/32/disk.1'/><o:p></o:p></p><p> <target dev='hdb'/><o:p></o:p></p><p> <readonly/><o:p></o:p></p><p> <driver name='qemu' type='raw'/><o:p></o:p></p><p> </disk><o:p></o:p></p><p> <interface type='bridge'><o:p></o:p></p><p> <source bridge='br0'/><o:p></o:p></p><p> <mac address='02:00:26:6b:bb:96'/><o:p></o:p></p><p> </interface><o:p></o:p></p><p> <graphics type='vnc' listen='0.0.0.0' port='5947'/><o:p></o:p></p><p> </devices><o:p></o:p></p><p> <features><o:p></o:p></p><p> <acpi/><o:p></o:p></p><p> </features><o:p></o:p></p><p></domain><o:p></o:p></p><p><o:p> </o:p></p></div><div><p class=MsoNormal><o:p> </o:p></p></div><div><p class=MsoNormal>Ceph Datastore:<o:p></o:p></p></div><div><p class=MsoNormal>CEPH_HOST = <span style='font-size:10.5pt;font-family:"Arial","sans-serif";color:#333333;background:#F9F9F9'>cloudweb12:6789 cloudweb13:6789 cloudweb14:6789</span><o:p></o:p></p></div><div><p class=MsoNormal><o:p> </o:p></p></div><div><p class=MsoNormal><o:p> </o:p></p></div><div><p class=MsoNormal><span style='font-family:"Arial","sans-serif";color:#333333;background:#F9F9F9'>Thanks,</span><o:p></o:p></p></div><div><p class=MsoNormal><span style='font-family:"Arial","sans-serif";color:#333333;background:#F9F9F9'>Steve</span><o:p></o:p></p></div></div><div><p class=MsoNormal style='margin-bottom:12.0pt'><o:p> </o:p></p><div><p class=MsoNormal>On Tue, Apr 8, 2014 at 1:18 AM, Ruben S. Montero <<a href="mailto:rsmontero@opennebula.org" target="_blank">rsmontero@opennebula.org</a>> wrote:<o:p></o:p></p><blockquote style='border:none;border-left:solid #CCCCCC 1.0pt;padding:0in 0in 0in 6.0pt;margin-left:4.8pt;margin-right:0in'><div><p class=MsoNormal>Hi<o:p></o:p></p><div><p class=MsoNormal><o:p> </o:p></p></div><div><p class=MsoNormal>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<o:p></o:p></p></div><div><p class=MsoNormal><o:p> </o:p></p></div><div><p class=MsoNormal>CEPH_HOST="cephmon1:6789 cephmon2:6789"<o:p></o:p></p></div><div><p class=MsoNormal><o:p> </o:p></p></div><div><p class=MsoNormal>Cheers<o:p></o:p></p></div><div><p class=MsoNormal><o:p> </o:p></p></div><div><p class=MsoNormal>Ruben<o:p></o:p></p></div></div><div><p class=MsoNormal style='margin-bottom:12.0pt'><o:p> </o:p></p><div><div><div><p class=MsoNormal>On Mon, Apr 7, 2014 at 2:02 AM, Steve @ MyEvolve <<a href="mailto:steve@myevolve.com" target="_blank">steve@myevolve.com</a>> wrote:<o:p></o:p></p></div></div><blockquote style='border:none;border-left:solid #CCCCCC 1.0pt;padding:0in 0in 0in 6.0pt;margin-left:4.8pt;margin-right:0in'><div><div><div><p class=MsoNormal>Hi,<o:p></o:p></p><div><p class=MsoNormal><o:p> </o:p></p></div><div><p class=MsoNormal>I've added successfully images from the marketplace to the default image datastore and deployed without any issues. <o:p></o:p></p><div><p class=MsoNormal><o:p> </o:p></p></div><div><p class=MsoNormal>I've continued to add a Ceph datastore and retrieved an image from marketplace to it successfully as well.<o:p></o:p></p></div><div><p class=MsoNormal><o:p> </o:p></p></div><div><p class=MsoNormal>However, when I try to deploy this same image, I get the following failures:<o:p></o:p></p></div><div><p class=MsoNormal><o:p> </o:p></p></div><div><p>Sun Apr 6 16:01:41 2014 [DiM][I]: New VM state is ACTIVE.<o:p></o:p></p><p>Sun Apr 6 16:01:41 2014 [LCM][I]: New VM state is PROLOG.<o:p></o:p></p><p>Sun Apr 6 16:01:43 2014 [LCM][I]: New VM state is BOOT<o:p></o:p></p><p>Sun Apr 6 16:01:43 2014 [VMM][I]: Generating deployment file: /var/lib/one/vms/32/deployment.0<o:p></o:p></p><p>Sun Apr 6 16:01:43 2014 [VMM][I]: ExitCode: 0<o:p></o:p></p><p>Sun Apr 6 16:01:43 2014 [VMM][I]: Successfully execute network driver operation: pre.<o:p></o:p></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<o:p></o:p></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<o:p></o:p></p><p>Sun Apr 6 16:01:43 2014 [VMM][I]: error: XML error: missing port for host<o:p></o:p></p><p>Sun Apr 6 16:01:43 2014 [VMM][E]: Could not create domain from /var/lib/one//datastores/125/32/deployment.0<o:p></o:p></p><p>Sun Apr 6 16:01:43 2014 [VMM][I]: ExitCode: 255<o:p></o:p></p><p>Sun Apr 6 16:01:43 2014 [VMM][I]: Failed to execute virtualization driver operation: deploy.<o:p></o:p></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<o:p></o:p></p><p>Sun Apr 6 16:01:43 2014 [DiM][I]: New VM state is FAILED<o:p></o:p></p><p><o:p> </o:p></p><p>Any suggestions/help would be greatly appreciated!<o:p></o:p></p><p><o:p> </o:p></p><p>Thank you,<o:p></o:p></p><p>Steve<o:p></o:p></p><p><o:p> </o:p></p></div></div></div><p class=MsoNormal><o:p> </o:p></p></div></div><p class=MsoNormal style='margin-bottom:12.0pt'>_______________________________________________<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><o:p></o:p></p></blockquote></div><p class=MsoNormal><span style='color:#888888'><br><br clear=all><span class=hoenzb><o:p></o:p></span></span></p><div><p class=MsoNormal><o:p> </o:p></p></div><p class=MsoNormal><span class=hoenzb><span style='color:#888888'>-- </span><o:p></o:p></span></p><div><div><div><p class=MsoNormal><span style='color:#888888'>-- </span><o:p></o:p></p></div></div><p class=MsoNormal><span style='color:#888888'>Ruben S. Montero, PhD<br>Project co-Lead and Chief Architect<o:p></o:p></span></p><div><p class=MsoNormal><span style='color:#888888'>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<o:p></o:p></span></p></div></div></div></blockquote></div><p class=MsoNormal><o:p> </o:p></p></div></blockquote></div><p class=MsoNormal><br><br clear=all><o:p></o:p></p><div><p class=MsoNormal><o:p> </o:p></p></div><p class=MsoNormal>-- <o:p></o:p></p><div><div><div><p class=MsoNormal>-- <o:p></o:p></p></div></div><p class=MsoNormal>Ruben S. Montero, PhD<br>Project co-Lead and Chief Architect<o:p></o:p></p><div><p class=MsoNormal>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<o:p></o:p></p></div></div></div></div>
<br><html><body><b>NOTICE: Protect the information in this message in accordance with the company's security policies. If you received this message in error, immediately notify the sender and destroy all copies.</b></body></html>
<br></body></html>