7dd8357b06
determine_ports() was not adding the nova-placement-api port to the ports list because it is run under the apache2 service. This fix enables determine_ports() to get 'nova-placement-api' from the list of services rather than 'apache2', allowing it to determine the port that nova-placement-api uses. Also enable tests/gate-basic-xenial-ocata in this commit. Change-Id: I8113e911272ee671026bace9f6e0e8c4ce072e6b
27 lines
992 B
Python
Executable File
27 lines
992 B
Python
Executable File
#!/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 cloud controller deployment on
|
|
xenial-ocata."""
|
|
|
|
from basic_deployment import NovaCCBasicDeployment
|
|
|
|
if __name__ == '__main__':
|
|
deployment = NovaCCBasicDeployment(series='xenial',
|
|
openstack='cloud:xenial-ocata',
|
|
source='cloud:xenial-updates/ocata')
|
|
deployment.run_tests()
|