30-maas-01-bmc-config: ERROR: 169.254.95.120/16 has host bits set
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
MAAS |
Fix Released
|
High
|
Anton Troyanov | ||
3.2 |
Fix Released
|
High
|
Anton Troyanov |
Bug Description
Got an error running 30-maas-
File "/tmp/user_
self._detect()
File "/tmp/user_
self.
File "/tmp/user_
ipv4 = ipaddress.
File "/usr/lib/
raise ValueError('%s has host bits set' % self)
INFO: Loading IPMI kernel modules...
INFO: Checking for HP Moonshot...
INFO: Checking for Redfish...
ERROR: 169.254.95.120/16 has host bits set
29-maas-
Note also that this shows that using ValueError for expected errors might not be a good idea. It would be good to change it to a more specific errors, so that we only catch the ones that we expect.
Related branches
- Björn Tillenius: Approve
- Alberto Donato (community): Approve
- MAAS Lander: Approve
-
Diff: 242 lines (+130/-18)2 files modifiedsrc/metadataserver/builtin_scripts/commissioning_scripts/bmc_config.py (+42/-18)
src/metadataserver/builtin_scripts/commissioning_scripts/tests/test_bmc_config.py (+88/-0)
- Björn Tillenius: Approve
-
Diff: 173 lines (+72/-11)2 files modifiedsrc/metadataserver/builtin_scripts/commissioning_scripts/bmc_config.py (+25/-11)
src/metadataserver/builtin_scripts/commissioning_scripts/tests/test_bmc_config.py (+47/-0)
Changed in maas: | |
status: | New → Triaged |
importance: | Undecided → High |
assignee: | nobody → Anton Troyanov (troyanov) |
Changed in maas: | |
status: | Triaged → Fix Committed |
milestone: | none → 3.3.0 |
milestone: | 3.3.0 → none |
Changed in maas: | |
milestone: | none → 2.5.x |
milestone: | 2.5.x → 3.3.0 |
Changed in maas: | |
milestone: | 3.3.0 → 3.3.0-beta1 |
Changed in maas: | |
status: | Fix Committed → Fix Released |