[Bug 1697729] Re: port allocator allocates the same SPICE port for multiple guests (race condition)
Aaron Johnson
acjohnson at pcdomain.com
Wed Jun 14 21:25:30 UTC 2017
[Impact]
* libvirt sporadically throws the following error and can be seen in
nova-compute.log:
2017-06-12 14:32:54.359 19007 ERROR nova.compute.manager [instance:
d1af2a13-0a53-4d9c-ada3-683e4973f28a] libvirtError: internal error:
process exited while connecting to monitor: ((null):63256): Spice-
Warning **: reds.c:2463:reds_init_socket: reds_init_socket: binding
socket to 10.141.112.21:5900 failed
* This should be backported to improve the supportability of the SPICE
console in OpenStack
[Test Case]
* Create multiple instances with nova-compute (via horizon or openstack
cli) using the spice-html5 console and watch your instances attempt to
re-use already bound ports...
[Regression Potential]
* Unknown regression potential but worth pointing out that this patch
was used to fix this bug in the libvirt-3.1.0-1.el7 package release...
[Other Info]
* We ran in to this bug as a result of the openstack ansible project using spice-html5 as the default console viewer in ocata (not sure when they switched from novnc to spice as default).
--
You received this bug notification because you are a member of Ubuntu
OpenStack, which is subscribed to Ubuntu Cloud Archive.
https://bugs.launchpad.net/bugs/1697729
Title:
port allocator allocates the same SPICE port for multiple guests (race
condition)
Status in Ubuntu Cloud Archive:
Triaged
Status in Ubuntu Cloud Archive ocata series:
Triaged
Status in Ubuntu Cloud Archive pike series:
Triaged
Status in libvirt package in Ubuntu:
In Progress
Status in libvirt source package in Zesty:
Triaged
Status in libvirt source package in Artful:
In Progress
Bug description:
Using the UCA ocata release of libvirt we sporatically recieve this
error message in nova-compute.log:
2017-06-12 14:32:54.359 19007 ERROR nova.compute.manager [instance:
d1af2a13-0a53-4d9c-ada3-683e4973f28a] libvirtError: internal error:
process exited while connecting to monitor: ((null):63256): Spice-
Warning **: reds.c:2463:reds_init_socket: reds_init_socket: binding
socket to 10.141.112.21:5900 failed
Please backport the fix for the following bug into UCA ocata/pike releases:
https://bugzilla.redhat.com/show_bug.cgi?id=1397440
The patch is documented here:
https://www.spinics.net/linux/fedora/libvir/msg144093.html
We've tested backporting this same fix using the ocata UCA libvirt
2.5.0-3ubuntu5~cloud0 source package and it fixes the problem for us.
To manage notifications about this bug go to:
https://bugs.launchpad.net/cloud-archive/+bug/1697729/+subscriptions
More information about the Ubuntu-openstack-bugs
mailing list