Misleading MACAlreadyExists exception
Bug #1308199 reported by
Josh Gachnang
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Ironic |
Expired
|
Undecided
|
Unassigned |
Bug Description
This code raises a MACAlreadyExists exception, when it should be something like UUIDAlreadyExists exception. I think this is due to get_by_uuid accepting a UUID or a MAC. If you add a UUID kwarg that is different than the get_test_port's UUID, the error goes away.
def _create_
p = db_utils.
return self.dbapi.
fake_port1 = self._create_
fake_port2 = self._create_
Changed in ironic: | |
assignee: | nobody → Josh Gachnang (joshnang) |
To post a comment you must log in.
Hi Josh! Could you give status update on this bug? If you're still working on it, please set status to In Progress and link your patch here, if any.