Activity log for bug #1808090

Date Who What changed Old value New value Message
2018-12-12 03:40:33 Andres Rodriguez bug added bug
2018-12-12 03:40:33 Andres Rodriguez attachment added devices-ui-error.png https://bugs.launchpad.net/bugs/1808090/+attachment/5221535/+files/devices-ui-error.png
2018-12-12 03:41:55 Andres Rodriguez description 2018-12-12 03:39:38 maasserver.websockets.protocol: [critical] Error on request (185) device.create: bgdkcr Traceback (most recent call last): File "/usr/lib/python3.6/threading.py", line 864, in run self._target(*self._args, **self._kwargs) File "/usr/lib/python3/dist-packages/provisioningserver/utils/twisted.py", line 852, in worker return target() File "/usr/lib/python3/dist-packages/twisted/_threads/_threadworker.py", line 46, in work task() File "/usr/lib/python3/dist-packages/twisted/_threads/_team.py", line 190, in doWork task() --- <exception caught here> --- File "/usr/lib/python3/dist-packages/twisted/python/threadpool.py", line 250, in inContext result = inContext.theWork() File "/usr/lib/python3/dist-packages/twisted/python/threadpool.py", line 266, in <lambda> inContext.theWork = lambda: context.call(ctx, func, *args, **kw) File "/usr/lib/python3/dist-packages/twisted/python/context.py", line 122, in callWithContext return self.currentContext().callWithContext(ctx, func, *args, **kw) File "/usr/lib/python3/dist-packages/twisted/python/context.py", line 85, in callWithContext return func(*args,**kw) File "/usr/lib/python3/dist-packages/provisioningserver/utils/twisted.py", line 885, in callInContext return func(*args, **kwargs) File "/usr/lib/python3/dist-packages/provisioningserver/utils/twisted.py", line 234, in wrapper result = func(*args, **kwargs) File "/usr/lib/python3/dist-packages/maasserver/utils/orm.py", line 756, in call_within_transaction return func_outside_txn(*args, **kwargs) File "/usr/lib/python3/dist-packages/maasserver/utils/orm.py", line 563, in retrier return func(*args, **kwargs) File "/usr/lib/python3.6/contextlib.py", line 52, in inner return func(*args, **kwds) File "/usr/lib/python3/dist-packages/maasserver/websockets/base.py", line 386, in prep_user_execute return method(params) File "/usr/lib/python3/dist-packages/maasserver/websockets/handlers/device.py", line 299, in create data = super(DeviceHandler, self).create(params) File "/usr/lib/python3/dist-packages/maasserver/websockets/base.py", line 462, in create self._meta.pk: getattr(obj, self._meta.pk)}) File "/usr/lib/python3/dist-packages/maasserver/websockets/base.py", line 317, in get_object raise HandlerDoesNotExistError(pk) maasserver.websockets.base.HandlerDoesNotExistError: bgdkcr Error surfaced in the UI is without context. See attached. After upgrading to 2.5.1-7472-g266748600-0ubuntu1~18.04.1 I cannot create devices. 2018-12-12 03:39:38 maasserver.websockets.protocol: [critical] Error on request (185) device.create: bgdkcr         Traceback (most recent call last):           File "/usr/lib/python3.6/threading.py", line 864, in run             self._target(*self._args, **self._kwargs)           File "/usr/lib/python3/dist-packages/provisioningserver/utils/twisted.py", line 852, in worker             return target()           File "/usr/lib/python3/dist-packages/twisted/_threads/_threadworker.py", line 46, in work             task()           File "/usr/lib/python3/dist-packages/twisted/_threads/_team.py", line 190, in doWork             task()         --- <exception caught here> ---           File "/usr/lib/python3/dist-packages/twisted/python/threadpool.py", line 250, in inContext             result = inContext.theWork()           File "/usr/lib/python3/dist-packages/twisted/python/threadpool.py", line 266, in <lambda>             inContext.theWork = lambda: context.call(ctx, func, *args, **kw)           File "/usr/lib/python3/dist-packages/twisted/python/context.py", line 122, in callWithContext             return self.currentContext().callWithContext(ctx, func, *args, **kw)           File "/usr/lib/python3/dist-packages/twisted/python/context.py", line 85, in callWithContext             return func(*args,**kw)           File "/usr/lib/python3/dist-packages/provisioningserver/utils/twisted.py", line 885, in callInContext             return func(*args, **kwargs)           File "/usr/lib/python3/dist-packages/provisioningserver/utils/twisted.py", line 234, in wrapper             result = func(*args, **kwargs)           File "/usr/lib/python3/dist-packages/maasserver/utils/orm.py", line 756, in call_within_transaction             return func_outside_txn(*args, **kwargs)           File "/usr/lib/python3/dist-packages/maasserver/utils/orm.py", line 563, in retrier             return func(*args, **kwargs)           File "/usr/lib/python3.6/contextlib.py", line 52, in inner             return func(*args, **kwds)           File "/usr/lib/python3/dist-packages/maasserver/websockets/base.py", line 386, in prep_user_execute             return method(params)           File "/usr/lib/python3/dist-packages/maasserver/websockets/handlers/device.py", line 299, in create             data = super(DeviceHandler, self).create(params)           File "/usr/lib/python3/dist-packages/maasserver/websockets/base.py", line 462, in create             self._meta.pk: getattr(obj, self._meta.pk)})           File "/usr/lib/python3/dist-packages/maasserver/websockets/base.py", line 317, in get_object             raise HandlerDoesNotExistError(pk)         maasserver.websockets.base.HandlerDoesNotExistError: bgdkcr Error surfaced in the UI is without context. See attached.
2018-12-12 03:41:57 Andres Rodriguez maas: importance Undecided Critical
2018-12-12 03:42:00 Andres Rodriguez maas: milestone 2.5.1
2018-12-12 03:42:18 Andres Rodriguez description After upgrading to 2.5.1-7472-g266748600-0ubuntu1~18.04.1 I cannot create devices. 2018-12-12 03:39:38 maasserver.websockets.protocol: [critical] Error on request (185) device.create: bgdkcr         Traceback (most recent call last):           File "/usr/lib/python3.6/threading.py", line 864, in run             self._target(*self._args, **self._kwargs)           File "/usr/lib/python3/dist-packages/provisioningserver/utils/twisted.py", line 852, in worker             return target()           File "/usr/lib/python3/dist-packages/twisted/_threads/_threadworker.py", line 46, in work             task()           File "/usr/lib/python3/dist-packages/twisted/_threads/_team.py", line 190, in doWork             task()         --- <exception caught here> ---           File "/usr/lib/python3/dist-packages/twisted/python/threadpool.py", line 250, in inContext             result = inContext.theWork()           File "/usr/lib/python3/dist-packages/twisted/python/threadpool.py", line 266, in <lambda>             inContext.theWork = lambda: context.call(ctx, func, *args, **kw)           File "/usr/lib/python3/dist-packages/twisted/python/context.py", line 122, in callWithContext             return self.currentContext().callWithContext(ctx, func, *args, **kw)           File "/usr/lib/python3/dist-packages/twisted/python/context.py", line 85, in callWithContext             return func(*args,**kw)           File "/usr/lib/python3/dist-packages/provisioningserver/utils/twisted.py", line 885, in callInContext             return func(*args, **kwargs)           File "/usr/lib/python3/dist-packages/provisioningserver/utils/twisted.py", line 234, in wrapper             result = func(*args, **kwargs)           File "/usr/lib/python3/dist-packages/maasserver/utils/orm.py", line 756, in call_within_transaction             return func_outside_txn(*args, **kwargs)           File "/usr/lib/python3/dist-packages/maasserver/utils/orm.py", line 563, in retrier             return func(*args, **kwargs)           File "/usr/lib/python3.6/contextlib.py", line 52, in inner             return func(*args, **kwds)           File "/usr/lib/python3/dist-packages/maasserver/websockets/base.py", line 386, in prep_user_execute             return method(params)           File "/usr/lib/python3/dist-packages/maasserver/websockets/handlers/device.py", line 299, in create             data = super(DeviceHandler, self).create(params)           File "/usr/lib/python3/dist-packages/maasserver/websockets/base.py", line 462, in create             self._meta.pk: getattr(obj, self._meta.pk)})           File "/usr/lib/python3/dist-packages/maasserver/websockets/base.py", line 317, in get_object             raise HandlerDoesNotExistError(pk)         maasserver.websockets.base.HandlerDoesNotExistError: bgdkcr Error surfaced in the UI is without context. See attached. After upgrading to 2.5.1-7472-g266748600-0ubuntu1~18.04.1 I cannot create devices. Note that this is a previously working MAAS without RBAC. 2018-12-12 03:39:38 maasserver.websockets.protocol: [critical] Error on request (185) device.create: bgdkcr         Traceback (most recent call last):           File "/usr/lib/python3.6/threading.py", line 864, in run             self._target(*self._args, **self._kwargs)           File "/usr/lib/python3/dist-packages/provisioningserver/utils/twisted.py", line 852, in worker             return target()           File "/usr/lib/python3/dist-packages/twisted/_threads/_threadworker.py", line 46, in work             task()           File "/usr/lib/python3/dist-packages/twisted/_threads/_team.py", line 190, in doWork             task()         --- <exception caught here> ---           File "/usr/lib/python3/dist-packages/twisted/python/threadpool.py", line 250, in inContext             result = inContext.theWork()           File "/usr/lib/python3/dist-packages/twisted/python/threadpool.py", line 266, in <lambda>             inContext.theWork = lambda: context.call(ctx, func, *args, **kw)           File "/usr/lib/python3/dist-packages/twisted/python/context.py", line 122, in callWithContext             return self.currentContext().callWithContext(ctx, func, *args, **kw)           File "/usr/lib/python3/dist-packages/twisted/python/context.py", line 85, in callWithContext             return func(*args,**kw)           File "/usr/lib/python3/dist-packages/provisioningserver/utils/twisted.py", line 885, in callInContext             return func(*args, **kwargs)           File "/usr/lib/python3/dist-packages/provisioningserver/utils/twisted.py", line 234, in wrapper             result = func(*args, **kwargs)           File "/usr/lib/python3/dist-packages/maasserver/utils/orm.py", line 756, in call_within_transaction             return func_outside_txn(*args, **kwargs)           File "/usr/lib/python3/dist-packages/maasserver/utils/orm.py", line 563, in retrier             return func(*args, **kwargs)           File "/usr/lib/python3.6/contextlib.py", line 52, in inner             return func(*args, **kwds)           File "/usr/lib/python3/dist-packages/maasserver/websockets/base.py", line 386, in prep_user_execute             return method(params)           File "/usr/lib/python3/dist-packages/maasserver/websockets/handlers/device.py", line 299, in create             data = super(DeviceHandler, self).create(params)           File "/usr/lib/python3/dist-packages/maasserver/websockets/base.py", line 462, in create             self._meta.pk: getattr(obj, self._meta.pk)})           File "/usr/lib/python3/dist-packages/maasserver/websockets/base.py", line 317, in get_object             raise HandlerDoesNotExistError(pk)         maasserver.websockets.base.HandlerDoesNotExistError: bgdkcr Error surfaced in the UI is without context. See attached.
2018-12-12 03:42:24 Andres Rodriguez tags rbac track
2018-12-12 03:42:33 Andres Rodriguez maas: assignee Alberto Donato (ack)
2018-12-12 03:43:31 Andres Rodriguez description After upgrading to 2.5.1-7472-g266748600-0ubuntu1~18.04.1 I cannot create devices. Note that this is a previously working MAAS without RBAC. 2018-12-12 03:39:38 maasserver.websockets.protocol: [critical] Error on request (185) device.create: bgdkcr         Traceback (most recent call last):           File "/usr/lib/python3.6/threading.py", line 864, in run             self._target(*self._args, **self._kwargs)           File "/usr/lib/python3/dist-packages/provisioningserver/utils/twisted.py", line 852, in worker             return target()           File "/usr/lib/python3/dist-packages/twisted/_threads/_threadworker.py", line 46, in work             task()           File "/usr/lib/python3/dist-packages/twisted/_threads/_team.py", line 190, in doWork             task()         --- <exception caught here> ---           File "/usr/lib/python3/dist-packages/twisted/python/threadpool.py", line 250, in inContext             result = inContext.theWork()           File "/usr/lib/python3/dist-packages/twisted/python/threadpool.py", line 266, in <lambda>             inContext.theWork = lambda: context.call(ctx, func, *args, **kw)           File "/usr/lib/python3/dist-packages/twisted/python/context.py", line 122, in callWithContext             return self.currentContext().callWithContext(ctx, func, *args, **kw)           File "/usr/lib/python3/dist-packages/twisted/python/context.py", line 85, in callWithContext             return func(*args,**kw)           File "/usr/lib/python3/dist-packages/provisioningserver/utils/twisted.py", line 885, in callInContext             return func(*args, **kwargs)           File "/usr/lib/python3/dist-packages/provisioningserver/utils/twisted.py", line 234, in wrapper             result = func(*args, **kwargs)           File "/usr/lib/python3/dist-packages/maasserver/utils/orm.py", line 756, in call_within_transaction             return func_outside_txn(*args, **kwargs)           File "/usr/lib/python3/dist-packages/maasserver/utils/orm.py", line 563, in retrier             return func(*args, **kwargs)           File "/usr/lib/python3.6/contextlib.py", line 52, in inner             return func(*args, **kwds)           File "/usr/lib/python3/dist-packages/maasserver/websockets/base.py", line 386, in prep_user_execute             return method(params)           File "/usr/lib/python3/dist-packages/maasserver/websockets/handlers/device.py", line 299, in create             data = super(DeviceHandler, self).create(params)           File "/usr/lib/python3/dist-packages/maasserver/websockets/base.py", line 462, in create             self._meta.pk: getattr(obj, self._meta.pk)})           File "/usr/lib/python3/dist-packages/maasserver/websockets/base.py", line 317, in get_object             raise HandlerDoesNotExistError(pk)         maasserver.websockets.base.HandlerDoesNotExistError: bgdkcr Error surfaced in the UI is without context. See attached. After upgrading to 2.5.1-7472-g266748600-0ubuntu1~18.04.1 I cannot create devices (when I previously could). Note that this is a previously working MAAS without RBAC. 2018-12-12 03:39:38 maasserver.websockets.protocol: [critical] Error on request (185) device.create: bgdkcr         Traceback (most recent call last):           File "/usr/lib/python3.6/threading.py", line 864, in run             self._target(*self._args, **self._kwargs)           File "/usr/lib/python3/dist-packages/provisioningserver/utils/twisted.py", line 852, in worker             return target()           File "/usr/lib/python3/dist-packages/twisted/_threads/_threadworker.py", line 46, in work             task()           File "/usr/lib/python3/dist-packages/twisted/_threads/_team.py", line 190, in doWork             task()         --- <exception caught here> ---           File "/usr/lib/python3/dist-packages/twisted/python/threadpool.py", line 250, in inContext             result = inContext.theWork()           File "/usr/lib/python3/dist-packages/twisted/python/threadpool.py", line 266, in <lambda>             inContext.theWork = lambda: context.call(ctx, func, *args, **kw)           File "/usr/lib/python3/dist-packages/twisted/python/context.py", line 122, in callWithContext             return self.currentContext().callWithContext(ctx, func, *args, **kw)           File "/usr/lib/python3/dist-packages/twisted/python/context.py", line 85, in callWithContext             return func(*args,**kw)           File "/usr/lib/python3/dist-packages/provisioningserver/utils/twisted.py", line 885, in callInContext             return func(*args, **kwargs)           File "/usr/lib/python3/dist-packages/provisioningserver/utils/twisted.py", line 234, in wrapper             result = func(*args, **kwargs)           File "/usr/lib/python3/dist-packages/maasserver/utils/orm.py", line 756, in call_within_transaction             return func_outside_txn(*args, **kwargs)           File "/usr/lib/python3/dist-packages/maasserver/utils/orm.py", line 563, in retrier             return func(*args, **kwargs)           File "/usr/lib/python3.6/contextlib.py", line 52, in inner             return func(*args, **kwds)           File "/usr/lib/python3/dist-packages/maasserver/websockets/base.py", line 386, in prep_user_execute             return method(params)           File "/usr/lib/python3/dist-packages/maasserver/websockets/handlers/device.py", line 299, in create             data = super(DeviceHandler, self).create(params)           File "/usr/lib/python3/dist-packages/maasserver/websockets/base.py", line 462, in create             self._meta.pk: getattr(obj, self._meta.pk)})           File "/usr/lib/python3/dist-packages/maasserver/websockets/base.py", line 317, in get_object             raise HandlerDoesNotExistError(pk)         maasserver.websockets.base.HandlerDoesNotExistError: bgdkcr Error surfaced in the UI is without context. See attached.
2018-12-12 14:08:20 Andres Rodriguez description After upgrading to 2.5.1-7472-g266748600-0ubuntu1~18.04.1 I cannot create devices (when I previously could). Note that this is a previously working MAAS without RBAC. 2018-12-12 03:39:38 maasserver.websockets.protocol: [critical] Error on request (185) device.create: bgdkcr         Traceback (most recent call last):           File "/usr/lib/python3.6/threading.py", line 864, in run             self._target(*self._args, **self._kwargs)           File "/usr/lib/python3/dist-packages/provisioningserver/utils/twisted.py", line 852, in worker             return target()           File "/usr/lib/python3/dist-packages/twisted/_threads/_threadworker.py", line 46, in work             task()           File "/usr/lib/python3/dist-packages/twisted/_threads/_team.py", line 190, in doWork             task()         --- <exception caught here> ---           File "/usr/lib/python3/dist-packages/twisted/python/threadpool.py", line 250, in inContext             result = inContext.theWork()           File "/usr/lib/python3/dist-packages/twisted/python/threadpool.py", line 266, in <lambda>             inContext.theWork = lambda: context.call(ctx, func, *args, **kw)           File "/usr/lib/python3/dist-packages/twisted/python/context.py", line 122, in callWithContext             return self.currentContext().callWithContext(ctx, func, *args, **kw)           File "/usr/lib/python3/dist-packages/twisted/python/context.py", line 85, in callWithContext             return func(*args,**kw)           File "/usr/lib/python3/dist-packages/provisioningserver/utils/twisted.py", line 885, in callInContext             return func(*args, **kwargs)           File "/usr/lib/python3/dist-packages/provisioningserver/utils/twisted.py", line 234, in wrapper             result = func(*args, **kwargs)           File "/usr/lib/python3/dist-packages/maasserver/utils/orm.py", line 756, in call_within_transaction             return func_outside_txn(*args, **kwargs)           File "/usr/lib/python3/dist-packages/maasserver/utils/orm.py", line 563, in retrier             return func(*args, **kwargs)           File "/usr/lib/python3.6/contextlib.py", line 52, in inner             return func(*args, **kwds)           File "/usr/lib/python3/dist-packages/maasserver/websockets/base.py", line 386, in prep_user_execute             return method(params)           File "/usr/lib/python3/dist-packages/maasserver/websockets/handlers/device.py", line 299, in create             data = super(DeviceHandler, self).create(params)           File "/usr/lib/python3/dist-packages/maasserver/websockets/base.py", line 462, in create             self._meta.pk: getattr(obj, self._meta.pk)})           File "/usr/lib/python3/dist-packages/maasserver/websockets/base.py", line 317, in get_object             raise HandlerDoesNotExistError(pk)         maasserver.websockets.base.HandlerDoesNotExistError: bgdkcr Error surfaced in the UI is without context. See attached. After upgrading to 2.5.1-7472-g266748600-0ubuntu1~18.04.1 I cannot create devices (when I previously could). Note that this is a previously working MAAS without RBAC. The user in RBAC has admin role in all scopes available. 2018-12-12 03:39:38 maasserver.websockets.protocol: [critical] Error on request (185) device.create: bgdkcr         Traceback (most recent call last):           File "/usr/lib/python3.6/threading.py", line 864, in run             self._target(*self._args, **self._kwargs)           File "/usr/lib/python3/dist-packages/provisioningserver/utils/twisted.py", line 852, in worker             return target()           File "/usr/lib/python3/dist-packages/twisted/_threads/_threadworker.py", line 46, in work             task()           File "/usr/lib/python3/dist-packages/twisted/_threads/_team.py", line 190, in doWork             task()         --- <exception caught here> ---           File "/usr/lib/python3/dist-packages/twisted/python/threadpool.py", line 250, in inContext             result = inContext.theWork()           File "/usr/lib/python3/dist-packages/twisted/python/threadpool.py", line 266, in <lambda>             inContext.theWork = lambda: context.call(ctx, func, *args, **kw)           File "/usr/lib/python3/dist-packages/twisted/python/context.py", line 122, in callWithContext             return self.currentContext().callWithContext(ctx, func, *args, **kw)           File "/usr/lib/python3/dist-packages/twisted/python/context.py", line 85, in callWithContext             return func(*args,**kw)           File "/usr/lib/python3/dist-packages/provisioningserver/utils/twisted.py", line 885, in callInContext             return func(*args, **kwargs)           File "/usr/lib/python3/dist-packages/provisioningserver/utils/twisted.py", line 234, in wrapper             result = func(*args, **kwargs)           File "/usr/lib/python3/dist-packages/maasserver/utils/orm.py", line 756, in call_within_transaction             return func_outside_txn(*args, **kwargs)           File "/usr/lib/python3/dist-packages/maasserver/utils/orm.py", line 563, in retrier             return func(*args, **kwargs)           File "/usr/lib/python3.6/contextlib.py", line 52, in inner             return func(*args, **kwds)           File "/usr/lib/python3/dist-packages/maasserver/websockets/base.py", line 386, in prep_user_execute             return method(params)           File "/usr/lib/python3/dist-packages/maasserver/websockets/handlers/device.py", line 299, in create             data = super(DeviceHandler, self).create(params)           File "/usr/lib/python3/dist-packages/maasserver/websockets/base.py", line 462, in create             self._meta.pk: getattr(obj, self._meta.pk)})           File "/usr/lib/python3/dist-packages/maasserver/websockets/base.py", line 317, in get_object             raise HandlerDoesNotExistError(pk)         maasserver.websockets.base.HandlerDoesNotExistError: bgdkcr Error surfaced in the UI is without context. See attached.
2018-12-12 16:27:01 Blake Rouse merge proposal linked https://code.launchpad.net/~blake-rouse/maas/+git/maas/+merge/360808
2018-12-12 16:27:35 Blake Rouse maas: status New In Progress
2018-12-12 16:27:37 Blake Rouse maas: assignee Alberto Donato (ack) Blake Rouse (blake-rouse)
2018-12-12 18:18:33 MAAS Lander maas: status In Progress Fix Committed
2019-02-08 15:26:13 Andres Rodriguez maas: status Fix Committed Fix Released