Maas api /machines/{system_id}/?op=restore_networking_configuration does not clear network config

Bug #1687420 reported by Tom Mullaney on 2017-05-01
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Björn Tillenius

Bug Description

Maas api /machines/{system_id}/?op=restore_networking_configuration does not clear network config.

I also tried to use /machines/{system_id}/?op=restore_default_configuration
The storage layout was reset, but the network config remained intact.

I am using MAAS 2.2.0~rc2 (bzr5922-0ubuntu1)

To recreate the bug just create a node in maas, add a bond then run the api function for /machines/{system_id}/?op=restore_networking_configuration

My expected result is the node to go back to the same state as directly after commissioning. If this assumption is wrong please let me know.

Related branches

Changed in maas:
milestone: none → 2.2.0rc4
Changed in maas:
assignee: nobody → Björn Tillenius (bjornt)
Changed in maas:
status: New → In Progress
Changed in maas:
milestone: 2.2.0rc4 → 2.2.0rc5
Changed in maas:
status: In Progress → Fix Committed
Changed in maas:
status: Fix Committed → Fix Released
milestone: 2.2.0rc5 → 2.2.0
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers