* Add nova policy override for mimic * fine tuning of keystone override * segregate lma and landscape applications/relations * Add workaround for altname for interfaces * Update focal overlay to update and mimic * Add hosts file for addtion to local host
152 lines
6.2 KiB
YAML
152 lines
6.2 KiB
YAML
variables:
|
|
oam-space: &oam-space oam
|
|
openstack-origin: &openstack-origin distro
|
|
|
|
applications:
|
|
landscape-server:
|
|
charm: cs:landscape-server
|
|
series: bionic
|
|
bindings:
|
|
"": *oam-space
|
|
options:
|
|
install_sources: |-
|
|
- 'deb http://192.168.1.12/ppa.launchpad.net/landscape/19.10/ubuntu bionic main'
|
|
install_keys: |-
|
|
- |
|
|
-----BEGIN PGP PUBLIC KEY BLOCK-----
|
|
Version: SKS 1.1.6
|
|
Comment: Hostname: keyserver.ubuntu.com
|
|
mI0ESXN/egEEAOgRYISU9dnQm4BB5ZEEwKT+NKUDNd/DhMYdtBMw9Yk7S5cyoqpbtwoPJVzK
|
|
AXxq+ng5e3yYypSv98pLMr5UF09FGaeyGlD4s1uaVFWkFCO4jsTg7pWIY6qzO/jMxB5+Yu/G
|
|
0GjWQMNKxFk0oHMa0PhNBZtdPacVz65mOVmCsh/lABEBAAG0G0xhdW5jaHBhZCBQUEEgZm9y
|
|
IExhbmRzY2FwZYi2BBMBAgAgBQJJc396AhsDBgsJCAcDAgQVAggDBBYCAwECHgECF4AACgkQ
|
|
boWobkZStOb+rwP+ONKUWeX+MTIPqGWkknBPV7jm8nyyIUojC4IhS+9YR6GYnn0hMABSkEHm
|
|
IV73feKmrT2GESYI1UdYeKiOkWsPN/JyBk+eTvKet0qsw5TluqiHSW+LEi/+zUyrS3dDMX3o
|
|
yaLgYa+UkjIyxnaKLkQuCiS+D+fYwnJulIkhaKObtdE=
|
|
=UwRd
|
|
-----END PGP PUBLIC KEY BLOCK-----
|
|
license-file: include-base64://../../secrets/ldslicense.txt
|
|
#root-url: http://landscape.example.com/
|
|
num_units: 3
|
|
to:
|
|
- 300
|
|
- 301
|
|
- 302
|
|
landscape-rabbitmq-server:
|
|
charm: cs:rabbitmq-server
|
|
bindings:
|
|
"": *oam-space
|
|
cluster: *oam-space
|
|
amqp: *oam-space
|
|
num_units: 3
|
|
options:
|
|
source: *openstack-origin
|
|
min-cluster-size: 3
|
|
cluster-partition-handling: pause_minority
|
|
to:
|
|
- lxd:300
|
|
- lxd:301
|
|
- lxd:302
|
|
landscape-postgresql:
|
|
charm: cs:postgresql
|
|
series: bionic
|
|
bindings:
|
|
"": *oam-space
|
|
options:
|
|
extra_packages: python-apt postgresql-contrib postgresql-.*-debversion postgresql-plpython.*
|
|
max_connections: 500
|
|
max_prepared_transactions: 500
|
|
num_units: 2
|
|
to:
|
|
- lxd:300
|
|
- lxd:301
|
|
landscape-haproxy:
|
|
charm: cs:haproxy
|
|
bindings:
|
|
"": *oam-space
|
|
options:
|
|
default_timeouts: "queue 60000, connect 5000, client 120000, server 120000"
|
|
services: ""
|
|
source: backports
|
|
ssl_cert: SELFSIGNED
|
|
global_default_bind_options: "no-tlsv10"
|
|
num_units: 1
|
|
to:
|
|
- lxd:302
|
|
landscape-client:
|
|
charm: cs:landscape-client
|
|
options:
|
|
account-name: "standalone"
|
|
#registration-key: include-file://../secrets/landscape-registration.txt
|
|
disable-unattended-upgrades: True
|
|
# the reason that this has to be done manually is because Landscape server needs an admin user to be
|
|
# created first (manual step, see above). Once the user and registration key is set configure the clients' url and ping-url options.
|
|
#ping-url: http://landscape.example.com/ping
|
|
#url: https://landscape.example.com/message-system
|
|
landscape-client-bionic:
|
|
charm: cs:landscape-client
|
|
options:
|
|
account-name: "standalone"
|
|
origin: |
|
|
deb http://192.168.1.12/ppa.launchpad.net/landscape/19.10/ubuntu bionic main|-----BEGIN PGP PUBLIC KEY BLOCK-----
|
|
Version: SKS 1.1.6
|
|
Comment: Hostname: keyserver.ubuntu.com
|
|
mI0ESXN/egEEAOgRYISU9dnQm4BB5ZEEwKT+NKUDNd/DhMYdtBMw9Yk7S5cyoqpbtwoPJVzK
|
|
AXxq+ng5e3yYypSv98pLMr5UF09FGaeyGlD4s1uaVFWkFCO4jsTg7pWIY6qzO/jMxB5+Yu/G
|
|
0GjWQMNKxFk0oHMa0PhNBZtdPacVz65mOVmCsh/lABEBAAG0G0xhdW5jaHBhZCBQUEEgZm9y
|
|
IExhbmRzY2FwZYi2BBMBAgAgBQJJc396AhsDBgsJCAcDAgQVAggDBBYCAwECHgECF4AACgkQ
|
|
boWobkZStOb+rwP+ONKUWeX+MTIPqGWkknBPV7jm8nyyIUojC4IhS+9YR6GYnn0hMABSkEHm
|
|
IV73feKmrT2GESYI1UdYeKiOkWsPN/JyBk+eTvKet0qsw5TluqiHSW+LEi/+zUyrS3dDMX3o
|
|
yaLgYa+UkjIyxnaKLkQuCiS+D+fYwnJulIkhaKObtdE=
|
|
=UwRd
|
|
-----END PGP PUBLIC KEY BLOCK-----
|
|
#registration-key: include-file://../secrets/landscape-registration.txt
|
|
disable-unattended-upgrades: True
|
|
# the reason that this has to be done manually is because Landscape server needs an admin user to be
|
|
# created first (manual step, see above). Once the user and registration key is set configure the clients' url and ping-url options.
|
|
#ping-url: http://landscape.example.com/ping
|
|
#url: https://landscape.example.com/message-system
|
|
|
|
relations:
|
|
# Landscape Applications
|
|
- [ "landscape-server:juju-info", "ntp:juju-info" ]
|
|
|
|
- [ "landscape-rabbitmq-server:juju-info", "ntp:juju-info" ]
|
|
- [ "landscape-rabbitmq-server:juju-info", "landscape-client:container" ]
|
|
|
|
- [ "landscape-postgresql:juju-info", "ntp:juju-info" ]
|
|
|
|
- [ "landscape-server:amqp", "landscape-rabbitmq-server:amqp" ]
|
|
- [ "landscape-server:website", "landscape-haproxy:reverseproxy" ]
|
|
- [ "landscape-server:db", "landscape-postgresql:db-admin" ]
|
|
|
|
# landscape-client-bionic
|
|
- [ "landscape-client-bionic:container", "landscape-haproxy:juju-info" ]
|
|
- [ "landscape-client-bionic:container", "landscape-postgresql:juju-info" ]
|
|
- [ "landscape-client-bionic:container", "landscape-server:juju-info" ]
|
|
|
|
# landscape-client
|
|
- [ "landscape-client:container", "vault:juju-info" ]
|
|
- [ "landscape-client:container", "etcd:juju-info" ]
|
|
- [ "landscape-client:container", "easyrsa:juju-info" ]
|
|
- [ "landscape-client:container", "memcached:juju-info" ]
|
|
- [ "landscape-client:container", "nova-compute:juju-info" ]
|
|
- [ "landscape-client:container", "neutron-gateway:juju-info" ]
|
|
- [ "landscape-client:container", "keystone:juju-info" ]
|
|
- [ "landscape-client:container", "glance:juju-info" ]
|
|
- [ "landscape-client:container", "cinder:juju-info" ]
|
|
# - [ "landscape-client:container", "cinder2:juju-info" ]
|
|
- [ "landscape-client:container", "heat:juju-info" ]
|
|
- [ "landscape-client:container", "mysql-innodb-cluster:juju-info" ]
|
|
- [ "landscape-client:container", "ceph-mon:juju-info" ]
|
|
- [ "landscape-client:container", "neutron-api:juju-info" ]
|
|
- [ "landscape-client:container", "rabbitmq-server:juju-info" ]
|
|
- [ "landscape-client:container", "openstack-dashboard:juju-info" ]
|
|
- [ "landscape-client:container", "nova-cloud-controller:juju-info" ]
|
|
- [ "landscape-client:container", "gnocchi:juju-info" ]
|
|
- [ "landscape-client:container", "ceilometer:juju-info" ]
|
|
- [ "landscape-client:container", "aodh:juju-info" ]
|
|
- [ "landscape-client:container", "placement:juju-info" ]
|
|
- [ "landscape-client:container", "juniper-server:juju-info" ]
|
|
|