upgrade of maas from 1.9.1 to 2.0 'str' object has no attribute 'version'
Bug #1575951 reported by
David Britton
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
MAAS |
Invalid
|
Critical
|
Unassigned |
Bug Description
I get the following upon loading the 2.0 gui after an upgrade from 1.9.1 to 2.0:
'str' object has no attribute 'version'
It loads all the nodes, but after a second or two, falls back to this message. I have tried reloading the gui with shift-f5, logging out, logging in, new browser.
Changed in maas: | |
status: | New → Triaged |
importance: | Undecided → Critical |
assignee: | nobody → Mike Pontillo (mpontillo) |
milestone: | none → 2.0.0 |
To post a comment you must log in.
2016-04-27 17:22:51 [-] Error on request (39) subnet.list: 'str' object has no attribute 'version' python3. 5/threading. py", line 862, in run
self. _target( *self._ args, **self._kwargs) python3/ dist-packages/ provisioningser ver/utils/ twisted. py", line 841, in worker python3/ dist-packages/ twisted/ _threads/ _threadworker. py", line 46, in work python3/ dist-packages/ twisted/ _threads/ _team.py" , line 190, in doWork python3/ dist-packages/ twisted/ python/ threadpool. py", line 246, in inContext python3/ dist-packages/ twisted/ python/ threadpool. py", line 262, in <lambda>
inContext. theWork = lambda: context.call(ctx, func, *args, **kw) python3/ dist-packages/ twisted/ python/ context. py", line 118, in callWithContext text(). callWithContext (ctx, func, *args, **kw) python3/ dist-packages/ twisted/ python/ context. py", line 81, in callWithContext python3/ dist-packages/ provisioningser ver/utils/ twisted. py", line 874, in callInContext python3/ dist-packages/ maasserver/ utils/orm. py", line 516, in call_within_ transaction txn(*args, **kwargs) python3/ dist-packages/ maasserver/ utils/orm. py", line 343, in retrier python3. 5/contextlib. py", line 30, in inner python3/ dist-packages/ maasserver/ websockets/ base.py" , line 343, in list python3/ dist-packages/ maasserver/ websockets/ base.py" , line 343, in <listcomp> python3/ dist-packages/ maasserver/ websockets/ base.py" , line 195, in full_dehydrate python3/ dist-packages/ maasserver/ websockets/ handlers/ subnet. py", line 42, in dehydrate
full_ range = subnet. get_iprange_ usage() python3/ dist-packages/ maasserver/ models/ subnet. py", line 488, in get_iprange_usage
reserved_ ranges = self.get_ ipranges_ in_use( ) python3/ dist-packages/ maasserver/ models/ subnet. py", line 442, in get_ipranges_in_use
self. gateway_ ip in ipnetwork): python3/ dist-packages/ netaddr/ ip/__init_ _.py", line 720, in __contains__ version)
builtins. AttributeError: 'str' object has no attribute 'version'
Traceback (most recent call last):
File "/usr/lib/
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/
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, **kwds)
File "/usr/lib/
for obj in objs
File "/usr/lib/
for obj in objs
File "/usr/lib/
return self.dehydrate(obj, data, for_list=for_list)
File "/usr/lib/
File "/usr/lib/
File "/usr/lib/
File "/usr/lib/
item = IPAddress(self.last + index + 1, self._module.