Preparation of RegionAdvertisingService failed: MultipleObjectsReturned: Got more than one node

Bug #1554494 reported by Gavin Panella
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Gavin Panella

Bug Description

Preparation of RegionAdvertisingService failed; will try again in 5 seconds.
Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/twisted/internet/", line 1184, in gotResult
    _inlineCallbacks(r, g, deferred)
  File "/usr/lib/python3/dist-packages/twisted/internet/", line 1126, in _inlineCallbacks
    result = result.throwExceptionIntoGenerator(g)
  File "/usr/lib/python3/dist-packages/twisted/python/", line 389, in throwExceptionIntoGenerator
    return g.throw(self.type, self.value, self.tb)
  File ".../maasserver/rpc/", line 960, in _prepareService
    "5 seconds." % self.__class__.__name__))
--- <exception caught here> ---
  File ".../maasserver/rpc/", line 954, in _prepareService
    yield d
  File "/usr/lib/python3/dist-packages/twisted/python/", line 246, in inContext
    result = inContext.theWork()
  File "/usr/lib/python3/dist-packages/twisted/python/", line 262, in <lambda>
    inContext.theWork = lambda:, func, *args, **kw)
  File "/usr/lib/python3/dist-packages/twisted/python/", line 118, in callWithContext
    return self.currentContext().callWithContext(ctx, func, *args, **kw)
  File "/usr/lib/python3/dist-packages/twisted/python/", line 81, in callWithContext
    return func(*args,**kw)
  File ".../provisioningserver/utils/", line 197, in wrapper
    return func(*args, **kwargs)
  File ".../maasserver/utils/", line 165, in call_with_lock
    return func(*args, **kwargs)
  File ".../maasserver/utils/", line 404, in call_with_connection
    return func(*args, **kwargs)
  File ".../maasserver/utils/", line 165, in call_with_lock
    return func(*args, **kwargs)
  File ".../maasserver/utils/", line 448, in call_within_transaction
    return func_outside_txn(*args, **kwargs)
  File ".../maasserver/utils/", line 275, in retrier
    return func(*args, **kwargs)
  File "/usr/lib/python3.5/", line 30, in inner
    return func(*args, **kwds)
  File ".../maasserver/rpc/", line 985, in prepare
  File ".../maasserver/utils/", line 113, in get_one
    raise exception_class("Got more than one %s." % object_name.lower())
maasserver.models.node.MultipleObjectsReturned: Got more than one node.

Related branches

Gavin Panella (allenap)
Changed in maas:
status: Triaged → In Progress
assignee: nobody → Gavin Panella (allenap)
Gavin Panella (allenap)
Changed in maas:
status: In Progress → Fix Committed
Changed in maas:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers