File tree Expand file tree Collapse file tree 3 files changed +15
-3
lines changed Expand file tree Collapse file tree 3 files changed +15
-3
lines changed Original file line number Diff line number Diff line change @@ -62,12 +62,18 @@ stackhpc_apt_repositories:
62
62
signed_by : docker.asc
63
63
architecture : amd64
64
64
65
- apt_repositories : " {{ stackhpc_apt_repositories }}"
65
+ # Do not replace apt configuration for non-overcloud hosts. This can result in
66
+ # errors if apt reconfiguration is performed before local repository mirrors
67
+ # are deployed.
68
+ apt_repositories : " {{ stackhpc_apt_repositories if 'overcloud' in group_names else [] }}"
66
69
67
70
# Whether to disable repositories in /etc/apt/sources.list. This may be used
68
71
# when replacing the distribution repositories via apt_repositories.
69
72
# Default is false.
70
- apt_disable_sources_list : true
73
+ # Do not disable the default apt configuration for non-overcloud hosts. This
74
+ # can result in errors if apt reconfiguration is performed before local
75
+ # repository mirrors are deployed.
76
+ apt_disable_sources_list : " {{ 'overcloud' in group_names }}"
71
77
72
78
# ##############################################################################
73
79
# Dummy variable to allow Ansible to accept this file.
Original file line number Diff line number Diff line change 4
4
# To work around issue of trying to install docker from
5
5
# empty pulp server, use upstream docker dnf repo on
6
6
# non-overcloud hosts
7
- enable_docker_repo : " {% raw %}{{ 'overcloud' not in group_names or ansible_facts.os_family == 'Debian' }}{% endraw %}"
7
+ enable_docker_repo : " {% raw %}{{ 'overcloud' not in group_names }}{% endraw %}"
8
8
9
9
# kolla_base_distro must be set here to be resolvable on a per-host basis
10
10
# This is necessary for os migrations where mixed clouds might be deployed
Original file line number Diff line number Diff line change
1
+ ---
2
+ fixes :
3
+ - |
4
+ Disabled custom APT configuration for non-overcloud hosts (Ubuntu Only).
5
+ This resolves the issue of the seed hypervisor attempting to pull packages
6
+ from the repository on the seed before it has been deployed.
You can’t perform that action at this time.
0 commit comments