Remove server pip conf upgrade playbook is broken

Bug #1566915 reported by Ian Cordasco
10
This bug affects 2 people
Affects Status Importance Assigned to Milestone
OpenStack-Ansible
Invalid
Undecided
Unassigned
Liberty
Fix Committed
High
Ian Cordasco

Bug Description

There are presently two bugs in the liberty upgrade utilities for the removal of pip.conf: https://git.openstack.org/cgit/openstack/openstack-ansible/tree/scripts/upgrade-utilities/playbooks/repo-server-pip-conf-removal.yml?h=liberty

The first is that `gather_facts` should be `true` otherwise `ansible_env` will be undefined which will prevent its usage below.

The second is that `path` is required instead of `src` for the file module.

Ian Cordasco (icordasc)
Changed in openstack-ansible:
status: Triaged → Invalid
importance: High → Undecided
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to openstack-ansible (liberty)

Fix proposed to branch: liberty
Review: https://review.openstack.org/302419

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

Reviewed: https://review.openstack.org/302419
Committed: https://git.openstack.org/cgit/openstack/openstack-ansible/commit/?id=b7c410df5f6c12fb649b795016ebfb0d820688cd
Submitter: Jenkins
Branch: liberty

commit b7c410df5f6c12fb649b795016ebfb0d820688cd
Author: Ian Cordasco <email address hidden>
Date: Wed Apr 6 14:49:57 2016 -0500

    Fix repository server upgrades

    When upgrading the repository server, the pip.conf needs to be absent
    for the upgrade to succeed. In order for the playbook to succeed which
    performs this action, we need to gather facts for ``ansible_env`` to be
    defined and to appropriately use ansible's file module.

    Closes-Bug: #1566915
    Change-Id: I0e6078adbc3260ea7df816a485b93e606cd5f131

Revision history for this message
Davanum Srinivas (DIMS) (dims-v) wrote : Fix included in openstack/openstack-ansible 12.0.11

This issue was fixed in the openstack/openstack-ansible 12.0.11 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.