Steps to deploy on Oracle Public Cloud virtual machine of shape: VM.Standard.A1.Flex, using four Ampere Altra OCPUs and 24GB of RAM:
sudo iptables -F && sudo netfilter-persistent save
sudo snap install juju --classic
juju bootstrap localhost
juju set-model-constraints arch=arm64
juju deploy postgresql --config extra_packages='python3-apt postgresql-contrib postgresql-.*-debversion postgresql-plpython3-*'
juju deploy haproxy --config default_timeouts='queue 60000, connect 5000, client 120000, server 120000' --config services='' --config ssl_cert='SELFSIGNED' --config global_default_bind_options='no-tlsv10'
juju deploy rabbitmq-server
juju deploy landscape-server --channel=edge
The juju status
output reads as follows:
Model Controller Cloud/Region Version SLA Timestamp
default localhost-localhost localhost/localhost 2.9.35 unsupported 13:21:13Z
App Version Status Scale Charm Channel Rev Exposed Message
haproxy waiting 0/1 haproxy stable 66 no waiting for machine
landscape-server maintenance 1 landscape-server edge 55 no installing charm software
postgresql 12.12 active 1 postgresql stable 239 no Live master (12.12)
rabbitmq-server waiting 0/1 rabbitmq-server stable 123 no waiting for machine
Unit Workload Agent Machine Public address Ports Message
haproxy/0 waiting allocating 2 waiting for machine
landscape-server/0* maintenance executing 0 10.204.197.48 (install) installing charm software
postgresql/0* active idle 1 10.204.197.172 5432/tcp Live master (12.12)
rabbitmq-server/0 waiting allocating 3 waiting for machine
Machine State Address Inst id Series AZ Message
0 started 10.204.197.48 juju-8433b0-0 bionic Running
1 started 10.204.197.172 juju-8433b0-1 focal Running
2 pending juju-8433b0-2 xenial Running
3 down juju-8433b0-3 xenial Running
Observations:
- haproxy stable revision 66 is deployed to a xenial container, successfully
- landscape-server edge revision 55 is deployed to a focal container, but has a
hook failed: "install"
message - rabbmitmq-server stable revision 123 is deployed to a xenial container, successfully
Expectations:
- haproxy should be deployed a focal container
- landscape-server edge revision 57 is the latest revision, which is what should be deployed, successfully (no hook failures)
- rabbitmq-server should be deployed to a focal container
Due to these observations not meeting expectations, the subsequent step to relate the charms has not been performed.