[2.2b1] Cannot add a device from the dashboard
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
MAAS |
Fix Released
|
High
|
Richard McCartney |
Bug Description
Description
===========
When trying to add a device from the dashboard, it fails becuas the original hostname contains incorrect characters. However, once you change the hostname to have valid characters, it still thinks it has the old hostname.
Reproduce
=========
1. Go to the dashboard
2. Select a device
3. Change the hostname to a valid one.
4. Try to add, it will fail to validate.
raceback (most recent call last):
File "/usr/lib/
self.
File "/usr/lib/
return target()
File "/usr/lib/
task()
File "/usr/lib/
task()
--- <exception caught here> ---
File "/usr/lib/
result = inContext.theWork()
File "/usr/lib/
inContext.
File "/usr/lib/
return self.currentCon
File "/usr/lib/
return func(*args,**kw)
File "/usr/lib/
return func(*args, **kwargs)
File "/usr/lib/
result = func(*args, **kwargs)
File "/usr/lib/
return func_outside_
File "/usr/lib/
return func(*args, **kwargs)
File "/usr/lib/
return func(*args, **kwds)
File "/usr/lib/
data = super(DeviceHan
File "/usr/lib/
raise HandlerValidati
maasserver.
Related branches
- MAAS Maintainers: Pending requested
-
Diff: 233 lines (+102/-15)7 files modifiedsrc/maasserver/static/css/build.css (+1/-1)
src/maasserver/static/js/angular/controllers/dashboard.js (+2/-2)
src/maasserver/static/js/angular/directives/tests/test_window_width.js (+53/-0)
src/maasserver/static/js/angular/directives/window_width.js (+33/-0)
src/maasserver/static/partials/dashboard.html (+10/-10)
src/maasserver/static/scss/_components.tables.scss (+2/-2)
src/maasserver/views/combo.py (+1/-0)
Changed in maas: | |
importance: | Undecided → High |
status: | New → Confirmed |
milestone: | none → 2.2.0 |
Changed in maas: | |
status: | Confirmed → Triaged |
Changed in maas: | |
status: | Triaged → In Progress |
assignee: | nobody → Richard McCartney (ricgard) |
Changed in maas: | |
status: | In Progress → Fix Committed |
Changed in maas: | |
status: | Fix Committed → Fix Released |