`juju bootstrap localhost overlord` doesn't work on arm64
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Canonical Juju |
New
|
Undecided
|
Unassigned |
Bug Description
On https:/
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:/
To configure your system to better support LXD containers, please see: https:/
Launching controller instance(s) on 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-
Cloud-init v. 22.3.4-
ci-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:
ci-info: | lo | True | 127.0.0.1 | 255.0.0.0 | host | . |
ci-info: | lo | True | ::1/128 | . | host | . |
ci-info: +------
ci-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: +++++++
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-
Cloud-init v. 22.3.4-
+ install -D -m 644 /dev/null /var/lib/
+ echo user-admin:
Cloud-init v. 22.3.4-
Logging to /var/log/
Regenerating SSH host keys
Generating public/private rsa key pair.
Your identification has been saved in /etc/ssh/
Your public key has been saved in /etc/ssh/
The key fingerprint is:
SHA256:
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/
Your public key has been saved in /etc/ssh/
The key fingerprint is:
SHA256:
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/
Your public key has been saved in /etc/ssh/
The key fingerprint is:
SHA256:
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://
Get:2 http://
Get:3 http://
Get:4 http://
Get:5 http://
Get:6 http://
Get:7 http://
Get:8 http://
Get:9 http://
Get:10 http://
Get:11 http://
Get:12 http://
Get:13 http://
Get:14 http://
Get:15 http://
Get:16 http://
Get:17 http://
Get:18 http://
Get:19 http://
Get:20 http://
Get:21 http://
Get:22 http://
Get:23 http://
Get:24 http://
Get:25 http://
Get:26 http://
Get:27 http://
Get:28 http://
Get:29 http://
Get:30 http://
Get:31 http://
Get:32 http://
Get:33 http://
Get:34 http://
Get:35 http://
Get:36 http://
Get:37 http://
Get:38 http://
Get:39 http://
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.
libpython3.
tzdata ubuntu-
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://
Get:2 http://
Get:3 http://
Get:4 http://
Get:5 http://
Get:6 http://
Get:7 http://
Get:8 http://
Get:9 http://
Get:10 http://
Get:11 http://
Preconfiguring packages ...
Fetched 8965 kB in 2s (5900 kB/s)
(Reading database ... 34301 files and directories currently installed.)
Preparing to unpack .../00-
Unpacking libpython3.10:arm64 (3.10.6-1~22.04.1) over (3.10.6-1~22.04) ...
Preparing to unpack .../01-
Unpacking python3.10 (3.10.6-1~22.04.1) over (3.10.6-1~22.04) ...
Preparing to unpack .../02-
Unpacking libpython3.
Preparing to unpack .../03-
Unpacking python3.10-minimal (3.10.6-1~22.04.1) over (3.10.6-1~22.04) ...
Preparing to unpack .../04-
Unpacking libpython3.
Preparing to unpack .../05-
Unpacking libsqlite3-0:arm64 (3.37.2-2ubuntu0.1) over (3.37.2-2) ...
Preparing to unpack .../06-
Unpacking ntfs-3g (1:2021.
Preparing to unpack .../07-
Unpacking libntfs-3g89 (1:2021.
Preparing to unpack .../08-
Unpacking distro-info-data (0.52ubuntu0.2) over (0.52ubuntu0.1) ...
Preparing to unpack .../09-
Unpacking tzdata (2022f-
Preparing to unpack .../10-
Unpacking ubuntu-
Setting up distro-info-data (0.52ubuntu0.2) ...
Setting up libsqlite3-0:arm64 (3.37.2-2ubuntu0.1) ...
Setting up libntfs-3g89 (1:2021.
Setting up ntfs-3g (1:2021.
Setting up tzdata (2022f-
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.
Setting up ubuntu-
Installing new version of config file /etc/apt/
Setting up python3.10-minimal (3.10.6-1~22.04.1) ...
Setting up libpython3.
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-
NEEDRESTART-SVC: packagekit.service
NEEDRESTART-SVC: unattended-
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-
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://
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-
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-
NEEDRESTART-SVC: packagekit.service
NEEDRESTART-SVC: unattended-
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://
Get:2 http://
Get:3 http://
Get:4 http://
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-
Unpacking bridge-utils (1.7-1ubuntu3) ...
Selecting previously unselected package dns-root-data.
Preparing to unpack .../dns-
Unpacking dns-root-data (2021011101) ...
Selecting previously unselected package dnsmasq-base.
Preparing to unpack .../dnsmasq-
Unpacking dnsmasq-base (2.86-1.1ubuntu0.1) ...
Selecting previously unselected package ubuntu-fan.
Preparing to unpack .../ubuntu-
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/
Processing triggers for dbus (1.12.20-
Processing triggers for man-db (2.10.2-1) ...
NEEDRESTART-VER: 3.5
NEEDRESTART-SVC: networkd-
NEEDRESTART-SVC: packagekit.service
NEEDRESTART-SVC: unattended-
Fetching Juju agent version 3.0.0 for arm64
Attempt 1 to download agent binaries from 'https:/
Agent binaries downloaded successfully.
9f2f2d8332f3838
Installing Juju machine agent
2022-11-15 21:27:05 INFO juju.cmd supercommand.go:56 running jujud [3.0.0 35c560704ee2542
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/
2022-11-15 21:27:06 ERROR juju.mongo mongo.go:375 could not set the value of "/proc/
2022-11-15 21:27:06 ERROR juju.mongo mongo.go:375 could not set the value of "/sys/kernel/
2022-11-15 21:27:06 ERROR juju.mongo mongo.go:375 could not set the value of "/sys/kernel/
2022-11-15 21:27:06 INFO juju.mongo mongo.go:271 Ensuring mongo server is running; data directory /var/snap/
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.
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.
},
}
2022-11-15 21:27:29 INFO juju.worker.
2022-11-15 21:27:29 INFO juju.worker.
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-
2022-11-15 21:27:51 INFO juju.state initialize.go:203 initializing controller model d87a3687-
2022-11-15 21:27:51 INFO juju.state.
2022-11-15 21:28:01 INFO juju.state logs.go:177 ensuring logs collection for d87a3687-
2022-11-15 21:28:02 INFO juju.agent.
MIIEEzCCAnugAwI
CwUAMCExDTALBgN
MjExOTUxWhcNMzI
EwdqdWp1LWNhMII
T80X0/1C0ppvm5E
7Qp6vedvvf2mJxz
Lz4f5Ki3N7AW8vb
2jghgg26Zxdipo2
7pP/GpAjNa2JvY6
uSRKt+ycPTxwBJF
Q6Rs/PUwprdVSPj
aohMTsM5b30s3Xb
QjBAMA4GA1UdDwE
d7nFKO5ewF8WnRF
YySiOb7FFAgKll3
ZZ9uCeLEtVC2ikF
vn0zv9ET0WzE5PH
nSQhSw/
UmGvWZPziQRrGml
Gn/W5zyUkrBhjpR
t407d/PAf8rMHvk
YTu4qsOA7UwdY72
-----END CERTIFICATE-----
charmstore-url:https:/
2022-11-15 21:28:02 INFO juju.state addmachine.go:505 new machine "0" has preferred addresses: private "local-
2022-11-15 21:28:07 CRITICAL juju.cmd.jujud controllercharm
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-genericli
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
Should be fixed in 3.0.1 candidate. If you did try and and there's still an issue, we'll take another look.