Migrate charm to charmhub latest/edge track

Change-Id: I1059e037bdb9ee65cdebde4b5ed087bf1b5b0f93
This commit is contained in:
Alex Kavanagh 2022-01-27 15:37:18 +00:00
parent ff9280d24d
commit fa575bd4c6
17 changed files with 170 additions and 1867 deletions

13
charmcraft.yaml Normal file
View File

@ -0,0 +1,13 @@
type: charm
parts:
charm:
source: src/
plugin: reactive
build-snaps: [charm]
bases:
- name: ubuntu
channel: "20.04"
architectures:
- amd64

1
metadata.yaml Symbolic link
View File

@ -0,0 +1 @@
src/metadata.yaml

View File

@ -1,14 +1,11 @@
- project:
templates:
- charm-yoga-unit-jobs
- charm-yoga-functional-jobs
- charm-unit-jobs-py38
- charm-unit-jobs-py39
# focal-xena fails due to:
# https://bugs.launchpad.net/charm-nova-cell-controller/+bug/1951874
# - charm-xena-functional-jobs
- charm-wallaby-functional-jobs
- charm-victoria-functional-jobs
- charm-ussuri-functional-jobs
- charm-stein-functional-jobs
- charm-yoga-functional-jobs
check:
jobs:
# focal-xena fails due to:

View File

@ -21,10 +21,7 @@ description: |
tags:
- openstack
series:
- bionic
- focal
- groovy
- hirsute
- impish
extra-bindings:
public:

View File

@ -1,146 +0,0 @@
series: bionic
relations:
- - nova-cloud-controller:nova-cell-api
- nova-cell-controller-cell2:nova-cell-compute
- - nova-cloud-controller:shared-db-cell
- mysql-cell2:shared-db
- - nova-cloud-controller:amqp-cell
- rabbitmq-server-nova-cell2:amqp
- - nova-compute-cell2:amqp
- rabbitmq-server-nova-cell2:amqp
- - neutron-gateway:amqp
- rabbitmq-server-neutron:amqp
- - neutron-gateway:amqp-nova
- rabbitmq-server-nova:amqp
- - keystone:shared-db
- mysql:shared-db
- - 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
- - neutron-api:shared-db
- mysql:shared-db
- - neutron-api:amqp
- rabbitmq-server-neutron:amqp
- - neutron-gateway:neutron-plugin-api
- neutron-api:neutron-plugin-api
- - glance:shared-db
- mysql:shared-db
- - glance:amqp
- rabbitmq-server-neutron:amqp
- - nova-cloud-controller:image-service
- glance:image-service
- - nova-compute-cell2:image-service
- glance:image-service
- - nova-cell-controller-cell2:cloud-compute
- nova-compute-cell2:cloud-compute
- - nova-cloud-controller:amqp
- rabbitmq-server-nova:amqp
- - nova-cell-controller-cell2:amqp
- rabbitmq-server-nova-cell2:amqp
- - nova-cloud-controller:quantum-network-service
- neutron-gateway:quantum-network-service
- - nova-compute-cell2:neutron-plugin
- neutron-openvswitch:neutron-plugin
- - neutron-openvswitch:amqp
- rabbitmq-server-neutron:amqp
- - nova-cloud-controller:shared-db
- mysql:shared-db
- - nova-cell-controller-cell2:shared-db
- mysql-cell2:shared-db
- - nova-cloud-controller:neutron-api
- neutron-api:neutron-api
- - nova-compute-cell2:cloud-credentials
- keystone:identity-credentials
- - ntp:juju-info
- nova-compute-cell2:juju-info
- - ntp:juju-info
- neutron-gateway:juju-info
applications:
glance:
charm: cs:~openstack-charmers-next/glance
num_units: 1
options:
openstack-origin: cloud:bionic-rocky
worker-multiplier: 0.25
keystone:
charm: cs:~openstack-charmers-next/keystone
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
mysql-cell2:
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-cell-controller-cell2:
charm: nova-cell-controller
series: bionic
num_units: 1
options:
openstack-origin: cloud:bionic-rocky
worker-multiplier: 0.25
debug: true
cell-name: "cell2"
nova-compute-cell2:
charm: cs:~openstack-charmers-next/nova-compute
num_units: 1
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
ntp:
charm: cs:ntp-24
num_units: 0
rabbitmq-server-nova:
charm: cs:~openstack-charmers-next/rabbitmq-server
num_units: 1
rabbitmq-server-nova-cell2:
charm: cs:~openstack-charmers-next/rabbitmq-server
num_units: 1
rabbitmq-server-neutron:
charm: cs:~openstack-charmers-next/rabbitmq-server
num_units: 1

View File

@ -1,146 +0,0 @@
series: bionic
relations:
- - nova-cloud-controller:nova-cell-api
- nova-cell-controller-cell2:nova-cell-compute
- - nova-cloud-controller:shared-db-cell
- mysql-cell2:shared-db
- - nova-cloud-controller:amqp-cell
- rabbitmq-server-nova-cell2:amqp
- - nova-compute-cell2:amqp
- rabbitmq-server-nova-cell2:amqp
- - neutron-gateway:amqp
- rabbitmq-server-neutron:amqp
- - neutron-gateway:amqp-nova
- rabbitmq-server-nova:amqp
- - keystone:shared-db
- mysql:shared-db
- - 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
- - neutron-api:shared-db
- mysql:shared-db
- - neutron-api:amqp
- rabbitmq-server-neutron:amqp
- - neutron-gateway:neutron-plugin-api
- neutron-api:neutron-plugin-api
- - glance:shared-db
- mysql:shared-db
- - glance:amqp
- rabbitmq-server-neutron:amqp
- - nova-cloud-controller:image-service
- glance:image-service
- - nova-compute-cell2:image-service
- glance:image-service
- - nova-cell-controller-cell2:cloud-compute
- nova-compute-cell2:cloud-compute
- - nova-cloud-controller:amqp
- rabbitmq-server-nova:amqp
- - nova-cell-controller-cell2:amqp
- rabbitmq-server-nova-cell2:amqp
- - nova-cloud-controller:quantum-network-service
- neutron-gateway:quantum-network-service
- - nova-compute-cell2:neutron-plugin
- neutron-openvswitch:neutron-plugin
- - neutron-openvswitch:amqp
- rabbitmq-server-neutron:amqp
- - nova-cloud-controller:shared-db
- mysql:shared-db
- - nova-cell-controller-cell2:shared-db
- mysql-cell2:shared-db
- - nova-cloud-controller:neutron-api
- neutron-api:neutron-api
- - nova-compute-cell2:cloud-credentials
- keystone:identity-credentials
- - ntp:juju-info
- nova-compute-cell2:juju-info
- - ntp:juju-info
- neutron-gateway:juju-info
applications:
glance:
charm: cs:~openstack-charmers-next/glance
num_units: 1
options:
openstack-origin: cloud:bionic-stein
worker-multiplier: 0.25
keystone:
charm: cs:~openstack-charmers-next/keystone
num_units: 1
options:
admin-password: openstack
openstack-origin: cloud:bionic-stein
worker-multiplier: 0.25
mysql:
charm: cs:~openstack-charmers-next/percona-cluster
num_units: 1
options:
innodb-buffer-pool-size: 256M
max-connections: 1000
mysql-cell2:
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-stein
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-stein
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-stein
worker-multiplier: 0.25
debug: true
nova-cell-controller-cell2:
charm: nova-cell-controller
series: bionic
num_units: 1
options:
openstack-origin: cloud:bionic-stein
worker-multiplier: 0.25
debug: true
cell-name: "cell2"
nova-compute-cell2:
charm: cs:~openstack-charmers-next/nova-compute
num_units: 1
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-stein
debug: true
ntp:
charm: cs:ntp-24
num_units: 0
rabbitmq-server-nova:
charm: cs:~openstack-charmers-next/rabbitmq-server
num_units: 1
rabbitmq-server-nova-cell2:
charm: cs:~openstack-charmers-next/rabbitmq-server
num_units: 1
rabbitmq-server-neutron:
charm: cs:~openstack-charmers-next/rabbitmq-server
num_units: 1

View File

@ -1,161 +0,0 @@
series: bionic
relations:
- - nova-cloud-controller:nova-cell-api
- nova-cell-controller-cell2:nova-cell-compute
- - nova-cloud-controller:shared-db-cell
- mysql-cell2:shared-db
- - nova-cloud-controller:amqp-cell
- rabbitmq-server-nova-cell2:amqp
- - nova-compute-cell2:amqp
- rabbitmq-server-nova-cell2:amqp
- - neutron-gateway:amqp
- rabbitmq-server-neutron:amqp
- - neutron-gateway:amqp-nova
- rabbitmq-server-nova:amqp
- - keystone:shared-db
- mysql:shared-db
- - 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
- - neutron-api:shared-db
- mysql:shared-db
- - neutron-api:amqp
- rabbitmq-server-neutron:amqp
- - neutron-gateway:neutron-plugin-api
- neutron-api:neutron-plugin-api
- - glance:shared-db
- mysql:shared-db
- - glance:amqp
- rabbitmq-server-neutron:amqp
- - nova-cloud-controller:image-service
- glance:image-service
- - nova-compute-cell2:image-service
- glance:image-service
- - nova-cell-controller-cell2:cloud-compute
- nova-compute-cell2:cloud-compute
- - nova-cell-controller-cell2:identity-credentials
- keystone:identity-credentials
- - nova-cloud-controller:amqp
- rabbitmq-server-nova:amqp
- - nova-cell-controller-cell2:amqp
- rabbitmq-server-nova-cell2:amqp
- - nova-cloud-controller:quantum-network-service
- neutron-gateway:quantum-network-service
- - nova-compute-cell2:neutron-plugin
- neutron-openvswitch:neutron-plugin
- - neutron-openvswitch:amqp
- rabbitmq-server-neutron:amqp
- - nova-cloud-controller:shared-db
- mysql:shared-db
- - nova-cell-controller-cell2:shared-db
- mysql-cell2:shared-db
- - nova-cloud-controller:neutron-api
- neutron-api:neutron-api
- - nova-compute-cell2:cloud-credentials
- keystone:identity-credentials
- - ntp:juju-info
- nova-compute-cell2:juju-info
- - ntp:juju-info
- neutron-gateway:juju-info
- - placement:identity-service
- keystone:identity-service
- - placement:shared-db
- mysql:shared-db
- - nova-cloud-controller:placement
- placement:placement
applications:
glance:
charm: cs:~openstack-charmers-next/glance
num_units: 1
options:
openstack-origin: cloud:bionic-train
worker-multiplier: 0.25
keystone:
charm: cs:~openstack-charmers-next/keystone
num_units: 1
options:
admin-password: openstack
openstack-origin: cloud:bionic-train
worker-multiplier: 0.25
mysql:
charm: cs:~openstack-charmers-next/percona-cluster
num_units: 1
options:
innodb-buffer-pool-size: 256M
max-connections: 1000
mysql-cell2:
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-train
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-train
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-train
worker-multiplier: 0.25
debug: true
nova-cell-controller-cell2:
charm: nova-cell-controller
series: bionic
num_units: 1
options:
openstack-origin: cloud:bionic-train
worker-multiplier: 0.25
debug: true
cell-name: "cell2"
nova-compute-cell2:
charm: cs:~openstack-charmers-next/nova-compute
num_units: 1
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-train
debug: true
ntp:
charm: cs:ntp-24
num_units: 0
rabbitmq-server-nova:
charm: cs:~openstack-charmers-next/rabbitmq-server
num_units: 1
rabbitmq-server-nova-cell2:
charm: cs:~openstack-charmers-next/rabbitmq-server
num_units: 1
rabbitmq-server-neutron:
charm: cs:~openstack-charmers-next/rabbitmq-server
num_units: 1
placement:
charm: cs:~openstack-charmers-next/placement
num_units: 1
constraints: mem=1G
options:
openstack-origin: cloud:bionic-train
debug: true

View File

@ -1,163 +0,0 @@
series: bionic
relations:
- - nova-cloud-controller:nova-cell-api
- nova-cell-controller-cell2:nova-cell-compute
- - nova-cloud-controller:shared-db-cell
- mysql-cell2:shared-db
- - nova-cloud-controller:amqp-cell
- rabbitmq-server-nova-cell2:amqp
- - nova-compute-cell2:amqp
- rabbitmq-server-nova-cell2:amqp
- - neutron-gateway:amqp
- rabbitmq-server-neutron:amqp
- - neutron-gateway:amqp-nova
- rabbitmq-server-nova:amqp
- - keystone:shared-db
- mysql:shared-db
- - 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
- - neutron-api:shared-db
- mysql:shared-db
- - neutron-api:amqp
- rabbitmq-server-neutron:amqp
- - neutron-gateway:neutron-plugin-api
- neutron-api:neutron-plugin-api
- - glance:shared-db
- mysql:shared-db
- - glance:amqp
- rabbitmq-server-neutron:amqp
- - nova-cloud-controller:image-service
- glance:image-service
- - nova-compute-cell2:image-service
- glance:image-service
- - nova-cell-controller-cell2:cloud-compute
- nova-compute-cell2:cloud-compute
- - nova-cell-controller-cell2:identity-credentials
- keystone:identity-credentials
- - nova-cloud-controller:amqp
- rabbitmq-server-nova:amqp
- - nova-cell-controller-cell2:amqp
- rabbitmq-server-nova-cell2:amqp
- - nova-cloud-controller:quantum-network-service
- neutron-gateway:quantum-network-service
- - nova-compute-cell2:neutron-plugin
- neutron-openvswitch:neutron-plugin
- - neutron-openvswitch:amqp
- rabbitmq-server-neutron:amqp
- - nova-cloud-controller:shared-db
- mysql:shared-db
- - nova-cell-controller-cell2:shared-db
- mysql-cell2:shared-db
- - nova-cloud-controller:neutron-api
- neutron-api:neutron-api
- - nova-compute-cell2:cloud-credentials
- keystone:identity-credentials
- - ntp:juju-info
- nova-compute-cell2:juju-info
- - ntp:juju-info
- neutron-gateway:juju-info
- - placement:identity-service
- keystone:identity-service
- - placement:shared-db
- mysql:shared-db
- - nova-cloud-controller:placement
- placement:placement
applications:
glance:
charm: cs:~openstack-charmers-next/glance
num_units: 1
options:
openstack-origin: cloud:bionic-ussuri
worker-multiplier: 0.25
keystone:
charm: cs:~openstack-charmers-next/keystone
num_units: 1
options:
admin-password: openstack
openstack-origin: cloud:bionic-ussuri
worker-multiplier: 0.25
mysql:
charm: cs:~openstack-charmers-next/percona-cluster
num_units: 1
options:
innodb-buffer-pool-size: 256M
max-connections: 1000
mysql-cell2:
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:
manage-neutron-plugin-legacy-mode: true
neutron-plugin: ovs
flat-network-providers: physnet1
neutron-security-groups: true
openstack-origin: cloud:bionic-ussuri
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-ussuri
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-ussuri
worker-multiplier: 0.25
debug: true
nova-cell-controller-cell2:
charm: nova-cell-controller
series: bionic
num_units: 1
options:
openstack-origin: cloud:bionic-ussuri
worker-multiplier: 0.25
debug: true
cell-name: "cell2"
nova-compute-cell2:
charm: cs:~openstack-charmers-next/nova-compute
num_units: 1
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-ussuri
debug: true
ntp:
charm: cs:ntp-24
num_units: 0
rabbitmq-server-nova:
charm: cs:~openstack-charmers-next/rabbitmq-server
num_units: 1
rabbitmq-server-nova-cell2:
charm: cs:~openstack-charmers-next/rabbitmq-server
num_units: 1
rabbitmq-server-neutron:
charm: cs:~openstack-charmers-next/rabbitmq-server
num_units: 1
placement:
charm: cs:~openstack-charmers-next/placement
num_units: 1
constraints: mem=1G
options:
openstack-origin: cloud:bionic-ussuri
debug: true

View File

@ -1,289 +0,0 @@
variables:
openstack-origin: &openstack-origin distro
series: focal
comment:
- 'machines section to decide order of deployment. database sooner = faster'
machines:
'0':
constraints: virt-type=kvm mem=3072M
'1':
constraints: virt-type=kvm mem=3072M
'2':
constraints: virt-type=kvm mem=3072M
'3':
constraints: virt-type=kvm mem=3072M
'4':
constraints: virt-type=kvm mem=3072M
'5':
constraints: virt-type=kvm mem=3072M
'6':
'7':
'8':
'9':
'10':
'11':
'12':
constraints: mem=4096M
'13':
'14':
'15':
'16':
applications:
keystone-mysql-router:
charm: cs:~openstack-charmers-next/mysql-router
neutron-api-mysql-router:
charm: cs:~openstack-charmers-next/mysql-router
glance-mysql-router:
charm: cs:~openstack-charmers-next/mysql-router
nova-cloud-controller-mysql-router:
charm: cs:~openstack-charmers-next/mysql-router
nova-cell-controller-cell2-mysql-router:
charm: cs:~openstack-charmers-next/mysql-router
options:
base-port: 3316
placement-mysql-router:
charm: cs:~openstack-charmers-next/mysql-router
mysql-innodb-cluster:
charm: cs:~openstack-charmers-next/mysql-innodb-cluster
num_units: 3
options:
source: *openstack-origin
to:
- '0'
- '1'
- '2'
mysql-innodb-cluster-cell2:
charm: cs:~openstack-charmers-next/mysql-innodb-cluster
num_units: 3
options:
source: *openstack-origin
to:
- '3'
- '4'
- '5'
glance:
charm: cs:~openstack-charmers-next/glance
num_units: 1
options:
openstack-origin: *openstack-origin
worker-multiplier: 0.25
to:
- '6'
keystone:
charm: cs:~openstack-charmers-next/keystone
num_units: 1
options:
admin-password: openstack
openstack-origin: *openstack-origin
worker-multiplier: 0.25
to:
- '7'
neutron-api:
charm: cs:~openstack-charmers-next/neutron-api
num_units: 1
options:
manage-neutron-plugin-legacy-mode: true
neutron-plugin: ovs
flat-network-providers: physnet1
neutron-security-groups: true
openstack-origin: *openstack-origin
worker-multiplier: 0.25
to:
- '8'
neutron-gateway:
charm: cs:~openstack-charmers-next/neutron-gateway
num_units: 1
options:
bridge-mappings: physnet1:br-ex
openstack-origin: *openstack-origin
worker-multiplier: 0.25
to:
- '9'
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: *openstack-origin
worker-multiplier: 0.25
debug: true
to:
- '10'
nova-cell-controller-cell2:
charm: nova-cell-controller
num_units: 1
options:
openstack-origin: *openstack-origin
worker-multiplier: 0.25
debug: true
cell-name: "cell2"
to:
- '11'
nova-compute-cell2:
charm: cs:~openstack-charmers-next/nova-compute
num_units: 1
storage:
ephemeral-device: '40G'
options:
enable-live-migration: true
enable-resize: true
migration-auth-type: ssh
openstack-origin: *openstack-origin
debug: true
to:
- '12'
rabbitmq-server-nova:
charm: cs:~openstack-charmers-next/rabbitmq-server
num_units: 1
to:
- '13'
rabbitmq-server-nova-cell2:
charm: cs:~openstack-charmers-next/rabbitmq-server
num_units: 1
to:
- '14'
rabbitmq-server-neutron:
charm: cs:~openstack-charmers-next/rabbitmq-server
num_units: 1
to:
- '15'
placement:
charm: cs:~openstack-charmers-next/placement
num_units: 1
options:
openstack-origin: *openstack-origin
debug: true
to:
- '16'
relations:
- - 'nova-cloud-controller:nova-cell-api'
- 'nova-cell-controller-cell2:nova-cell-compute'
- - 'nova-cloud-controller:shared-db-cell'
- 'nova-cell-controller-cell2-mysql-router:shared-db'
- - 'nova-cloud-controller:amqp-cell'
- 'rabbitmq-server-nova-cell2:amqp'
- - 'nova-compute-cell2:amqp'
- 'rabbitmq-server-nova-cell2:amqp'
- - 'neutron-gateway:amqp'
- 'rabbitmq-server-neutron:amqp'
- - 'neutron-gateway:amqp-nova'
- 'rabbitmq-server-nova:amqp'
- - 'keystone:shared-db'
- 'keystone-mysql-router:shared-db'
- - 'keystone-mysql-router:db-router'
- 'mysql-innodb-cluster:db-router'
- - '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'
- - 'neutron-api:shared-db'
- 'neutron-api-mysql-router:shared-db'
- - 'neutron-api-mysql-router:db-router'
- 'mysql-innodb-cluster:db-router'
- - 'neutron-api:amqp'
- 'rabbitmq-server-neutron:amqp'
- - 'neutron-gateway:neutron-plugin-api'
- 'neutron-api:neutron-plugin-api'
- - 'glance:shared-db'
- 'glance-mysql-router:shared-db'
- - 'glance-mysql-router:db-router'
- 'mysql-innodb-cluster:db-router'
- - 'glance:amqp'
- 'rabbitmq-server-neutron:amqp'
- - 'nova-cloud-controller:image-service'
- 'glance:image-service'
- - 'nova-compute-cell2:image-service'
- 'glance:image-service'
- - 'nova-cell-controller-cell2:cloud-compute'
- 'nova-compute-cell2:cloud-compute'
- - 'nova-cell-controller-cell2:identity-credentials'
- 'keystone:identity-credentials'
- - 'nova-cloud-controller:amqp'
- 'rabbitmq-server-nova:amqp'
- - 'nova-cell-controller-cell2:amqp'
- 'rabbitmq-server-nova-cell2:amqp'
- - 'nova-cloud-controller:quantum-network-service'
- 'neutron-gateway:quantum-network-service'
- - 'nova-compute-cell2:neutron-plugin'
- 'neutron-openvswitch:neutron-plugin'
- - 'neutron-openvswitch:amqp'
- 'rabbitmq-server-neutron:amqp'
- - 'nova-cloud-controller:shared-db'
- 'nova-cloud-controller-mysql-router:shared-db'
- - 'nova-cloud-controller-mysql-router:db-router'
- 'mysql-innodb-cluster:db-router'
- - 'nova-cell-controller-cell2:shared-db'
- 'nova-cell-controller-cell2-mysql-router:shared-db'
- - 'nova-cell-controller-cell2-mysql-router:db-router'
- 'mysql-innodb-cluster-cell2:db-router'
- - 'nova-cloud-controller:neutron-api'
- 'neutron-api:neutron-api'
- - 'nova-compute-cell2:cloud-credentials'
- 'keystone:identity-credentials'
- - 'placement:identity-service'
- 'keystone:identity-service'
- - 'placement:shared-db'
- 'placement-mysql-router:shared-db'
- - 'placement-mysql-router:db-router'
- 'mysql-innodb-cluster:db-router'
- - 'nova-cloud-controller:placement'
- 'placement:placement'

View File

@ -1,289 +0,0 @@
variables:
openstack-origin: &openstack-origin cloud:focal-victoria
series: focal
comment:
- 'machines section to decide order of deployment. database sooner = faster'
machines:
'0':
constraints: virt-type=kvm mem=3072M
'1':
constraints: virt-type=kvm mem=3072M
'2':
constraints: virt-type=kvm mem=3072M
'3':
constraints: virt-type=kvm mem=3072M
'4':
constraints: virt-type=kvm mem=3072M
'5':
constraints: virt-type=kvm mem=3072M
'6':
'7':
'8':
'9':
'10':
'11':
'12':
constraints: mem=4096M
'13':
'14':
'15':
'16':
applications:
keystone-mysql-router:
charm: cs:~openstack-charmers-next/mysql-router
neutron-api-mysql-router:
charm: cs:~openstack-charmers-next/mysql-router
glance-mysql-router:
charm: cs:~openstack-charmers-next/mysql-router
nova-cloud-controller-mysql-router:
charm: cs:~openstack-charmers-next/mysql-router
nova-cell-controller-cell2-mysql-router:
charm: cs:~openstack-charmers-next/mysql-router
options:
base-port: 3316
placement-mysql-router:
charm: cs:~openstack-charmers-next/mysql-router
mysql-innodb-cluster:
charm: cs:~openstack-charmers-next/mysql-innodb-cluster
num_units: 3
options:
source: *openstack-origin
to:
- '0'
- '1'
- '2'
mysql-innodb-cluster-cell2:
charm: cs:~openstack-charmers-next/mysql-innodb-cluster
num_units: 3
options:
source: *openstack-origin
to:
- '3'
- '4'
- '5'
glance:
charm: cs:~openstack-charmers-next/glance
num_units: 1
options:
openstack-origin: *openstack-origin
worker-multiplier: 0.25
to:
- '6'
keystone:
charm: cs:~openstack-charmers-next/keystone
num_units: 1
options:
admin-password: openstack
openstack-origin: *openstack-origin
worker-multiplier: 0.25
to:
- '7'
neutron-api:
charm: cs:~openstack-charmers-next/neutron-api
num_units: 1
options:
manage-neutron-plugin-legacy-mode: true
neutron-plugin: ovs
flat-network-providers: physnet1
neutron-security-groups: true
openstack-origin: *openstack-origin
worker-multiplier: 0.25
to:
- '8'
neutron-gateway:
charm: cs:~openstack-charmers-next/neutron-gateway
num_units: 1
options:
bridge-mappings: physnet1:br-ex
openstack-origin: *openstack-origin
worker-multiplier: 0.25
to:
- '9'
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: *openstack-origin
worker-multiplier: 0.25
debug: true
to:
- '10'
nova-cell-controller-cell2:
charm: nova-cell-controller
num_units: 1
options:
openstack-origin: *openstack-origin
worker-multiplier: 0.25
debug: true
cell-name: "cell2"
to:
- '11'
nova-compute-cell2:
charm: cs:~openstack-charmers-next/nova-compute
num_units: 1
storage:
ephemeral-device: '40G'
options:
enable-live-migration: true
enable-resize: true
migration-auth-type: ssh
openstack-origin: *openstack-origin
debug: true
to:
- '12'
rabbitmq-server-nova:
charm: cs:~openstack-charmers-next/rabbitmq-server
num_units: 1
to:
- '13'
rabbitmq-server-nova-cell2:
charm: cs:~openstack-charmers-next/rabbitmq-server
num_units: 1
to:
- '14'
rabbitmq-server-neutron:
charm: cs:~openstack-charmers-next/rabbitmq-server
num_units: 1
to:
- '15'
placement:
charm: cs:~openstack-charmers-next/placement
num_units: 1
options:
openstack-origin: *openstack-origin
debug: true
to:
- '16'
relations:
- - 'nova-cloud-controller:nova-cell-api'
- 'nova-cell-controller-cell2:nova-cell-compute'
- - 'nova-cloud-controller:shared-db-cell'
- 'nova-cell-controller-cell2-mysql-router:shared-db'
- - 'nova-cloud-controller:amqp-cell'
- 'rabbitmq-server-nova-cell2:amqp'
- - 'nova-compute-cell2:amqp'
- 'rabbitmq-server-nova-cell2:amqp'
- - 'neutron-gateway:amqp'
- 'rabbitmq-server-neutron:amqp'
- - 'neutron-gateway:amqp-nova'
- 'rabbitmq-server-nova:amqp'
- - 'keystone:shared-db'
- 'keystone-mysql-router:shared-db'
- - 'keystone-mysql-router:db-router'
- 'mysql-innodb-cluster:db-router'
- - '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'
- - 'neutron-api:shared-db'
- 'neutron-api-mysql-router:shared-db'
- - 'neutron-api-mysql-router:db-router'
- 'mysql-innodb-cluster:db-router'
- - 'neutron-api:amqp'
- 'rabbitmq-server-neutron:amqp'
- - 'neutron-gateway:neutron-plugin-api'
- 'neutron-api:neutron-plugin-api'
- - 'glance:shared-db'
- 'glance-mysql-router:shared-db'
- - 'glance-mysql-router:db-router'
- 'mysql-innodb-cluster:db-router'
- - 'glance:amqp'
- 'rabbitmq-server-neutron:amqp'
- - 'nova-cloud-controller:image-service'
- 'glance:image-service'
- - 'nova-compute-cell2:image-service'
- 'glance:image-service'
- - 'nova-cell-controller-cell2:cloud-compute'
- 'nova-compute-cell2:cloud-compute'
- - 'nova-cell-controller-cell2:identity-credentials'
- 'keystone:identity-credentials'
- - 'nova-cloud-controller:amqp'
- 'rabbitmq-server-nova:amqp'
- - 'nova-cell-controller-cell2:amqp'
- 'rabbitmq-server-nova-cell2:amqp'
- - 'nova-cloud-controller:quantum-network-service'
- 'neutron-gateway:quantum-network-service'
- - 'nova-compute-cell2:neutron-plugin'
- 'neutron-openvswitch:neutron-plugin'
- - 'neutron-openvswitch:amqp'
- 'rabbitmq-server-neutron:amqp'
- - 'nova-cloud-controller:shared-db'
- 'nova-cloud-controller-mysql-router:shared-db'
- - 'nova-cloud-controller-mysql-router:db-router'
- 'mysql-innodb-cluster:db-router'
- - 'nova-cell-controller-cell2:shared-db'
- 'nova-cell-controller-cell2-mysql-router:shared-db'
- - 'nova-cell-controller-cell2-mysql-router:db-router'
- 'mysql-innodb-cluster-cell2:db-router'
- - 'nova-cloud-controller:neutron-api'
- 'neutron-api:neutron-api'
- - 'nova-compute-cell2:cloud-credentials'
- 'keystone:identity-credentials'
- - 'placement:identity-service'
- 'keystone:identity-service'
- - 'placement:shared-db'
- 'placement-mysql-router:shared-db'
- - 'placement-mysql-router:db-router'
- 'mysql-innodb-cluster:db-router'
- - 'nova-cloud-controller:placement'
- 'placement:placement'

View File

@ -1,289 +0,0 @@
variables:
openstack-origin: &openstack-origin cloud:focal-wallaby
series: focal
comment:
- 'machines section to decide order of deployment. database sooner = faster'
machines:
'0':
constraints: virt-type=kvm mem=3072M
'1':
constraints: virt-type=kvm mem=3072M
'2':
constraints: virt-type=kvm mem=3072M
'3':
constraints: virt-type=kvm mem=3072M
'4':
constraints: virt-type=kvm mem=3072M
'5':
constraints: virt-type=kvm mem=3072M
'6':
'7':
'8':
'9':
'10':
'11':
'12':
constraints: mem=4096M
'13':
'14':
'15':
'16':
applications:
keystone-mysql-router:
charm: cs:~openstack-charmers-next/mysql-router
neutron-api-mysql-router:
charm: cs:~openstack-charmers-next/mysql-router
glance-mysql-router:
charm: cs:~openstack-charmers-next/mysql-router
nova-cloud-controller-mysql-router:
charm: cs:~openstack-charmers-next/mysql-router
nova-cell-controller-cell2-mysql-router:
charm: cs:~openstack-charmers-next/mysql-router
options:
base-port: 3316
placement-mysql-router:
charm: cs:~openstack-charmers-next/mysql-router
mysql-innodb-cluster:
charm: cs:~openstack-charmers-next/mysql-innodb-cluster
num_units: 3
options:
source: *openstack-origin
to:
- '0'
- '1'
- '2'
mysql-innodb-cluster-cell2:
charm: cs:~openstack-charmers-next/mysql-innodb-cluster
num_units: 3
options:
source: *openstack-origin
to:
- '3'
- '4'
- '5'
glance:
charm: cs:~openstack-charmers-next/glance
num_units: 1
options:
openstack-origin: *openstack-origin
worker-multiplier: 0.25
to:
- '6'
keystone:
charm: cs:~openstack-charmers-next/keystone
num_units: 1
options:
admin-password: openstack
openstack-origin: *openstack-origin
worker-multiplier: 0.25
to:
- '7'
neutron-api:
charm: cs:~openstack-charmers-next/neutron-api
num_units: 1
options:
manage-neutron-plugin-legacy-mode: true
neutron-plugin: ovs
flat-network-providers: physnet1
neutron-security-groups: true
openstack-origin: *openstack-origin
worker-multiplier: 0.25
to:
- '8'
neutron-gateway:
charm: cs:~openstack-charmers-next/neutron-gateway
num_units: 1
options:
bridge-mappings: physnet1:br-ex
openstack-origin: *openstack-origin
worker-multiplier: 0.25
to:
- '9'
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: *openstack-origin
worker-multiplier: 0.25
debug: true
to:
- '10'
nova-cell-controller-cell2:
charm: nova-cell-controller
num_units: 1
options:
openstack-origin: *openstack-origin
worker-multiplier: 0.25
debug: true
cell-name: "cell2"
to:
- '11'
nova-compute-cell2:
charm: cs:~openstack-charmers-next/nova-compute
num_units: 1
storage:
ephemeral-device: '40G'
options:
enable-live-migration: true
enable-resize: true
migration-auth-type: ssh
openstack-origin: *openstack-origin
debug: true
to:
- '12'
rabbitmq-server-nova:
charm: cs:~openstack-charmers-next/rabbitmq-server
num_units: 1
to:
- '13'
rabbitmq-server-nova-cell2:
charm: cs:~openstack-charmers-next/rabbitmq-server
num_units: 1
to:
- '14'
rabbitmq-server-neutron:
charm: cs:~openstack-charmers-next/rabbitmq-server
num_units: 1
to:
- '15'
placement:
charm: cs:~openstack-charmers-next/placement
num_units: 1
options:
openstack-origin: *openstack-origin
debug: true
to:
- '16'
relations:
- - 'nova-cloud-controller:nova-cell-api'
- 'nova-cell-controller-cell2:nova-cell-compute'
- - 'nova-cloud-controller:shared-db-cell'
- 'nova-cell-controller-cell2-mysql-router:shared-db'
- - 'nova-cloud-controller:amqp-cell'
- 'rabbitmq-server-nova-cell2:amqp'
- - 'nova-compute-cell2:amqp'
- 'rabbitmq-server-nova-cell2:amqp'
- - 'neutron-gateway:amqp'
- 'rabbitmq-server-neutron:amqp'
- - 'neutron-gateway:amqp-nova'
- 'rabbitmq-server-nova:amqp'
- - 'keystone:shared-db'
- 'keystone-mysql-router:shared-db'
- - 'keystone-mysql-router:db-router'
- 'mysql-innodb-cluster:db-router'
- - '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'
- - 'neutron-api:shared-db'
- 'neutron-api-mysql-router:shared-db'
- - 'neutron-api-mysql-router:db-router'
- 'mysql-innodb-cluster:db-router'
- - 'neutron-api:amqp'
- 'rabbitmq-server-neutron:amqp'
- - 'neutron-gateway:neutron-plugin-api'
- 'neutron-api:neutron-plugin-api'
- - 'glance:shared-db'
- 'glance-mysql-router:shared-db'
- - 'glance-mysql-router:db-router'
- 'mysql-innodb-cluster:db-router'
- - 'glance:amqp'
- 'rabbitmq-server-neutron:amqp'
- - 'nova-cloud-controller:image-service'
- 'glance:image-service'
- - 'nova-compute-cell2:image-service'
- 'glance:image-service'
- - 'nova-cell-controller-cell2:cloud-compute'
- 'nova-compute-cell2:cloud-compute'
- - 'nova-cell-controller-cell2:identity-credentials'
- 'keystone:identity-credentials'
- - 'nova-cloud-controller:amqp'
- 'rabbitmq-server-nova:amqp'
- - 'nova-cell-controller-cell2:amqp'
- 'rabbitmq-server-nova-cell2:amqp'
- - 'nova-cloud-controller:quantum-network-service'
- 'neutron-gateway:quantum-network-service'
- - 'nova-compute-cell2:neutron-plugin'
- 'neutron-openvswitch:neutron-plugin'
- - 'neutron-openvswitch:amqp'
- 'rabbitmq-server-neutron:amqp'
- - 'nova-cloud-controller:shared-db'
- 'nova-cloud-controller-mysql-router:shared-db'
- - 'nova-cloud-controller-mysql-router:db-router'
- 'mysql-innodb-cluster:db-router'
- - 'nova-cell-controller-cell2:shared-db'
- 'nova-cell-controller-cell2-mysql-router:shared-db'
- - 'nova-cell-controller-cell2-mysql-router:db-router'
- 'mysql-innodb-cluster-cell2:db-router'
- - 'nova-cloud-controller:neutron-api'
- 'neutron-api:neutron-api'
- - 'nova-compute-cell2:cloud-credentials'
- 'keystone:identity-credentials'
- - 'placement:identity-service'
- 'keystone:identity-service'
- - 'placement:shared-db'
- 'placement-mysql-router:shared-db'
- - 'placement-mysql-router:db-router'
- 'mysql-innodb-cluster:db-router'
- - 'nova-cloud-controller:placement'
- 'placement:placement'

View File

@ -35,22 +35,28 @@ machines:
applications:
keystone-mysql-router:
charm: cs:~openstack-charmers-next/mysql-router
charm: ch:mysql-router
channel: latest/edge
neutron-api-mysql-router:
charm: cs:~openstack-charmers-next/mysql-router
charm: ch:mysql-router
channel: latest/edge
glance-mysql-router:
charm: cs:~openstack-charmers-next/mysql-router
charm: ch:mysql-router
channel: latest/edge
nova-cloud-controller-mysql-router:
charm: cs:~openstack-charmers-next/mysql-router
charm: ch:mysql-router
channel: latest/edge
nova-cell-controller-cell2-mysql-router:
charm: cs:~openstack-charmers-next/mysql-router
charm: ch:mysql-router
options:
base-port: 3316
channel: latest/edge
placement-mysql-router:
charm: cs:~openstack-charmers-next/mysql-router
charm: ch:mysql-router
channel: latest/edge
mysql-innodb-cluster:
charm: cs:~openstack-charmers-next/mysql-innodb-cluster
charm: ch:mysql-innodb-cluster
num_units: 3
options:
source: *openstack-origin
@ -58,9 +64,10 @@ applications:
- '0'
- '1'
- '2'
channel: latest/edge
mysql-innodb-cluster-cell2:
charm: cs:~openstack-charmers-next/mysql-innodb-cluster
charm: ch:mysql-innodb-cluster
num_units: 3
options:
source: *openstack-origin
@ -68,18 +75,20 @@ applications:
- '3'
- '4'
- '5'
channel: latest/edge
glance:
charm: cs:~openstack-charmers-next/glance
charm: ch:glance
num_units: 1
options:
openstack-origin: *openstack-origin
worker-multiplier: 0.25
to:
- '6'
channel: latest/edge
keystone:
charm: cs:~openstack-charmers-next/keystone
charm: ch:keystone
num_units: 1
options:
admin-password: openstack
@ -87,9 +96,10 @@ applications:
worker-multiplier: 0.25
to:
- '7'
channel: latest/edge
neutron-api:
charm: cs:~openstack-charmers-next/neutron-api
charm: ch:neutron-api
num_units: 1
options:
manage-neutron-plugin-legacy-mode: true
@ -100,9 +110,10 @@ applications:
worker-multiplier: 0.25