enable_consoleauth is missing a help string

Bug #1789800 reported by Takashi Natsume
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
OpenStack Compute (nova)
Fix Released
Medium
Takashi Natsume
Rocky
Fix Committed
Medium
Takashi Natsume

Bug Description

The 'enable_consoleauth' config option is missing a help string.

nova master (commit 06e5a22bc6ab800f5fea6e676909d16cac7b79a3)

stack@devstack-master:/tmp/nova$ tox -e genconfig
genconfig create: /tmp/nova/.tox/shared
genconfig installdeps: -r/tmp/nova/test-requirements.txt
genconfig develop-inst: /tmp/nova
(snipped...)
genconfig runtests: commands[0] | oslo-config-generator --config-file=etc/nova/nova-config-generator.conf
WARNING:oslo_config.generator:"enable_consoleauth" is missing a help string

The sample generation is failed in etc/nova/nova.conf.sample.

# Warning: Failed to format sample for enable_consoleauth
# 'NoneType' object has no attribute 'startswith'

Tags: config
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/597986

Changed in nova:
status: New → In Progress
Matt Riedemann (mriedem)
Changed in nova:
importance: Undecided → Medium
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to nova (master)

Reviewed: https://review.openstack.org/597986
Committed: https://git.openstack.org/cgit/openstack/nova/commit/?id=ad1d9bd66e6a1c3538b426021962470599e480c5
Submitter: Zuul
Branch: master

commit ad1d9bd66e6a1c3538b426021962470599e480c5
Author: Takashi NATSUME <email address hidden>
Date: Thu Aug 30 13:46:22 2018 +0900

    Fix a failure to format config sample

    A help string of 'enable_consoleauth' is missing
    in nova/conf/workarounds.py.
    So formatting sample for enable_consoleauth is failed.

    This patch fixes it.

    Change-Id: Iad799099028f15948733451556207e7a77c1517b
    Closes-Bug: #1789800

Changed in nova:
status: In Progress → Fix Released
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to nova (stable/rocky)

Fix proposed to branch: stable/rocky
Review: https://review.openstack.org/600336

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

Reviewed: https://review.openstack.org/600336
Committed: https://git.openstack.org/cgit/openstack/nova/commit/?id=cd0a0ef0e2810349a5bd645a9723c20aa2bab990
Submitter: Zuul
Branch: stable/rocky

commit cd0a0ef0e2810349a5bd645a9723c20aa2bab990
Author: Takashi NATSUME <email address hidden>
Date: Thu Aug 30 13:46:22 2018 +0900

    Fix a failure to format config sample

    A help string of 'enable_consoleauth' is missing
    in nova/conf/workarounds.py.
    So formatting sample for enable_consoleauth is failed.

    This patch fixes it.

    Change-Id: Iad799099028f15948733451556207e7a77c1517b
    Closes-Bug: #1789800
    (cherry picked from commit ad1d9bd66e6a1c3538b426021962470599e480c5)

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix included in openstack/nova 18.0.1

This issue was fixed in the openstack/nova 18.0.1 release.

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix included in openstack/nova 19.0.0.0rc1

This issue was fixed in the openstack/nova 19.0.0.0rc1 release candidate.

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.