2016-03-11 16:31:46 |
Andres Rodriguez |
description |
==> /var/log/maas/maas.log <==
Mar 12 00:25:48 trusty-maas9 maas.api: [INFO] undesignative-wally: Enlisted new machine
==> /var/log/maas/regiond.log <==
2016-03-12 00:25:48 [maasserver] ERROR: ################################ Exception: 'Machine' object is not iterable ################################
2016-03-12 00:25:48 [maasserver] ERROR: Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/django/core/handlers/base.py", line 132, in get_response
response = wrapped_callback(request, *callback_args, **callback_kwargs)
File "/usr/lib/python3/dist-packages/maasserver/utils/views.py", line 180, in view_atomic_with_post_commit_savepoint
return view_atomic(*args, **kwargs)
File "/usr/lib/python3.5/contextlib.py", line 30, in inner
return func(*args, **kwds)
File "/usr/lib/python3/dist-packages/maasserver/api/support.py", line 54, in __call__
response = upcall(request, *args, **kwargs)
File "/usr/lib/python3/dist-packages/django/views/decorators/vary.py", line 21, in inner_func
response = func(*args, **kwargs)
File "/usr/lib/python3/dist-packages/piston3/resource.py", line 229, in __call__
else: stream = srl.render(request)
File "/usr/lib/python3/dist-packages/piston3/emitters.py", line 464, in render
response = serializers.serialize(format, self.data, indent=True)
File "/usr/lib/python3/dist-packages/django/core/serializers/__init__.py", line 129, in serialize
s.serialize(queryset, **options)
File "/usr/lib/python3/dist-packages/django/core/serializers/base.py", line 52, in serialize
for obj in queryset:
TypeError: 'Machine' object is not iterable |
While enlisting multiple machines at the time I see:
==> /var/log/maas/maas.log <==
Mar 12 00:25:48 trusty-maas9 maas.api: [INFO] undesignative-wally: Enlisted new machine
==> /var/log/maas/regiond.log <==
2016-03-12 00:25:48 [maasserver] ERROR: ################################ Exception: 'Machine' object is not iterable ################################
2016-03-12 00:25:48 [maasserver] ERROR: Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/django/core/handlers/base.py", line 132, in get_response
response = wrapped_callback(request, *callback_args, **callback_kwargs)
File "/usr/lib/python3/dist-packages/maasserver/utils/views.py", line 180, in view_atomic_with_post_commit_savepoint
return view_atomic(*args, **kwargs)
File "/usr/lib/python3.5/contextlib.py", line 30, in inner
return func(*args, **kwds)
File "/usr/lib/python3/dist-packages/maasserver/api/support.py", line 54, in __call__
response = upcall(request, *args, **kwargs)
File "/usr/lib/python3/dist-packages/django/views/decorators/vary.py", line 21, in inner_func
response = func(*args, **kwargs)
File "/usr/lib/python3/dist-packages/piston3/resource.py", line 229, in __call__
else: stream = srl.render(request)
File "/usr/lib/python3/dist-packages/piston3/emitters.py", line 464, in render
response = serializers.serialize(format, self.data, indent=True)
File "/usr/lib/python3/dist-packages/django/core/serializers/__init__.py", line 129, in serialize
s.serialize(queryset, **options)
File "/usr/lib/python3/dist-packages/django/core/serializers/base.py", line 52, in serialize
for obj in queryset:
TypeError: 'Machine' object is not iterable |
|