[tripleo-ha-utils] domain parameter is hard-coded inside Instance HA task

Bug #1782752 reported by Raoul Scarazzini
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
tripleo
Fix Released
Medium
Raoul Scarazzini

Bug Description

The domain parameter needed to configure the nova-compute-checkevacuate resource [1] and the fence-nova stonith resource [2] today is hard-coded into the task as "localdomain".
Obviously, this can lead to problems when a user needs a different domain.

[1] https://github.com/openstack/tripleo-ha-utils/blob/master/roles/instance-ha/tasks/apply.yml#L252
[2] https://github.com/openstack/tripleo-ha-utils/blob/master/roles/instance-ha/tasks/apply.yml#L287

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to tripleo-ha-utils (master)

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

Changed in tripleo:
status: Triaged → In Progress
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to tripleo-ha-utils (master)

Reviewed: https://review.openstack.org/584364
Committed: https://git.openstack.org/cgit/openstack/tripleo-ha-utils/commit/?id=9107b7d59cdd8d6aef81c41dbe95b13874c8a496
Submitter: Zuul
Branch: master

commit 9107b7d59cdd8d6aef81c41dbe95b13874c8a496
Author: Raoul Scarazzini <email address hidden>
Date: Fri Jul 20 14:57:17 2018 +0200

    Fix hard-coded domain in instance HA role

    This commit sets a default value of "localdomain" for the domain
    parameter related to the overcloud.
    This is used inside the role while configuring nova-compute-checkevacuate
    resource and the fence-nova STONITH device. In this way, the user will
    be able to override the default by passing the overcloud_domain
    parameter in the command line.

    Fixes-Bug: #1782752
    Change-Id: Ib76523a08e43b8d9f604e9fb2544017c9800d8a9

Changed in tripleo:
status: In Progress → 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.