MAAS 1.8 not allowed to edit node details in gui after upgrade

Bug #1469874 reported by james beedy
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
MAAS
Invalid
High
Unassigned

Bug Description

Just upgraded to maas 1.8 under trusty 14.04.2. I cannot edit node details in MAAS gui.....seems to be r/o ;-(

clusterd.log: http://paste.ubuntu.com/11795428/

dpkg -l '*maas*'|cat: http://paste.ubuntu.com/11795434/

Tags: maas maas-gui
Revision history for this message
james beedy (jamesbeedy) wrote :

Possibly this issue was caused from the upgrade....I'm thinking I should just uninstall MAAS and reinstall....seeing as this is not a production server...yet.

summary: - MAAS 1.8 not allowed to edit node details in gui
+ MAAS 1.8 not allowed to edit node details in gui after upgrade
tags: added: maas maas-gui
Revision history for this message
Blake Rouse (blake-rouse) wrote :

You cannot edit a node on a cluster, when the cluster is disconnected. You need to get the cluster to connect to the region to allow the ability to edit the node.

Looks like the region cannot connect to the database which will prevent the cluster from connecting. I am actually surprised that the UI is working at all.

Revision history for this message
james beedy (jamesbeedy) wrote :

Interesting..... The cluster's disconnect status was not apparent from the gui. I have uninstalled, and reinstalled MAAS, and am no longer experiencing this after the reinstall. I am suspicious that the issue was introduced during the upgrade.

Revision history for this message
james beedy (jamesbeedy) wrote :

I do think the cluster was connected, the errors at the bottom of the log starting at line 6300 are what I feel is pertinent to this....

2015-06-29 13:25:58 [-] Error on request (32) node.update: Got more than one item.
 Traceback (most recent call last):
   File "/usr/lib/python2.7/threading.py", line 783, in __bootstrap
     self.__bootstrap_inner()
   File "/usr/lib/python2.7/threading.py", line 810, in __bootstrap_inner
     self.run()
   File "/usr/lib/python2.7/threading.py", line 763, in run
     self.__target(*self.__args, **self.__kwargs)
 --- <exception caught here> ---
   File "/usr/lib/python2.7/dist-packages/twisted/python/threadpool.py", line 191, in _worker
     result = context.call(ctx, function, *args, **kwargs)
   File "/usr/lib/python2.7/dist-packages/twisted/python/context.py", line 118, in callWithContext
     return self.currentContext().callWithContext(ctx, func, *args, **kw)
   File "/usr/lib/python2.7/dist-packages/twisted/python/context.py", line 81, in callWithContext
     return func(*args,**kw)
   File "/usr/lib/python2.7/dist-packages/maasserver/utils/orm.py", line 404, in call_within_transaction
     return func_outside_txn(*args, **kwargs)
   File "/usr/lib/python2.7/dist-packages/maasserver/utils/orm.py", line 300, in retrier
     return func(*args, **kwargs)
   File "/usr/lib/python2.7/dist-packages/django/db/transaction.py", line 339, in inner
     return func(*args, **kwargs)
   File "/usr/lib/python2.7/dist-packages/provisioningserver/utils/twisted.py", line 154, in wrapper
     return func(*args, **kwargs)
   File "/usr/lib/python2.7/dist-packages/maasserver/utils/orm.py", line 399, in call_within_transaction
     return func_within_txn(*args, **kwargs)
   File "/usr/lib/python2.7/dist-packages/django/db/transaction.py", line 339, in inner
     return func(*args, **kwargs)
   File "/usr/lib/python2.7/dist-packages/maasserver/websockets/base.py", line 332, in execute
     return m(params)
   File "/usr/lib/python2.7/dist-packages/maasserver/websockets/handlers/node.py", line 459, in update
     data = super(NodeHandler, self).update(params)
   File "/usr/lib/python2.7/dist-packages/maasserver/websockets/base.py", line 402, in update
     obj = form.save()
   File "/usr/lib/python2.7/dist-packages/maasserver/forms.py", line 1085, in save
     node.add_mac_address(mac)
   File "/usr/lib/python2.7/dist-packages/maasserver/models/node.py", line 836, in add_mac_address
     lease = get_one(leases)
   File "/usr/lib/python2.7/dist-packages/maasserver/utils/orm.py", line 96, in get_one
     raise get_exception_class(items)("Got more than one item.")
 maasserver.models.dhcplease.MultipleObjectsReturned: Got more than one item.

Changed in maas:
milestone: none → 1.8.2
status: New → Triaged
importance: Undecided → High
Changed in maas:
milestone: 1.8.2 → 1.8.3
Changed in maas:
status: Triaged → Invalid
milestone: 1.8.3 → none
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.