service consoleauth does not start: "no such option: consoleauth_topic"

Bug #1503975 reported by yong sheng gong
44
This bug affects 9 people
Affects Status Importance Assigned to Milestone
OpenStack Compute (nova)
Fix Released
High
Sylvain Bauza

Bug Description

[gongysh@fedora22 nova]$ /usr/bin/nova-consoleauth --config-file /etc/nova/nova.conf
No handlers could be found for logger "oslo_config.cfg"
2015-10-08 14:25:50.996 31923 CRITICAL nova [-] NoSuchOptError: no such option: consoleauth_topic
2015-10-08 14:25:50.996 31923 ERROR nova Traceback (most recent call last):
2015-10-08 14:25:50.996 31923 ERROR nova File "/usr/bin/nova-consoleauth", line 10, in <module>
2015-10-08 14:25:50.996 31923 ERROR nova sys.exit(main())
2015-10-08 14:25:50.996 31923 ERROR nova File "/mnt/data3/opt/stack/nova/nova/cmd/consoleauth.py", line 40, in main
2015-10-08 14:25:50.996 31923 ERROR nova topic=CONF.consoleauth_topic)
2015-10-08 14:25:50.996 31923 ERROR nova File "/usr/lib/python2.7/site-packages/oslo_config/cfg.py", line 1902, in __getattr__
2015-10-08 14:25:50.996 31923 ERROR nova raise NoSuchOptError(name)
2015-10-08 14:25:50.996 31923 ERROR nova NoSuchOptError: no such option: consoleauth_topic
2015-10-08 14:25:50.996 31923 ERROR nova

Changed in nova:
assignee: nobody → yong sheng gong (gongysh)
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/232367

Changed in nova:
status: New → In Progress
Changed in nova:
importance: Undecided → High
tags: added: console
summary: - no such option: consoleauth_topic
+ service consoleauth does not start: "no such option: consoleauth_topic"
tags: added: liberty-rc-potential
Changed in nova:
milestone: none → liberty-rc2
Changed in nova:
milestone: liberty-rc2 → none
tags: added: needs-functional-test
Changed in nova:
assignee: yong sheng gong (gongysh) → Sylvain Bauza (sylvain-bauza)
Revision history for this message
Sylvain Bauza (sylvain-bauza) wrote :

so, the team found that it was coming from https://review.openstack.org/#/c/168858/8/nova/conductor/manager.py,cm which removes the call to nova.compute.api (which was import nova.consoleauth)

Since the change has been merged for Mitaka, there is no need to backport it to Liberty

tags: removed: liberty-rc-potential
Revision history for this message
Richard Hagarty (richard-hagarty) wrote :

still seeing this issue, even after pulling from master (which had patch https://review.openstack.org/#/c/168858)

Revision history for this message
Abhishek Raut (abhraut) wrote :

@Richard: If you are on master, cherry-pick https://review.openstack.org/#/c/232367/ and then you will be good to go

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

Reviewed: https://review.openstack.org/232367
Committed: https://git.openstack.org/cgit/openstack/nova/commit/?id=8d9b14453635109e2b9310cfd8109963d6013f77
Submitter: Jenkins
Branch: master

commit 8d9b14453635109e2b9310cfd8109963d6013f77
Author: gong yong sheng <gong.yongsheng@99cloud.net>
Date: Thu Oct 8 14:42:35 2015 +0800

    load consoleauth_topic option before using it

    The module wasn't correctly importing the opt, leading to a
    NoSuchOptError if the option wasn't provided before calling.

    Change-Id: I206af1a1532d4608bbcb5edb42d46d392b5c44ff
    Closes-bug: #1503975

Changed in nova:
status: In Progress → Fix Committed
Changed in nova:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

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