`juju bootstrap localhost overlord` doesn't work on arm64

Bug #1996647 reported by Simon Déziel
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Canonical Juju
New
Undecided
Unassigned

Bug Description

On https://juju.is/docs/olm/lxd it says to run `juju bootstrap localhost overlord` to get a Juju controller. This fails (used to work before, IIRC) when on arm64:

sdeziel@shell01:~$ juju bootstrap localhost overlord
Since Juju 3 is being run for the first time, it has downloaded the latest public cloud information.
Creating Juju controller "overlord" on localhost/localhost
Looking for packaged Juju agent version 3.0.0 for arm64
Located Juju agent version 3.0.0-ubuntu-arm64 at https://streams.canonical.com/juju/tools/agent/3.0.0/juju-3.0.0-linux-arm64.tgz
To configure your system to better support LXD containers, please see: https://linuxcontainers.org/lxd/docs/master/explanation/performance_tuning/
Launching controller instance(s) on localhost/localhost...
 - juju-57e496-0 (arch=arm64)
Installing Juju agent on bootstrap instance
Waiting for address
Attempting to connect to 172.17.40.99:22
Connected to 172.17.40.99
Running machine configuration script...
Cloud-init v. 22.3.4-0ubuntu1~22.04.1 running 'init-local' at Tue, 15 Nov 2022 21:25:08 +0000. Up 2.91 seconds.
Cloud-init v. 22.3.4-0ubuntu1~22.04.1 running 'init' at Tue, 15 Nov 2022 21:25:11 +0000. Up 5.49 seconds.
ci-info: ++++++++++++++++++++++++++++++++++++++Net device info+++++++++++++++++++++++++++++++++++++++
ci-info: +--------+------+-----------------------------+---------------+--------+-------------------+
ci-info: | Device | Up | Address | Mask | Scope | Hw-Address |
ci-info: +--------+------+-----------------------------+---------------+--------+-------------------+
ci-info: | eth0 | True | 172.17.40.99 | 255.255.255.0 | global | 00:16:3e:0b:e6:fe |
ci-info: | eth0 | True | fe80::216:3eff:fe0b:e6fe/64 | . | link | 00:16:3e:0b:e6:fe |
ci-info: | lo | True | 127.0.0.1 | 255.0.0.0 | host | . |
ci-info: | lo | True | ::1/128 | . | host | . |
ci-info: +--------+------+-----------------------------+---------------+--------+-------------------+
ci-info: ++++++++++++++++++++++++++++++Route IPv4 info++++++++++++++++++++++++++++++
ci-info: +-------+-------------+-------------+-----------------+-----------+-------+
ci-info: | Route | Destination | Gateway | Genmask | Interface | Flags |
ci-info: +-------+-------------+-------------+-----------------+-----------+-------+
ci-info: | 0 | 0.0.0.0 | 172.17.40.1 | 0.0.0.0 | eth0 | UG |
ci-info: | 1 | 172.17.40.0 | 0.0.0.0 | 255.255.255.0 | eth0 | U |
ci-info: | 2 | 172.17.40.1 | 0.0.0.0 | 255.255.255.255 | eth0 | UH |
ci-info: +-------+-------------+-------------+-----------------+-----------+-------+
ci-info: +++++++++++++++++++Route IPv6 info+++++++++++++++++++
ci-info: +-------+-------------+---------+-----------+-------+
ci-info: | Route | Destination | Gateway | Interface | Flags |
ci-info: +-------+-------------+---------+-----------+-------+
ci-info: | 0 | fe80::/64 | :: | eth0 | U |
ci-info: | 2 | local | :: | eth0 | U |
ci-info: | 3 | multicast | :: | eth0 | U |
ci-info: +-------+-------------+---------+-----------+-------+
Cloud-init v. 22.3.4-0ubuntu1~22.04.1 running 'modules:config' at Tue, 15 Nov 2022 21:25:23 +0000. Up 17.50 seconds.
Cloud-init v. 22.3.4-0ubuntu1~22.04.1 running 'modules:final' at Tue, 15 Nov 2022 21:25:25 +0000. Up 19.33 seconds.
+ install -D -m 644 /dev/null /var/lib/juju/nonce.txt
+ echo user-admin:bootstrap
Cloud-init v. 22.3.4-0ubuntu1~22.04.1 finished at Tue, 15 Nov 2022 21:25:25 +0000. Datasource DataSourceLXD. Up 19.76 seconds
Logging to /var/log/cloud-init-output.log on the bootstrap machine
Regenerating SSH host keys
Generating public/private rsa key pair.
Your identification has been saved in /etc/ssh/ssh_host_rsa_key
Your public key has been saved in /etc/ssh/ssh_host_rsa_key.pub
The key fingerprint is:
SHA256:r8w8m5Qxjd22nj8eycb8IuETXN/1LPPutaIxUm2D5q0 root@juju-57e496-0
The key's randomart image is:
+---[RSA 3072]----+
| |
| |
| |
| + .o . .|
| S o=o= o+|
| =+.*=+.=|
| o..=.+B+.|
| =.o..B+oo+|
| Bo E+=+*+|
+----[SHA256]-----+
Generating public/private ecdsa key pair.
Your identification has been saved in /etc/ssh/ssh_host_ecdsa_key
Your public key has been saved in /etc/ssh/ssh_host_ecdsa_key.pub
The key fingerprint is:
SHA256:JERBjgYfBLZHo0Jm4/ZauruTymicnCFg+MXmy0/FnEc root@juju-57e496-0
The key's randomart image is:
+---[ECDSA 256]---+
| =+o=o=. |
|=..* * |
|ooo.= o . E |
|+o.o+ = o |
|o. * S . |
|..= . . . |
|+o=. .. |
|oO. o. |
|==+ .. |
+----[SHA256]-----+
Generating public/private ed25519 key pair.
Your identification has been saved in /etc/ssh/ssh_host_ed25519_key
Your public key has been saved in /etc/ssh/ssh_host_ed25519_key.pub
The key fingerprint is:
SHA256:Zl+YfuTcUzCy0Gptb44DyWGmlnQOiILxWjYWZycQv4I root@juju-57e496-0
The key's randomart image is:
+--[ED25519 256]--+
| oo |
|. ..+ . . |
| + +.+ . . o o |
|..B ... o =* o o |
|E=.o. .SX=o* .|
|. . o++=* o . |
| . o.+ = |
| ..+ . |
| ... |
+----[SHA256]-----+
Running apt-get update
Hit:1 http://ports.ubuntu.com/ubuntu-ports jammy InRelease
Get:2 http://ports.ubuntu.com/ubuntu-ports jammy-updates InRelease [114 kB]
Get:3 http://ports.ubuntu.com/ubuntu-ports jammy-backports InRelease [99.8 kB]
Get:4 http://ports.ubuntu.com/ubuntu-ports jammy-security InRelease [110 kB]
Get:5 http://ports.ubuntu.com/ubuntu-ports jammy/universe arm64 Packages [13.9 MB]
Get:6 http://ports.ubuntu.com/ubuntu-ports jammy/universe Translation-en [5652 kB]
Get:7 http://ports.ubuntu.com/ubuntu-ports jammy/universe arm64 c-n-f Metadata [277 kB]
Get:8 http://ports.ubuntu.com/ubuntu-ports jammy/multiverse arm64 Packages [184 kB]
Get:9 http://ports.ubuntu.com/ubuntu-ports jammy/multiverse Translation-en [112 kB]
Get:10 http://ports.ubuntu.com/ubuntu-ports jammy/multiverse arm64 c-n-f Metadata [7064 B]
Get:11 http://ports.ubuntu.com/ubuntu-ports jammy-updates/main arm64 Packages [667 kB]
Get:12 http://ports.ubuntu.com/ubuntu-ports jammy-updates/main Translation-en [161 kB]
Get:13 http://ports.ubuntu.com/ubuntu-ports jammy-updates/main arm64 c-n-f Metadata [10.6 kB]
Get:14 http://ports.ubuntu.com/ubuntu-ports jammy-updates/restricted arm64 Packages [175 kB]
Get:15 http://ports.ubuntu.com/ubuntu-ports jammy-updates/restricted Translation-en [67.5 kB]
Get:16 http://ports.ubuntu.com/ubuntu-ports jammy-updates/restricted arm64 c-n-f Metadata [452 B]
Get:17 http://ports.ubuntu.com/ubuntu-ports jammy-updates/universe arm64 Packages [643 kB]
Get:18 http://ports.ubuntu.com/ubuntu-ports jammy-updates/universe Translation-en [123 kB]
Get:19 http://ports.ubuntu.com/ubuntu-ports jammy-updates/universe arm64 c-n-f Metadata [4356 B]
Get:20 http://ports.ubuntu.com/ubuntu-ports jammy-updates/multiverse arm64 Packages [2280 B]
Get:21 http://ports.ubuntu.com/ubuntu-ports jammy-updates/multiverse Translation-en [2360 B]
Get:22 http://ports.ubuntu.com/ubuntu-ports jammy-updates/multiverse arm64 c-n-f Metadata [116 B]
Get:23 http://ports.ubuntu.com/ubuntu-ports jammy-backports/main arm64 Packages [3012 B]
Get:24 http://ports.ubuntu.com/ubuntu-ports jammy-backports/main Translation-en [1432 B]
Get:25 http://ports.ubuntu.com/ubuntu-ports jammy-backports/main arm64 c-n-f Metadata [272 B]
Get:26 http://ports.ubuntu.com/ubuntu-ports jammy-backports/restricted arm64 c-n-f Metadata [116 B]
Get:27 http://ports.ubuntu.com/ubuntu-ports jammy-backports/universe arm64 Packages [6748 B]
Get:28 http://ports.ubuntu.com/ubuntu-ports jammy-backports/universe Translation-en [9360 B]
Get:29 http://ports.ubuntu.com/ubuntu-ports jammy-backports/universe arm64 c-n-f Metadata [352 B]
Get:30 http://ports.ubuntu.com/ubuntu-ports jammy-backports/multiverse arm64 c-n-f Metadata [116 B]
Get:31 http://ports.ubuntu.com/ubuntu-ports jammy-security/main arm64 Packages [424 kB]
Get:32 http://ports.ubuntu.com/ubuntu-ports jammy-security/main Translation-en [103 kB]
Get:33 http://ports.ubuntu.com/ubuntu-ports jammy-security/restricted arm64 Packages [149 kB]
Get:34 http://ports.ubuntu.com/ubuntu-ports jammy-security/restricted Translation-en [57.6 kB]
Get:35 http://ports.ubuntu.com/ubuntu-ports jammy-security/universe arm64 Packages [505 kB]
Get:36 http://ports.ubuntu.com/ubuntu-ports jammy-security/universe Translation-en [78.2 kB]
Get:37 http://ports.ubuntu.com/ubuntu-ports jammy-security/universe arm64 c-n-f Metadata [2384 B]
Get:38 http://ports.ubuntu.com/ubuntu-ports jammy-security/multiverse Translation-en [900 B]
Get:39 http://ports.ubuntu.com/ubuntu-ports jammy-security/multiverse arm64 c-n-f Metadata [116 B]
Fetched 23.6 MB in 7s (3420 kB/s)
Reading package lists...
Running apt-get upgrade
cloud-init set on hold.
Reading package lists...
Building dependency tree...
Reading state information...
Calculating upgrade...
The following packages will be upgraded:
  distro-info-data libntfs-3g89 libpython3.10 libpython3.10-minimal
  libpython3.10-stdlib libsqlite3-0 ntfs-3g python3.10 python3.10-minimal
  tzdata ubuntu-advantage-tools
11 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
8 standard LTS security updates
Need to get 8965 kB of archives.
After this operation, 35.8 kB disk space will be freed.
Get:1 http://ports.ubuntu.com/ubuntu-ports jammy-updates/main arm64 libpython3.10 arm64 3.10.6-1~22.04.1 [1893 kB]
Get:2 http://ports.ubuntu.com/ubuntu-ports jammy-updates/main arm64 python3.10 arm64 3.10.6-1~22.04.1 [497 kB]
Get:3 http://ports.ubuntu.com/ubuntu-ports jammy-updates/main arm64 libpython3.10-stdlib arm64 3.10.6-1~22.04.1 [1828 kB]
Get:4 http://ports.ubuntu.com/ubuntu-ports jammy-updates/main arm64 python3.10-minimal arm64 3.10.6-1~22.04.1 [2251 kB]
Get:5 http://ports.ubuntu.com/ubuntu-ports jammy-updates/main arm64 libpython3.10-minimal arm64 3.10.6-1~22.04.1 [807 kB]
Get:6 http://ports.ubuntu.com/ubuntu-ports jammy-updates/main arm64 libsqlite3-0 arm64 3.37.2-2ubuntu0.1 [636 kB]
Get:7 http://ports.ubuntu.com/ubuntu-ports jammy-updates/main arm64 ntfs-3g arm64 1:2021.8.22-3ubuntu1.2 [395 kB]
Get:8 http://ports.ubuntu.com/ubuntu-ports jammy-updates/main arm64 libntfs-3g89 arm64 1:2021.8.22-3ubuntu1.2 [157 kB]
Get:9 http://ports.ubuntu.com/ubuntu-ports jammy-updates/main arm64 distro-info-data all 0.52ubuntu0.2 [5160 B]
Get:10 http://ports.ubuntu.com/ubuntu-ports jammy-updates/main arm64 tzdata all 2022f-0ubuntu0.22.04.1 [333 kB]
Get:11 http://ports.ubuntu.com/ubuntu-ports jammy-updates/main arm64 ubuntu-advantage-tools arm64 27.11.3~22.04.1 [163 kB]
Preconfiguring packages ...
Fetched 8965 kB in 2s (5900 kB/s)
(Reading database ... 34301 files and directories currently installed.)
Preparing to unpack .../00-libpython3.10_3.10.6-1~22.04.1_arm64.deb ...
Unpacking libpython3.10:arm64 (3.10.6-1~22.04.1) over (3.10.6-1~22.04) ...
Preparing to unpack .../01-python3.10_3.10.6-1~22.04.1_arm64.deb ...
Unpacking python3.10 (3.10.6-1~22.04.1) over (3.10.6-1~22.04) ...
Preparing to unpack .../02-libpython3.10-stdlib_3.10.6-1~22.04.1_arm64.deb ...
Unpacking libpython3.10-stdlib:arm64 (3.10.6-1~22.04.1) over (3.10.6-1~22.04) ...
Preparing to unpack .../03-python3.10-minimal_3.10.6-1~22.04.1_arm64.deb ...
Unpacking python3.10-minimal (3.10.6-1~22.04.1) over (3.10.6-1~22.04) ...
Preparing to unpack .../04-libpython3.10-minimal_3.10.6-1~22.04.1_arm64.deb ...
Unpacking libpython3.10-minimal:arm64 (3.10.6-1~22.04.1) over (3.10.6-1~22.04) ...
Preparing to unpack .../05-libsqlite3-0_3.37.2-2ubuntu0.1_arm64.deb ...
Unpacking libsqlite3-0:arm64 (3.37.2-2ubuntu0.1) over (3.37.2-2) ...
Preparing to unpack .../06-ntfs-3g_1%3a2021.8.22-3ubuntu1.2_arm64.deb ...
Unpacking ntfs-3g (1:2021.8.22-3ubuntu1.2) over (1:2021.8.22-3ubuntu1.1) ...
Preparing to unpack .../07-libntfs-3g89_1%3a2021.8.22-3ubuntu1.2_arm64.deb ...
Unpacking libntfs-3g89 (1:2021.8.22-3ubuntu1.2) over (1:2021.8.22-3ubuntu1.1) ...
Preparing to unpack .../08-distro-info-data_0.52ubuntu0.2_all.deb ...
Unpacking distro-info-data (0.52ubuntu0.2) over (0.52ubuntu0.1) ...
Preparing to unpack .../09-tzdata_2022f-0ubuntu0.22.04.1_all.deb ...
Unpacking tzdata (2022f-0ubuntu0.22.04.1) over (2022e-0ubuntu0.22.04.0) ...
Preparing to unpack .../10-ubuntu-advantage-tools_27.11.3~22.04.1_arm64.deb ...
Unpacking ubuntu-advantage-tools (27.11.3~22.04.1) over (27.11.2~22.04.1) ...
Setting up distro-info-data (0.52ubuntu0.2) ...
Setting up libsqlite3-0:arm64 (3.37.2-2ubuntu0.1) ...
Setting up libntfs-3g89 (1:2021.8.22-3ubuntu1.2) ...
Setting up ntfs-3g (1:2021.8.22-3ubuntu1.2) ...
Setting up tzdata (2022f-0ubuntu0.22.04.1) ...

Current default time zone: 'Etc/UTC'
Local time is now: Tue Nov 15 21:26:18 UTC 2022.
Universal Time is now: Tue Nov 15 21:26:18 UTC 2022.
Run 'dpkg-reconfigure tzdata' if you wish to change it.

Setting up libpython3.10-minimal:arm64 (3.10.6-1~22.04.1) ...
Setting up ubuntu-advantage-tools (27.11.3~22.04.1) ...
Installing new version of config file /etc/apt/apt.conf.d/20apt-esm-hook.conf ...
Setting up python3.10-minimal (3.10.6-1~22.04.1) ...
Setting up libpython3.10-stdlib:arm64 (3.10.6-1~22.04.1) ...
Setting up libpython3.10:arm64 (3.10.6-1~22.04.1) ...
Setting up python3.10 (3.10.6-1~22.04.1) ...
Processing triggers for libc-bin (2.35-0ubuntu3.1) ...
Processing triggers for man-db (2.10.2-1) ...
Processing triggers for initramfs-tools (0.140ubuntu13) ...
NEEDRESTART-VER: 3.5
NEEDRESTART-SVC: networkd-dispatcher.service
NEEDRESTART-SVC: packagekit.service
NEEDRESTART-SVC: unattended-upgrades.service
Canceled hold on cloud-init.
Installing curl, cpu-checker, tmux, ubuntu-fan
Reading package lists...
Building dependency tree...
Reading state information...
curl is already the newest version (7.81.0-1ubuntu1.6).
curl set to manually installed.
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
Reading package lists...
Building dependency tree...
Reading state information...
The following NEW packages will be installed:
  cpu-checker
0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded.
Need to get 6784 B of archives.
After this operation, 21.5 kB of additional disk space will be used.
Get:1 http://ports.ubuntu.com/ubuntu-ports jammy/main arm64 cpu-checker arm64 0.7-1.3build1 [6784 B]
Fetched 6784 B in 0s (36.6 kB/s)
Selecting previously unselected package cpu-checker.
(Reading database ... 34301 files and directories currently installed.)
Preparing to unpack .../cpu-checker_0.7-1.3build1_arm64.deb ...
Unpacking cpu-checker (0.7-1.3build1) ...
Setting up cpu-checker (0.7-1.3build1) ...
Processing triggers for man-db (2.10.2-1) ...
NEEDRESTART-VER: 3.5
NEEDRESTART-SVC: networkd-dispatcher.service
NEEDRESTART-SVC: packagekit.service
NEEDRESTART-SVC: unattended-upgrades.service
Reading package lists...
Building dependency tree...
Reading state information...
tmux is already the newest version (3.2a-4build1).
tmux set to manually installed.
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
Reading package lists...
Building dependency tree...
Reading state information...
The following additional packages will be installed:
  bridge-utils dns-root-data dnsmasq-base
Suggested packages:
  ifupdown
The following NEW packages will be installed:
  bridge-utils dns-root-data dnsmasq-base ubuntu-fan
0 upgraded, 4 newly installed, 0 to remove and 0 not upgraded.
Need to get 419 kB of archives.
After this operation, 1108 kB of additional disk space will be used.
Get:1 http://ports.ubuntu.com/ubuntu-ports jammy/main arm64 bridge-utils arm64 1.7-1ubuntu3 [34.4 kB]
Get:2 http://ports.ubuntu.com/ubuntu-ports jammy/main arm64 dns-root-data all 2021011101 [5256 B]
Get:3 http://ports.ubuntu.com/ubuntu-ports jammy-updates/main arm64 dnsmasq-base arm64 2.86-1.1ubuntu0.1 [344 kB]
Get:4 http://ports.ubuntu.com/ubuntu-ports jammy/universe arm64 ubuntu-fan all 0.12.16 [35.2 kB]
Fetched 419 kB in 1s (602 kB/s)
Selecting previously unselected package bridge-utils.
(Reading database ... 34308 files and directories currently installed.)
Preparing to unpack .../bridge-utils_1.7-1ubuntu3_arm64.deb ...
Unpacking bridge-utils (1.7-1ubuntu3) ...
Selecting previously unselected package dns-root-data.
Preparing to unpack .../dns-root-data_2021011101_all.deb ...
Unpacking dns-root-data (2021011101) ...
Selecting previously unselected package dnsmasq-base.
Preparing to unpack .../dnsmasq-base_2.86-1.1ubuntu0.1_arm64.deb ...
Unpacking dnsmasq-base (2.86-1.1ubuntu0.1) ...
Selecting previously unselected package ubuntu-fan.
Preparing to unpack .../ubuntu-fan_0.12.16_all.deb ...
Unpacking ubuntu-fan (0.12.16) ...
Setting up dnsmasq-base (2.86-1.1ubuntu0.1) ...
Setting up dns-root-data (2021011101) ...
Setting up bridge-utils (1.7-1ubuntu3) ...
Setting up ubuntu-fan (0.12.16) ...
Created symlink /etc/systemd/system/multi-user.target.wants/ubuntu-fan.service → /lib/systemd/system/ubuntu-fan.service.
Processing triggers for dbus (1.12.20-2ubuntu4.1) ...
Processing triggers for man-db (2.10.2-1) ...
NEEDRESTART-VER: 3.5
NEEDRESTART-SVC: networkd-dispatcher.service
NEEDRESTART-SVC: packagekit.service
NEEDRESTART-SVC: unattended-upgrades.service
Fetching Juju agent version 3.0.0 for arm64
Attempt 1 to download agent binaries from 'https://streams.canonical.com/juju/tools/agent/3.0.0/juju-3.0.0-linux-arm64.tgz'...\n
Agent binaries downloaded successfully.
9f2f2d8332f3838fea371b157c2d512d5fc217030bbaaf87de53396ddce75ebe /var/lib/juju/tools/3.0.0-ubuntu-arm64/tools.tar.gz
Installing Juju machine agent
2022-11-15 21:27:05 INFO juju.cmd supercommand.go:56 running jujud [3.0.0 35c560704ee254219ae0c4a37810bde5278e99bb gc go1.19.2]
2022-11-15 21:27:06 INFO juju.agent identity.go:22 writing system identity file
2022-11-15 21:27:06 ERROR juju.mongo mongo.go:375 could not set the value of "/proc/sys/net/core/somaxconn" to "16384" because of: "/proc/sys/net/core/somaxconn" does not exist, will not set "16384"
2022-11-15 21:27:06 ERROR juju.mongo mongo.go:375 could not set the value of "/proc/sys/net/core/netdev_max_backlog" to "1000" because of: "/proc/sys/net/core/netdev_max_backlog" does not exist, will not set "1000"
2022-11-15 21:27:06 ERROR juju.mongo mongo.go:375 could not set the value of "/sys/kernel/mm/transparent_hugepage/enabled" to "never" because of: open /sys/kernel/mm/transparent_hugepage/enabled: permission denied
2022-11-15 21:27:06 ERROR juju.mongo mongo.go:375 could not set the value of "/sys/kernel/mm/transparent_hugepage/defrag" to "never" because of: open /sys/kernel/mm/transparent_hugepage/defrag: permission denied
2022-11-15 21:27:06 INFO juju.mongo mongo.go:271 Ensuring mongo server is running; data directory /var/snap/juju-db/common; port 37017
2022-11-15 21:27:06 INFO juju.packaging manager.go:103 installing "juju-db" via "snap"
2022-11-15 21:27:06 INFO juju.packaging.manager run.go:88 Running: snap install --channel 4.4/stable juju-db
2022-11-15 21:27:28 INFO juju.replicaset replicaset.go:58 Initiating replicaset with config: {
  Name: juju,
  Version: 1,
  Term: 0,
  Protocol Version: 1,
  Members: {
    {1 "172.17.40.99:37017" juju-machine-id:0 voting},
  },
}
2022-11-15 21:27:29 INFO juju.worker.peergrouper initiate.go:65 replica set initiated
2022-11-15 21:27:29 INFO juju.worker.peergrouper initiate.go:66 finished InitiateMongoServer
2022-11-15 21:27:29 INFO juju.cmd.jujud bootstrap.go:498 started mongo
2022-11-15 21:27:30 INFO juju.state open.go:192 creating cloud image metadata storage
2022-11-15 21:27:51 INFO juju.state logs.go:101 controller settings not found, early stage initialization assumed
2022-11-15 21:27:51 INFO juju.state state.go:400 starting standard state workers
2022-11-15 21:27:51 INFO juju.state state.go:406 started state workers for model-d87a3687-f61c-48b7-811e-581d5957e496 successfully
2022-11-15 21:27:51 INFO juju.state initialize.go:203 initializing controller model d87a3687-f61c-48b7-811e-581d5957e496
2022-11-15 21:27:51 INFO juju.state.pool.txnwatcher txnwatcher.go:317 txn watcher started
2022-11-15 21:28:01 INFO juju.state logs.go:177 ensuring logs collection for d87a3687-f61c-48b7-811e-581d5957e496, capped at 20 MiB
2022-11-15 21:28:02 INFO juju.agent.agentbootstrap bootstrap.go:435 initialising bootstrap machine with config: {StateInitializationParams:{ControllerModelConfig:0x400092bc50 ControllerModelEnvironVersion:0 ControllerCloud:{Name:localhost Type:lxd HostCloudRegion: Description: AuthTypes:[certificate] Endpoint:https://172.17.40.1:8443 IdentityEndpoint: StorageEndpoint: Regions:[{Name:localhost Endpoint:https://172.17.40.1:8443 IdentityEndpoint: StorageEndpoint:}] Config:map[] RegionConfig:map[] CACertificates:[] SkipTLSVerify:false IsControllerCloud:false} ControllerCloudRegion:localhost ControllerCloudCredentialName:localhost ControllerCloudCredential:0x4000715a90 ControllerConfig:map[agent-logfile-max-backups:2 agent-logfile-max-size:100M api-port:17070 api-port-open-delay:2s audit-log-capture-args:false audit-log-exclude-methods:[ReadOnlyMethods] audit-log-max-backups:10 audit-log-max-size:300M auditing-enabled:true batch-raft-fsm:false ca-cert:-----BEGIN CERTIFICATE-----
MIIEEzCCAnugAwIBAgIVAIQqlKhuuTIQ+jUeau8qc875E5PpMA0GCSqGSIb3DQEB
CwUAMCExDTALBgNVBAoTBEp1anUxEDAOBgNVBAMTB2p1anUtY2EwHhcNMjIxMTE1
MjExOTUxWhcNMzIxMTE1MjEyNDUxWjAhMQ0wCwYDVQQKEwRKdWp1MRAwDgYDVQQD
EwdqdWp1LWNhMIIBojANBgkqhkiG9w0BAQEFAAOCAY8AMIIBigKCAYEAkWPSGi8c
T80X0/1C0ppvm5EyayshoXVv4iKkWf516Dz6jPKPSEhTLco4vssOUXrQ53RzOq+b
7Qp6vedvvf2mJxzA3fbq+3YwjQIJMjD96iFfymnKnE4CTC2dl9DW6IHijlz2J2Dp
Lz4f5Ki3N7AW8vbltsVAGTJMLhrqHmiz+uqSJ//LCTo3pkAWz/nwyT5bN6jJvUeg
2jghgg26Zxdipo2PJLQZVC8vcJFeDH/mp6RT5uM6GEiVemzS2ODoyEva8cmkPs7N
7pP/GpAjNa2JvY6cEMkfw7LS3QJCjiERdobxOkY12U60odK5yh/Jyqur4s/LCPYJ
uSRKt+ycPTxwBJFNQtydPeR5AOOMVDXGJbqgvdK6ibD7FYTyVFLAgYYzxd8txOEl
Q6Rs/PUwprdVSPj2zENZmZc/9aR/OL7hsLiIlEXTt/suMSSkHf8phrfFuSijmmzm
aohMTsM5b30s3XbdzJvS+KEHDjq76qcGf6tMccWqt4Y9zWO8vfZJD+hdAgMBAAGj
QjBAMA4GA1UdDwEB/wQEAwICpDAPBgNVHRMBAf8EBTADAQH/MB0GA1UdDgQWBBQP
d7nFKO5ewF8WnRFhWghTByIwvzANBgkqhkiG9w0BAQsFAAOCAYEAfjyeREwwzyZ0
YySiOb7FFAgKll3IA6O7/PdU3JSF+SCvKs5vn11jnQpD489T+Qp+0G2sm/E84+Qe
ZZ9uCeLEtVC2ikF+4vAGy1Sj6u4NqX+6fTPWAi1PvKsRn7D7dD1dfkZvNHSTVG7H
vn0zv9ET0WzE5PHkA7mcY3SlQYQN8p6aR/vColIPD/MyBD1AUD0j1Qrl5Zo64v8E
nSQhSw/e4ZinudySEQzi7IKGI4BZPbaIESTOohRKCQHFMeCojbleylvFhGfuky2s
UmGvWZPziQRrGmlZhR2ng2qz2dbqvIaeeWfSWTRdY20svp5FiTi77dnR09iE/9ma
Gn/W5zyUkrBhjpR01xSjRX7JZLdAQtCTheUdZLiNXbFsxg6Qo463bWWDq8GAskCZ
t407d/PAf8rMHvkZ2oP6jbmSTiFtjy4P/qN72gE1bwuFYUjW60bsaUQH/iBwNRV4
YTu4qsOA7UwdY72PcIA4OWDV6suIZXg7sARVDCHurH2LHhCfp5s0
-----END CERTIFICATE-----
 charmstore-url:https://api.jujucharms.com/charmstore controller-name:overlord controller-uuid:8bad710b-e66a-4de1-8a37-1aa6fa64b76f juju-db-snap-channel:4.4/stable max-agent-state-size:524288 max-charm-state-size:2097152 max-debug-log-duration:24h0m0s max-prune-txn-batch-size:1000000 max-prune-txn-passes:100 max-txn-log-size:10M metering-url:https://api.jujucharms.com/omnibus/v3 migration-agent-wait-time:15m model-logfile-max-backups:2 model-logfile-max-size:10M model-logs-size:20M mongo-memory-profile:default non-synced-writes-to-raft-log:false prune-txn-query-count:1000 prune-txn-sleep-time:10ms set-numa-control-policy:false state-port:37017] ControllerCharmPath: ControllerCharmChannel:3.0/stable ControllerInheritedConfig:map[] RegionInheritedConfig:map[] InitialModelConfig:map[] BootstrapMachineInstanceId:juju-57e496-0 BootstrapMachineDisplayName: BootstrapMachineConstraints: BootstrapMachineHardwareCharacteristics:arch=arm64 cores=0 mem=0M ModelConstraints: CustomImageMetadata:[] StoragePools:map[]} BootstrapMachineAddresses:[local-cloud:172.17.40.99] BootstrapMachineJobs:[JobManageModel JobHostUnits] SharedSecret:IgFZW+VWN3EC8ZYHXOXZmjJwzeSHib+BnOq9AXRhIKGjlyaG7/gfITTlw2eybGnDWNhWTHEfndLr+tDJrE9Asg/V5vJv7nloFR+JBC9CQzrjIaBlMxGjRlIXfrMd/NQrhJBXF8/cKkOHj0iuuoNpmbIPnHamXhm3CyPVZTMHNryaojGjROUOlMmpIdrkpv9H9IZ+SyzSbdxkrfO965FRMtGzZzpqVJxqw8XwR9LydHAwLSUqdV1OaaipnT8ntatoYFKpH1H1rt9sLHQdSnfJSPNPtmhtEkWA5qY5hA6PZHIHUR5P21UPHkHU+jxGUUCRequL43vDoKUsgeOulxAtuh4Gh+pTqtwX/fJJGL+hV28qMHFZJ6ov3PRNfoAcWUF+CeWCxFT3T9b1uuf4/GxBcSPLkovemrMwnxuOL2A24/1SqJA3aO9a7023KsbM3d1vrZoiwGnMVHH4wvkIZrSk5vB9BsKsec4cvcir7kg36czASpb+9PVFaJzRzHnxymokUhiDlknSwKdPJYgCTk0oLW4Y8WfBf7IIUAqPNexT5BKokr93dLGrROPOXhKjaV5InKdhxuGZTRkQYzRZCIDfQ6+wnI96pbW8hdjLAQIRbRVZf6r+XREnptNGLw1e9ZMCVXOhuXnL22cOLVx8HA5+44aj6QG5vWtXWwmaU1Osbe42pN1BFIqGxS6Ni5jxSxlr0eXjZzlWUbmwtZoAbx7HKXxN1LSiqMbMCwjQRtwqbWH9KMpwGoYe9+973miKxi7ctbU//LzQEPZQIdZKnmfz3ug/2+bSdvSeA5T8JjGkcT25mxzfqUDCPLmpzbCpWfCQCohARmSBLrsTbIfgjRS3b5Mzt2vZVdGRzGRCiypJ7yymdU1xX5xUFFzvgTRMJeGmAvCinSAh4shA0JaobPVwViOnVdH9ba8quGl4ZqcV+R4nkoUzJGMH8rtMftIOdcrjnZZjZJaAidIS4xHpO0BSp8JuSVA1PyE537MQ2Z8fy2DHoRsUKvv/qZjlNn3paNn3 Provider:0x14f77d0 StorageProviderRegistry:[0x4000070e00 {Providers:map[loop:0x400043b648 rootfs:0x400043b650 tmpfs:0x400043b658]}]}
2022-11-15 21:28:02 INFO juju.state addmachine.go:505 new machine "0" has preferred addresses: private "local-cloud:172.17.40.99", public "local-cloud:172.17.40.99"
2022-11-15 21:28:07 CRITICAL juju.cmd.jujud controllercharm.go:329 ADD APP WITH PLATFORM: {Architecture:amd64 OS:ubuntu Channel:22.04/stable}
ERROR cannot deploy controller application: cannot add controller application: cannot add application "controller": invalid constraint value: arch=amd64
valid values are: [arm64 armhf armhf armhf]
ERROR failed to bootstrap model: subprocess encountered error code 1

Re-running with `juju bootstrap localhost overlord --constraints arch=arm64` works though.

Additional information:

sdeziel@shell01:~$ juju --version
3.0.0-genericlinux-arm64
sdeziel@shell01:~$ snap list juju
Name Version Rev Tracking Publisher Notes
juju 3.0.0 21123 latest/stable canonical✓ -
sdeziel@shell01:~$ uname -a
Linux shell01 5.19.2+ #50 SMP Sat Aug 20 02:52:38 UTC 2022 aarch64 aarch64 aarch64 GNU/Linux
sdeziel@shell01:~$ lsb_release -rd
Description: Ubuntu 20.04.5 LTS
Release: 20.04

Revision history for this message
Ian Booth (wallyworld) wrote :

Should be fixed in 3.0.1 candidate. If you did try and and there's still an issue, we'll take another look.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.