Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

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

1 Answer 1

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.