Steps to install 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 landscape-scalable --channel edge
Deployment details are as follows:
Located bundle "landscape-scalable" in charm-hub, revision 11
Located charm "haproxy" in charm-store, revision 66
Located charm "landscape-server" in charm-store, revision 56
Located charm "postgresql" in charm-store, revision 246
Located charm "rabbitmq-server" in charm-store, revision 123
Executing changes:
- upload charm haproxy from charm-store for series focal with architecture=amd64
- deploy application haproxy from charm-store on focal
- expose all endpoints of haproxy and allow access from CIDRs 0.0.0.0/0 and ::/0
- set annotations for haproxy
- upload charm landscape-server from charm-store for series focal from channel edge with architecture=amd64
- deploy application landscape-server from charm-store on focal with edge
- set annotations for landscape-server
- upload charm postgresql from charm-store for series focal with architecture=amd64
- deploy application postgresql from charm-store on focal
added resource wal-e
- set annotations for postgresql
- upload charm rabbitmq-server from charm-store for series focal with architecture=amd64
- deploy application rabbitmq-server from charm-store on focal
- set annotations for rabbitmq-server
- add relation landscape-server - rabbitmq-server
- add relation landscape-server - haproxy
- add relation landscape-server:db - postgresql:db-admin
- add unit haproxy/0 to new machine 0
- add unit landscape-server/0 to new machine 1
- add unit postgresql/0 to new machine 2
- add unit rabbitmq-server/0 to new machine 3
Deploy of bundle completed.
The juju status
output reads as follows:
Model Controller Cloud/Region Version SLA Timestamp
default localhost-localhost localhost/localhost 2.9.35 unsupported 04:17:18Z
App Version Status Scale Charm Channel Rev Exposed Message
haproxy error 1 haproxy stable 66 yes hook failed: "install"
landscape-server waiting 1 landscape-server edge 56 no Waiting on relations: haproxy
postgresql 12.12 active 1 postgresql stable 246 no Live master (12.12)
rabbitmq-server 3.8.2 active 1 rabbitmq-server stable 123 no Unit is ready
Unit Workload Agent Machine Public address Ports Message
haproxy/0* error idle 0 10.12.81.123 hook failed: "install"
landscape-server/0* waiting idle 1 10.12.81.54 Waiting on relations: haproxy
postgresql/0* active idle 2 10.12.81.239 5432/tcp Live master (12.12)
rabbitmq-server/0* active idle 3 10.12.81.97 5672/tcp Unit is ready
Machine State Address Inst id Series AZ Message
0 started 10.12.81.123 juju-927795-0 focal Running
1 started 10.12.81.54 juju-927795-1 focal Running
2 started 10.12.81.239 juju-927795-2 focal Running
3 started 10.12.81.97 juju-927795-3 focal Running
Observations:
- haproxy charm stable revision 66 has a
hook failed: "install"
message - landscape-server edge revision 56 is not the latest edge revision (57 is)
These 2 observations seem to be issues, but further analysis is needed.