enable_consoleauth is missing a help string

Bug #1789800 reported by Takashi NATSUME on 2018-08-30
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
OpenStack Compute (nova)
Medium
Takashi NATSUME
Rocky
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'

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

Changed in nova:
status: New → In Progress
Matt Riedemann (mriedem) on 2018-09-05
Changed in nova:
importance: Undecided → Medium

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

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)

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

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  Edit
Everyone can see this information.

Other bug subscribers