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
This commit is contained in:
parent
d03d5aaee5
commit
c6cba08314
@ -1,5 +1,5 @@
|
||||
Distro,Ceph,
|
||||
,Source, Release
|
||||
CentOS,CentOS Storage SIG,Nautilus
|
||||
CentOS,CentOS Storage SIG,Pacific
|
||||
Ubuntu,Ubuntu Cloud Archive,Pacific
|
||||
Debian,Debian,Nautilus
|
||||
|
|
@ -154,7 +154,7 @@ RUN rm -f /etc/rpm/macros.image-language-conf \
|
||||
|
||||
{% set base_centos_yum_repo_packages = [
|
||||
'centos-release-advanced-virtualization',
|
||||
'centos-release-ceph-nautilus',
|
||||
'centos-release-ceph-pacific',
|
||||
'centos-release-nfv-extras',
|
||||
'centos-release-nfv-openvswitch',
|
||||
'centos-release-opstools',
|
||||
@ -177,7 +177,7 @@ RUN rm -f /etc/rpm/macros.image-language-conf \
|
||||
'centos-nfv-extras',
|
||||
'centos-nfv-ovs',
|
||||
'centos-advanced-virtualization',
|
||||
'centos-ceph-nautilus',
|
||||
'centos-ceph-pacific',
|
||||
'centos-nfv-openvswitch',
|
||||
'centos-opstools',
|
||||
'centos-rabbitmq-38',
|
||||
|
@ -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.
|
||||
"""
|
||||
|
@ -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"
|
||||
|
@ -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
|
||||
|
@ -0,0 +1,4 @@
|
||||
---
|
||||
features:
|
||||
- |
|
||||
Updates Ceph client packages in CentOS images to Pacific.
|
Loading…
x
Reference in New Issue
Block a user