From 48b67f6078f38ffd3a433ae6ff008a22d81b800f Mon Sep 17 00:00:00 2001 From: Liam Young Date: Tue, 19 Mar 2019 19:53:32 +0000 Subject: [PATCH] Switch to pacemaker-remote for testing --- .../bionic-rocky-pacemaker-remote.yaml | 179 ++++++++++++++++++ src/tests/tests.yaml | 4 +- 2 files changed, 181 insertions(+), 2 deletions(-) create mode 100644 src/tests/bundles/bionic-rocky-pacemaker-remote.yaml diff --git a/src/tests/bundles/bionic-rocky-pacemaker-remote.yaml b/src/tests/bundles/bionic-rocky-pacemaker-remote.yaml new file mode 100644 index 0000000..7916c95 --- /dev/null +++ b/src/tests/bundles/bionic-rocky-pacemaker-remote.yaml @@ -0,0 +1,179 @@ +series: bionic +relations: +- - nova-compute:amqp + - rabbitmq-server:amqp +- - neutron-gateway:amqp + - rabbitmq-server:amqp +- - neutron-gateway:amqp-nova + - rabbitmq-server:amqp +- - keystone:shared-db + - mysql:shared-db +- - cinder:identity-service + - keystone:identity-service +- - nova-cloud-controller:identity-service + - keystone:identity-service +- - glance:identity-service + - keystone:identity-service +- - neutron-api:identity-service + - keystone:identity-service +- - neutron-openvswitch:neutron-plugin-api + - neutron-api:neutron-plugin-api +- - cinder:shared-db + - mysql:shared-db +- - neutron-api:shared-db + - mysql:shared-db +- - cinder:amqp + - rabbitmq-server:amqp +- - neutron-api:amqp + - rabbitmq-server:amqp +- - neutron-gateway:neutron-plugin-api + - neutron-api:neutron-plugin-api +- - glance:shared-db + - mysql:shared-db +- - glance:amqp + - rabbitmq-server:amqp +- - nova-cloud-controller:image-service + - glance:image-service +- - nova-compute:image-service + - glance:image-service +- - nova-cloud-controller:amqp + - rabbitmq-server:amqp +- - nova-cloud-controller:quantum-network-service + - neutron-gateway:quantum-network-service +- - nova-compute:neutron-plugin + - neutron-openvswitch:neutron-plugin +- - neutron-openvswitch:amqp + - rabbitmq-server:amqp +- - nova-cloud-controller:shared-db + - mysql:shared-db +- - nova-cloud-controller:neutron-api + - neutron-api:neutron-api +- - nova-cloud-controller:cloud-compute + - nova-compute:cloud-compute +- - masakari:shared-db + - mysql:shared-db +- - masakari:amqp + - rabbitmq-server:amqp +- - masakari:identity-service + - keystone:identity-service +- - glance:ceph + - ceph-mon:client +- - ceph-mon:osd + - ceph-osd:mon +- - cinder:storage-backend + - cinder-ceph:storage-backend +- - cinder-ceph:ceph + - ceph-mon:client +- - cinder-ceph:ceph-access + - nova-compute:ceph-access +- - nova-compute:juju-info + - masakari-monitors:container +- - masakari:ha + - hacluster:ha +- - keystone:identity-credentials + - masakari-monitors:identity-credentials +- - nova-compute:juju-info + - pacemaker-remote:juju-info +- - hacluster:pacemaker-remote + - pacemaker-remote:pacemaker-remote +applications: + glance: + charm: cs:~openstack-charmers-next/glance + num_units: 1 + options: + openstack-origin: cloud:bionic-rocky + worker-multiplier: 0.25 + cinder: + charm: cs:~openstack-charmers-next/cinder + num_units: 1 + options: + block-device: "None" + glance-api-version: 2 + keystone: + charm: cs:~gnuoy/keystone-36 + series: bionic + num_units: 1 + options: + admin-password: openstack + openstack-origin: cloud:bionic-rocky + worker-multiplier: 0.25 + mysql: + charm: cs:~openstack-charmers-next/percona-cluster + num_units: 1 + options: + innodb-buffer-pool-size: 256M + max-connections: 1000 + neutron-api: + charm: cs:~openstack-charmers-next/neutron-api + num_units: 1 + options: + flat-network-providers: physnet1 + neutron-security-groups: true + openstack-origin: cloud:bionic-rocky + worker-multiplier: 0.25 + neutron-gateway: + charm: cs:~openstack-charmers-next/neutron-gateway + num_units: 1 + options: + bridge-mappings: physnet1:br-ex + openstack-origin: cloud:bionic-rocky + worker-multiplier: 0.25 + neutron-openvswitch: + charm: cs:~openstack-charmers-next/neutron-openvswitch + num_units: 0 + nova-cloud-controller: + charm: cs:~openstack-charmers-next/nova-cloud-controller + num_units: 1 + options: + network-manager: Neutron + openstack-origin: cloud:bionic-rocky + worker-multiplier: 0.25 + debug: true + nova-compute: + charm: cs:~openstack-charmers-next/nova-compute + num_units: 3 + constraints: mem=4G + options: + config-flags: default_ephemeral_format=ext4 + enable-live-migration: true + enable-resize: true + migration-auth-type: ssh + openstack-origin: cloud:bionic-rocky + debug: true + cpu-model: kvm64 + cpu-mode: custom + rabbitmq-server: + charm: cs:~openstack-charmers-next/rabbitmq-server + num_units: 1 + masakari: + charm: masakari + series: bionic + num_units: 3 + options: + openstack-origin: cloud:bionic-rocky/proposed + vip: 10.5.110.1 + ceph-mon: + charm: ceph-mon + num_units: 3 + options: + expected-osd-count: 3 + ceph-osd: + charm: ceph-osd + constraints: mem=1G + num_units: 3 + storage: + osd-devices: cinder,40G + cinder-ceph: + charm: cinder-ceph + masakari-monitors: + charm: cs:~gnuoy/masakari-monitors-4 + hacluster: + charm: cs:~gnuoy/hacluster-14 + options: + corosync_transport: unicast + cluster_count: 3 + pacemaker-remote: + charm: cs:~gnuoy/pacemaker-remote-6 + options: + enable-stonith: False + enable-resources: False diff --git a/src/tests/tests.yaml b/src/tests/tests.yaml index 98b1791..688d100 100644 --- a/src/tests/tests.yaml +++ b/src/tests/tests.yaml @@ -9,6 +9,6 @@ configure: - zaza.charm_tests.nova.setup.manage_ssh_key - zaza.charm_tests.masakari.setup.create_segments gate_bundles: - - bionic-rocky + - bionic-rocky-pacemaker-remote smoke_bundles: - - bionic-rocky + - bionic-rocky-pacemaker-remote