nova-novncproxy fails to start: NoSuchOptError: no such option in group DEFAULT: verbose

Bug #1582103 reported by Emilien Macchi
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
OpenStack Compute (nova)
Fix Released
Medium
Emilien Macchi

Bug Description

Description
===========

nova-novncproxy process fails to start, because of this error:
NoSuchOptError: no such option in group DEFAULT: verbose

Steps to reproduce
==================

1) deploy OpenStack Nova from master and oslo-config 3.9.0
2) do not configure verbose option in nova.conf, it's deprecated
3) start nova-novncproxy

Expected result
===============
nova-novncproxy should start without error.

Actual result
=============

nova-novncproxy starts with error:

CRITICAL nova [-] NoSuchOptError: no such option in group DEFAULT: verbose
ERROR nova Traceback (most recent call last):
ERROR nova File "/usr/bin/nova-novncproxy", line 10, in <module>
ERROR nova sys.exit(main())
ERROR nova File "/usr/lib/python2.7/site-packages/nova/cmd/novncproxy.py", line 41, in main
ERROR nova port=CONF.vnc.novncproxy_port)
ERROR nova File "/usr/lib/python2.7/site-packages/nova/cmd/baseproxy.py", line 59, in proxy
ERROR nova verbose=CONF.verbose,
ERROR nova File "/usr/lib/python2.7/site-packages/oslo_config/cfg.py", line 2189, in __getattr__
ERROR nova raise NoSuchOptError(name)
ERROR nova NoSuchOptError: no such option in group DEFAULT: verbose

Environment
===========

Nova was deployed by Puppet OpenStack CI using RDO packaging from trunk (current master).

List of packages:
http://logs.openstack.org/20/316520/2/check/gate-puppet-openstack-integration-3-scenario001-tempest-centos-7/f2c0699/logs/rpm-qa.txt.gz

Nova logs: http://logs.openstack.org/20/316520/2/check/gate-puppet-openstack-integration-3-scenario001-tempest-centos-7/f2c0699/logs/nova/nova-novncproxy.txt.gz

Nova config: http://logs.openstack.org/20/316520/2/check/gate-puppet-openstack-integration-3-scenario001-tempest-centos-7/f2c0699/logs/etc/nova/nova.conf.txt.gz

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to nova (master)

Fix proposed to branch: master
Review: https://review.openstack.org/316610

Changed in nova:
assignee: nobody → Emilien Macchi (emilienm)
status: New → In Progress
Revision history for this message
Matt Riedemann (mriedem) wrote :

This isn't a breaking change for nova right now because the oslo.log change 7c671ea77f4d7701d0def9a9e17b6c49310ca438 that removed the verbose option isn't released yet. So yes it's deprecated and we should clean it up, it's not breaking yet unless you're using the master trunk code from oslo.log.

Changed in nova:
importance: Undecided → High
importance: High → Medium
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to nova (master)

Reviewed: https://review.openstack.org/316610
Committed: https://git.openstack.org/cgit/openstack/nova/commit/?id=77f995811fcf32c7f017ac2cbb18e4344661dd70
Submitter: Jenkins
Branch: master

commit 77f995811fcf32c7f017ac2cbb18e4344661dd70
Author: Emilien Macchi <email address hidden>
Date: Mon May 16 09:24:34 2016 +0200

    baseproxy: stop requiring CONF.verbose

    Option "verbose" from group "DEFAULT" was deprecated for removal during
    Mitaka, and has been removing during Newton.

    It has been dropped by oslo.config and nova-novncproxy now fails to
    start:
    NoSuchOptError: no such option in group DEFAULT: verbose

    This patch aims to stop requiring CONF.verbose that does not exist
    anymore.

    Change-Id: I9533666db73390f28656ffcb1e84fadd51321e91
    Closes-Bug: #1582103

Changed in nova:
status: In Progress → Fix Released
Revision history for this message
Davanum Srinivas (DIMS) (dims-v) wrote : Fix included in openstack/nova 14.0.0.0b1

This issue was fixed in the openstack/nova 14.0.0.0b1 development milestone.

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.