ValueError: number of bits must be greater than zero

Bug #1705090 reported by Jason Hobbs on 2017-07-18
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Blake Rouse
Blake Rouse

Bug Description

Using the build from ppa:maas/proposed, we're seeing this error in regiond.log:

2017-07-18 18:25:43 maasserver.utils.views: [error] 500 Internal Server Error @ /MAAS/rpc/
Traceback (most recent call last):
  File "/usr/lib/python3.5/", line 253, in choice
    i = self._randbelow(len(seq))
  File "/usr/lib/python3.5/", line 230, in _randbelow
    r = getrandbits(k) # 0 <= r < 2**k
ValueError: number of bits must be greater than zero

This is resulting in MAAS returning 500 errors for all calls to the region controller.


Related branches

Jason Hobbs (jason-hobbs) wrote :
tags: added: cdo-qa-blocker
removed: cdo-qa-block
Changed in maas:
status: New → In Progress
importance: Undecided → Critical
assignee: nobody → Blake Rouse (blake-rouse)
milestone: none → 2.3.0
milestone: 2.3.0 → none
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers

Bug attachments