Unsetting '[DEFAULT] dhcp_domain' results in hostname corruption

Bug #1824813 reported by Stephen Finucane
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
OpenStack Compute (nova)
Fix Released
Low
Stephen Finucane

Bug Description

Unsetting '[DEFAULT] dhcp_domain' will result in the metadata service/config drive reporting an instance hostname of '${hostname}None' instead of '${hostname}'. This is clearly incorrect behavior.

Changed in nova:
status: New → Confirmed
importance: Undecided → Low
assignee: nobody → Stephen Finucane (stephenfinucane)
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/652662

Changed in nova:
status: Confirmed → In Progress
Changed in nova:
assignee: Stephen Finucane (stephenfinucane) → Matt Riedemann (mriedem)
Matt Riedemann (mriedem)
Changed in nova:
assignee: Matt Riedemann (mriedem) → Stephen Finucane (stephenfinucane)
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to nova (master)

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

commit 97549a2c416873ed0ef4a497095524516386579c
Author: Stephen Finucane <email address hidden>
Date: Mon Apr 15 14:34:55 2019 +0100

    Handle unsetting '[DEFAULT] dhcp_domain'

    Fix a long-standing issue whereby setting 'dhcp_domain' to 'None' would
    result in a hostname of '${hostname}None' instead of '${hostname}'.

    Change-Id: Ic9aa74f5344ba469b61a87de1ebd27e6f49c3318
    Closes-Bug: #1824813

Changed in nova:
status: In Progress → Fix Released
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix included in openstack/nova 20.0.0.0rc1

This issue was fixed in the openstack/nova 20.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.