install-method-check.sh can fail if MAAS is specified by IP address
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
checkbox (Ubuntu) |
In Progress
|
High
|
Rod Smith |
Bug Description
The install-
DataSourceMAAS: DataSourceMAAS [http://
Note that the MAAS server is identified by a rather awkward hostname (10-193-
DataSourceMAAS: DataSourceMAAS [http://
When this happens, a subsequent check in verify_maas_ip() fails. This function uses the "host" command to convert the hostname into an IP address; but when it's already an IP address, the result is a failure of the test:
$ /usr/lib/
Installation data source is http://
ERROR: Unable to determine MAAS server's IP address
MAAS version is 1:2.9.2-
FAIL: System appears to have not been installed by MANIACS-compliant MAAS.
The verify_maas_ip() function should be made more robust against this condition.
Related branches
- Rod Smith: Approve
-
Diff: 28 lines (+4/-2)2 files modifiedbin/network_device_info.py (+2/-1)
bin/touchpad_confidence_bit.py (+2/-1)
- Rod Smith: Approve
- Devices Certification Bot: Needs Fixing
- Jeff Lane : Approve
-
Diff: 58 lines (+32/-7)1 file modifiedbin/install-method-check.sh (+32/-7)
Changed in checkbox (Ubuntu): | |
assignee: | nobody → Rod Smith (rodsmith) |
importance: | Undecided → High |
tags: | added: servcert-392 |
Changed in checkbox (Ubuntu): | |
status: | New → In Progress |