Allow for package repo URLs to be overridable

Bug #1414880 reported by Jimmy McCrory
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
OpenStack-Ansible
Fix Released
Wishlist
Jimmy McCrory
Icehouse
Fix Released
Wishlist
Jimmy McCrory
Juno
Fix Released
Wishlist
Jesse Pretorius
Trunk
Fix Released
Wishlist
Jimmy McCrory

Bug Description

URLs of Package repos should be overridable through rpc_user_config.yml.

Our use case being that firewalls within our datacenters prevent access to the Internet. We're mirroring the repos internally.

Also to more quickly address when a mirror is unavailable: https://bugs.launchpad.net/openstack-ansible/+bug/1403795

Changed in openstack-ansible:
assignee: nobody → Jimmy McCrory (jimmy-mccrory)
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/150252

Changed in openstack-ansible:
status: New → In Progress
Changed in openstack-ansible:
importance: Undecided → Wishlist
Revision history for this message
Jesse Pretorius (jesse-pretorius) wrote :

You can already override several of them, for example - add the following to your user config:

apt_common_repos:
  - { repo: "deb http://ftp.hosteurope.de/mirror/archive.mariadb.org/mariadb-5.5.41/repo/ubuntu/ {{ ansible_distribution_release }} main", state: "present" }

apt_lxc_common_repos:
  - { repo: "myppa", state: "present" }

get_pip_url: "https://my.host.com/get-pip.py"

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

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

commit c7f37d6efc570071e4733035a573b464e6b0d3b3
Author: Jimmy McCrory <email address hidden>
Date: Mon Jan 26 19:55:52 2015 -0800

    Store all package repo URLs in variables

    This change stores the URL of each package repo in a variable
    to allow for them to be overridable through user configuration.

    Change-Id: I2e25029dab4969181a4481af68ed802414e8d5c1
    Closes-Bug: 1414880

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

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

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

commit 2aec4ce96bebfa0b776c7269672a043b8363cc70
Author: Jimmy McCrory <email address hidden>
Date: Mon Jan 26 19:55:52 2015 -0800

    Store all package repo URLs in variables

    This change stores the URL of each package repo in a variable
    to allow for them to be overridable through user configuration.

    Change-Id: I2e25029dab4969181a4481af68ed802414e8d5c1
    Closes-Bug: 1414880
    (cherry picked from commit c7f37d6efc570071e4733035a573b464e6b0d3b3)

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

Fix proposed to branch: icehouse
Review: https://review.openstack.org/157093

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

Reviewed: https://review.openstack.org/157093
Committed: https://git.openstack.org/cgit/stackforge/os-ansible-deployment/commit/?id=a9923928c4c812c10d5abc5f29b7ba781c97d2a5
Submitter: Jenkins
Branch: icehouse

commit a9923928c4c812c10d5abc5f29b7ba781c97d2a5
Author: Jimmy McCrory <email address hidden>
Date: Mon Jan 26 19:55:52 2015 -0800

    Store all package repo URLs in variables

    This change stores the URL of each package repo in a variable
    to allow for them to be overridable through user configuration.

    Change-Id: I2e25029dab4969181a4481af68ed802414e8d5c1
    Closes-Bug: 1414880
    (cherry picked from commit c7f37d6efc570071e4733035a573b464e6b0d3b3)

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.