MaaS 3.1 beta3 "enlist deployed machines" feature fails during commission
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
MAAS |
Fix Released
|
High
|
Alberto Donato |
Bug Description
Following instructions from section "How to update hardware information for a deployed machine" in the MaaS 3.1 beta 3 documentation (https:/
MaaS region server is running MAAS 3.1.0~beta3 on Ubuntu 20.04, installed from Deb. Rack controller is also running MAAS 3.1.0~beta3 on Ubuntu 20.04. Host being enlisted/
Failure occurs when I attempt to update hardware information for enlisted deployed machine, using the following code snippet from documentation:
```
wget http://
chmod 755 maas-run-scripts
./maas-run-scripts report-results --config $(hostname)
```
Failure message as reported in the MaaS UI Commissioning log stderr, "50-maas-
```
Failed to read /tmp/tmpht98ki4
```
Prior to this failure, "40-maas-
Appears this can be resolved by modifying "40-maas-
Changed in maas: | |
milestone: | 3.1.0 → 3.1.0-beta4 |
status: | Fix Committed → Fix Released |
> Appears this can be resolved by modifying "40-maas- 01-machine- resources" script to add `touch $MAAS_RESOURCES _FILE` before "40-maas- 01-machine- resources" script attempts the stat command.
Indeed, this is actually fixed in master at 11875e832, and will be included in the next beta.