Liberty: vncserver_listen doesn't bind anymore in a dual-stack setup

Bug #1507834 reported by Thiago Martins
10
This bug affects 2 people
Affects Status Importance Assigned to Milestone
OpenStack Compute (nova)
Confirmed
Undecided
Unassigned

Bug Description

Guys,

The vncserver_listen doesn't work anymore in a dual-stack setup, error:

2015-10-19 21:22:03.180 2737 ERROR nova.compute.manager [instance: 9fc58e29-41a0-44a8-aa31-1773d5cdea13] 2015-10-20T01:22:02.895921Z qemu-system-x86_64: -vnc [::]:0: Failed to start VNC server on `(null)': address resolution failed for [::]:5900: Name or service not known

Line in /etc/nova/nova.conf, group [vnc]:

---
vncserver_listen = ::
---

However, this very same line works on Kilo.

I'm running Liberty on Trusty, using Ubuntu Cloud Archive.

Thanks!
Thiago

Revision history for this message
Markus Zoeller (markus_z) (mzoeller) wrote :

@Thiago: This could be an issue in qemu itself [1]. Would you paste your exact versions of libvirt and qemu please? Could it be that this line worked in Kilo because that system used a different version of qemu? If I understand [1] correctly you can work around this issue by using the full IPv6 unspecified address "0:0:0:0:0:0:0:0".

@libvirt subteam:
I guess this bug cannot (shouldn't?) be solved in Nova? I leave it up to you.

[1] "Bug 1229073 - [graphical framebuffer]Start guest failed when VNC listen on IPV6 address ":
   https://bugzilla.redhat.com/show_bug.cgi?id=1229073

tags: added: libvirt
Revision history for this message
Augustina Ragwitz (auggy) wrote :

Still need versions of qemu and libvirt, marking as incomplete.

Changed in nova:
status: New → Incomplete
Revision history for this message
Alex Barclay (9lex) wrote :

Hey there. I've got exactly the same issue:

Log message:
2016-02-14T01:09:55.518748Z qemu-system-x86_64: -vnc [ipv6addr]:0: Failed to start VNC server on `(null)': address resolution failed for [ipv6addr]:5900: Temporary failure in name resolution

Ubuntu 15.10

ii ipxe-qemu 1.0.0+git-20141004.86285d1-1ubuntu3 all PXE boot firmware - ROM images for qemu
ii qemu-block-extra:amd64 1:2.3+dfsg-5ubuntu9.2 amd64 extra block backend modules for qemu-system and qemu-utils
ii qemu-slof 20140630+dfsg-1ubuntu1 all Slimline Open Firmware -- QEMU PowerPC version
ii qemu-system 1:2.3+dfsg-5ubuntu9.2 amd64 QEMU full system emulation binaries
ii qemu-system-arm 1:2.3+dfsg-5ubuntu9.2 amd64 QEMU full system emulation binaries (arm)
ii qemu-system-common 1:2.3+dfsg-5ubuntu9.2 amd64 QEMU full system emulation binaries (common files)
ii qemu-system-mips 1:2.3+dfsg-5ubuntu9.2 amd64 QEMU full system emulation binaries (mips)
ii qemu-system-misc 1:2.3+dfsg-5ubuntu9.2 amd64 QEMU full system emulation binaries (miscelaneous)
ii qemu-system-ppc 1:2.3+dfsg-5ubuntu9.2 amd64 QEMU full system emulation binaries (ppc)
ii qemu-system-sparc 1:2.3+dfsg-5ubuntu9.2 amd64 QEMU full system emulation binaries (sparc)
ii qemu-system-x86 1:2.3+dfsg-5ubuntu9.2 amd64 QEMU full system emulation binaries (x86)
ii qemu-utils 1:2.3+dfsg-5ubuntu9.2 amd64 QEMU utilities

and

ii libvirt-bin 1.2.16-2ubuntu11.15.10.3 amd64 programs for the libvirt library
ii libvirt0 1.2.16-2ubuntu11.15.10.3 amd64 library for interfacing with different virtualization systems
ii nova-compute-libvirt 2:12.0.0-0ubuntu2 all OpenStack Compute - compute node libvirt support
ii python-libvirt 1.2.15-0ubuntu1 amd64 libvirt Python bindings

Hope this helps

Changed in nova:
status: Incomplete → Confirmed
Revision history for this message
Sean Dague (sdague) wrote :

Automatically discovered version kilo in description. If this is incorrect, please update the description to include 'nova version: ...'

tags: added: openstack-version.kilo
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.