Enable bionic/stein and disco/stein functional tests

Drop explicit install of python-ceph; ceph-common has an
appropriate dependency on the required python{3}-ceph package
so this is not required, and breaks on Stein where Python 2
packages are no longer provided.

Closes-Bug: 1824154
Change-Id: Ia219258f73f038170bc5a070d562e499459fe246
This commit is contained in:
Frode Nordahl 2019-04-08 13:50:25 +02:00 committed by James Page
parent 3c4fbb8b52
commit 2d70bab004
3 changed files with 21 additions and 1 deletions

View File

@ -45,7 +45,7 @@ LEADER = 'leader'
PEON = 'peon'
QUORUM = [LEADER, PEON]
PACKAGES = ['ceph', 'gdisk', 'ntp', 'btrfs-tools', 'python-ceph', 'xfsprogs']
PACKAGES = ['ceph', 'gdisk', 'ntp', 'btrfs-tools', 'xfsprogs']
def ceph_user():

9
tests/dev-basic-disco-stein Executable file
View File

@ -0,0 +1,9 @@
#!/usr/bin/env python
"""Amulet tests on a basic ceph deployment on disco-stein."""
from basic_deployment import CephBasicDeployment
if __name__ == '__main__':
deployment = CephBasicDeployment(series='disco')
deployment.run_tests()

11
tests/gate-basic-bionic-stein Executable file
View File

@ -0,0 +1,11 @@
#!/usr/bin/env python
"""Amulet tests on a basic ceph deployment on bionic-stein."""
from basic_deployment import CephBasicDeployment
if __name__ == '__main__':
deployment = CephBasicDeployment(series='bionic',
openstack='cloud:bionic-stein',
source='cloud:bionic-stein')
deployment.run_tests()