16.04 500 Internal sever error

Bug #1566317 reported by Paul Weston
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
MAAS
New
Undecided
Unassigned

Bug Description

I encountered this error after I upgraded to the latest maas alpha. I decided to do a fresh install after some unsuccessful troubleshooting. I still encounter this error on a fresh install.

2016-04-05 03:28:53 [HTTPChannel,19,{Correct IP}] 500 Error - /MAAS/accounts/login/
 Traceback (most recent call last):
   File "/usr/lib/python3/dist-packages/django/core/handlers/wsgi.py", line 189, in __call__
     response = self.get_response(request)
   File "/usr/lib/python3/dist-packages/maasserver/utils/views.py", line 227, in get_response
     response = get_response(request)
   File "/usr/lib/python3/dist-packages/maasserver/utils/views.py", line 201, in get_response
     return django_get_response(request)
   File "/usr/lib/python3/dist-packages/django/core/handlers/base.py", line 218, in get_response
     response = self.handle_uncaught_exception(request, resolver, sys.exc_info())
 --- <exception caught here> ---
   File "/usr/lib/python3/dist-packages/django/core/handlers/base.py", line 164, in get_response
     response = response.render()
   File "/usr/lib/python3/dist-packages/django/template/response.py", line 158, in render
     self.content = self.rendered_content
   File "/usr/lib/python3/dist-packages/django/template/response.py", line 135, in rendered_content
     content = template.render(context, self._request)
   File "/usr/lib/python3/dist-packages/django/template/backends/django.py", line 74, in render
     return self.template.render(context)
   File "/usr/lib/python3/dist-packages/django/template/base.py", line 209, in render
     with context.bind_template(self):
   File "/usr/lib/python3.5/contextlib.py", line 59, in __enter__
     return next(self.gen)
   File "/usr/lib/python3/dist-packages/django/template/context.py", line 241, in bind_template
     updates.update(processor(self.request))
   File "/usr/lib/python3/dist-packages/maasserver/context_processors.py", line 27, in global_options
     version = get_maas_version_ui()
   File "/usr/lib/python3/dist-packages/maasserver/utils/version.py", line 87, in wrapped
     _cache[key] = fun(*args, **kwargs)
   File "/usr/lib/python3/dist-packages/maasserver/utils/version.py", line 123, in get_maas_version_ui
     version, subversion = get_maas_version_subversion()
   File "/usr/lib/python3/dist-packages/maasserver/utils/version.py", line 87, in wrapped
     _cache[key] = fun(*args, **kwargs)
   File "/usr/lib/python3/dist-packages/maasserver/utils/version.py", line 108, in get_maas_version_subversion
     branch_version = get_maas_branch_version()
   File "/usr/lib/python3/dist-packages/maasserver/utils/version.py", line 62, in get_maas_branch_version
     revno = shell.call_and_check(("bzr", "revno", __file__))
   File "/usr/lib/python3/dist-packages/provisioningserver/utils/shell.py", line 125, in call_and_check
     process = Popen(command, *args, stdout=PIPE, stderr=PIPE, **kwargs)
   File "/usr/lib/python3.5/subprocess.py", line 947, in __init__
     restore_signals, start_new_session)
   File "/usr/lib/python3.5/subprocess.py", line 1541, in _execute_child
     raise child_exception_type(errno_num, err_msg)
 builtins.FileNotFoundError: [Errno 2] No such file or directory: 'bzr'

Package List:

||/ Name Version Architecture Description
+++-===============================-=============================-============-=================================================
ii maas 2.0.0~alpha4+bzr4843-0ubuntu1 all "Metal as a Service" is a physical cloud and IPAM
ii maas-cli 2.0.0~alpha4+bzr4843-0ubuntu1 all MAAS client and command-line interface
un maas-cluster-controller <none> <none> (no description available)
ii maas-common 2.0.0~alpha4+bzr4843-0ubuntu1 all MAAS server common files
ii maas-dhcp 2.0.0~alpha4+bzr4843-0ubuntu1 all MAAS DHCP server
ii maas-dns 2.0.0~alpha4+bzr4843-0ubuntu1 all MAAS DNS server
ii maas-proxy 2.0.0~alpha4+bzr4843-0ubuntu1 all MAAS Caching Proxy
ii maas-rack-controller 2.0.0~alpha4+bzr4843-0ubuntu1 all Rack Controller for MAAS
ii maas-region-api 2.0.0~alpha4+bzr4843-0ubuntu1 all Region controller API service for MAAS
ii maas-region-controller 2.0.0~alpha4+bzr4843-0ubuntu1 all Region Controller for MAAS
un maas-region-controller-min <none> <none> (no description available)
un python-django-maas <none> <none> (no description available)
un python-maas-client <none> <none> (no description available)
un python-maas-provisioningserver <none> <none> (no description available)
ii python3-django-maas 2.0.0~alpha4+bzr4843-0ubuntu1 all MAAS server Django web framework (Python 3)
ii python3-maas-client 2.0.0~alpha4+bzr4843-0ubuntu1 all MAAS python API client (Python 3)
ii python3-maas-provisioningserver 2.0.0~alpha4+bzr4843-0ubuntu1 all MAAS server provisioning libraries (Python 3)

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.