Add aio host conf for barbican role

Adding this example conf file would guide user to set correct host
name in AIO case. An experimental test for barbican has been added
which uses the barbican tempest plugin.

Depends-On: https://review.openstack.org/596408
Depends-On: https://review.openstack.org/596541
Change-Id: I10a07d5e4b2b3fbf122a79f15e27a9ca34799221
This commit is contained in:
Frank-ZhangXin 2018-06-29 15:49:55 -05:00 committed by Jesse Pretorius (odyssey4me)
parent 7d061c7d2a
commit d65906c486
7 changed files with 42 additions and 0 deletions

View File

@ -0,0 +1,4 @@
---
key-manager_hosts:
aio1:
ip: 172.29.236.100

View File

@ -56,6 +56,9 @@ bootstrap_user_variables_extra_templates:
octavia:
- src: user_variables_octavia.yml.j2
dest: user_variables_octavia.yml
barbican:
- src: user_variables_barbican.yml.j2
dest: user_variables_barbican.yml
## Loopback volumes
# Sparse loopback disks are used for the containers if there is no secondary

View File

@ -0,0 +1,22 @@
# 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.
tempest_plugins:
- name: barbican-tempest-plugin
repo: https://git.openstack.org/openstack/barbican-tempest-plugin
branch: master
tempest_test_whitelist:
- barbican_tempest_plugin.tests.api
tempest_roles:
- key-manager:service-admin

View File

@ -253,6 +253,7 @@ class TestAnsibleInventoryFormatConstraints(unittest.TestCase):
'ironic-compute_hosts',
'key-manager_containers',
'key-manager_hosts',
'key-manager_all',
'keystone',
'keystone_all',
'keystone_container',

View File

@ -92,3 +92,7 @@ confd_overrides:
- name: keystone.yml.aio
- name: neutron.yml.aio
- name: nova.yml.aio
barbican:
- name: haproxy.yml.aio
- name: keystone.yml.aio
- name: barbican.yml.aio

View File

@ -161,6 +161,13 @@
vars:
install_method: distro
- job:
name: openstack-ansible-deploy-barbican-ubuntu-xenial
parent: openstack-ansible-deploy-aio_lxc-ubuntu-xenial
vars:
action: deploy
scenario: barbican
# centos
- job:
name: openstack-ansible-deploy-aio_lxc-centos-7

View File

@ -27,6 +27,7 @@
- openstack-ansible-deploy-translations-ubuntu-xenial
experimental:
jobs:
- openstack-ansible-deploy-barbican-ubuntu-xenial
- openstack-ansible-deploy-congress-ubuntu-xenial
- openstack-ansible-deploy-octavia-ubuntu-xenial
- openstack-ansible-deploy_with_ansible_devel-aio-ubuntu-xenial