saw this again. It may be causing some machines to fail enlist
2016-04-02 06:32:57 [-] 127.0.0.1 - - [01/Apr/2016:22:32:56 +0000] "POST /MAAS/api/2.0/machines/ HTTP/1.1" 500 32 "-" "curl/7.47.0" 2016-04-02 06:32:57 [-] /usr/lib/python3/dist-packages/piston3/authentication.py:314: django.utils.deprecation.RemovedInDjango19Warning: `request.REQUEST` is deprecated, use `request.GET` or `request.POST` instead. 2016-04-02 06:32:57 [-] /usr/lib/python3/dist-packages/django/core/handlers/wsgi.py:126: django.utils.deprecation.RemovedInDjango19Warning: `MergeDict` is deprecated, use `dict.update()` instead. 2016-04-02 06:32:57 [maasserver] ERROR: ################################ Exception: 'Machine' object is not iterable ################################ 2016-04-02 06:32:57 [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
2016-04-02 06:32:57 [-] 127.0.0.1 - - [01/Apr/2016:22:32:57 +0000] "POST /MAAS/api/2.0/machines/ HTTP/1.1" 500 32 "-" "curl/7.47.0" 2016-04-02 06:32:58 [-] Successfully configured DNS. 2016-04-02 06:32:58 [RegionServer,0,192.168.20.104] Successfully configured DHCPv4 on rack controller '4y3h7n'. 2016-04-02 06:32:58 [RegionServer,0,192.168.20.104] Successfully configured DHCPv4 on rack controller '4y3h7n'. 2016-04-02 06:32:58 [-] Successfully configured DNS.
saw this again. It may be causing some machines to fail enlist
2016-04-02 06:32:57 [-] 127.0.0.1 - - [01/Apr/ 2016:22: 32:56 +0000] "POST /MAAS/api/ 2.0/machines/ HTTP/1.1" 500 32 "-" "curl/7.47.0" python3/ dist-packages/ piston3/ authentication. py:314: django. utils.deprecati on.RemovedInDja ngo19Warning: `request.REQUEST` is deprecated, use `request.GET` or `request.POST` instead. python3/ dist-packages/ django/ core/handlers/ wsgi.py: 126: django. utils.deprecati on.RemovedInDja ngo19Warning: `MergeDict` is deprecated, use `dict.update()` instead. ####### ####### ####### #### Exception: 'Machine' object is not iterable ####### ####### ####### ####### #### python3/ dist-packages/ django/ core/handlers/ base.py" , line 132, in get_response callback( request, *callback_args, **callback_kwargs) python3/ dist-packages/ maasserver/ utils/views. py", line 180, in view_atomic_ with_post_ commit_ savepoint python3. 5/contextlib. py", line 30, in inner python3/ dist-packages/ maasserver/ api/support. py", line 54, in __call__ python3/ dist-packages/ django/ views/decorator s/vary. py", line 21, in inner_func python3/ dist-packages/ piston3/ resource. py", line 229, in __call__ python3/ dist-packages/ piston3/ emitters. py", line 464, in render serialize( format, self.data, indent=True) python3/ dist-packages/ django/ core/serializer s/__init_ _.py", line 129, in serialize (queryset, **options) python3/ dist-packages/ django/ core/serializer s/base. py", line 52, in serialize
2016-04-02 06:32:57 [-] /usr/lib/
2016-04-02 06:32:57 [-] /usr/lib/
2016-04-02 06:32:57 [maasserver] ERROR: #######
2016-04-02 06:32:57 [maasserver] ERROR: Traceback (most recent call last):
File "/usr/lib/
response = wrapped_
File "/usr/lib/
return view_atomic(*args, **kwargs)
File "/usr/lib/
return func(*args, **kwds)
File "/usr/lib/
response = upcall(request, *args, **kwargs)
File "/usr/lib/
response = func(*args, **kwargs)
File "/usr/lib/
else: stream = srl.render(request)
File "/usr/lib/
response = serializers.
File "/usr/lib/
s.serialize
File "/usr/lib/
for obj in queryset:
TypeError: 'Machine' object is not iterable
2016-04-02 06:32:57 [-] 127.0.0.1 - - [01/Apr/ 2016:22: 32:57 +0000] "POST /MAAS/api/ 2.0/machines/ HTTP/1.1" 500 32 "-" "curl/7.47.0" 0,192.168. 20.104] Successfully configured DHCPv4 on rack controller '4y3h7n'. 0,192.168. 20.104] Successfully configured DHCPv4 on rack controller '4y3h7n'.
2016-04-02 06:32:58 [-] Successfully configured DNS.
2016-04-02 06:32:58 [RegionServer,
2016-04-02 06:32:58 [RegionServer,
2016-04-02 06:32:58 [-] Successfully configured DNS.