diff options
| author | Mark Goddard <mark@stackhpc.com> | 2021-09-02 09:19:05 +0100 |
|---|---|---|
| committer | Mark Goddard <mark@stackhpc.com> | 2021-09-03 09:32:14 +0100 |
| commit | c6cba08314816346a9b759bb5da0a2c4ae1a41a6 (patch) | |
| tree | 120f096027a7393a147f9f3c1c2c400b0a4457ad /kolla | |
| parent | d03d5aaee5e8e42e1a050e46c3d681b74173646a (diff) | |
| download | kolla-c6cba08314816346a9b759bb5da0a2c4ae1a41a6.tar.gz kolla-c6cba08314816346a9b759bb5da0a2c4ae1a41a6.zip | |
ceph: Update CentOS packages to Pacific
Updates the CentOS images to use centos-release-ceph-pacific. This is
in line with Ubuntu which gets Pacific from UCA. Debian remains on
Nautilus.
Change-Id: Ie1e77f9c7d83538c051362a8972745f184c72019
Diffstat (limited to 'kolla')
| -rw-r--r-- | kolla/template/methods.py | 2 | ||||
| -rw-r--r-- | kolla/template/repos.yaml | 5 | ||||
| -rw-r--r-- | kolla/tests/test_methods.py | 4 |
3 files changed, 5 insertions, 6 deletions
diff --git a/kolla/template/methods.py b/kolla/template/methods.py index 168f30451..420a70306 100644 --- a/kolla/template/methods.py +++ b/kolla/template/methods.py @@ -76,7 +76,7 @@ def handle_repos(context, reponames, mode): """NOTE(hrw): we need to handle CentOS, Debian and Ubuntu with one macro. Repo names have to be simple names mapped to proper ones. So 'ceph' == - 'centos-ceph-nautilus' for CentOS, UCA for Ubuntu (enabled by default) and + 'centos-ceph-pacific' for CentOS, UCA for Ubuntu (enabled by default) and something else for Debian. Distro/arch are not required to have all entries - we ignore missing ones. """ diff --git a/kolla/template/repos.yaml b/kolla/template/repos.yaml index 94e979063..2d526510d 100644 --- a/kolla/template/repos.yaml +++ b/kolla/template/repos.yaml @@ -1,7 +1,6 @@ --- -# TODO(mnasiadka): Rework the repo list once Ceph Octopus is released centos: - ceph: "centos-ceph-nautilus" + ceph: "centos-ceph-pacific" elasticsearch: "elasticsearch-kibana-logstash-7.x" epel: "epel" epel-modular: "epel-modular" @@ -21,7 +20,7 @@ centos: td-agent: "treasuredata" centos-aarch64: - ceph: "centos-ceph-nautilus" + ceph: "centos-ceph-pacific" elasticsearch: "elasticsearch-kibana-logstash-7.x" epel: "epel" epel-modular: "epel-modular" diff --git a/kolla/tests/test_methods.py b/kolla/tests/test_methods.py index 81bb29946..16b40c17f 100644 --- a/kolla/tests/test_methods.py +++ b/kolla/tests/test_methods.py @@ -55,7 +55,7 @@ class MethodsTest(base.TestCase): result = methods.handle_repos(template_vars, ['grafana', 'ceph'], 'enable') expectCmd = 'RUN dnf config-manager --enable grafana ' - expectCmd += '--enable centos-ceph-nautilus || true' + expectCmd += '--enable centos-ceph-pacific || true' self.assertEqual(expectCmd, result) def test_enable_repos_debian(self): @@ -145,7 +145,7 @@ class MethodsTest(base.TestCase): result = methods.handle_repos(template_vars, ['grafana', 'ceph'], 'disable') expectCmd = 'RUN dnf config-manager --disable grafana ' - expectCmd += '--disable centos-ceph-nautilus || true' + expectCmd += '--disable centos-ceph-pacific || true' self.assertEqual(expectCmd, result) # NOTE(hrw): there is no disabling of repos for Debian/Ubuntu |
