IP address issues when subnet is misidentified internally
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
MAAS |
Won't Fix
|
Critical
|
Unassigned |
Bug Description
While investigating lp:1510629, we noted Subnet.
From the log:
2015-10-30 18:10:33 [-] Unhandled failure dispatching AMP command. This is probably a bug. Please ensure that this error is handled within application code or declared in the signature of the UpdateLeases command. [trusty-
Traceback (most recent call last):
File "/usr/lib/
self.
File "/usr/lib/
self.run()
File "/usr/lib/
self.
File "/usr/lib/
return super(ThreadPool, self)._worker()
--- <exception caught here> ---
File "/usr/lib/
result = context.call(ctx, function, *args, **kwargs)
File "/usr/lib/
return self.currentCon
File "/usr/lib/
return func(*args,**kw)
File "/usr/lib/
return func(*args, **kwargs)
File "/usr/lib/
return func_outside_
File "/usr/lib/
return func(*args, **kwargs)
File "/usr/lib/
return func(*args, **kwargs)
File "/usr/lib/
StaticIPAd
File "/usr/lib/
subnet_family = subnet.
exceptions.
The effect is that ip_address is returned as an empty string to the UI.
Changed in maas: | |
assignee: | nobody → Ricardo Bánffy (rbanffy) |
importance: | Undecided → Critical |
status: | New → In Progress |
Changed in maas: | |
assignee: | Ricardo Bánffy (rbanffy) → nobody |
status: | In Progress → Triaged |
Copying relevant information fron lp:1510629
VM node was commissioned and left on with SSH enabled. It got IP address 10.0.0.11, which is in the dynamic range of the DHCP configuration. Database shows one IP address, with DHCP alloc_type:
maasdb=# select id, ip, alloc_type from maasserver_ staticipaddress ; --+---- ------- -
id | ip | alloc_type
----+--
11 | | 5
(1 row)