Thanks Corey, But i tried ocata proposed repo, the issue is still happening.
On Wed, Mar 8, 2017 at 10:03 PM, Corey Bryant <corey.bry...@canonical.com> wrote: > > > On Tue, Mar 7, 2017 at 10:28 PM, Jeffrey Zhang <zhang.lei....@gmail.com> > wrote: > >> 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. >> >> > Jeffrey, This is likely fixed in ocata-proposed and should be promoted to > ocata-updates soon after testing completes. https://bugs.launchpad.net/ > ubuntu/+source/libvirt/+bug/1667033. > > Corey > > > # 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 >> >> ____________________________________________________________ >> ______________ >> OpenStack Development Mailing List (not for usage questions) >> Unsubscribe: openstack-dev-requ...@lists.openstack.org?subject:unsubscrib >> e >> http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev >> >> > > __________________________________________________________________________ > OpenStack Development Mailing List (not for usage questions) > Unsubscribe: openstack-dev-requ...@lists.openstack.org?subject:unsubscribe > http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev > > -- 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