Ask Ubuntu is a question and answer site for Ubuntu users and developers. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

In order to debug maas, I ran the following command:

$ cd /usr/share/pyshared/maas
$ sudo python manage.py runserver (IP):8888 --settings=maas.settings

After that, I typed the url 'http://(IP):8888/MAAS/' in a firefox browser. Then the following error is shown:

A server error occurred.  Please contact the administrator.

It seems that server did not find homepage 404.html.

When I check with url http://(IP):8000(Not 8888)/MAAS/', number of nodes are increased 2 times when manager.py runserver is running.

Could you let me know how to debug maas/maasserver using pdb and django runserver ?

Thanks in advance,

share|improve this question

Your best bet is probably to enable the debugging options in /etc/maas/maas_local_settings.py.

What version of MAAS are you using?

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.