Remove ntp installation in ceph-fs.
For the case in container, it is not necessary to install ntp. For the bare metal, we now expect operators to use a subordinate ntp charm instead. Therefore, we remove ntp installation in ceph-fs. Closes-Bug: #1935013 Change-Id: I48f1a6a1ee6153bbc86cc9acf9302d8eb9d7db43
This commit is contained in:
parent
2f234a8911
commit
2cfacc2646
@ -164,9 +164,9 @@ class BaseCephFSCharm(charms_openstack.plugins.CephCharm):
|
||||
|
||||
class MitakaCephFSCharm(BaseCephFSCharm):
|
||||
release = 'mitaka'
|
||||
packages = ['ceph-mds', 'gdisk', 'ntp', 'btrfs-tools', 'xfsprogs']
|
||||
packages = ['ceph-mds', 'gdisk', 'btrfs-tools', 'xfsprogs']
|
||||
|
||||
|
||||
class UssuriCephFSCharm(BaseCephFSCharm):
|
||||
release = 'ussuri'
|
||||
packages = ['ceph-mds', 'gdisk', 'ntp', 'btrfs-progs', 'xfsprogs']
|
||||
packages = ['ceph-mds', 'gdisk', 'btrfs-progs', 'xfsprogs']
|
||||
|
@ -33,7 +33,7 @@ class TestMitakaCephFsCharm(test_utils.PatchHelper):
|
||||
# future versions of this charm, see ``TestCephFsCharm`` for the rest
|
||||
# of the tests
|
||||
self.assertEquals(self.target.packages, [
|
||||
'ceph-mds', 'gdisk', 'ntp', 'btrfs-tools', 'xfsprogs'])
|
||||
'ceph-mds', 'gdisk', 'btrfs-tools', 'xfsprogs'])
|
||||
|
||||
|
||||
class TestCephFsCharm(test_utils.PatchHelper):
|
||||
@ -59,7 +59,7 @@ class TestCephFsCharm(test_utils.PatchHelper):
|
||||
self.assertDictEqual(self.target.restart_map, {
|
||||
'/etc/ceph/ceph.conf': ['ceph-mds@somehost']})
|
||||
self.assertEquals(self.target.packages, [
|
||||
'ceph-mds', 'gdisk', 'ntp', 'btrfs-progs', 'xfsprogs'])
|
||||
'ceph-mds', 'gdisk', 'btrfs-progs', 'xfsprogs'])
|
||||
|
||||
def test_configuration_class(self):
|
||||
self.assertEquals(self.target.options.hostname, 'somehost')
|
||||
|
Loading…
Reference in New Issue
Block a user