overcloud generate fencing command is currently (rocky) broken

Bug #1779168 reported by Michele Baldessari
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
tripleo
Fix Released
High
Michele Baldessari

Bug Description

On master this command is currently broken:
(undercloud) [stack@undercloud ~]$ openstack overcloud generate fencing instackenv.json --output fencing.yaml
Invalid input [name=generate_fencing_parameters, class=DirectWorkflowSpec, missing=['os_auth', 'fence_action']]

The reason for this is that via (A) I63f3a579af5aa70080f8c9cdd5eb0e8f5b3d17da (Add workflow to generate fencing parameters) we moved to use a workflow in order to generate fencing parameters. This workflow
took a bunch of inputs which we then deprecated via two different ways:

(B) os_auth
https://review.openstack.org/#/c/570349/ and https://review.openstack.org/#/c/567896/ we removed some for pxe_ssh but we did not do it fully.

(C) fence_action
Same goes for https://review.openstack.org/#/c/550028/ and https://review.openstack.org/#/c/556211/ we removed fence_action but since the

Problem is that the review at (A) got proposed before(B) and (C), but was merged after them. So it was never amended to account for the changes introduced in (B) and (C)

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

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

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

Reviewed: https://review.openstack.org/578859
Committed: https://git.openstack.org/cgit/openstack/tripleo-common/commit/?id=d830d0b15e5853118200c1cb221ee1c44b321193
Submitter: Zuul
Branch: master

commit d830d0b15e5853118200c1cb221ee1c44b321193
Author: Michele Baldessari <email address hidden>
Date: Thu Jun 28 17:46:37 2018 +0200

    Fix generate fencing command

    On master this command is currently broken:
    (undercloud) [stack@undercloud ~]$ openstack overcloud generate fencing instackenv.json --output fencing.yaml
    Invalid input [name=generate_fencing_parameters, class=DirectWorkflowSpec, missing=['os_auth', 'fence_action']]

    The reason for this is that via (A)
    I63f3a579af5aa70080f8c9cdd5eb0e8f5b3d17da (Add workflow to generate
    fencing parameters) we moved to use a workflow in order to generate
    fencing parameters. This workflow took a bunch of inputs which we then
    deprecated via two different ways:

    (B) os_auth
    https://review.openstack.org/#/c/570349/ and
    https://review.openstack.org/#/c/567896/ we removed some for pxe_ssh but
    we did not do it fully in the workbooks

    (C) fence_action
    Same goes for https://review.openstack.org/#/c/550028/ and
    https://review.openstack.org/#/c/556211/ we removed fence_action but
    since the workflow still used it as a parameter we broke things

    Problem is that the review at (A) got proposed before(B) and (C), but
    was merged after them. So it was never amended to account for the
    changes introduced in (B) and (C). This change amends things so that
    the command works correctly again:
    (undercloud) [stack@undercloud ~]$ openstack overcloud generate fencing instackenv.json --output fencing.yaml
    (undercloud) [stack@undercloud ~]$ ls -l fencing.yaml
    -rw-rw-r--. 1 stack stack 513 Jun 28 15:46 fencing.yaml

    Change-Id: I0262c493c217b64891e7da1bb3853b0d1366faef
    Closes-Bug: #1779168

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

This issue was fixed in the openstack/tripleo-common 9.2.0 release.

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.