Deploying machine with install_rackd=True is not working

Bug #1831147 reported by Newell Jensen
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
MAAS
Fix Released
Critical
Newell Jensen
2.6
Fix Released
Critical
Newell Jensen

Bug Description

# maas admin machine deploy <system_id> install_rackd=True

deploys the machine but it does not create a rack controller.

Related branches

Changed in maas:
milestone: next → 2.7.0beta1
importance: Undecided → Critical
Revision history for this message
Newell Jensen (newell-jensen) wrote :

Looking closer, cloud-init gave this error:

https://paste.ubuntu.com/p/s742Bkjk7S/

I tried the command manually on the deployed machine:

$ sudo snap install maas --devmode --channel=latest/edge
error: cannot install "maas": Post https://api.snapcraft.io/v2/snaps/refresh: dial tcp: lookup
       api.snapcraft.io: Temporary failure in name resolution

Trying to resolve manually:

$ curl -v http://api.snapcraft.io
* Rebuilt URL to: http://api.snapcraft.io/
* Could not resolve host: api.snapcraft.io
* Closing connection 0
curl: (6) Could not resolve host: api.snapcraft.io

This is the underlying issue currently.

Changed in maas:
status: In Progress → Invalid
Changed in maas:
status: Invalid → In Progress
Revision history for this message
Newell Jensen (newell-jensen) wrote :

The reason this is failing on the CI as well is due to:

https://paste.ubuntu.com/p/hG4NVZSVkq/

Changed in maas:
status: In Progress → Invalid
Revision history for this message
Andres Rodriguez (andreserl) wrote :

This is not invalid. If we can install debs but not snaps there is a bug

Changed in maas:
status: Invalid → New
Changed in maas:
status: New → Fix Committed
Changed in maas:
status: Fix Committed → Fix Released
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.