no easy way to delete a dhcp configuration through the maas-cli
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
MAAS |
Fix Released
|
Critical
|
Raphaël Badin |
Bug Description
I set up the dhcp configuration using the maas-cli
maas-cli api maas node-group-
Then I noticed the interface should have been br0 instead.
I tried a suggestion from Julian to set management to "Unmanaged", management=0
ubuntu@
200 OK
Content-Length: 223
Content-Type: application/json; charset=utf-8
Date: Tue, 02 Oct 2012 03:33:38 GMT
Server: Apache/2.2.22 (Ubuntu)
Status: 200
Vary: Authorization,
{
"ip_
"ip_range_low": "192.168.21.10",
"broadcast_ip": "192.168.21.255",
"ip": "192.168.21.1",
"subnet_mask": "255.255.255.0",
"management": 2,
"interface": "eth0"
}
I got the 200 OK response but the master node-group-
Related branches
- Gavin Panella (community): Needs Fixing
- Jeroen T. Vermeulen (community): Approve
-
Diff: 42 lines (+21/-0)2 files modifiedsrc/maasserver/api.py (+8/-0)
src/maasserver/tests/test_api.py (+13/-0)
Changed in maas: | |
status: | New → Triaged |
importance: | Undecided → Critical |
I'm trying to reproduce the problem but I'm unable to do so (see http:// paste.ubuntu. com/1255568/).
Also while working on this I found bug 1060079 (Gavin is working on it).
But you're right, I'm adding a method to delete an interface.