<div dir="ltr"><br><div class="gmail_extra"><br><div class="gmail_quote">On Tue, Mar 7, 2017 at 10:28 PM, Jeffrey Zhang <span dir="ltr"><<a href="mailto:zhang.lei.fly@gmail.com" target="_blank">zhang.lei.fly@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr"><div style="font-family:monospace,monospace;font-size:small">Kolla deploy ubuntu gate is red now. here is the related bug[0].</div><div style="font-family:monospace,monospace;font-size:small"><br></div><div style="font-family:monospace,monospace;font-size:small">libvirt failed to access the console.log file when booting instance. After</div><div style="font-family:monospace,monospace;font-size:small">made some debugging, i got following.</div><div style="font-family:monospace,monospace;font-size:small"><br></div></div></blockquote><div><br></div><div>Jeffrey,  This is likely fixed in ocata-proposed and should be promoted to ocata-updates soon after testing completes. <a href="https://bugs.launchpad.net/ubuntu/+source/libvirt/+bug/1667033">https://bugs.launchpad.net/ubuntu/+source/libvirt/+bug/1667033</a>.</div><div><br></div><div>Corey</div><div><br></div><div><br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr"><div style="font-family:monospace,monospace;font-size:small"></div><div style="font-family:monospace,monospace;font-size:small"># how console.log works</div><div style="font-family:monospace,monospace;font-size:small">nova create a empty console.log with nova:nova ( this is another bug</div><div style="font-family:monospace,monospace;font-size:small">workaround actually[1]), then libvirt ( running with root ) will change the</div><div style="font-family:monospace,monospace;font-size:small">file owner to qemu process user/group ( configured by dynamic_ownership ). </div><div style="font-family:monospace,monospace;font-size:small">Now qemu process can write logs into this file.</div><div style="font-family:monospace,monospace;font-size:small"><br></div><div style="font-family:monospace,monospace;font-size:small"># what's wrong now</div><div style="font-family:monospace,monospace;font-size:small">libvirt 2.5.0 stop change the file owner, then qemu/libvirt failed to write</div><div style="font-family:monospace,monospace;font-size:small">logs into console.log file</div><div style="font-family:monospace,monospace;font-size:small"><br></div><div style="font-family:monospace,monospace;font-size:small"># other test</div><div style="font-family:monospace,monospace;font-size:small"><br></div><div style="font-family:monospace,monospace;font-size:small">* ubuntu + fallback libvirt 1.3.x works [2]<br></div><div style="font-family:monospace,monospace;font-size:small">* ubuntu + libvirt 2.5.0 + chang the qemu process user/group to </div><div style="font-family:monospace,monospace;font-size:small">  nova:nova works, too.[3]<br></div><div style="font-family:monospace,monospace;font-size:small">* centos + libvirt 2.0.0 works, never saw such issue in centos.</div><div style="font-family:monospace,monospace;font-size:small"><br></div><div style="font-family:monospace,monospace;font-size:small"># conclusion</div><div style="font-family:monospace,monospace;font-size:small">I guess there are something wrong in libvirt 2.5.0 with dynamic_ownership</div><div style="font-family:monospace,monospace;font-size:small"><br></div><div style="font-family:monospace,monospace;font-size:small"><br></div><div style="font-family:monospace,monospace;font-size:small">[0] <a href="https://bugs.launchpad.net/kolla-ansible/+bug/1668654" target="_blank">https://bugs.launchpad.<wbr>net/kolla-ansible/+bug/1668654</a></div><div style="font-family:monospace,monospace;font-size:small">[1] <a href="https://github.com/openstack/nova/blob/master/nova/virt/libvirt/driver.py#L2922,L2952" target="_blank">https://github.com/<wbr>openstack/nova/blob/master/<wbr>nova/virt/libvirt/driver.py#<wbr>L2922,L2952</a></div><div style="font-family:monospace,monospace;font-size:small">[2] <a href="https://review.openstack.org/442673" target="_blank">https://review.openstack.<wbr>org/442673</a></div><div style="font-family:monospace,monospace;font-size:small">[3] <a href="https://review.openstack.org/442850" target="_blank">https://review.openstack.org/<wbr>442850</a></div><span class="gmail-HOEnZb"><font color="#888888"><div><br></div>-- <br><div class="gmail-m_-1237696492848175101gmail_signature"><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div dir="ltr"><div dir="ltr"><div><span style="font-size:13px;border-collapse:collapse"><font face="monospace, monospace">Regards,</font></span></div><div><span style="font-size:13px;border-collapse:collapse"><font face="monospace, monospace">Jeffrey Zhang</font></span></div><div><span style="font-family:monospace,monospace;font-size:12.8px">Blog: </span><a href="http://xcodest.me/" style="font-family:monospace,monospace;font-size:12.8px" target="_blank">http://xcodest.me</a><font face="monospace, monospace"><br></font></div></div></div></div></div></div></div></div></div>
</font></span></div>
<br>______________________________<wbr>______________________________<wbr>______________<br>
OpenStack Development Mailing List (not for usage questions)<br>
Unsubscribe: <a href="http://OpenStack-dev-request@lists.openstack.org?subject:unsubscribe" rel="noreferrer" target="_blank">OpenStack-dev-request@lists.<wbr>openstack.org?subject:<wbr>unsubscribe</a><br>
<a href="http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev" rel="noreferrer" target="_blank">http://lists.openstack.org/<wbr>cgi-bin/mailman/listinfo/<wbr>openstack-dev</a><br>
<br></blockquote></div><br></div></div>