diff --git a/templates/usr.bin.nova-compute b/templates/usr.bin.nova-compute index 048c1e8f..6f2d3c92 100644 --- a/templates/usr.bin.nova-compute +++ b/templates/usr.bin.nova-compute @@ -39,6 +39,7 @@ /etc/environment r, /etc/iscsi/** rw, /etc/machine-id r, + /etc/mime.types r, /etc/modprobe.d/ r, /etc/modprobe.d/** r, /etc/mtab rw, diff --git a/tests/basic_deployment.py b/tests/basic_deployment.py index 6059a450..aa42416e 100644 --- a/tests/basic_deployment.py +++ b/tests/basic_deployment.py @@ -285,8 +285,7 @@ class NovaBasicDeployment(OpenStackAmuletDeployment): 'nova-api'], self.nova_cc_sentry: ['nova-conductor'], self.keystone_sentry: ['keystone'], - self.glance_sentry: ['glance-registry', - 'glance-api'] + self.glance_sentry: ['glance-api'] } if self._get_openstack_release() >= self.trusty_liberty: diff --git a/tests/dev-basic-disco-stein b/tests/dev-basic-disco-stein new file mode 100755 index 00000000..2f525a9b --- /dev/null +++ b/tests/dev-basic-disco-stein @@ -0,0 +1,23 @@ +#!/usr/bin/env python +# +# Copyright 2016 Canonical Ltd +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. + +"""Amulet tests on a basic nova compute deployment on disco-stein.""" + +from basic_deployment import NovaBasicDeployment + +if __name__ == '__main__': + deployment = NovaBasicDeployment(series='disco') + deployment.run_tests() diff --git a/tests/gate-basic-bionic-stein b/tests/gate-basic-bionic-stein new file mode 100755 index 00000000..debb8ba3 --- /dev/null +++ b/tests/gate-basic-bionic-stein @@ -0,0 +1,25 @@ +#!/usr/bin/env python +# +# Copyright 2016 Canonical Ltd +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. + +"""Amulet tests on a basic nova compute deployment on bionic-stein.""" + +from basic_deployment import NovaBasicDeployment + +if __name__ == '__main__': + deployment = NovaBasicDeployment(series='bionic', + openstack='cloud:bionic-stein', + source='cloud:bionic-stein') + deployment.run_tests()