[2.0a4] Doesn't use modify over the OMAPI

Bug #1561991 reported by Blake Rouse
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
MAAS
Fix Released
High
Blake Rouse

Bug Description

At the moment when a host has been modified it will cause remove and then add to be called over the OMAPI. This is could cause a race where the machine DHCP get an address from the dynamic pool if it comes in between that operation. OMAPI supports modification and should be used.

This is also a problem with hosts with snippets as the snippet content will be removed in the remove call and not be added back with the add call.

Tags: dhcp

Related branches

Changed in maas:
status: Triaged → In Progress
assignee: nobody → Blake Rouse (blake-rouse)
Changed in maas:
status: In Progress → Fix Committed
Changed in maas:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.