Kolla deploy ubuntu gate is red now. here is the related bug[0].

libvirt failed to access the console.log file when booting instance. After
made some debugging, i got following.

# how console.log works
nova create a empty console.log with nova:nova ( this is another bug
workaround actually[1]), then libvirt ( running with root ) will change the
file owner to qemu process user/group ( configured by dynamic_ownership ).
Now qemu process can write logs into this file.

# what's wrong now
libvirt 2.5.0 stop change the file owner, then qemu/libvirt failed to write
logs into console.log file

# other test

* ubuntu + fallback libvirt 1.3.x works [2]
* ubuntu + libvirt 2.5.0 + chang the qemu process user/group to
  nova:nova works, too.[3]
* centos + libvirt 2.0.0 works, never saw such issue in centos.

# conclusion
I guess there are something wrong in libvirt 2.5.0 with dynamic_ownership


[0] https://bugs.launchpad.net/kolla-ansible/+bug/1668654
[1]
https://github.com/openstack/nova/blob/master/nova/virt/libvirt/driver.py#L2922,L2952
[2] https://review.openstack.org/442673
[3] https://review.openstack.org/442850

-- 
Regards,
Jeffrey Zhang
Blog: http://xcodest.me
_______________________________________________
Mailing list: http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack
Post to     : openstack@lists.openstack.org
Unsubscribe : http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack

Reply via email to