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 latest/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 15:44:56Z
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.204.197.227 hook failed: "install"
landscape-server/0* waiting idle 1 10.204.197.98 Waiting on relations: haproxy
postgresql/0* active idle 2 10.204.197.102 5432/tcp Live master (12.12)
rabbitmq-server/0* active idle 3 10.204.197.216 5672/tcp Unit is ready
Machine State Address Inst id Series AZ Message
0 started 10.204.197.227 juju-4a159b-0 focal Running
1 started 10.204.197.98 juju-4a159b-1 focal Running
2 started 10.204.197.102 juju-4a159b-2 focal Running
3 started 10.204.197.216 juju-4a159b-3 focal Running
Observations:
- landscape-server is deployed from edge at revision 56
- every container is running in the focal series
- haproxy charm stable revision 66 has a
hook failed: "install"
message
Expectations:
- landscape-server would be deployed from the latest charm, revision 57
- the container series would match the host: jammy
These expectations may be misaligned from what is supposed to happen, is this the appropriate result?