21.10 - Stable cut of charms for testing period

* use stable/21.10 libraries
* use zaza/zaza-openstack-tests at stable/21.10
* build.lock files for reactive charms
* bundles refer to ~openstack-charms candidate channel
* Fix yaml.load() -> yaml.safe_load()

Change-Id: Iba9e50ce957bbc68adb615cadc5e94e3e5df58ec
This commit is contained in:
Alex Kavanagh
2021-10-11 19:12:41 +01:00
parent fb8ed49ae4
commit 2e12e24882
22 changed files with 175 additions and 88 deletions

View File

@@ -2,3 +2,5 @@
host=review.opendev.org host=review.opendev.org
port=29418 port=29418
project=openstack/charm-swift-proxy.git project=openstack/charm-swift-proxy.git
defaultbranch=stable/21.10

View File

@@ -67,7 +67,7 @@ def get_action_parser(actions_yaml_path, action_name,
get_services=services): get_services=services):
"""Make an argparse.ArgumentParser seeded from actions.yaml definitions.""" """Make an argparse.ArgumentParser seeded from actions.yaml definitions."""
with open(actions_yaml_path) as fh: with open(actions_yaml_path) as fh:
doc = yaml.load(fh)[action_name]["description"] doc = yaml.safe_load(fh)[action_name]["description"]
parser = argparse.ArgumentParser(description=doc) parser = argparse.ArgumentParser(description=doc)
parser.add_argument("--services", default=get_services()) parser.add_argument("--services", default=get_services())
# TODO: Add arguments for params defined in the actions.yaml # TODO: Add arguments for params defined in the actions.yaml

View File

@@ -1,4 +1,4 @@
repo: https://github.com/juju/charm-helpers repo: https://github.com/juju/charm-helpers@stable/21.10
destination: charmhelpers destination: charmhelpers
include: include:
- core - core

View File

@@ -7,6 +7,7 @@
# requirements. They are intertwined. Also, Zaza itself should specify # requirements. They are intertwined. Also, Zaza itself should specify
# all of its own requirements and if it doesn't, fix it there. # all of its own requirements and if it doesn't, fix it there.
# #
cffi==1.14.6; python_version < '3.6' # cffi 1.15.0 drops support for py35.
setuptools<50.0.0 # https://github.com/pypa/setuptools/commit/04e3df22df840c6bb244e9b27bc56750c44b7c85 setuptools<50.0.0 # https://github.com/pypa/setuptools/commit/04e3df22df840c6bb244e9b27bc56750c44b7c85
requests>=2.18.4 requests>=2.18.4
@@ -36,8 +37,8 @@ oslo.utils<=3.41.0;python_version<'3.6'
coverage>=4.5.2 coverage>=4.5.2
pyudev # for ceph-* charm unit tests (need to fix the ceph-* charm unit tests/mocking) pyudev # for ceph-* charm unit tests (need to fix the ceph-* charm unit tests/mocking)
git+https://github.com/openstack-charmers/zaza.git#egg=zaza git+https://github.com/openstack-charmers/zaza.git@stable/21.10#egg=zaza
git+https://github.com/openstack-charmers/zaza-openstack-tests.git#egg=zaza.openstack git+https://github.com/openstack-charmers/zaza-openstack-tests.git@stable/21.10#egg=zaza.openstack
# Needed for charm-glance: # Needed for charm-glance:
git+https://opendev.org/openstack/tempest.git#egg=tempest;python_version>='3.6' git+https://opendev.org/openstack/tempest.git#egg=tempest;python_version>='3.6'

View File

@@ -9,26 +9,30 @@ applications:
replicas: 1 replicas: 1
swift-hash: fdfef9d4-8b06-11e2-8ac0-531c923c8fae swift-hash: fdfef9d4-8b06-11e2-8ac0-531c923c8fae
percona-cluster: percona-cluster:
charm: cs:~openstack-charmers-next/percona-cluster charm: cs:~openstack-charmers/percona-cluster
num_units: 1 num_units: 1
options: options:
dataset-size: 25% dataset-size: 25%
max-connections: 1000 max-connections: 1000
channel: candidate
keystone: keystone:
expose: True expose: True
charm: cs:~openstack-charmers-next/keystone charm: cs:~openstack-charmers/keystone
num_units: 1 num_units: 1
channel: candidate
glance: glance:
expose: True expose: True
charm: cs:~openstack-charmers-next/glance charm: cs:~openstack-charmers/glance
num_units: 1 num_units: 1
channel: candidate
swift-storage: swift-storage:
charm: cs:~openstack-charmers-next/swift-storage charm: cs:~openstack-charmers/swift-storage
num_units: 1 num_units: 1
storage: storage:
block-devices: 'cinder,10G' block-devices: 'cinder,10G'
options: options:
zone: 1 zone: 1
channel: candidate
relations: relations:
- - keystone:shared-db - - keystone:shared-db
- percona-cluster:shared-db - percona-cluster:shared-db

View File

@@ -10,32 +10,36 @@ applications:
swift-hash: fdfef9d4-8b06-11e2-8ac0-531c923c8fae swift-hash: fdfef9d4-8b06-11e2-8ac0-531c923c8fae
openstack-origin: cloud:bionic-rocky openstack-origin: cloud:bionic-rocky
percona-cluster: percona-cluster:
charm: cs:~openstack-charmers-next/percona-cluster charm: cs:~openstack-charmers/percona-cluster
num_units: 1 num_units: 1
options: options:
dataset-size: 25% dataset-size: 25%
max-connections: 1000 max-connections: 1000
source: cloud:bionic-rocky source: cloud:bionic-rocky
channel: candidate
keystone: keystone:
expose: True expose: True
charm: cs:~openstack-charmers-next/keystone charm: cs:~openstack-charmers/keystone
num_units: 1 num_units: 1
options: options:
openstack-origin: cloud:bionic-rocky openstack-origin: cloud:bionic-rocky
channel: candidate
glance: glance:
expose: True expose: True
charm: cs:~openstack-charmers-next/glance charm: cs:~openstack-charmers/glance
num_units: 1 num_units: 1
options: options:
openstack-origin: cloud:bionic-rocky openstack-origin: cloud:bionic-rocky
channel: candidate
swift-storage: swift-storage:
charm: cs:~openstack-charmers-next/swift-storage charm: cs:~openstack-charmers/swift-storage
num_units: 1 num_units: 1
storage: storage:
block-devices: 'cinder,10G' block-devices: 'cinder,10G'
options: options:
openstack-origin: cloud:bionic-rocky openstack-origin: cloud:bionic-rocky
zone: 1 zone: 1
channel: candidate
relations: relations:
- - keystone:shared-db - - keystone:shared-db
- percona-cluster:shared-db - percona-cluster:shared-db

View File

@@ -10,32 +10,36 @@ applications:
swift-hash: fdfef9d4-8b06-11e2-8ac0-531c923c8fae swift-hash: fdfef9d4-8b06-11e2-8ac0-531c923c8fae
openstack-origin: cloud:bionic-stein openstack-origin: cloud:bionic-stein
percona-cluster: percona-cluster:
charm: cs:~openstack-charmers-next/percona-cluster charm: cs:~openstack-charmers/percona-cluster
num_units: 1 num_units: 1
options: options:
dataset-size: 25% dataset-size: 25%
max-connections: 1000 max-connections: 1000
source: cloud:bionic-stein source: cloud:bionic-stein
channel: candidate
keystone: keystone:
expose: True expose: True
charm: cs:~openstack-charmers-next/keystone charm: cs:~openstack-charmers/keystone
num_units: 1 num_units: 1
options: options:
openstack-origin: cloud:bionic-stein openstack-origin: cloud:bionic-stein
channel: candidate
glance: glance:
expose: True expose: True
charm: cs:~openstack-charmers-next/glance charm: cs:~openstack-charmers/glance
num_units: 1 num_units: 1
options: options:
openstack-origin: cloud:bionic-stein openstack-origin: cloud:bionic-stein
channel: candidate
swift-storage: swift-storage:
charm: cs:~openstack-charmers-next/swift-storage charm: cs:~openstack-charmers/swift-storage
num_units: 1 num_units: 1
storage: storage:
block-devices: 'cinder,10G' block-devices: 'cinder,10G'
options: options:
openstack-origin: cloud:bionic-stein openstack-origin: cloud:bionic-stein
zone: 1 zone: 1
channel: candidate
relations: relations:
- - keystone:shared-db - - keystone:shared-db
- percona-cluster:shared-db - percona-cluster:shared-db

View File

@@ -15,48 +15,54 @@ applications:
write-affinity-node-count: '1' write-affinity-node-count: '1'
openstack-origin: cloud:bionic-train openstack-origin: cloud:bionic-train
swift-storage-region1-zone1: swift-storage-region1-zone1:
charm: cs:~openstack-charmers-next/swift-storage charm: cs:~openstack-charmers/swift-storage
num_units: 1 num_units: 1
options: options:
storage-region: 1 storage-region: 1
zone: 1 zone: 1
block-device: /etc/swift/storage.img|2G block-device: /etc/swift/storage.img|2G
openstack-origin: cloud:bionic-train openstack-origin: cloud:bionic-train
channel: candidate
swift-storage-region1-zone2: swift-storage-region1-zone2:
charm: cs:~openstack-charmers-next/swift-storage charm: cs:~openstack-charmers/swift-storage
num_units: 1 num_units: 1
options: options:
storage-region: 1 storage-region: 1
zone: 2 zone: 2
block-device: /etc/swift/storage.img|2G block-device: /etc/swift/storage.img|2G
openstack-origin: cloud:bionic-train openstack-origin: cloud:bionic-train
channel: candidate
swift-storage-region1-zone3: swift-storage-region1-zone3:
charm: cs:~openstack-charmers-next/swift-storage charm: cs:~openstack-charmers/swift-storage
num_units: 1 num_units: 1
options: options:
storage-region: 1 storage-region: 1
zone: 3 zone: 3
block-device: /etc/swift/storage.img|2G block-device: /etc/swift/storage.img|2G
openstack-origin: cloud:bionic-train openstack-origin: cloud:bionic-train
channel: candidate
percona-cluster: percona-cluster:
charm: cs:~openstack-charmers-next/percona-cluster charm: cs:~openstack-charmers/percona-cluster
num_units: 1 num_units: 1
options: options:
dataset-size: 25% dataset-size: 25%
max-connections: 1000 max-connections: 1000
source: cloud:bionic-train source: cloud:bionic-train
channel: candidate
keystone: keystone:
expose: True expose: True
charm: cs:~openstack-charmers-next/keystone charm: cs:~openstack-charmers/keystone
num_units: 1 num_units: 1
options: options:
openstack-origin: cloud:bionic-train openstack-origin: cloud:bionic-train
channel: candidate
glance: glance:
expose: True expose: True
charm: cs:~openstack-charmers-next/glance charm: cs:~openstack-charmers/glance
num_units: 1 num_units: 1
options: options:
openstack-origin: cloud:bionic-train openstack-origin: cloud:bionic-train
channel: candidate
relations: relations:
- - swift-proxy-region1:swift-storage - - swift-proxy-region1:swift-storage
- swift-storage-region1-zone1:swift-storage - swift-storage-region1-zone1:swift-storage

View File

@@ -15,29 +15,32 @@ applications:
write-affinity-node-count: '1' write-affinity-node-count: '1'
openstack-origin: cloud:bionic-train openstack-origin: cloud:bionic-train
swift-storage-region2-zone1: swift-storage-region2-zone1:
charm: cs:~openstack-charmers-next/swift-storage charm: cs:~openstack-charmers/swift-storage
num_units: 1 num_units: 1
options: options:
storage-region: 2 storage-region: 2
zone: 1 zone: 1
block-device: /etc/swift/storage.img|2G block-device: /etc/swift/storage.img|2G
openstack-origin: cloud:bionic-train openstack-origin: cloud:bionic-train
channel: candidate
swift-storage-region2-zone2: swift-storage-region2-zone2:
charm: cs:~openstack-charmers-next/swift-storage charm: cs:~openstack-charmers/swift-storage
num_units: 1 num_units: 1
options: options:
storage-region: 2 storage-region: 2
zone: 2 zone: 2
block-device: /etc/swift/storage.img|2G block-device: /etc/swift/storage.img|2G
openstack-origin: cloud:bionic-train openstack-origin: cloud:bionic-train
channel: candidate
swift-storage-region2-zone3: swift-storage-region2-zone3:
charm: cs:~openstack-charmers-next/swift-storage charm: cs:~openstack-charmers/swift-storage
num_units: 1 num_units: 1
options: options:
storage-region: 2 storage-region: 2
zone: 3 zone: 3
block-device: /etc/swift/storage.img|2G block-device: /etc/swift/storage.img|2G
openstack-origin: cloud:bionic-train openstack-origin: cloud:bionic-train
channel: candidate
relations: relations:
- - swift-proxy-region2:swift-storage - - swift-proxy-region2:swift-storage
- swift-storage-region2-zone1:swift-storage - swift-storage-region2-zone1:swift-storage

View File

@@ -10,32 +10,36 @@ applications:
swift-hash: fdfef9d4-8b06-11e2-8ac0-531c923c8fae swift-hash: fdfef9d4-8b06-11e2-8ac0-531c923c8fae
openstack-origin: cloud:bionic-train openstack-origin: cloud:bionic-train
percona-cluster: percona-cluster:
charm: cs:~openstack-charmers-next/percona-cluster charm: cs:~openstack-charmers/percona-cluster
num_units: 1 num_units: 1
options: options:
dataset-size: 25% dataset-size: 25%
max-connections: 1000 max-connections: 1000
source: cloud:bionic-train source: cloud:bionic-train
channel: candidate
keystone: keystone:
expose: True expose: True
charm: cs:~openstack-charmers-next/keystone charm: cs:~openstack-charmers/keystone
num_units: 1 num_units: 1
options: options:
openstack-origin: cloud:bionic-train openstack-origin: cloud:bionic-train
channel: candidate
glance: glance:
expose: True expose: True
charm: cs:~openstack-charmers-next/glance charm: cs:~openstack-charmers/glance
num_units: 1 num_units: 1
options: options:
openstack-origin: cloud:bionic-train openstack-origin: cloud:bionic-train
channel: candidate
swift-storage: swift-storage:
charm: cs:~openstack-charmers-next/swift-storage charm: cs:~openstack-charmers/swift-storage
num_units: 1 num_units: 1
storage: storage:
block-devices: 'cinder,10G' block-devices: 'cinder,10G'
options: options:
openstack-origin: cloud:bionic-train openstack-origin: cloud:bionic-train
zone: 1 zone: 1
channel: candidate
relations: relations:
- - keystone:shared-db - - keystone:shared-db
- percona-cluster:shared-db - percona-cluster:shared-db

View File

@@ -10,32 +10,36 @@ applications:
swift-hash: fdfef9d4-8b06-11e2-8ac0-531c923c8fae swift-hash: fdfef9d4-8b06-11e2-8ac0-531c923c8fae
openstack-origin: cloud:bionic-ussuri openstack-origin: cloud:bionic-ussuri
percona-cluster: percona-cluster:
charm: cs:~openstack-charmers-next/percona-cluster charm: cs:~openstack-charmers/percona-cluster
num_units: 1 num_units: 1
options: options:
dataset-size: 25% dataset-size: 25%
max-connections: 1000 max-connections: 1000
source: cloud:bionic-ussuri source: cloud:bionic-ussuri
channel: candidate
keystone: keystone:
expose: True expose: True
charm: cs:~openstack-charmers-next/keystone charm: cs:~openstack-charmers/keystone
num_units: 1 num_units: 1
options: options:
openstack-origin: cloud:bionic-ussuri openstack-origin: cloud:bionic-ussuri
channel: candidate
glance: glance:
expose: True expose: True
charm: cs:~openstack-charmers-next/glance charm: cs:~openstack-charmers/glance
num_units: 1 num_units: 1
options: options:
openstack-origin: cloud:bionic-ussuri openstack-origin: cloud:bionic-ussuri
channel: candidate
swift-storage: swift-storage:
charm: cs:~openstack-charmers-next/swift-storage charm: cs:~openstack-charmers/swift-storage
num_units: 1 num_units: 1
storage: storage:
block-devices: 'cinder,10G' block-devices: 'cinder,10G'
options: options:
openstack-origin: cloud:bionic-ussuri openstack-origin: cloud:bionic-ussuri
zone: 1 zone: 1
channel: candidate
relations: relations:
- - keystone:shared-db - - keystone:shared-db
- percona-cluster:shared-db - percona-cluster:shared-db

View File

@@ -20,12 +20,14 @@ machines:
applications: applications:
keystone-mysql-router: keystone-mysql-router:
charm: cs:~openstack-charmers-next/mysql-router charm: cs:~openstack-charmers/mysql-router
channel: candidate
glance-mysql-router: glance-mysql-router:
charm: cs:~openstack-charmers-next/mysql-router charm: cs:~openstack-charmers/mysql-router
channel: candidate
mysql-innodb-cluster: mysql-innodb-cluster:
charm: cs:~openstack-charmers-next/mysql-innodb-cluster charm: cs:~openstack-charmers/mysql-innodb-cluster
num_units: 3 num_units: 3
options: options:
source: *openstack-origin source: *openstack-origin
@@ -33,15 +35,17 @@ applications:
- '0' - '0'
- '1' - '1'
- '2' - '2'
channel: candidate
keystone: keystone:
expose: True expose: True
charm: cs:~openstack-charmers-next/keystone charm: cs:~openstack-charmers/keystone
num_units: 1 num_units: 1
options: options:
openstack-origin: *openstack-origin openstack-origin: *openstack-origin
to: to:
- '3' - '3'
channel: candidate
swift-proxy: swift-proxy:
charm: swift-proxy charm: swift-proxy
@@ -56,15 +60,16 @@ applications:
glance: glance:
expose: True expose: True
charm: cs:~openstack-charmers-next/glance charm: cs:~openstack-charmers/glance
num_units: 1 num_units: 1
options: options:
openstack-origin: *openstack-origin openstack-origin: *openstack-origin
to: to:
- '5' - '5'
channel: candidate
swift-storage: swift-storage:
charm: cs:~openstack-charmers-next/swift-storage charm: cs:~openstack-charmers/swift-storage
num_units: 1 num_units: 1
storage: storage:
block-devices: 'cinder,10G' block-devices: 'cinder,10G'
@@ -73,6 +78,7 @@ applications:
openstack-origin: *openstack-origin openstack-origin: *openstack-origin
to: to:
- '6' - '6'
channel: candidate
relations: relations:

View File

@@ -20,12 +20,14 @@ machines:
applications: applications:
keystone-mysql-router: keystone-mysql-router:
charm: cs:~openstack-charmers-next/mysql-router charm: cs:~openstack-charmers/mysql-router
channel: candidate
glance-mysql-router: glance-mysql-router:
charm: cs:~openstack-charmers-next/mysql-router charm: cs:~openstack-charmers/mysql-router
channel: candidate
mysql-innodb-cluster: mysql-innodb-cluster:
charm: cs:~openstack-charmers-next/mysql-innodb-cluster charm: cs:~openstack-charmers/mysql-innodb-cluster
num_units: 3 num_units: 3
options: options:
source: *openstack-origin source: *openstack-origin
@@ -33,15 +35,17 @@ applications:
- '0' - '0'
- '1' - '1'
- '2' - '2'
channel: candidate
keystone: keystone:
expose: True expose: True
charm: cs:~openstack-charmers-next/keystone charm: cs:~openstack-charmers/keystone
num_units: 1 num_units: 1
options: options:
openstack-origin: *openstack-origin openstack-origin: *openstack-origin
to: to:
- '3' - '3'
channel: candidate
swift-proxy: swift-proxy:
charm: swift-proxy charm: swift-proxy
@@ -56,15 +60,16 @@ applications:
glance: glance:
expose: True expose: True
charm: cs:~openstack-charmers-next/glance charm: cs:~openstack-charmers/glance
num_units: 1 num_units: 1
options: options:
openstack-origin: *openstack-origin openstack-origin: *openstack-origin
to: to:
- '5' - '5'
channel: candidate
swift-storage: swift-storage:
charm: cs:~openstack-charmers-next/swift-storage charm: cs:~openstack-charmers/swift-storage
num_units: 1 num_units: 1
storage: storage:
block-devices: 'cinder,10G' block-devices: 'cinder,10G'
@@ -73,6 +78,7 @@ applications:
openstack-origin: *openstack-origin openstack-origin: *openstack-origin
to: to:
- '6' - '6'
channel: candidate
relations: relations:

View File

@@ -20,12 +20,14 @@ machines:
applications: applications:
keystone-mysql-router: keystone-mysql-router:
charm: cs:~openstack-charmers-next/mysql-router charm: cs:~openstack-charmers/mysql-router
channel: candidate
glance-mysql-router: glance-mysql-router:
charm: cs:~openstack-charmers-next/mysql-router charm: cs:~openstack-charmers/mysql-router
channel: candidate
mysql-innodb-cluster: mysql-innodb-cluster:
charm: cs:~openstack-charmers-next/mysql-innodb-cluster charm: cs:~openstack-charmers/mysql-innodb-cluster
num_units: 3 num_units: 3
options: options:
source: *openstack-origin source: *openstack-origin
@@ -33,15 +35,17 @@ applications:
- '0' - '0'
- '1' - '1'
- '2' - '2'
channel: candidate
keystone: keystone:
expose: True expose: True
charm: cs:~openstack-charmers-next/keystone charm: cs:~openstack-charmers/keystone
num_units: 1 num_units: 1
options: options:
openstack-origin: *openstack-origin openstack-origin: *openstack-origin
to: to:
- '3' - '3'
channel: candidate
swift-proxy: swift-proxy:
charm: swift-proxy charm: swift-proxy
@@ -56,15 +60,16 @@ applications:
glance: glance:
expose: True expose: True
charm: cs:~openstack-charmers-next/glance charm: cs:~openstack-charmers/glance
num_units: 1 num_units: 1
options: options:
openstack-origin: *openstack-origin openstack-origin: *openstack-origin
to: to:
- '5' - '5'
channel: candidate
swift-storage: swift-storage:
charm: cs:~openstack-charmers-next/swift-storage charm: cs:~openstack-charmers/swift-storage
num_units: 1 num_units: 1
storage: storage:
block-devices: 'cinder,10G' block-devices: 'cinder,10G'
@@ -73,6 +78,7 @@ applications:
openstack-origin: *openstack-origin openstack-origin: *openstack-origin
to: to:
- '6' - '6'
channel: candidate
relations: relations:

View File

@@ -20,12 +20,14 @@ machines:
applications: applications:
keystone-mysql-router: keystone-mysql-router:
charm: cs:~openstack-charmers-next/mysql-router charm: cs:~openstack-charmers/mysql-router
channel: candidate
glance-mysql-router: glance-mysql-router:
charm: cs:~openstack-charmers-next/mysql-router charm: cs:~openstack-charmers/mysql-router
channel: candidate
mysql-innodb-cluster: mysql-innodb-cluster:
charm: cs:~openstack-charmers-next/mysql-innodb-cluster charm: cs:~openstack-charmers/mysql-innodb-cluster
num_units: 3 num_units: 3
options: options:
source: *openstack-origin source: *openstack-origin
@@ -33,15 +35,17 @@ applications:
- '0' - '0'
- '1' - '1'
- '2' - '2'
channel: candidate
keystone: keystone:
expose: True expose: True
charm: cs:~openstack-charmers-next/keystone charm: cs:~openstack-charmers/keystone
num_units: 1 num_units: 1
options: options:
openstack-origin: *openstack-origin openstack-origin: *openstack-origin
to: to:
- '3' - '3'
channel: candidate
swift-proxy: swift-proxy:
charm: swift-proxy charm: swift-proxy
@@ -56,15 +60,16 @@ applications:
glance: glance:
expose: True expose: True
charm: cs:~openstack-charmers-next/glance charm: cs:~openstack-charmers/glance
num_units: 1 num_units: 1
options: options:
openstack-origin: *openstack-origin openstack-origin: *openstack-origin
to: to:
- '5' - '5'
channel: candidate
swift-storage: swift-storage:
charm: cs:~openstack-charmers-next/swift-storage charm: cs:~openstack-charmers/swift-storage
num_units: 1 num_units: 1
storage: storage:
block-devices: 'cinder,10G' block-devices: 'cinder,10G'
@@ -73,6 +78,7 @@ applications:
openstack-origin: *openstack-origin openstack-origin: *openstack-origin
to: to:
- '6' - '6'
channel: candidate
relations: relations:

View File

@@ -20,12 +20,14 @@ machines:
applications: applications:
keystone-mysql-router: keystone-mysql-router:
charm: cs:~openstack-charmers-next/mysql-router charm: cs:~openstack-charmers/mysql-router
channel: candidate
glance-mysql-router: glance-mysql-router:
charm: cs:~openstack-charmers-next/mysql-router charm: cs:~openstack-charmers/mysql-router
channel: candidate
mysql-innodb-cluster: mysql-innodb-cluster:
charm: cs:~openstack-charmers-next/mysql-innodb-cluster charm: cs:~openstack-charmers/mysql-innodb-cluster
num_units: 3 num_units: 3
options: options:
source: *openstack-origin source: *openstack-origin
@@ -33,15 +35,17 @@ applications:
- '0' - '0'
- '1' - '1'
- '2' - '2'
channel: candidate
keystone: keystone:
expose: True expose: True
charm: cs:~openstack-charmers-next/keystone charm: cs:~openstack-charmers/keystone
num_units: 1 num_units: 1
options: options:
openstack-origin: *openstack-origin openstack-origin: *openstack-origin
to: to:
- '3' - '3'
channel: candidate
swift-proxy: swift-proxy:
charm: swift-proxy charm: swift-proxy
@@ -56,15 +60,16 @@ applications:
glance: glance:
expose: True expose: True
charm: cs:~openstack-charmers-next/glance charm: cs:~openstack-charmers/glance
num_units: 1 num_units: 1
options: options:
openstack-origin: *openstack-origin openstack-origin: *openstack-origin
to: to:
- '5' - '5'
channel: candidate
swift-storage: swift-storage:
charm: cs:~openstack-charmers-next/swift-storage charm: cs:~openstack-charmers/swift-storage
num_units: 1 num_units: 1
storage: storage:
block-devices: 'cinder,10G' block-devices: 'cinder,10G'
@@ -73,6 +78,7 @@ applications:
openstack-origin: *openstack-origin openstack-origin: *openstack-origin
to: to:
- '6' - '6'
channel: candidate
relations: relations:

View File

@@ -20,12 +20,14 @@ machines:
applications: applications:
keystone-mysql-router: keystone-mysql-router:
charm: cs:~openstack-charmers-next/mysql-router charm: cs:~openstack-charmers/mysql-router
channel: candidate
glance-mysql-router: glance-mysql-router:
charm: cs:~openstack-charmers-next/mysql-router charm: cs:~openstack-charmers/mysql-router
channel: candidate
mysql-innodb-cluster: mysql-innodb-cluster:
charm: cs:~openstack-charmers-next/mysql-innodb-cluster charm: cs:~openstack-charmers/mysql-innodb-cluster
num_units: 3 num_units: 3
options: options:
source: *openstack-origin source: *openstack-origin
@@ -33,15 +35,17 @@ applications:
- '0' - '0'
- '1' - '1'
- '2' - '2'
channel: candidate
keystone: keystone:
expose: True expose: True
charm: cs:~openstack-charmers-next/keystone charm: cs:~openstack-charmers/keystone
num_units: 1 num_units: 1
options: options:
openstack-origin: *openstack-origin openstack-origin: *openstack-origin
to: to:
- '3' - '3'
channel: candidate
swift-proxy: swift-proxy:
charm: swift-proxy charm: swift-proxy
@@ -56,15 +60,16 @@ applications:
glance: glance:
expose: True expose: True
charm: cs:~openstack-charmers-next/glance charm: cs:~openstack-charmers/glance
num_units: 1 num_units: 1
options: options:
openstack-origin: *openstack-origin openstack-origin: *openstack-origin
to: to:
- '5' - '5'
channel: candidate
swift-storage: swift-storage:
charm: cs:~openstack-charmers-next/swift-storage charm: cs:~openstack-charmers/swift-storage
num_units: 1 num_units: 1
storage: storage:
block-devices: 'cinder,10G' block-devices: 'cinder,10G'
@@ -73,6 +78,7 @@ applications:
openstack-origin: *openstack-origin openstack-origin: *openstack-origin
to: to:
- '6' - '6'
channel: candidate
relations: relations:

View File

@@ -18,24 +18,27 @@ applications:
source: cloud:trusty-mitaka source: cloud:trusty-mitaka
keystone: keystone:
expose: True expose: True
charm: cs:~openstack-charmers-next/keystone charm: cs:~openstack-charmers/keystone
num_units: 1 num_units: 1
options: options:
openstack-origin: cloud:trusty-mitaka openstack-origin: cloud:trusty-mitaka
channel: candidate
glance: glance:
expose: True expose: True
charm: cs:~openstack-charmers-next/glance charm: cs:~openstack-charmers/glance
num_units: 1 num_units: 1
options: options:
openstack-origin: cloud:trusty-mitaka openstack-origin: cloud:trusty-mitaka
channel: candidate
swift-storage: swift-storage:
charm: cs:~openstack-charmers-next/swift-storage charm: cs:~openstack-charmers/swift-storage
num_units: 1 num_units: 1
storage: storage:
block-devices: 'cinder,10G' block-devices: 'cinder,10G'
options: options:
openstack-origin: cloud:trusty-mitaka openstack-origin: cloud:trusty-mitaka
zone: 1 zone: 1
channel: candidate
relations: relations:
- - keystone:shared-db - - keystone:shared-db
- percona-cluster:shared-db - percona-cluster:shared-db

View File

@@ -9,26 +9,30 @@ applications:
replicas: 1 replicas: 1
swift-hash: fdfef9d4-8b06-11e2-8ac0-531c923c8fae swift-hash: fdfef9d4-8b06-11e2-8ac0-531c923c8fae
percona-cluster: percona-cluster:
charm: cs:~openstack-charmers-next/percona-cluster charm: cs:~openstack-charmers/percona-cluster
num_units: 1 num_units: 1
options: options:
dataset-size: 25% dataset-size: 25%
max-connections: 1000 max-connections: 1000
channel: candidate
keystone: keystone:
expose: True expose: True
charm: cs:~openstack-charmers-next/keystone charm: cs:~openstack-charmers/keystone
num_units: 1 num_units: 1
channel: candidate
glance: glance:
expose: True expose: True
charm: cs:~openstack-charmers-next/glance charm: cs:~openstack-charmers/glance
num_units: 1 num_units: 1
channel: candidate
swift-storage: swift-storage:
charm: cs:~openstack-charmers-next/swift-storage charm: cs:~openstack-charmers/swift-storage
num_units: 1 num_units: 1
storage: storage:
block-devices: 'cinder,10G' block-devices: 'cinder,10G'
options: options:
zone: 1 zone: 1
channel: candidate
relations: relations:
- - keystone:shared-db - - keystone:shared-db
- percona-cluster:shared-db - percona-cluster:shared-db

View File

@@ -10,32 +10,36 @@ applications:
replicas: 1 replicas: 1
swift-hash: fdfef9d4-8b06-11e2-8ac0-531c923c8fae swift-hash: fdfef9d4-8b06-11e2-8ac0-531c923c8fae
percona-cluster: percona-cluster:
charm: cs:~openstack-charmers-next/percona-cluster charm: cs:~openstack-charmers/percona-cluster
num_units: 1 num_units: 1
options: options:
dataset-size: 25% dataset-size: 25%
max-connections: 1000 max-connections: 1000
source: cloud:xenial-ocata source: cloud:xenial-ocata
channel: candidate
keystone: keystone:
expose: True expose: True
charm: cs:~openstack-charmers-next/keystone charm: cs:~openstack-charmers/keystone
num_units: 1 num_units: 1
options: options:
openstack-origin: cloud:xenial-ocata openstack-origin: cloud:xenial-ocata
channel: candidate
glance: glance:
expose: True expose: True
charm: cs:~openstack-charmers-next/glance charm: cs:~openstack-charmers/glance
num_units: 1 num_units: 1
options: options:
openstack-origin: cloud:xenial-ocata openstack-origin: cloud:xenial-ocata
channel: candidate
swift-storage: swift-storage:
charm: cs:~openstack-charmers-next/swift-storage charm: cs:~openstack-charmers/swift-storage
num_units: 1 num_units: 1
storage: storage:
block-devices: 'cinder,10G' block-devices: 'cinder,10G'
options: options:
openstack-origin: cloud:xenial-ocata openstack-origin: cloud:xenial-ocata
zone: 1 zone: 1
channel: candidate
relations: relations:
- - keystone:shared-db - - keystone:shared-db
- percona-cluster:shared-db - percona-cluster:shared-db

View File

@@ -10,32 +10,36 @@ applications:
replicas: 1 replicas: 1
swift-hash: fdfef9d4-8b06-11e2-8ac0-531c923c8fae swift-hash: fdfef9d4-8b06-11e2-8ac0-531c923c8fae
percona-cluster: percona-cluster:
charm: cs:~openstack-charmers-next/percona-cluster charm: cs:~openstack-charmers/percona-cluster
num_units: 1 num_units: 1
options: options:
dataset-size: 25% dataset-size: 25%
max-connections: 1000 max-connections: 1000
source: cloud:xenial-pike source: cloud:xenial-pike
channel: candidate
keystone: keystone:
expose: True expose: True
charm: cs:~openstack-charmers-next/keystone charm: cs:~openstack-charmers/keystone
num_units: 1 num_units: 1
options: options:
openstack-origin: cloud:xenial-pike openstack-origin: cloud:xenial-pike
channel: candidate
glance: glance:
expose: True expose: True
charm: cs:~openstack-charmers-next/glance charm: cs:~openstack-charmers/glance
num_units: 1 num_units: 1
options: options:
openstack-origin: cloud:xenial-pike openstack-origin: cloud:xenial-pike
channel: candidate
swift-storage: swift-storage:
charm: cs:~openstack-charmers-next/swift-storage charm: cs:~openstack-charmers/swift-storage
num_units: 1 num_units: 1
storage: storage:
block-devices: 'cinder,10G' block-devices: 'cinder,10G'
options: options:
openstack-origin: cloud:xenial-pike openstack-origin: cloud:xenial-pike
zone: 1 zone: 1
channel: candidate
relations: relations:
- - keystone:shared-db - - keystone:shared-db
- percona-cluster:shared-db - percona-cluster:shared-db

View File

@@ -10,32 +10,36 @@ applications:
replicas: 1 replicas: 1
swift-hash: fdfef9d4-8b06-11e2-8ac0-531c923c8fae swift-hash: fdfef9d4-8b06-11e2-8ac0-531c923c8fae
percona-cluster: percona-cluster:
charm: cs:~openstack-charmers-next/percona-cluster charm: cs:~openstack-charmers/percona-cluster
num_units: 1 num_units: 1
options: options:
dataset-size: 25% dataset-size: 25%
max-connections: 1000 max-connections: 1000
source: cloud:xenial-queens source: cloud:xenial-queens
channel: candidate
keystone: keystone:
expose: True expose: True
charm: cs:~openstack-charmers-next/keystone charm: cs:~openstack-charmers/keystone
num_units: 1 num_units: 1
options: options:
openstack-origin: cloud:xenial-queens openstack-origin: cloud:xenial-queens
channel: candidate
glance: glance:
expose: True expose: True
charm: cs:~openstack-charmers-next/glance charm: cs:~openstack-charmers/glance
num_units: 1 num_units: 1
options: options:
openstack-origin: cloud:xenial-queens openstack-origin: cloud:xenial-queens
channel: candidate
swift-storage: swift-storage:
charm: cs:~openstack-charmers-next/swift-storage charm: cs:~openstack-charmers/swift-storage
num_units: 1 num_units: 1
storage: storage:
block-devices: 'cinder,10G' block-devices: 'cinder,10G'
options: options:
openstack-origin: cloud:xenial-queens openstack-origin: cloud:xenial-queens
zone: 1 zone: 1
channel: candidate
relations: relations:
- - keystone:shared-db - - keystone:shared-db
- percona-cluster:shared-db - percona-cluster:shared-db