Creating a machine with an existing IPMI IP results in db contraint error
Bug #1884157 reported by
Kit Randel
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
MAAS |
Triaged
|
Low
|
Unassigned | ||
3.3 |
Triaged
|
Low
|
Unassigned |
Bug Description
Creating a machine (from /r/machines/add) with IPMI power and a `power_address` already in use, results in a DB constraint error. Ideally we should return a user readable error that doesn't expose details of the db schema.
Error:duplicate key value violates unique constraint "maasserver_
description: | updated |
Changed in maas: | |
status: | Incomplete → Triaged |
Changed in maas: | |
milestone: | 3.3.0 → 3.4.0 |
Changed in maas: | |
milestone: | 3.4.0 → 3.4.x |
To post a comment you must log in.
Each IPMI BMC maps to a single machine. Its not possible to have one IP address for multiple machines as this would result in one power command effecting multiple machines.
If there is an edge case I'm missing could you please explain?