apt/yum cache causes problems when rebuilding

Bug #1632826 reported by Jesse Pretorius
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
OpenStack-Ansible
Fix Released
Low
Jesse Pretorius

Bug Description

During some deployments there may be a failure which requires a rebuild of the repo container. During upgrades the repo container may be destroyed with the purpose of rebuilding it.

playbooks/common-tasks/package-cache-proxy.yml should validate whether the proxy is available and if it is not it should remove the apt cache configuration.

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

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

Changed in openstack-ansible:
assignee: nobody → Kevin Carter (kevin-carter)
status: New → In Progress
Changed in openstack-ansible:
assignee: Kevin Carter (kevin-carter) → Jesse Pretorius (jesse-pretorius)
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to openstack-ansible (master)

Reviewed: https://review.openstack.org/385625
Committed: https://git.openstack.org/cgit/openstack/openstack-ansible/commit/?id=52d7ae839788d766253e52be39b3fb0a6b38d246
Submitter: Jenkins
Branch: master

commit 52d7ae839788d766253e52be39b3fb0a6b38d246
Author: Kevin Carter <email address hidden>
Date: Wed Oct 12 16:39:52 2016 -0500

    Change the common proxy cache manage tasks to be stateful

    In certain situation the proxy cache manager may be down, misconfigured,
    or otherwise not available. To ensure a consistent environment and give
    the deployer a better build experience, especially in the case of an
    AIO, the proxy cache common task has been changed to test for cache
    availability and add/remove the cache files based on that test.

    Change-Id: Ibd0186d67a844ec7b79f423adfb8104d13f72ca5
    Closes-Bug: #1632826
    Signed-off-by: Kevin Carter <email address hidden>

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

Fix proposed to branch: stable/newton
Review: https://review.openstack.org/385757

Changed in openstack-ansible:
importance: Undecided → Low
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to openstack-ansible (stable/newton)

Reviewed: https://review.openstack.org/385757
Committed: https://git.openstack.org/cgit/openstack/openstack-ansible/commit/?id=2d558be0ecee250b5bfb7ba7a6806a1a1a79dbc9
Submitter: Jenkins
Branch: stable/newton

commit 2d558be0ecee250b5bfb7ba7a6806a1a1a79dbc9
Author: Kevin Carter <email address hidden>
Date: Wed Oct 12 16:39:52 2016 -0500

    Change the common proxy cache manage tasks to be stateful

    In certain situation the proxy cache manager may be down, misconfigured,
    or otherwise not available. To ensure a consistent environment and give
    the deployer a better build experience, especially in the case of an
    AIO, the proxy cache common task has been changed to test for cache
    availability and add/remove the cache files based on that test.

    Change-Id: Ibd0186d67a844ec7b79f423adfb8104d13f72ca5
    Closes-Bug: #1632826
    Signed-off-by: Kevin Carter <email address hidden>
    (cherry picked from commit 52d7ae839788d766253e52be39b3fb0a6b38d246)

tags: added: in-stable-newton
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix included in openstack/openstack-ansible 14.0.0.0rc3

This issue was fixed in the openstack/openstack-ansible 14.0.0.0rc3 release candidate.

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix included in openstack/openstack-ansible 15.0.0.0b1

This issue was fixed in the openstack/openstack-ansible 15.0.0.0b1 development milestone.

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.