PPC64, i386, and armhf systems fail commissioning due to architecture mismatching
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
MAAS |
Fix Released
|
Critical
|
Alberto Donato | ||
2.7 |
Fix Released
|
Critical
|
Alberto Donato | ||
The Ubuntu-power-systems project |
Fix Released
|
Critical
|
MAAS |
Bug Description
While trying to commission an OpenPower (P8) system on MAAS 2.7.0 ('server teams maas server'), commissioning step 50-maas-
--2020-04-03 15:59:25-- http://
Connecting to 10.245.71.3:5248... connected.
HTTP request sent, awaiting response... 404 Not Found
2020-04-03 15:59:25 ERROR 404: Not Found.
Manually trying http://
(Notice the difference 'el' and 'le')
Since I currently cannot connect to the OpenPower system (gulpin) where this occurs.
I used a different P8 system and got this archdetect and arch output:
$ archdetect
ppc64el/chrp_ibm
$ arch
ppc64le
$
'archdetect' on maas server:
$ archdetect
amd64/generic
Related branches
- Alberto Donato (community): Approve
-
Diff: 99 lines (+20/-13)4 files modifieddebian/python3-maas-provisioningserver.install (+3/-3)
debian/rules (+0/-1)
src/machine-resources/Makefile (+12/-4)
src/provisioningserver/refresh/node_info_scripts.py (+5/-5)
- MAAS Lander: Approve
- Adam Collard (community): Approve
-
Diff: 99 lines (+20/-13)4 files modifieddebian/python3-maas-provisioningserver.install (+3/-3)
debian/rules (+0/-1)
src/machine-resources/Makefile (+12/-4)
src/provisioningserver/refresh/node_info_scripts.py (+5/-5)
Changed in maas: | |
milestone: | none → next |
milestone: | next → none |
no longer affects: | maas/trunk |
Changed in ubuntu-power-systems: | |
status: | New → Confirmed |
importance: | Undecided → Critical |
Changed in maas: | |
assignee: | nobody → Alberto Donato (ack) |
status: | Confirmed → In Progress |
milestone: | none → 2.8.0b1 |
Changed in maas: | |
status: | In Progress → Fix Committed |
Changed in ubuntu-power-systems: | |
status: | Confirmed → Fix Committed |
Changed in maas: | |
status: | Fix Committed → Fix Released |
Changed in ubuntu-power-systems: | |
status: | Fix Committed → Fix Released |
As you pointed out this is a mismatch between how architectures are represented. There are three sets architecture naming schemes, Linux kernel, Debian, and Go. The Go architecture naming scheme is similar to Debian but as you found out its not exact. Below is my understanding of how architectures should map, however I've asked the kernel team for some clarification.
Kernel/LXD Debian Go
i686 i386 386
x86_64 amd64 amd64
aarch64 arm64 arm64
ppc64le ppc64el ppc64le
s390x s390x s390x
armv7l armhf arm
From this you can see MAAS is currently broken on i386, ppc64el, and armhf.
@MAAS engineering - We used archdetect because we use it during enlistment. I think we should standardize the Go binaries on the kernel naming scheme so we can use arch as Frank suggested. This will fix this bug and remove a dependency during commissioning.