<div style="line-height:1.7;color:#000000;font-size:14px;font-family:Arial"><br /><div>From the nova code, in nova/virt/images.py</div><div>def fetch_to_raw(): -></div><div> convert_image(path_tmp, staged, fmt, 'raw') -></div><div> cmd = ('qemu-img', 'convert', '-t', cache_mode, '-O', out_format)</div>So if the format of image is not raw, it will call qemu-img command to convert it to raw.<br />But now we got <br /><br /><div style="position:relative;zoom:1">--<br /><div>Thanks,</div><div>Boxiang</div><div style="clear:both"></div></div><br />发件人:"Liu, ZhipengS" <zhipengs.liu@intel.com><br />发送日期:2019-10-31 11:11:37<br />收件人:"朱博祥" <zhu.boxiang@99cloud.net>,"Xie, Cindy" <cindy.xie@intel.com>,"Lemus Contreras, Cristopher J" <cristopher.j.lemus.contreras@intel.com>,"'starlingx-discuss@lists.starlingx.io'" <starlingx-discuss@lists.starlingx.io><br />抄送人:"Alonso, Juan Carlos" <juan.carlos.alonso@intel.com>,"Hu, Yong" <yong.hu@intel.com>,"Cabrales, Ada" <ada.cabrales@intel.com>,"Jones, Bruce E" <bruce.e.jones@intel.com>,"Martinez Monroy, Elio" <elio.martinez.monroy@intel.com><br />主题:RE: Re:RE: [Starlingx-discuss] About EB verification for openstack train upgrade<br /><blockquote id="isReplyContent" style="PADDING-LEFT: 1ex; MARGIN: 0px 0px 0px 0.8ex; BORDER-LEFT: #ccc 1px solid">
<style></style>
<div class="WordSection1">
<p class="MsoNormal"><span lang="EN-US" style="font-size:10.5pt;font-family:"Calibri",sans-serif">Hi Boxiang,<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:10.5pt;font-family:"Calibri",sans-serif"><o:p> </o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:10.5pt;font-family:"Calibri",sans-serif">Yes, my below patch can be abandoned, just need to remove “force_raw_images: false” in
<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:10.5pt;font-family:"Calibri",sans-serif">stx/openstack-armada-app/stx-openstack-helm/stx-openstack-helm/manifests/manifest.yamll file since the default value is true currently.<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:10.5pt;font-family:"Calibri",sans-serif"><a href="https://review.opendev.org/#/c/691802/"><span style="color:windowtext;text-decoration:none">https://review.opendev.org/#/c/691802/</span></a><o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:10.5pt;font-family:"Calibri",sans-serif">I will modify my patch.
<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:10.5pt;font-family:"Calibri",sans-serif">However, it is not related to current issue since this flag is set to true in the test.<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:10.5pt;font-family:"Calibri",sans-serif">The issue is just as error log mentioned below.<o:p></o:p></span></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><span lang="EN-US" style="font-size:10.5pt;font-family:"Arial",sans-serif;color:black">“ Image 70f74018-24f6-4d7d-8f99-2194a4449cfd is unacceptable: Converted to raw, but format
is now qcow2 ”<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:10.5pt;font-family:"Calibri",sans-serif">We need check this point further.<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:10.5pt;font-family:"Calibri",sans-serif"><o:p> </o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:10.5pt;font-family:"Calibri",sans-serif">Thanks!<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:10.5pt;font-family:"Calibri",sans-serif">Zhipeng<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:10.5pt;font-family:"Calibri",sans-serif"><o:p> </o:p></span></p>
<p class="MsoNormal"><a name="_____replyseparator"></a><b><span lang="EN-US" style="font-size:11.0pt;font-family:"Calibri",sans-serif">From:</span></b><span lang="EN-US" style="font-size:11.0pt;font-family:"Calibri",sans-serif">
</span><span style="font-size:11.0pt">朱博祥</span><span lang="EN-US" style="font-size:11.0pt;font-family:"Calibri",sans-serif"> <zhu.boxiang@99cloud.net>
<br />
<b>Sent:</b> 2019</span><span style="font-size:11.0pt">年</span><span lang="EN-US" style="font-size:11.0pt;font-family:"Calibri",sans-serif">10</span><span style="font-size:11.0pt">月</span><span lang="EN-US" style="font-size:11.0pt;font-family:"Calibri",sans-serif">31</span><span style="font-size:11.0pt">日</span><span lang="EN-US" style="font-size:11.0pt;font-family:"Calibri",sans-serif">
10:41<br />
<b>To:</b> Liu, ZhipengS <zhipengs.liu@intel.com>; Xie, Cindy <cindy.xie@intel.com>; Lemus Contreras, Cristopher J <cristopher.j.lemus.contreras@intel.com>; 'starlingx-discuss@lists.starlingx.io' <starlingx-discuss@lists.starlingx.io><br />
<b>Cc:</b> Alonso, Juan Carlos <juan.carlos.alonso@intel.com>; Hu, Yong <yong.hu@intel.com>; Cabrales, Ada <ada.cabrales@intel.com>; Jones, Bruce E <bruce.e.jones@intel.com>; Martinez Monroy, Elio <elio.martinez.monroy@intel.com><br />
<b>Subject:</b> Re:RE: [Starlingx-discuss] About EB verification for openstack train upgrade<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US"><o:p> </o:p></span></p>
<div>
<div>
<div>
<p class="MsoNormal"><span lang="EN-US" style="font-size:10.5pt;font-family:"Arial",sans-serif;color:black"><o:p> </o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span lang="EN-US" style="font-size:10.5pt;font-family:"Arial",sans-serif;color:black">Hi Zhipeng,<o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span lang="EN-US" style="font-size:10.5pt;font-family:"Arial",sans-serif;color:black"><o:p> </o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span lang="EN-US" style="font-size:10.5pt;font-family:"Arial",sans-serif;color:black">I have succeeded to create the vm in openstack upstream(master, code is two weeks ago) now. I deployed the environment with kolla-ansible(ceph as the
backend storage).<o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span lang="EN-US" style="font-size:10.5pt;font-family:"Arial",sans-serif;color:black">In my nova.conf file, the section of libvirt is as followed:<o:p></o:p></span></p>
</div>
<div>
<div>
<p class="MsoNormal"><span lang="EN-US" style="font-size:7.5pt;font-family:"Arial",sans-serif;color:black">[libvirt]</span><span lang="EN-US" style="font-size:10.5pt;font-family:"Arial",sans-serif;color:black"><o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span lang="EN-US" style="font-size:7.5pt;font-family:"Arial",sans-serif;color:black">connection_uri = qemu+tcp://172.16.140.14/system</span><span lang="EN-US" style="font-size:10.5pt;font-family:"Arial",sans-serif;color:black"><o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span lang="EN-US" style="font-size:7.5pt;font-family:"Arial",sans-serif;color:black">images_type = rbd</span><span lang="EN-US" style="font-size:10.5pt;font-family:"Arial",sans-serif;color:black"><o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span lang="EN-US" style="font-size:7.5pt;font-family:"Arial",sans-serif;color:black">images_rbd_pool = vms</span><span lang="EN-US" style="font-size:10.5pt;font-family:"Arial",sans-serif;color:black"><o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span lang="EN-US" style="font-size:7.5pt;font-family:"Arial",sans-serif;color:black">images_rbd_ceph_conf = /etc/ceph/ceph.conf</span><span lang="EN-US" style="font-size:10.5pt;font-family:"Arial",sans-serif;color:black"><o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span lang="EN-US" style="font-size:7.5pt;font-family:"Arial",sans-serif;color:black">rbd_user = nova</span><span lang="EN-US" style="font-size:10.5pt;font-family:"Arial",sans-serif;color:black"><o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span lang="EN-US" style="font-size:7.5pt;font-family:"Arial",sans-serif;color:black">disk_cachemodes = network=writeback</span><span lang="EN-US" style="font-size:10.5pt;font-family:"Arial",sans-serif;color:black"><o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span lang="EN-US" style="font-size:7.5pt;font-family:"Arial",sans-serif;color:black">hw_disk_discard = unmap</span><span lang="EN-US" style="font-size:10.5pt;font-family:"Arial",sans-serif;color:black"><o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span lang="EN-US" style="font-size:7.5pt;font-family:"Arial",sans-serif;color:black">rbd_secret_uuid = 5c79d567-e142-4ab4-87f6-0fdf53060ab9</span><span lang="EN-US" style="font-size:10.5pt;font-family:"Arial",sans-serif;color:black"><o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span lang="EN-US" style="font-size:7.5pt;font-family:"Arial",sans-serif;color:black">virt_type = kvm</span><span lang="EN-US" style="font-size:10.5pt;font-family:"Arial",sans-serif;color:black"><o:p></o:p></span></p>
</div>
</div>
<div>
<p class="MsoNormal"><span lang="EN-US" style="font-size:10.5pt;font-family:"Arial",sans-serif;color:black"><o:p> </o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span lang="EN-US" style="font-size:10.5pt;font-family:"Arial",sans-serif;color:black">The default value of 'force_raw_images' in nova is True, so I did not set it as True again in my nova.conf file.<o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span lang="EN-US" style="font-size:10.5pt;font-family:"Arial",sans-serif;color:black">I use the min image cirros with qcow2 format and created the vm without volume which is created by cinder.<o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span lang="EN-US" style="font-size:10.5pt;font-family:"Arial",sans-serif;color:black">It's my image's info:<o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span lang="EN-US" style="font-size:7.5pt;font-family:"Arial",sans-serif;color:black">(nova-compute)[root@zbx-allinone /]# qemu-img info cirros-0.4.0-x86_64-disk.img</span><span lang="EN-US" style="font-size:10.5pt;font-family:"Arial",sans-serif;color:black"><o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span lang="EN-US" style="font-size:7.5pt;font-family:"Arial",sans-serif;color:black">image: cirros-0.4.0-x86_64-disk.img</span><span lang="EN-US" style="font-size:10.5pt;font-family:"Arial",sans-serif;color:black"><o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span lang="EN-US" style="font-size:7.5pt;font-family:"Arial",sans-serif;color:black">file format: qcow2</span><span lang="EN-US" style="font-size:10.5pt;font-family:"Arial",sans-serif;color:black"><o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span lang="EN-US" style="font-size:7.5pt;font-family:"Arial",sans-serif;color:black">virtual size: 44M (46137344 bytes)</span><span lang="EN-US" style="font-size:10.5pt;font-family:"Arial",sans-serif;color:black"><o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span lang="EN-US" style="font-size:7.5pt;font-family:"Arial",sans-serif;color:black">disk size: 12M</span><span lang="EN-US" style="font-size:10.5pt;font-family:"Arial",sans-serif;color:black"><o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span lang="EN-US" style="font-size:7.5pt;font-family:"Arial",sans-serif;color:black">cluster_size: 65536</span><span lang="EN-US" style="font-size:10.5pt;font-family:"Arial",sans-serif;color:black"><o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span lang="EN-US" style="font-size:7.5pt;font-family:"Arial",sans-serif;color:black">Format specific information:</span><span lang="EN-US" style="font-size:10.5pt;font-family:"Arial",sans-serif;color:black"><o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span lang="EN-US" style="font-size:7.5pt;font-family:"Arial",sans-serif;color:black"> compat: 1.1</span><span lang="EN-US" style="font-size:10.5pt;font-family:"Arial",sans-serif;color:black"><o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span lang="EN-US" style="font-size:7.5pt;font-family:"Arial",sans-serif;color:black"> lazy refcounts: false</span><span lang="EN-US" style="font-size:10.5pt;font-family:"Arial",sans-serif;color:black"><o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span lang="EN-US" style="font-size:7.5pt;font-family:"Arial",sans-serif;color:black"> refcount bits: 16</span><span lang="EN-US" style="font-size:10.5pt;font-family:"Arial",sans-serif;color:black"><o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span lang="EN-US" style="font-size:7.5pt;font-family:"Arial",sans-serif;color:black"> corrupt: false</span><span lang="EN-US" style="font-size:10.5pt;font-family:"Arial",sans-serif;color:black"><o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span lang="EN-US" style="font-size:10.5pt;font-family:"Arial",sans-serif;color:black"><o:p> </o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span lang="EN-US" style="font-size:10.5pt;font-family:"Arial",sans-serif;color:black">So as you said, command qemu-img failed to convert the image from qcow2 to raw. BTW, is it a phenomenon that must recur now in STX?<o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span lang="EN-US" style="font-size:10.5pt;font-family:"Arial",sans-serif;color:black">Are there other error logs in nova-compute or other nova-* services?<o:p></o:p></span></p>
</div>
</div>
<div>
<p class="MsoNormal"><span lang="EN-US" style="font-size:10.5pt;font-family:"Arial",sans-serif;color:black"><o:p> </o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span lang="EN-US" style="font-size:10.5pt;font-family:"Arial",sans-serif;color:black">--<o:p></o:p></span></p>
<div>
<p class="MsoNormal"><span lang="EN-US" style="font-size:10.5pt;font-family:"Arial",sans-serif;color:black">Thanks,<o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span lang="EN-US" style="font-size:10.5pt;font-family:"Arial",sans-serif;color:black">Boxiang<o:p></o:p></span></p>
</div>
</div>
<p class="MsoNormal"><span lang="EN-US" style="font-size:10.5pt;font-family:"Arial",sans-serif;color:black"><br />
</span><span style="font-size:10.5pt;color:black">发件人:</span><span lang="EN-US" style="font-size:10.5pt;font-family:"Arial",sans-serif;color:black">"Liu, ZhipengS" <<a href="mailto:zhipengs.liu@intel.com">zhipengs.liu@intel.com</a>><br />
</span><span style="font-size:10.5pt;color:black">发送日期:</span><span lang="EN-US" style="font-size:10.5pt;font-family:"Arial",sans-serif;color:black">2019-10-31 10:14:44<br />
</span><span style="font-size:10.5pt;color:black">收件人:</span><span lang="EN-US" style="font-size:10.5pt;font-family:"Arial",sans-serif;color:black">"Liu, ZhipengS" <<a href="mailto:zhipengs.liu@intel.com">zhipengs.liu@intel.com</a>>,"Xie, Cindy" <<a href="mailto:cindy.xie@intel.com">cindy.xie@intel.com</a>>,"Lemus
Contreras, Cristopher J" <<a href="mailto:cristopher.j.lemus.contreras@intel.com">cristopher.j.lemus.contreras@intel.com</a>>,"'</span><span style="font-size:10.5pt;color:black">朱博祥</span><span lang="EN-US" style="font-size:10.5pt;font-family:"Arial",sans-serif;color:black">'"
<<a href="mailto:zhu.boxiang@99cloud.net">zhu.boxiang@99cloud.net</a>>,"'starlingx-discuss@lists.starlingx.io'" <<a href="mailto:starlingx-discuss@lists.starlingx.io">starlingx-discuss@lists.starlingx.io</a>><br />
</span><span style="font-size:10.5pt;color:black">抄送人:</span><span lang="EN-US" style="font-size:10.5pt;font-family:"Arial",sans-serif;color:black">"Alonso, Juan Carlos" <<a href="mailto:juan.carlos.alonso@intel.com">juan.carlos.alonso@intel.com</a>>,"Hu, Yong"
<<a href="mailto:yong.hu@intel.com">yong.hu@intel.com</a>>,"Cabrales, Ada" <<a href="mailto:ada.cabrales@intel.com">ada.cabrales@intel.com</a>>,"Jones, Bruce E" <<a href="mailto:bruce.e.jones@intel.com">bruce.e.jones@intel.com</a>>,"Martinez Monroy, Elio"
<<a href="mailto:elio.martinez.monroy@intel.com">elio.martinez.monroy@intel.com</a>><br />
</span><span style="font-size:10.5pt;color:black">主题:</span><span lang="EN-US" style="font-size:10.5pt;font-family:"Arial",sans-serif;color:black">RE: [Starlingx-discuss] About EB verification for openstack train upgrade<br />
<br />
<o:p></o:p></span></p>
<blockquote style="border:none;border-left:solid #CCCCCC 1.0pt;padding:0cm 0cm 0cm 6.0pt;margin-left:4.8pt;margin-right:0cm">
<div>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><span lang="EN-US" style="font-size:10.5pt;font-family:"Arial",sans-serif;color:black">Hi Boxiang and all,<o:p></o:p></span></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><span lang="EN-US" style="font-size:10.5pt;font-family:"Arial",sans-serif;color:black"> <o:p></o:p></span></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><span lang="EN-US" style="font-size:10.5pt;font-family:"Arial",sans-serif;color:black">In fetch_to_raw(),<o:p></o:p></span></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><span lang="EN-US" style="font-size:10.5pt;font-family:"Arial",sans-serif;color:black">After force convert image from qcow2 to raw, the format is still not raw, then throw below
error.<o:p></o:p></span></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><span lang="EN-US" style="font-size:10.5pt;font-family:"Arial",sans-serif;color:black">It seems qemu-image convert image failed.<o:p></o:p></span></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><span lang="EN-US" style="font-size:10.5pt;font-family:"Arial",sans-serif;color:black"> <o:p></o:p></span></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><span lang="EN-US" style="font-size:10.5pt;font-family:"Arial",sans-serif;color:black">Zhipeng<o:p></o:p></span></p>
<div>
<div style="border:none;border-top:solid #E1E1E1 1.0pt;padding:3.0pt 0cm 0cm 0cm">
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><b><span lang="EN-US" style="font-size:10.5pt;font-family:"Arial",sans-serif;color:black">From:</span></b><span lang="EN-US" style="font-size:10.5pt;font-family:"Arial",sans-serif;color:black">
Liu, ZhipengS <<a href="mailto:zhipengs.liu@intel.com">zhipengs.liu@intel.com</a>>
<br />
<b>Sent:</b> 2019</span><span style="font-size:10.5pt;color:black">年</span><span lang="EN-US" style="font-size:10.5pt;font-family:"Arial",sans-serif;color:black">10</span><span style="font-size:10.5pt;color:black">月</span><span lang="EN-US" style="font-size:10.5pt;font-family:"Arial",sans-serif;color:black">31</span><span style="font-size:10.5pt;color:black">日</span><span lang="EN-US" style="font-size:10.5pt;font-family:"Arial",sans-serif;color:black">
9:35<br />
<b>To:</b> Xie, Cindy <<a href="mailto:cindy.xie@intel.com">cindy.xie@intel.com</a>>; Lemus Contreras, Cristopher J <<a href="mailto:cristopher.j.lemus.contreras@intel.com">cristopher.j.lemus.contreras@intel.com</a>>; '</span><span style="font-size:10.5pt;color:black">朱博祥</span><span lang="EN-US" style="font-size:10.5pt;font-family:"Arial",sans-serif;color:black">'
<<a href="mailto:zhu.boxiang@99cloud.net">zhu.boxiang@99cloud.net</a>>; 'starlingx-discuss@lists.starlingx.io' <<a href="mailto:starlingx-discuss@lists.starlingx.io">starlingx-discuss@lists.starlingx.io</a>><br />
<b>Cc:</b> Alonso, Juan Carlos <<a href="mailto:juan.carlos.alonso@intel.com">juan.carlos.alonso@intel.com</a>>; Hu, Yong <<a href="mailto:yong.hu@intel.com">yong.hu@intel.com</a>>; Cabrales, Ada <<a href="mailto:ada.cabrales@intel.com">ada.cabrales@intel.com</a>>;
Jones, Bruce E <<a href="mailto:bruce.e.jones@intel.com">bruce.e.jones@intel.com</a>>; Martinez Monroy, Elio <<a href="mailto:elio.martinez.monroy@intel.com">elio.martinez.monroy@intel.com</a>><br />
<b>Subject:</b> Re: [Starlingx-discuss] About EB verification for openstack train upgrade<o:p></o:p></span></p>
</div>
</div>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><span lang="EN-US" style="font-size:10.5pt;font-family:"Arial",sans-serif;color:black"> <o:p></o:p></span></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><b><span lang="EN-US" style="font-size:10.5pt;font-family:"Arial",sans-serif;color:black">From:</span></b><span lang="EN-US" style="font-size:10.5pt;font-family:"Arial",sans-serif;color:black">
Liu, ZhipengS <br />
<b>Sent:</b> 2019</span><span style="font-size:10.5pt;color:black">年</span><span lang="EN-US" style="font-size:10.5pt;font-family:"Arial",sans-serif;color:black">10</span><span style="font-size:10.5pt;color:black">月</span><span lang="EN-US" style="font-size:10.5pt;font-family:"Arial",sans-serif;color:black">30</span><span style="font-size:10.5pt;color:black">日</span><span lang="EN-US" style="font-size:10.5pt;font-family:"Arial",sans-serif;color:black">
23:24<br />
<b>To:</b> Xie, Cindy <<a href="mailto:cindy.xie@intel.com">cindy.xie@intel.com</a>>; Lemus Contreras, Cristopher J <<a href="mailto:cristopher.j.lemus.contreras@intel.com">cristopher.j.lemus.contreras@intel.com</a>>;
</span><span style="font-size:10.5pt;color:black">朱博祥</span><span lang="EN-US" style="font-size:10.5pt;font-family:"Arial",sans-serif;color:black"> <<a href="mailto:zhu.boxiang@99cloud.net">zhu.boxiang@99cloud.net</a>>;
<a href="mailto:starlingx-discuss@lists.starlingx.io">starlingx-discuss@lists.starlingx.io</a><br />
<b>Cc:</b> Alonso, Juan Carlos <<a href="mailto:juan.carlos.alonso@intel.com">juan.carlos.alonso@intel.com</a>>; Hu, Yong <<a href="mailto:yong.hu@intel.com">yong.hu@intel.com</a>>; Cabrales, Ada <<a href="mailto:ada.cabrales@intel.com">ada.cabrales@intel.com</a>>;
Jones, Bruce E <<a href="mailto:bruce.e.jones@intel.com">bruce.e.jones@intel.com</a>>; Martinez Monroy, Elio <<a href="mailto:elio.martinez.monroy@intel.com">elio.martinez.monroy@intel.com</a>><br />
<b>Subject:</b> RE: [Starlingx-discuss] About EB verification for openstack train upgrade<o:p></o:p></span></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><span lang="EN-US" style="font-size:10.5pt;font-family:"Arial",sans-serif;color:black"> <o:p></o:p></span></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><span lang="EN-US" style="font-size:10.5pt;font-family:"Arial",sans-serif;color:black">Hi Boxiang,<o:p></o:p></span></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><span lang="EN-US" style="font-size:10.5pt;font-family:"Arial",sans-serif;color:black"> <o:p></o:p></span></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><span lang="EN-US" style="font-size:10.5pt;font-family:"Arial",sans-serif;color:black">It should be an issue in nova train.<o:p></o:p></span></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><span lang="EN-US" style="font-size:10.5pt;font-family:"Arial",sans-serif;color:black">Error log is below:<o:p></o:p></span></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><span lang="EN-US" style="font-size:10.5pt;font-family:"Arial",sans-serif;color:black">build of instance 363dddce-7af6-4701-8cea-52630b91ebcf aborted: Image 70f74018-24f6-4d7d-8f99-2194a4449cfd
is unacceptable: Converted to raw, but format is now qcow2'<o:p></o:p></span></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><span lang="EN-US" style="font-size:10.5pt;font-family:"Arial",sans-serif;color:black"> <o:p></o:p></span></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><span lang="EN-US" style="font-size:10.5pt;font-family:"Arial",sans-serif;color:black">You tried to fix this issue before in nova LP:<o:p></o:p></span></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><span lang="EN-US" style="font-size:10.5pt;font-family:"Arial",sans-serif;color:black"><a href="https://bugs.launchpad.net/nova/+bug/1816686">https://bugs.launchpad.net/nova/+bug/1816686</a><o:p></o:p></span></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><span lang="EN-US" style="font-size:10.5pt;font-family:"Arial",sans-serif;color:black">In your patch:
<a href="https://review.opendev.org/#/c/640271">https://review.opendev.org/#/c/640271</a> (This patch is already in train release now)<o:p></o:p></span></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><span lang="EN-US" style="font-size:10.5pt;font-family:"Arial",sans-serif;color:black">You added below commit message in the patch.<o:p></o:p></span></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><span lang="EN-US" style="font-size:10.5pt;font-family:"Arial",sans-serif;color:black"> <o:p></o:p></span></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><span lang="EN-US" style="font-size:10.5pt;font-family:"Arial",sans-serif;color:black">“When we import image into rbd, check the format of cache<o:p></o:p></span></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><span lang="EN-US" style="font-size:10.5pt;font-family:"Arial",sans-serif;color:black">images. If the format is not raw, remove it first and<o:p></o:p></span></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><span lang="EN-US" style="font-size:10.5pt;font-family:"Arial",sans-serif;color:black">fetch it again. It will be raw format now.”<o:p></o:p></span></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><span lang="EN-US" style="font-size:10.5pt;font-family:"Arial",sans-serif;color:black"> <o:p></o:p></span></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><span lang="EN-US" style="font-size:10.5pt;font-family:"Arial",sans-serif;color:black">However, it seems not work! Below code will throw error when image format is not raw and
block the VM creation.<o:p></o:p></span></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><span lang="EN-US" style="font-size:10.5pt;font-family:"Arial",sans-serif;color:black"> <o:p></o:p></span></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><span lang="EN-US" style="font-size:10.5pt;font-family:"Arial",sans-serif;color:black">In nova/virt/images.py<o:p></o:p></span></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;text-indent:15.75pt">
<span lang="EN-US" style="font-size:10.5pt;font-family:"Arial",sans-serif;color:black">def fetch_to_raw()
</span><span lang="EN-US" style="font-size:10.5pt;font-family:Wingdings;color:black">è</span><span lang="EN-US" style="font-size:10.5pt;font-family:"Arial",sans-serif;color:black">
<o:p></o:p></span></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;text-indent:36.75pt">
<span lang="EN-US" style="font-size:10.5pt;font-family:"Arial",sans-serif;color:black">if data.file_format != "raw":<o:p></o:p></span></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><span lang="EN-US" style="font-size:10.5pt;font-family:"Arial",sans-serif;color:black"> raise exception.ImageUnacceptable(image_id=image_href,<o:p></o:p></span></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><span lang="EN-US" style="font-size:10.5pt;font-family:"Arial",sans-serif;color:black"> reason=_("Converted to raw, but format is now %s")<o:p></o:p></span></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><span lang="EN-US" style="font-size:10.5pt;font-family:"Arial",sans-serif;color:black"> <o:p></o:p></span></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><span lang="EN-US" style="font-size:10.5pt;font-family:"Arial",sans-serif;color:black">Not sure if your patch fixed this issue or is there any regression introduced in nova code
later.<o:p></o:p></span></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><span lang="EN-US" style="font-size:10.5pt;font-family:"Arial",sans-serif;color:black">Any comment from you?
<o:p></o:p></span></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><span lang="EN-US" style="font-size:10.5pt;font-family:"Arial",sans-serif;color:black">I will check nova code further tomorrow and sync with you.<o:p></o:p></span></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><span lang="EN-US" style="font-size:10.5pt;font-family:"Arial",sans-serif;color:black">We may need a patch for nova</span><span lang="EN-US" style="font-size:10.5pt;font-family:"Segoe UI Emoji",sans-serif;color:black">☹</span><span lang="EN-US" style="font-size:10.5pt;font-family:"Arial",sans-serif;color:black"><o:p></o:p></span></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><span lang="EN-US" style="font-size:10.5pt;font-family:"Arial",sans-serif;color:black"> <o:p></o:p></span></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><span lang="EN-US" style="font-size:10.5pt;font-family:"Arial",sans-serif;color:black">Thanks!<o:p></o:p></span></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><span lang="EN-US" style="font-size:10.5pt;font-family:"Arial",sans-serif;color:black">Zhipeng<o:p></o:p></span></p>
<div>
<div style="border:none;border-top:solid #E1E1E1 1.0pt;padding:3.0pt 0cm 0cm 0cm">
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><b><span lang="EN-US" style="font-size:10.5pt;font-family:"Arial",sans-serif;color:black">From:</span></b><span lang="EN-US" style="font-size:10.5pt;font-family:"Arial",sans-serif;color:black">
Xie, Cindy <<a href="mailto:cindy.xie@intel.com">cindy.xie@intel.com</a>> <br />
<b>Sent:</b> 2019</span><span style="font-size:10.5pt;color:black">年</span><span lang="EN-US" style="font-size:10.5pt;font-family:"Arial",sans-serif;color:black">10</span><span style="font-size:10.5pt;color:black">月</span><span lang="EN-US" style="font-size:10.5pt;font-family:"Arial",sans-serif;color:black">30</span><span style="font-size:10.5pt;color:black">日</span><span lang="EN-US" style="font-size:10.5pt;font-family:"Arial",sans-serif;color:black">
22:49<br />
<b>To:</b> Lemus Contreras, Cristopher J <<a href="mailto:cristopher.j.lemus.contreras@intel.com">cristopher.j.lemus.contreras@intel.com</a>>; Liu, ZhipengS <<a href="mailto:zhipengs.liu@intel.com">zhipengs.liu@intel.com</a>>;
</span><span style="font-size:10.5pt;color:black">朱博祥</span><span lang="EN-US" style="font-size:10.5pt;font-family:"Arial",sans-serif;color:black"> <<a href="mailto:zhu.boxiang@99cloud.net">zhu.boxiang@99cloud.net</a>>;
<a href="mailto:starlingx-discuss@lists.starlingx.io">starlingx-discuss@lists.starlingx.io</a><br />
<b>Cc:</b> Alonso, Juan Carlos <<a href="mailto:juan.carlos.alonso@intel.com">juan.carlos.alonso@intel.com</a>>; Hu, Yong <<a href="mailto:yong.hu@intel.com">yong.hu@intel.com</a>>; Cabrales, Ada <<a href="mailto:ada.cabrales@intel.com">ada.cabrales@intel.com</a>>;
Jones, Bruce E <<a href="mailto:bruce.e.jones@intel.com">bruce.e.jones@intel.com</a>>; Martinez Monroy, Elio <<a href="mailto:elio.martinez.monroy@intel.com">elio.martinez.monroy@intel.com</a>><br />
<b>Subject:</b> RE: [Starlingx-discuss] About EB verification for openstack train upgrade<o:p></o:p></span></p>
</div>
</div>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><span lang="EN-US" style="font-size:10.5pt;font-family:"Arial",sans-serif;color:black"> <o:p></o:p></span></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><span lang="EN-US" style="font-size:10.5pt;font-family:"Arial",sans-serif;color:black">+ mailing list in case anybody can help on debug the issue.<o:p></o:p></span></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><span lang="EN-US" style="font-size:10.5pt;font-family:"Arial",sans-serif;color:black"> <o:p></o:p></span></p>
<div>
<div style="border:none;border-top:solid #E1E1E1 1.0pt;padding:3.0pt 0cm 0cm 0cm">
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><b><span lang="EN-US" style="font-size:10.5pt;font-family:"Arial",sans-serif;color:black">From:</span></b><span lang="EN-US" style="font-size:10.5pt;font-family:"Arial",sans-serif;color:black">
Lemus Contreras, Cristopher J <<a href="mailto:cristopher.j.lemus.contreras@intel.com">cristopher.j.lemus.contreras@intel.com</a>>
<br />
<b>Sent:</b> Wednesday, October 30, 2019 7:45 PM<br />
<b>To:</b> Liu, ZhipengS <<a href="mailto:zhipengs.liu@intel.com">zhipengs.liu@intel.com</a>>;
</span><span style="font-size:10.5pt;font-family:"Microsoft YaHei",sans-serif;color:black">朱博祥</span><span lang="EN-US" style="font-size:10.5pt;font-family:"Arial",sans-serif;color:black"> <<a href="mailto:zhu.boxiang@99cloud.net">zhu.boxiang@99cloud.net</a>><br />
<b>Cc:</b> Alonso, Juan Carlos <<a href="mailto:juan.carlos.alonso@intel.com">juan.carlos.alonso@intel.com</a>>; Hu, Yong <<a href="mailto:yong.hu@intel.com">yong.hu@intel.com</a>>; Cabrales, Ada <<a href="mailto:ada.cabrales@intel.com">ada.cabrales@intel.com</a>>;
Xie, Cindy <<a href="mailto:cindy.xie@intel.com">cindy.xie@intel.com</a>>; Jones, Bruce E <<a href="mailto:bruce.e.jones@intel.com">bruce.e.jones@intel.com</a>>; Martinez Monroy, Elio <<a href="mailto:elio.martinez.monroy@intel.com">elio.martinez.monroy@intel.com</a>><br />
<b>Subject:</b> Re: [Starlingx-discuss] About EB verification for openstack train upgrade<o:p></o:p></span></p>
</div>
</div>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><span lang="EN-US" style="font-size:10.5pt;font-family:"Arial",sans-serif;color:black"> <o:p></o:p></span></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><span lang="ES" style="font-size:10.5pt;font-family:"Arial",sans-serif;color:black">Hi Zhipeng,</span><span lang="EN-US" style="font-size:10.5pt;font-family:"Arial",sans-serif;color:black"><o:p></o:p></span></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><span lang="ES" style="font-size:10.5pt;font-family:"Arial",sans-serif;color:black"> </span><span lang="EN-US" style="font-size:10.5pt;font-family:"Arial",sans-serif;color:black"><o:p></o:p></span></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><span lang="ES" style="font-size:10.5pt;font-family:"Arial",sans-serif;color:black">The results are OK for Simplex, Duplex and Standard Local Storage, all Test Cases PASSED.</span><span lang="EN-US" style="font-size:10.5pt;font-family:"Arial",sans-serif;color:black"><o:p></o:p></span></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><span lang="ES" style="font-size:10.5pt;font-family:"Arial",sans-serif;color:black"> </span><span lang="EN-US" style="font-size:10.5pt;font-family:"Arial",sans-serif;color:black"><o:p></o:p></span></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><span lang="ES" style="font-size:10.5pt;font-family:"Arial",sans-serif;color:black">For Standard External Storage (2+2+2) there is a high quantity of Test Cases failing because
we cannot launch instances. Here’s</span><span lang="EN-US" style="font-size:10.5pt;font-family:"Arial",sans-serif;color:black"> a sample output:
<a href="http://paste.openstack.org/show/785641/">http://paste.openstack.org/show/785641/</a> with the error that matches what is described on the launchpad.<o:p></o:p></span></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><span lang="EN-US" style="font-size:10.5pt;font-family:"Arial",sans-serif;color:black"> <o:p></o:p></span></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><span lang="EN-US" style="font-size:10.5pt;font-family:"Arial",sans-serif;color:black">Sanity summary for this specific configuration:
<a href="http://paste.openstack.org/show/785655/">http://paste.openstack.org/show/785655/</a><o:p></o:p></span></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><span lang="EN-US" style="font-size:10.5pt;font-family:"Arial",sans-serif;color:black"> <o:p></o:p></span></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><span lang="EN-US" style="font-size:10.5pt;font-family:"Arial",sans-serif;color:black">Please, let us know if you need additional details.<o:p></o:p></span></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><span lang="EN-US" style="font-size:10.5pt;font-family:"Arial",sans-serif;color:black"> <o:p></o:p></span></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><span lang="EN-US" style="font-size:10.5pt;font-family:"Arial",sans-serif;color:black">Thanks & Regards,<o:p></o:p></span></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><span lang="EN-US" style="font-size:10.5pt;font-family:"Arial",sans-serif;color:black"> <o:p></o:p></span></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><span lang="EN-US" style="font-size:10.5pt;font-family:"Arial",sans-serif;color:black">Cristopher Lemus<o:p></o:p></span></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;margin-bottom:12.0pt"><span lang="EN-US" style="font-size:10.5pt;font-family:"Arial",sans-serif;color:black"> <o:p></o:p></span></p>
</div>
</blockquote>
</div>
<p class="MsoNormal"><span lang="EN-US"><o:p> </o:p></span></p>
</div>
</blockquote></div><br>