Merge ~ack/maas:1904758-lxd-pod-refresh-fix into maas:master
Proposed by
Alberto Donato
Status: | Merged | ||||
---|---|---|---|---|---|
Approved by: | Alberto Donato | ||||
Approved revision: | 5c4d65c836d17118ab1f58d74099562d52ae4e94 | ||||
Merge reported by: | MAAS Lander | ||||
Merged at revision: | not available | ||||
Proposed branch: | ~ack/maas:1904758-lxd-pod-refresh-fix | ||||
Merge into: | maas:master | ||||
Diff against target: |
145 lines (+62/-6) 4 files modified
src/maasserver/models/bmc.py (+15/-3) src/maasserver/models/node.py (+6/-0) src/maasserver/models/tests/test_bmc.py (+39/-1) src/maasserver/models/tests/test_node.py (+2/-2) |
||||
Related bugs: |
|
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Björn Tillenius | Approve | ||
MAAS Lander | Approve | ||
Review via email: mp+394201@code.launchpad.net |
Commit message
LP: #1904758 - reuse existing VirtualMachine object when refreshing if one
already exists.
VirtualMachine objects are not deleted when the linked machine is removed.
This means when refreshing if a machine get re-added to maas, a VirtualMachine
entry for it already exists.
To post a comment you must log in.
There was an error fetching revisions from git servers. Please try again in a few minutes. If the problem persists, contact Launchpad support.
UNIT TESTS lxd-pod- refresh- fix lp:~ack/maas/+git/maas into -b master lp:~maas-committers/maas
-b 1904758-
STATUS: FAILED maas-ci. internal: 8080/job/ maas/job/ branch- tester/ 8728/console 6389a2668db70bc 0d620b2dfd
LOG: http://
COMMIT: d6d16aa5b60dacc