Adding a device with a MAC address that's belongs to another node, fails without providing any feedback
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
MAAS |
Fix Released
|
High
|
Unassigned | ||
1.9 |
Won't Fix
|
High
|
Unassigned | ||
2.1 |
Won't Fix
|
High
|
Unassigned |
Bug Description
When trying to add a device that had a MAC owned by another device, it failed without providing any user feedback in the UI. However, the following was provided in the log:
2016-01-13 23:23:37 [-] Error on request (35) device.create: {"mac_addresses": ["MAC address aa:bb:cc:dd:ee:f1 already in use on testone."]}
Traceback (most recent call last):
File "/usr/lib/
self.
File "/usr/lib/
self.run()
File "/usr/lib/
self.
File "/usr/lib/
return super(ThreadPool, self)._worker()
--- <exception caught here> ---
File "/usr/lib/
result = context.call(ctx, function, *args, **kwargs)
File "/usr/lib/
return self.currentCon
File "/usr/lib/
return func(*args,**kw)
File "/usr/lib/
return func_outside_
File "/usr/lib/
return func(*args, **kwargs)
File "/usr/lib/
return func(*args, **kwargs)
File "/usr/lib/
data = super(DeviceHan
File "/usr/lib/
raise HandlerValidati
maasserver.
no longer affects: | maas/2.0 |
Changed in maas: | |
milestone: | none → 2.0.0 |
Changed in maas: | |
status: | New → Triaged |
importance: | Undecided → High |
no longer affects: | maas/1.10 |
Changed in maas: | |
milestone: | 2.0.0 → 2.1.0 |
tags: | added: error-surface |
Changed in maas: | |
milestone: | 2.1.0 → 2.1.1 |
no longer affects: | maas/2.0 |
no longer affects: | maas/trunk |
Changed in maas: | |
status: | Invalid → Triaged |
milestone: | 2.1.1 → 2.1.2 |
Changed in maas: | |
milestone: | 2.1.2 → 2.1.3 |
I get an error message in the UI on trunk.