lxc image download is sometimes corrupt

Bug #1482091 reported by Jesse Pretorius
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
OpenStack-Ansible
Fix Released
High
Jesse Pretorius
Kilo
Fix Released
High
Jesse Pretorius
Trunk
Fix Released
High
Jesse Pretorius

Bug Description

Sometimes the lxc base image download is corrupt, but the playbooks continue to try and use it. playbooks/roles/lxc_hosts/tasks/lxc_cache.yml should container a sha256sum verification of the image before continuing.

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

Fix proposed to branch: kilo
Review: https://review.openstack.org/209788

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

Reviewed: https://review.openstack.org/209788
Committed: https://git.openstack.org/cgit/stackforge/os-ansible-deployment/commit/?id=0ccf11eeddaad8b8f4b53e3a7cf3f33f81d208ee
Submitter: Jenkins
Branch: kilo

commit 0ccf11eeddaad8b8f4b53e3a7cf3f33f81d208ee
Author: Jesse Pretorius <email address hidden>
Date: Thu Aug 6 08:14:52 2015 +0100

    Verify lxc cache file after download

    This patch adds a sha256sum verification to the lxc cache file
    download task and also sets the task to retry.

    Change-Id: Ie6342c1ee004a3d2de2256408361259d2fb47f1b
    Closes-Bug: #1482091

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

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

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

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

commit e5440cfcbec2f15b1561d920eaa138fef2768564
Author: Jesse Pretorius <email address hidden>
Date: Thu Aug 6 08:14:52 2015 +0100

    Verify lxc cache file after download

    This patch adds a sha256sum verification to the lxc cache file
    download task and also sets the task to retry.

    Change-Id: Ie6342c1ee004a3d2de2256408361259d2fb47f1b
    Closes-Bug: #1482091
    (cherry picked from commit 0ccf11eeddaad8b8f4b53e3a7cf3f33f81d208ee)

Changed in openstack-ansible:
status: In Progress → Fix Committed
Revision history for this message
Davanum Srinivas (DIMS) (dims-v) wrote : Fix included in openstack/openstack-ansible 11.2.11

This issue was fixed in the openstack/openstack-ansible 11.2.11 release.

Revision history for this message
Doug Hellmann (doug-hellmann) wrote : Fix included in openstack/openstack-ansible 11.2.12

This issue was fixed in the openstack/openstack-ansible 11.2.12 release.

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

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