Public bug reported: Description =========== Nova does not allow to use FQDN in the configuration.
Steps to reproduce ================== Configure following setup with FQDN in /etc/nova/nova.conf [vnc] novncproxy_base_url = http://controller01.example.com:6080/vnc_auto.html [neutron] url = http://controller01.example.com:9696 Expected result =============== That it accepts the FQDN. Actual result ============= ConfigFileValueError: Value for option novncproxy_base_url is not valid: invalid URI: 'http://controller01.example.com:6080/vnc_auto.html' Environment =========== Fresh upgrade from Mitaka to Newton on Ubuntu 16.04. # dpkg -l nova* Desired=Unknown/Install/Remove/Purge/Hold | Status=Not/Inst/Conf-files/Unpacked/halF-conf/Half-inst/trig-aWait/Trig-pend |/ Err?=(none)/Reinst-required (Status,Err: uppercase=bad) ||/ Name Version Architecture Description +++-==============================================-============================-============================-================================================================================================== ii nova-api 2:14.0.1-0ubuntu1~cloud0 all OpenStack Compute - API frontend ii nova-cert 2:14.0.1-0ubuntu1~cloud0 all OpenStack Compute - certificate management ii nova-common 2:14.0.1-0ubuntu1~cloud0 all OpenStack Compute - common files ii nova-conductor 2:14.0.1-0ubuntu1~cloud0 all OpenStack Compute - conductor service un nova-console <none> <none> (no description available) ii nova-consoleauth 2:14.0.1-0ubuntu1~cloud0 all OpenStack Compute - Console Authenticator ii nova-novncproxy 2:14.0.1-0ubuntu1~cloud0 all OpenStack Compute - NoVNC proxy ii nova-scheduler 2:14.0.1-0ubuntu1~cloud0 all OpenStack Compute - virtual machine scheduler Logs & Configs ============== 2017-01-03 13:35:04.835 3720 ERROR nova Traceback (most recent call last): 2017-01-03 13:35:04.835 3720 ERROR nova File "/usr/bin/nova-scheduler", line 10, in <module> 2017-01-03 13:35:04.835 3720 ERROR nova sys.exit(main()) 2017-01-03 13:35:04.835 3720 ERROR nova File "/usr/lib/python2.7/dist-packages/nova/cmd/scheduler.py", line 45, in main 2017-01-03 13:35:04.835 3720 ERROR nova service.wait() 2017-01-03 13:35:04.835 3720 ERROR nova File "/usr/lib/python2.7/dist-packages/nova/service.py", line 415, in wait 2017-01-03 13:35:04.835 3720 ERROR nova _launcher.wait() 2017-01-03 13:35:04.835 3720 ERROR nova File "/usr/lib/python2.7/dist-packages/oslo_service/service.py", line 328, in wait 2017-01-03 13:35:04.835 3720 ERROR nova status, signo = self._wait_for_exit_or_signal() 2017-01-03 13:35:04.835 3720 ERROR nova File "/usr/lib/python2.7/dist-packages/oslo_service/service.py", line 303, in _wait_for_exit_or_signal 2017-01-03 13:35:04.835 3720 ERROR nova self.conf.log_opt_values(LOG, logging.DEBUG) 2017-01-03 13:35:04.835 3720 ERROR nova File "/usr/lib/python2.7/dist-packages/oslo_config/cfg.py", line 2626, in log_opt_values 2017-01-03 13:35:04.835 3720 ERROR nova _sanitize(opt, getattr(group_attr, opt_name))) 2017-01-03 13:35:04.835 3720 ERROR nova File "/usr/lib/python2.7/dist-packages/oslo_config/cfg.py", line 3057, in __getattr__ 2017-01-03 13:35:04.835 3720 ERROR nova return self._conf._get(name, self._group) 2017-01-03 13:35:04.835 3720 ERROR nova File "/usr/lib/python2.7/dist-packages/oslo_config/cfg.py", line 2668, in _get 2017-01-03 13:35:04.835 3720 ERROR nova value = self._do_get(name, group, namespace) 2017-01-03 13:35:04.835 3720 ERROR nova File "/usr/lib/python2.7/dist-packages/oslo_config/cfg.py", line 2711, in _do_get 2017-01-03 13:35:04.835 3720 ERROR nova % (opt.name, str(ve))) 2017-01-03 13:35:04.835 3720 ERROR nova ConfigFileValueError: Value for option novncproxy_base_url is not valid: invalid URI: 'http://controller01.example.com:6080/vnc_auto.html' 2017-01-03 13:35:04.835 3720 ERROR nova ** 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/1653688 Title: nova does not accept fqdn Status in OpenStack Compute (nova): New Bug description: Description =========== Nova does not allow to use FQDN in the configuration. Steps to reproduce ================== Configure following setup with FQDN in /etc/nova/nova.conf [vnc] novncproxy_base_url = http://controller01.example.com:6080/vnc_auto.html [neutron] url = http://controller01.example.com:9696 Expected result =============== That it accepts the FQDN. Actual result ============= ConfigFileValueError: Value for option novncproxy_base_url is not valid: invalid URI: 'http://controller01.example.com:6080/vnc_auto.html' Environment =========== Fresh upgrade from Mitaka to Newton on Ubuntu 16.04. # dpkg -l nova* Desired=Unknown/Install/Remove/Purge/Hold | Status=Not/Inst/Conf-files/Unpacked/halF-conf/Half-inst/trig-aWait/Trig-pend |/ Err?=(none)/Reinst-required (Status,Err: uppercase=bad) ||/ Name Version Architecture Description +++-==============================================-============================-============================-================================================================================================== ii nova-api 2:14.0.1-0ubuntu1~cloud0 all OpenStack Compute - API frontend ii nova-cert 2:14.0.1-0ubuntu1~cloud0 all OpenStack Compute - certificate management ii nova-common 2:14.0.1-0ubuntu1~cloud0 all OpenStack Compute - common files ii nova-conductor 2:14.0.1-0ubuntu1~cloud0 all OpenStack Compute - conductor service un nova-console <none> <none> (no description available) ii nova-consoleauth 2:14.0.1-0ubuntu1~cloud0 all OpenStack Compute - Console Authenticator ii nova-novncproxy 2:14.0.1-0ubuntu1~cloud0 all OpenStack Compute - NoVNC proxy ii nova-scheduler 2:14.0.1-0ubuntu1~cloud0 all OpenStack Compute - virtual machine scheduler Logs & Configs ============== 2017-01-03 13:35:04.835 3720 ERROR nova Traceback (most recent call last): 2017-01-03 13:35:04.835 3720 ERROR nova File "/usr/bin/nova-scheduler", line 10, in <module> 2017-01-03 13:35:04.835 3720 ERROR nova sys.exit(main()) 2017-01-03 13:35:04.835 3720 ERROR nova File "/usr/lib/python2.7/dist-packages/nova/cmd/scheduler.py", line 45, in main 2017-01-03 13:35:04.835 3720 ERROR nova service.wait() 2017-01-03 13:35:04.835 3720 ERROR nova File "/usr/lib/python2.7/dist-packages/nova/service.py", line 415, in wait 2017-01-03 13:35:04.835 3720 ERROR nova _launcher.wait() 2017-01-03 13:35:04.835 3720 ERROR nova File "/usr/lib/python2.7/dist-packages/oslo_service/service.py", line 328, in wait 2017-01-03 13:35:04.835 3720 ERROR nova status, signo = self._wait_for_exit_or_signal() 2017-01-03 13:35:04.835 3720 ERROR nova File "/usr/lib/python2.7/dist-packages/oslo_service/service.py", line 303, in _wait_for_exit_or_signal 2017-01-03 13:35:04.835 3720 ERROR nova self.conf.log_opt_values(LOG, logging.DEBUG) 2017-01-03 13:35:04.835 3720 ERROR nova File "/usr/lib/python2.7/dist-packages/oslo_config/cfg.py", line 2626, in log_opt_values 2017-01-03 13:35:04.835 3720 ERROR nova _sanitize(opt, getattr(group_attr, opt_name))) 2017-01-03 13:35:04.835 3720 ERROR nova File "/usr/lib/python2.7/dist-packages/oslo_config/cfg.py", line 3057, in __getattr__ 2017-01-03 13:35:04.835 3720 ERROR nova return self._conf._get(name, self._group) 2017-01-03 13:35:04.835 3720 ERROR nova File "/usr/lib/python2.7/dist-packages/oslo_config/cfg.py", line 2668, in _get 2017-01-03 13:35:04.835 3720 ERROR nova value = self._do_get(name, group, namespace) 2017-01-03 13:35:04.835 3720 ERROR nova File "/usr/lib/python2.7/dist-packages/oslo_config/cfg.py", line 2711, in _do_get 2017-01-03 13:35:04.835 3720 ERROR nova % (opt.name, str(ve))) 2017-01-03 13:35:04.835 3720 ERROR nova ConfigFileValueError: Value for option novncproxy_base_url is not valid: invalid URI: 'http://controller01.example.com:6080/vnc_auto.html' 2017-01-03 13:35:04.835 3720 ERROR nova To manage notifications about this bug go to: https://bugs.launchpad.net/nova/+bug/1653688/+subscriptions -- Mailing list: https://launchpad.net/~yahoo-eng-team Post to : [email protected] Unsubscribe : https://launchpad.net/~yahoo-eng-team More help : https://help.launchpad.net/ListHelp

