ValueError: number of bits must be greater than zero
Bug #1705090 reported by
Jason Hobbs
This bug report is a duplicate of:
Bug #1705254: [2.2, 2.3] RegionService can raise unexpected exceptions for an empty connection list.
Edit
Remove
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
MAAS |
In Progress
|
Critical
|
Blake Rouse | ||
2.2 |
Triaged
|
Critical
|
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.
Traceback (most recent call last):
File "/usr/lib/
i = self._randbelow
File "/usr/lib/
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.
2.2.2-6092-
Related branches
~blake-rouse/maas:fix-1705090
Rejected
for merging
into
maas:master
- Andres Rodriguez (community): Approve
- Mike Pontillo: Pending requested
-
Diff: 44 lines (+10/-1)3 files modifiedrequirements.txt (+1/-1)
src/maasserver/rpc/regionservice.py (+1/-0)
src/maasserver/rpc/tests/test_regionservice.py (+8/-0)
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.