The create_swift_rings_backup_container_plan workflow fails if the container already exists

Bug #1736998 reported by Dougal Matthews
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
tripleo
Fix Released
High
Dougal Matthews

Bug Description

The create_swift_rings_backup_container_plan workflow will fail on a second run because it checks for the incorrect container name.

This problem likely happened because we conflate "plan name" and "container name".

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/526462

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

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

commit 4ad2410d68c535d7833797028e3107489f7f37cb
Author: Dougal Matthews <email address hidden>
Date: Thu Dec 7 17:09:52 2017 +0000

    Correct the container name confusion in the swift rings workflow

    The create_swift_rings_backup_container_plan workflow switches between
    using the overcloud swift container and the overcloud-swift-rings
    container (if given the input "overcloud"). This patch determines the
    container name in one place and updates all uses.

    While refactoring it also removes the duplication of the
    swift-rings.tar.gz file name.

    Closes-Bug: #1736998
    Change-Id: I5f988b003ed9600a530868dedc911a4f1333e730

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

This issue was fixed in the openstack/tripleo-common 8.3.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.