apt cache is updated before repos are configured
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack-Ansible |
Invalid
|
Medium
|
Unassigned | ||
Juno |
Fix Released
|
Medium
|
Jimmy McCrory | ||
Trunk |
Invalid
|
Medium
|
Unassigned |
Bug Description
Related: https:/
An apt cache update is occurring after packages are pinned, but before the apt repos are configured.
From behind a firewall where the default repos are unreachable, this leads to an error since an update is attempted before the repos can be replaced.
The tasks should be reordered to Add Common repos > Add apt pin preferences > Update apt cache
Replacing repos by overriding apt_common_repos:
apt_common_repos:
- { repo: "deb http://
- { repo: "deb http://
- { repo: "deb http://
- { repo: "deb http://
- { repo: "deb http://
- { repo: "deb http://
- { repo: "deb http://
Error when attempting to connect to default external repos:
failed: [dal-appblx061-
invalid output was: Traceback (most recent call last):
File "<stdin>", line 1763, in <module>
File "<stdin>", line 492, in main
File "/usr/lib/
raise FetchFailedExce
apt.cache.
, W:Failed to fetch http://
, W:Failed to fetch http://
, W:Failed to fetch http://
Changed in openstack-ansible: | |
status: | New → Triaged |
importance: | Undecided → Medium |
assignee: | nobody → Jimmy McCrory (jimmy-mccrory) |
no longer affects: | openstack-ansible/icehouse |
Fix proposed to branch: juno /review. openstack. org/175554
Review: https:/