Filenames not parameterized by release in /etc/apt/sources.list.d/

Bug #1293796 reported by Mark T. Voelker
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Cisco Openstack
Fix Released
Medium
boddepalli srikanth

Bug Description

The puppet-coe module is responsible for setting up our apt repositories. They have a parameter for the openstack release version:

https://github.com/CiscoSystems/puppet-coe/blob/h.2/manifests/base.pp#L14

That parameter allows you to set the correct file contents in /etc/apt/sources.list.d/cisco-openstack-mirror_havana.list and cisco_supplemental-openstack-mirror_havana to point the right major version of OpenStack. However, we don't use that parameter in naming the files themselves, so for example in our Icehouse development builds right now you end up with:

root@compute01:~# cat /etc/apt/sources.list.d/cisco-openstack-mirror_havana.list # cisco-openstack-mirror_havana
deb http://openstack-repo.cisco.com/openstack/cisco icehouse-proposed main
deb-src http://openstack-repo.cisco.com/openstack/cisco icehouse-proposed main
root@compute01:~#

E.g. the right contents and apt does what you want it to, but the repo files are confusingly named.

Changed in openstack-cisco:
assignee: nobody → boddepalli srikanth (boddepalli-srikanth)
Revision history for this message
boddepalli srikanth (boddepalli-srikanth) wrote :

I have tested this scenario with Openstack Icehouse, the repo files created in /etc/apt/sources.list.d/ directory are cisco-openstack-mirror_havana.list and cisco-openstack-puppet-mirror_icehouse.list.

Puppet is using release version in repo file names as below:
        apt::source { "cisco-openstack-mirror_${openstack_release}":
Please find changes at:
https://github.com/CiscoSystems/puppet-coe/blob/icehouse/manifests/base.pp#L155

it seems this issue got fixed in icehouse:

root@ubuntu:~# cat /etc/apt/sources.list.d/cisco-openstack-mirror_icehouse.list
# cisco-openstack-mirror_icehouse
deb http://openstack-repo.cisco.com/openstack/cisco icehouse main
deb-src http://openstack-repo.cisco.com/openstack/cisco icehouse main

Changed in openstack-cisco:
status: Triaged → Fix Committed
Changed in openstack-cisco:
status: Fix Committed → Fix Released
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.