← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1640512] Re: wrong format for novncproxy_base_url

 

Since there is no response from the reporter for the manuals component,
marking as incomplete and adding nova.

As per comment above" "My suggestion would be to either change the line
to reflect that an IP is expected or file a bug against nova?"

** Changed in: openstack-manuals
       Status: New => Incomplete

** Also affects: nova
   Importance: Undecided
       Status: New

-- 
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/1640512

Title:
  wrong format for novncproxy_base_url

Status in OpenStack Compute (nova):
  New
Status in openstack-manuals:
  Incomplete

Bug description:
  "In the [vnc] section, enable and configure remote console access:

  [vnc]
  ...
  enabled = True
  vncserver_listen = 0.0.0.0
  vncserver_proxyclient_address = $my_ip
  novncproxy_base_url = http://controller:6080/vnc_auto.html

  The server component listens on all IP addresses and the proxy
  component only listens on the management interface IP address of the
  compute node. The base URL indicates the location where you can use a
  web browser to access remote consoles of instances on this compute
  node."

  This looks like 'controller' is used as a domain name but instead an IP is expected. With 
  'novncproxy_base_url = http://os-controller:6080/vnc_auto.html'
  in my nova.conf the following error is logged:

  2016-11-09 16:02:02.475 23828 ERROR nova Traceback (most recent call last):
  2016-11-09 16:02:02.475 23828 ERROR nova   File "/usr/bin/nova-compute", line 10, in <module>
  2016-11-09 16:02:02.475 23828 ERROR nova     sys.exit(main())
  2016-11-09 16:02:02.475 23828 ERROR nova   File "/usr/lib/python2.7/dist-packages/nova/cmd/compute.py", line 62, in main
  2016-11-09 16:02:02.475 23828 ERROR nova     service.wait()
  2016-11-09 16:02:02.475 23828 ERROR nova   File "/usr/lib/python2.7/dist-packages/nova/service.py", line 415, in wait
  2016-11-09 16:02:02.475 23828 ERROR nova     _launcher.wait()
  2016-11-09 16:02:02.475 23828 ERROR nova   File "/usr/lib/python2.7/dist-packages/oslo_service/service.py", line 328, in wait
  2016-11-09 16:02:02.475 23828 ERROR nova     status, signo = self._wait_for_exit_or_signal()
  2016-11-09 16:02:02.475 23828 ERROR nova   File "/usr/lib/python2.7/dist-packages/oslo_service/service.py", line 303, in _wait_for_exit_or_signal
  2016-11-09 16:02:02.475 23828 ERROR nova     self.conf.log_opt_values(LOG, logging.DEBUG)
  2016-11-09 16:02:02.475 23828 ERROR nova   File "/usr/lib/python2.7/dist-packages/oslo_config/cfg.py", line 2626, in log_opt_values
  2016-11-09 16:02:02.475 23828 ERROR nova     _sanitize(opt, getattr(group_attr, opt_name)))
  2016-11-09 16:02:02.475 23828 ERROR nova   File "/usr/lib/python2.7/dist-packages/oslo_config/cfg.py", line 3057, in __getattr__
  2016-11-09 16:02:02.475 23828 ERROR nova     return self._conf._get(name, self._group)
  2016-11-09 16:02:02.475 23828 ERROR nova   File "/usr/lib/python2.7/dist-packages/oslo_config/cfg.py", line 2668, in _get
  2016-11-09 16:02:02.475 23828 ERROR nova     value = self._do_get(name, group, namespace)
  2016-11-09 16:02:02.475 23828 ERROR nova   File "/usr/lib/python2.7/dist-packages/oslo_config/cfg.py", line 2711, in _do_get
  2016-11-09 16:02:02.475 23828 ERROR nova     % (opt.name, str(ve)))
  2016-11-09 16:02:02.475 23828 ERROR nova ConfigFileValueError: Value for option novncproxy_base_url is not valid: invalid URI: 'http://os-controller:6080/vnc_auto.html'

  With 
  'novncproxy_base_url = http://10.40.x.x:6080/vnc_auto.html'
  in my nova.conf the service starts successfully.

  My suggestion would be to either change the line to reflect that an IP
  is expected or file a bug against nova?

  -----------------------------------
  Release: 0.1 on 2016-11-09 11:38
  SHA: 8cac353f76b4ec663626d5111e6b10c3bb305b47
  Source: http://git.openstack.org/cgit/openstack/openstack-manuals/tree/doc/install-guide/source/nova-compute-install.rst
  URL: http://docs.openstack.org/newton/install-guide-ubuntu/nova-compute-install.html

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