provide one command to extract parameters necessary to deploy DCN

Bug #1850636 reported by John Fulton
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
tripleo
Fix Released
Medium
James Slagle

Bug Description

A process is documented [1] to extract configuration from the control plane overcloud into multiple files to be used as input to subsequent DCN overcloud deployments. This LP bug tracks having tripleo-client provide a command to perform the extraction so that the user doesn't have to follow as many steps (though both processes should be supported).

Benefits of providing one command to do this include avoiding bugs like RHBZ 1762360 and simplifying operator experience.

Implementation of this change could be a variation of https://review.opendev.org/#/c/672070

[1] https://docs.openstack.org/project-deploy-guide/tripleo-docs/latest/features/distributed_compute_node.html#deploying-a-dcn-site

Revision history for this message
John Fulton (jfulton-org) wrote :

If we use an include list I started one here that works for nova instances (but not storage like cinder)

https://review.opendev.org/#/c/691938/1/deploy-guide/source/features/distributed_compute_node.rst@347

Revision history for this message
James Slagle (james-slagle) wrote :
Changed in tripleo:
assignee: nobody → James Slagle (james-slagle)
Changed in tripleo:
status: Triaged → In Progress
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Related fix proposed to python-tripleoclient (master)

Related fix proposed to branch: master
Review: https://review.opendev.org/694020

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to python-tripleoclient (master)

Reviewed: https://review.opendev.org/692909
Committed: https://git.openstack.org/cgit/openstack/python-tripleoclient/commit/?id=975f7717029b56c7a2e6113d82e166e7c63fcba2
Submitter: Zuul
Branch: master

commit 975f7717029b56c7a2e6113d82e166e7c63fcba2
Author: James Slagle <email address hidden>
Date: Mon Nov 4 15:59:10 2019 -0500

    Add openstack overcloud export

    Add a new command to export the data from a control plane stack for
    multi-stack. The created export file can be used as input into a compute
    stack for the multi-stack feature.

    Also refactors the overcloud cell export command to use the same common
    code.

    Closes-Bug: #1850636
    Change-Id: I6e145d7a54dcd306c4633ebd4d7471a19a967a86

Changed in tripleo:
status: In Progress → Fix Released
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to python-tripleoclient (stable/train)

Fix proposed to branch: stable/train
Review: https://review.opendev.org/694115

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to python-tripleoclient (stable/train)

Reviewed: https://review.opendev.org/694115
Committed: https://git.openstack.org/cgit/openstack/python-tripleoclient/commit/?id=bc6d750d8fbaef31cf0053e13742edcba1be5461
Submitter: Zuul
Branch: stable/train

commit bc6d750d8fbaef31cf0053e13742edcba1be5461
Author: James Slagle <email address hidden>
Date: Mon Nov 4 15:59:10 2019 -0500

    Add openstack overcloud export

    Add a new command to export the data from a control plane stack for
    multi-stack. The created export file can be used as input into a compute
    stack for the multi-stack feature.

    Also refactors the overcloud cell export command to use the same common
    code.

    Closes-Bug: #1850636
    Change-Id: I6e145d7a54dcd306c4633ebd4d7471a19a967a86
    (cherry picked from commit 975f7717029b56c7a2e6113d82e166e7c63fcba2)

tags: added: in-stable-train
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Related fix merged to python-tripleoclient (master)

Reviewed: https://review.opendev.org/694020
Committed: https://git.openstack.org/cgit/openstack/python-tripleoclient/commit/?id=2f16fd696d6a086404beb29fcaaf264b597338c1
Submitter: Zuul
Branch: master

commit 2f16fd696d6a086404beb29fcaaf264b597338c1
Author: Martin Schuppert <email address hidden>
Date: Wed Nov 13 10:24:41 2019 +0100

    Fix overcloud cell export after refactoring

    https://review.opendev.org/692909 introduced overcloud export and
    refactored the overcloud cell export command which introduces an
    issue when calling the cell export:

      File "/usr/lib/python2.7/site-packages/tripleoclient/v1/overcloud_cell.py",
    line 94, in take_action
        data['parameter_defaults'].update(export.export_stack(
    KeyError: 'parameter_defaults'
    'parameter_defaults'

    Change-Id: Ic6b76e31885d0e0b59a650dbd4148b245f6057d6
    Closes-Bug: #1852402
    Related-Bug: #1850636

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Related fix proposed to python-tripleoclient (stable/train)

Related fix proposed to branch: stable/train
Review: https://review.opendev.org/694231

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Related fix merged to python-tripleoclient (stable/train)

Reviewed: https://review.opendev.org/694231
Committed: https://git.openstack.org/cgit/openstack/python-tripleoclient/commit/?id=315f6d4d21780f77bd39d12be761a5c74627feca
Submitter: Zuul
Branch: stable/train

commit 315f6d4d21780f77bd39d12be761a5c74627feca
Author: Martin Schuppert <email address hidden>
Date: Wed Nov 13 10:24:41 2019 +0100

    Fix overcloud cell export after refactoring

    https://review.opendev.org/692909 introduced overcloud export and
    refactored the overcloud cell export command which introduces an
    issue when calling the cell export:

      File "/usr/lib/python2.7/site-packages/tripleoclient/v1/overcloud_cell.py",
    line 94, in take_action
        data['parameter_defaults'].update(export.export_stack(
    KeyError: 'parameter_defaults'
    'parameter_defaults'

    Change-Id: Ic6b76e31885d0e0b59a650dbd4148b245f6057d6
    Closes-Bug: #1852402
    Related-Bug: #1850636
    (cherry picked from commit 2f16fd696d6a086404beb29fcaaf264b597338c1)

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix included in openstack/python-tripleoclient 13.0.0

This issue was fixed in the openstack/python-tripleoclient 13.0.0 release.

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix included in openstack/python-tripleoclient 12.3.1

This issue was fixed in the openstack/python-tripleoclient 12.3.1 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.