MAAS unit tests (at a minimum) are broken when bonding driver is loaded
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
MAAS |
Fix Released
|
Critical
|
Mike Pontillo |
Bug Description
When running unit tests, the following error was seen:
http://
=======
ERROR: metadataserver.
-------
_StringException: Traceback (most recent call last):
File "/opt/src/
real_interfaces = script.
File "/opt/src/
os.
File "/opt/src/
with open(path, 'rb') as infile:
IOError: [Errno 20] Not a directory: u'/sys/
-------
This could possibly occur in production as well (when the bonding driver is loaded), so we should fix this ASAP.
Related branches
- Ricardo Bánffy (community): Approve
-
Diff: 28 lines (+7/-4)1 file modifiedetc/maas/templates/deployment-user-data/maas_configure_interfaces.py (+7/-4)
- Raphaël Badin (community): Approve
-
Diff: 28 lines (+7/-4)1 file modifiedetc/maas/templates/deployment-user-data/maas_configure_interfaces.py (+7/-4)
Changed in maas: | |
status: | In Progress → Fix Committed |
Changed in maas: | |
status: | Fix Committed → Fix Released |