← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1308418] Re: nova-spiceproxy ignores spicehtml5proxy_host setting = "::"

 

** Changed in: nova
       Status: Fix Committed => Fix Released

** Changed in: nova
    Milestone: None => juno-1

-- 
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to OpenStack Compute (nova).
https://bugs.launchpad.net/bugs/1308418

Title:
  nova-spiceproxy ignores spicehtml5proxy_host setting = "::"

Status in OpenStack Compute (Nova):
  Fix Released

Bug description:
  Hello Stackers!

  I'm trying SPICE Consoles and it is working smoothly! But, I detected
  a problem, it is ignoring the entry "spicehtml5proxy_host" in
  nova.conf for Dual-Stacked environment (IPv4 / IPv6).

  So, it isn't listening on "::".

  The following setup doesn't work....

  ---
  [spice]
  enabled = True
  spicehtml5proxy_host = ::
  html5proxy_base_url = http://controller.yourdomain.com:6082/spice_auto.html
  keymap = en-us
  ---

  Unless I patch the following file:

  /usr/lib/python2.7/dist-packages/nova/cmd/spicehtml5proxy.py into
  this:

  ---
  opts = [
      cfg.StrOpt('spicehtml5proxy_host',
                 default='::',
                 help='Host on which to listen for incoming requests'),
  ---

  As you guys can see, I replaced the default "0.0.0.0" to "::" and now
  SPICE Proxy listens on both IPv4 and IPv6! But, this is a hack...

  I don't know why it is ignoring the "spicehtml5proxy_host = ::" entry
  at nova.conf.

  BTW, the "novncproxy_host = ::" works as expected for NoVNC but, I'm
  disabling VNC from my cloud in favor of SPICE.

  Cheers!
  Thiago

To manage notifications about this bug go to:
https://bugs.launchpad.net/nova/+bug/1308418/+subscriptions


References