AIO fails when DEPLOY_SWIFT is no

Bug #1406323 reported by Miguel Alejandro Cantu
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
OpenStack-Ansible
Invalid
Low
Miguel Alejandro Cantu
Juno
Fix Released
Low
Jesse Pretorius

Bug Description

The swift-all plays still run even though the DEPLOY_SWIFT variable is set to no.
This will result in the following:

TASK: [swift_common | Drop swift.conf template] *******************************
fatal: [localhost] => {'msg': "One or more undefined variables: 'swift' is undefined", 'failed': True}
fatal: [localhost] => {'msg': "One or more undefined variables: 'swift' is undefined", 'failed': True}

and in turn cause the entire script to fail.

Revision history for this message
Jesse Pretorius (jesse-pretorius) wrote :
Changed in openstack-ansible:
assignee: nobody → Miguel Alejandro Cantu (miguel-cantu)
importance: Undecided → Low
Changed in openstack-ansible:
status: New → Confirmed
Changed in openstack-ansible:
status: Confirmed → In Progress
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to os-ansible-deployment (master)

Reviewed: https://review.openstack.org/144346
Committed: https://git.openstack.org/cgit/stackforge/os-ansible-deployment/commit/?id=f45d9e6a463e88ba2535a06cd9380ac99dee4f77
Submitter: Jenkins
Branch: master

commit f45d9e6a463e88ba2535a06cd9380ac99dee4f77
Author: Miguel Alex Cantu <email address hidden>
Date: Mon Dec 29 13:11:13 2014 -0600

    Adds conditional for swift-all plays

    This check to see if the DEPLOY_SWIFT variable is set to yes before
    running the swift-all plays.

    Change-Id: Ia65449d987cccac8a3086005a36eb24ef52fc603
    Closes-Bug: 1406323

Changed in openstack-ansible:
status: In Progress → Fix Committed
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to os-ansible-deployment (juno)

Fix proposed to branch: juno
Review: https://review.openstack.org/148945

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Change abandoned on os-ansible-deployment (juno)

Change abandoned by Jesse Pretorius (<email address hidden>) on branch: juno
Review: https://review.openstack.org/148945
Reason: This patch can't be added individually in this branch - it needs to be squashed with other patches which combined together get gating working.

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to os-ansible-deployment (juno)

Fix proposed to branch: juno
Review: https://review.openstack.org/149230

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Change abandoned on os-ansible-deployment (juno)

Change abandoned by Jesse Pretorius (<email address hidden>) on branch: juno
Review: https://review.openstack.org/149230
Reason: I made a mistake with the commit message.

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to os-ansible-deployment (juno)

Reviewed: https://review.openstack.org/149209
Committed: https://git.openstack.org/cgit/stackforge/os-ansible-deployment/commit/?id=e01165bcc729ba151473dfe3199f913906e8d4b9
Submitter: Jenkins
Branch: juno

commit e01165bcc729ba151473dfe3199f913906e8d4b9
Author: Jesse Pretorius <email address hidden>
Date: Mon Jan 19 17:47:38 2015 +0000

    Squash all patches required to make gating work

    This is a merge of the following patches:
    62d2525 Fixed generator type assumption error
    1339640 Allow swift_vars to not be specified for swift_hosts
    735eb68 AIO to use https to access the frozen repo
    033df65 use archive.mariadb.org for to install mariadb package
    8b9cf6e Use reliable static mirror for mariadb apt repository
    b30f9d1 Add debootstrap package to LXC package list
    5c464e1 Add swift_all inventory to swift-common play
    a88bcb7 Add swift_all inventory to swift account/container/object plays

    Change-Id: I630e38b35a00fe547ec3aaa68604a5902be4f83e
    Closes-Bug: #1399387
    Closes-Bug: #1406323
    Closes-Bug: #1399387
    Closes-Bug: #1402582
    Closes-Bug: #1402594
    Closes-Bug: #1402617
    Closes-Bug: #1409762
    Closes-Bug: #1410743
    Closes-Bug: #1411331
    Closes-Bug: #1412521

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Change abandoned on os-ansible-deployment (juno)

Change abandoned by Jesse Pretorius (<email address hidden>) on branch: juno
Review: https://review.openstack.org/149230
Reason: mistaken commit

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to os-ansible-deployment (juno)

Reviewed: https://review.openstack.org/148945
Committed: https://git.openstack.org/cgit/stackforge/os-ansible-deployment/commit/?id=1ae0fe55236e2df0ae0a16b9e705e065d9adb0b7
Submitter: Jenkins
Branch: juno

commit 1ae0fe55236e2df0ae0a16b9e705e065d9adb0b7
Author: Miguel Alex Cantu <email address hidden>
Date: Mon Dec 29 13:11:13 2014 -0600

    Adds conditional for swift-all plays

    This check to see if the DEPLOY_SWIFT variable is set to yes before
    running the swift-all plays.

    Change-Id: Ia65449d987cccac8a3086005a36eb24ef52fc603
    Closes-Bug: #1406323
    Related-Bug: #1409762
    (cherry picked from commit f45d9e6a463e88ba2535a06cd9380ac99dee4f77)

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Change abandoned on os-ansible-deployment (juno)

Change abandoned by Jesse Pretorius (<email address hidden>) on branch: juno
Review: https://review.openstack.org/149230
Reason: never mind - borked

Changed in openstack-ansible:
status: Fix Committed → Invalid
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.