repo links create multiple entries

Bug #1468587 reported by Kevin Carter
14
This bug affects 2 people
Affects Status Importance Assigned to Milestone
OpenStack-Ansible
Fix Released
Low
Kevin Carter
Kilo
Fix Released
Low
Kevin Carter
Trunk
Fix Released
Low
Kevin Carter

Bug Description

The pip config links.d directory contains link files that represent URLs that will be used to locate pip packages. In the Master/Kilo releases the `openstack_release.link` file is used to denote links to online repos however the task [ https://github.com/stackforge/os-ansible-deployment/blob/master/playbooks/roles/pip_lock_down/tasks/main.yml#L55-L62 ] uses the ansible line in file method which allows for multiple links to be created in the same file. This creates a situation where upon upgrade the user may have multiple link entries within the same file which slows down deployment and is unnecessary. The task in the pip-lock-down roles should be replaced with a template such that it contains one link entry per file.

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

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

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

commit e8a4d7bd3f364eeb8f89b0aa74cc8442eece1288
Author: kevin <email address hidden>
Date: Wed Jun 24 22:04:53 2015 -0500

    Changed link lineinfile to template

    This change ensures that all link files created are built from a template
    rather than using the lineinfile module which will result in multiple entries
    per file. While these multiple entries do not break deployments they do create
    a slower install / upgrade time.

    Change-Id: I4fef53baf075c953ac73500e72f9388f7ccfa2a0
    Closes-Bug: #1468587
    (cherry picked from commit a4179512bc8e3680a5c6e1fb702af18eb62ee841)

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.

Duplicates of this bug

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.