Juju deploy individual charms to Ubuntu 22.04 (jammy), on aarch64 (arm64)

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:

  1. haproxy stable revision 66 is deployed to a xenial container, successfully
  2. landscape-server edge revision 55 is deployed to a focal container, but has a hook failed: "install" message
  3. rabbmitmq-server stable revision 123 is deployed to a xenial container, successfully

Expectations:

  1. haproxy should be deployed a focal container
  2. landscape-server edge revision 57 is the latest revision, which is what should be deployed, successfully (no hook failures)
  3. 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.

2 Likes

This failure was addressed on April 5 in this git commit: https://github.com/canonical/landscape-scripts/commit/e71200a8fba5669102e96dde0dc70cdb80dc0fba

Follow the steps found here: https://ubuntu.com/landscape/install