nova-compute charm only reports JUJU_AZ setting not config setting

Bug #1925412 reported by Billy Olsen
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
OpenStack Nova Compute Charm
Fix Released
High
Billy Olsen

Bug Description

Commit 9f4369d9 added a feature to set the availability zone as part of the cloud-compute relation to nova-cloud-controller so that the host aggregates can be configured in Nova via a new sync command. However, the nova-compute charm only sets the value based on the JUJU_AVAILABILITY_ZONE setting. This should use the utils method get_availability_zone() which will return the availability zone that is configured for the nova-compute services themselves.

Changed in charm-nova-compute:
status: New → In Progress
importance: Undecided → High
assignee: nobody → Billy Olsen (billy-olsen)
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to charm-nova-compute (master)
Changed in charm-nova-compute:
milestone: none → 21.04
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to charm-nova-compute (master)

Reviewed: https://review.opendev.org/c/openstack/charm-nova-compute/+/787470
Committed: https://opendev.org/openstack/charm-nova-compute/commit/bfc3436a32b7f5d82e662a4fc46083e2b76f6209
Submitter: "Zuul (22348)"
Branch: master

commit bfc3436a32b7f5d82e662a4fc46083e2b76f6209
Author: Billy Olsen <email address hidden>
Date: Wed Apr 21 20:48:46 2021 -0700

    Use get_availability_zone() on cloud-compute relation

    Commit 9f4369d9 added a feature to set the availability zone of
    the nova-compute unit on the cloud-compute relation. This uses the
    value of the JUJU_AVAILABILITY_ZONE environment variable, which is
    not consistent with how the nova-compute service sets its availability
    zone.

    Use the nova_compute_utils.get_availability_zone() method instead.

    Closes-Bug #1925412

    Change-Id: Ie68ecd808a60baf0d5bfe526f4355ce3c7ae5c77

Changed in charm-nova-compute:
status: In Progress → Fix Committed
Changed in charm-nova-compute:
status: Fix Committed → Fix Released
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.