Re: [openstack-dev] [kolla][ubuntu][libvirt] Is libvirt 2.5.0 in ubuntu cloud archive ocata repo bust

2017-03-08 Thread Corey Bryant
On Tue, Mar 7, 2017 at 10:28 PM, Jeffrey Zhang 
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:unsubscribe
> 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


[openstack-dev] [kolla][ubuntu][libvirt] Is libvirt 2.5.0 in ubuntu cloud archive ocata repo bust

2017-03-07 Thread Jeffrey Zhang
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
__
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