not able to bootstrap juju on arm64 with juju 3.0

Bug #1994173 reported by Patricia Domingues
18
This bug affects 3 people
Affects Status Importance Assigned to Milestone
Canonical Juju
Fix Released
Critical
Thomas Miller

Bug Description

I've upgraded lxd (from 4.0 to 5.0) to be able to deploy a localhost/lxd cloud on arm64 and I could not bootstrap juju :

~$ juju bootstrap --bootstrap-constraints arch=arm64
it shows this error:
ERROR cannot deploy controller application: cannot add controller application: cannot add application "controller": invalid constraint value: arch=amd64
valid values are: [arm64 armhf]
ERROR failed to bootstrap model: subprocess encountered error code 1

Host has Ubuntu Focal 20.04.5 LTS and juju (installed: 3.0.0 (21123))
lxd (5.0/stable) 5.0.1-9dcf35b

Revision history for this message
Patricia Domingues (patriciasd) wrote :
Revision history for this message
Patricia Domingues (patriciasd) wrote :

It might be a regression on 3.0, because downgrading juju -

:~$ sudo snap refresh juju --channel=2.9/stable --classic
juju (2.9/stable) 2.9.35 from Canonical✓ refreshed

:~$ snap info juju |grep installed
installed: 2.9.35 (20893)

I can bootstrap juju with
`juju bootstrap --bootstrap-constraints arch=arm64 --debug`
...
Bootstrap complete, controller "localhost-localhost" is now available
Controller machines are in the "controller" model
21:00:52 INFO cmd bootstrap.go:596 Initial model "default" added
21:00:52 INFO cmd supercommand.go:544 command finished

Revision history for this message
Thomas Miller (tlmiller) wrote :

Thanks Patricia,

I will take a look at this now.

Changed in juju:
importance: Undecided → High
assignee: nobody → Thomas Miller (tlmiller)
milestone: none → 3.0.1
Ian Booth (wallyworld)
Changed in juju:
importance: High → Critical
status: New → Triaged
Ian Booth (wallyworld)
Changed in juju:
assignee: Thomas Miller (tlmiller) → Harry Pidcock (hpidcock)
status: Triaged → In Progress
Thomas Miller (tlmiller)
Changed in juju:
assignee: Harry Pidcock (hpidcock) → Thomas Miller (tlmiller)
Revision history for this message
Thomas Miller (tlmiller) wrote :
Changed in juju:
status: In Progress → Fix Committed
Ian Booth (wallyworld)
Changed in juju:
status: Fix Committed → In Progress
Changed in juju:
milestone: 3.0.1 → 3.0.2
Ian Booth (wallyworld)
Changed in juju:
milestone: 3.0.2 → 3.0.1
status: In Progress → Fix Committed
Ian Booth (wallyworld)
Changed in juju:
milestone: 3.0.1 → 3.0.2
Changed in juju:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

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