Got more than one item. - unable to add/modify machines in the UI
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
MAAS |
Won't Fix
|
Undecided
|
Unassigned |
Bug Description
Added a machine manually with the wrong architecture, tried to commission it, realized my mistake, tried to change it from amd64 to arm64/xgene-
2015-11-09 17:22:25 [-] 127.0.0.1 - - [10/Nov/
2015-11-09 17:22:36 [-] Error on request (64) node.update: Got more than one item.
Traceback (most recent call last):
File "/usr/lib/
self.
File "/usr/lib/
self.run()
File "/usr/lib/
self.
--- <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/
return func(*args, **kwargs)
File "/usr/lib/
return func_within_
File "/usr/lib/
return func(*args, **kwargs)
File "/usr/lib/
return m(params)
File "/usr/lib/
data = super(NodeHandler, self).update(
File "/usr/lib/
obj = form.save()
File "/usr/lib/
node.
File "/usr/lib/
lease = get_one(leases)
File "/usr/lib/
raise get_exception_
maasserver.
ubuntu@
ii maas 1.8.3+bzr4053-
ii maas-cli 1.8.3+bzr4053-
ii maas-cluster-
ii maas-common 1.8.3+bzr4053-
ii maas-dhcp 1.8.3+bzr4053-
ii maas-dns 1.8.3+bzr4053-
ii maas-proxy 1.8.3+bzr4053-
ii maas-region-
ii maas-region-
ii python-django-maas 1.8.3+bzr4053-
ii python-maas-client 1.8.3+bzr4053-
ii python-
Changed in maas: | |
status: | Expired → New |
So I'm seeing this now when I try and add a new machine, this is what I think is happening:
1) ARM64 node DHCP and PXE
2) MAC is logged
3) PXE responds with AMD64 kernel/initrd by default and fails to boot (of course)
4) I try and add/modify this machine in the UI and the get the "Got more than one item." traceback (but that's my best guess)