Comment 2 for bug 1064737

Revision history for this message
Jeroen T. Vermeulen (jtv) wrote :

The region controller's Apache logs the API call, but then the operation gets stuck on the server side before the call even gets to TagsHandler. It's not the space that does it, or even the “new”: same thing happens for “maas-cli maas tags list” for example.

Apache's error.log shows this for each API call:

«
[error] [client 10.0.0.99] Premature end of script headers: wsgi.py
[alert] (2)No such file or directory: mod_wsgi (pid=12345): Unable to change working directory to '/home/maas'.
»

Indeed there is no /home/maas. Creating it (owned by maas:maas of course) fixes the “maas-cli maas tags list” but the tag-creation command still hangs — as long as the space is there. If I leave out the space, the API considers that a missing argument and errors out immediately.