IP reservation TransactionManagementError
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
MAAS |
Fix Released
|
Undecided
|
Unassigned | ||
1.7 |
Fix Released
|
Critical
|
Unassigned |
Bug Description
When reserving IP addresses in MAAS over the API, requests are rejected as 500 Internal Server Error and the following traceback appears (multiple times) in maas-django.log
ERROR 2015-01-12 11:32:01,043 twisted {}
ERROR 2015-01-12 11:47:38,344 maasserver #######
ERROR 2015-01-12 11:47:38,360 maasserver #######
ERROR 2015-01-12 11:47:38,410 maasserver Traceback (most recent call last):
File "/usr/lib/
response = wrapped_
File "/usr/lib/
response = func(*args, **kwargs)
File "/usr/lib/
result = self.error_
File "/usr/lib/
result = meth(request, *args, **kwargs)
File "/usr/lib/
return function(self, request, *args, **kwargs)
File "/usr/lib/
request.user, interface, requested_address, mac_address)
File "/usr/lib/
return func(*args, **kwargs)
File "/usr/lib/
transaction
File "/usr/lib/
get_
File "/usr/lib/
self.
File "/usr/lib/
"This is forbidden when an 'atomic' block is active.")
TransactionMana
This is Landscape doing the talking over the API, it is requesting several (~9) IPs at around the same time, seemingly all requests failed in the same way.
maas 1.7.1~rc2+
maas-cli 1.7.1~rc2+
maas-cluster-
maas-common 1.7.1~rc2+
maas-dhcp 1.7.1~rc2+
maas-dns 1.7.1~rc2+
maas-proxy 1.7.1~rc2+
maas-region-
maas-region-
Related branches
- Blake Rouse (community): Approve
-
Diff: 74 lines (+33/-1)2 files modifiedsrc/maasserver/api/ip_addresses.py (+0/-1)
src/maasserver/api/tests/test_ipaddresses.py (+33/-0)
tags: | added: cloud-installer landscape |
Changed in maas: | |
importance: | Undecided → Critical |
status: | Confirmed → Triaged |
Changed in maas: | |
status: | New → Fix Released |
Even when changing the Landscape code to only request 1 IP at a time, this still fails in the same way.