Unable to deploy machine with static IP address
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
MAAS |
Fix Released
|
Critical
|
Alberto Donato | ||
2.8 |
Fix Released
|
Critical
|
Alberto Donato | ||
2.9 |
Fix Released
|
Critical
|
Alberto Donato |
Bug Description
I have a node which I manually assigned a static IP address. I went to deploy the node but I get a "Error:Failed to allocate the required AUTO IP addresses". My MAAS has no other machines deployed so the address space is fully available. Switching to auto assign works around this.
2020-11-19 03:07:22 maasserver.
Traceback (most recent call last):
File "/usr/lib/
self.
File "/usr/lib/
return target()
File "/usr/lib/
task()
File "/usr/lib/
task()
--- <exception caught here> ---
File "/usr/lib/
result = inContext.theWork()
File "/usr/lib/
inContext.
File "/usr/lib/
return self.currentCon
File "/usr/lib/
return func(*args,**kw)
File "/usr/lib/
return func(*args, **kwargs)
File "/usr/lib/
result = func(*args, **kwargs)
File "/usr/lib/
return func_outside_
File "/usr/lib/
self.fire()
File "/usr/lib/
result = func(*args, **kwargs)
File "/usr/lib/
self.
File "/usr/lib/
result.
File "/usr/lib/
raise self.value.
File "/usr/lib/
result = result.
File "/usr/lib/
return g.throw(self.type, self.value, self.tb)
File "/usr/lib/
yield self._claim_
File "/usr/lib/
result = g.send(result)
File "/usr/lib/
raise StaticIPAddress
maasserver.
Related branches
- Alberto Donato (community): Approve
-
Diff: 48 lines (+26/-0)2 files modifiedsrc/maasserver/models/node.py (+3/-0)
src/maasserver/models/tests/test_node.py (+23/-0)
- MAAS Lander: Approve
- Alberto Donato (community): Approve
-
Diff: 48 lines (+26/-0)2 files modifiedsrc/maasserver/models/node.py (+3/-0)
src/maasserver/models/tests/test_node.py (+23/-0)
- Björn Tillenius: Approve
- MAAS Lander: Approve
-
Diff: 48 lines (+26/-0)2 files modifiedsrc/maasserver/models/node.py (+3/-0)
src/maasserver/models/tests/test_node.py (+23/-0)
Changed in maas: | |
assignee: | nobody → Alberto Donato (ack) |
status: | Triaged → In Progress |
Changed in maas: | |
milestone: | 2.9.0rc2 → none |
no longer affects: | maas/2.9 |
Changed in maas: | |
milestone: | none → next |
no longer affects: | maas/2.9 |
Changed in maas: | |
milestone: | next → 2.9.0rc2 |
Changed in maas: | |
status: | In Progress → Fix Committed |
Changed in maas: | |
milestone: | 2.9.0rc2 → 2.10-next |
Changed in maas: | |
milestone: | 3.0.0 → none |
status: | Fix Committed → Fix Released |
I seem to be having this problem after the maas snap auto-updated to 2.8.3/4 from 2.8.2
Deploying with a static ip, in a reserved range, to any subnet gives an error in the regiond log:
maasserver. exceptions. StaticIPAddress Exhaustion: Failed to allocate the required AUTO IP addresses
There doesn't appear to be any unexpected ips in the subnet when I go to the subnet page, or when i ping the subnet.