← Back to team overview

launchpad-reviewers team mailing list archive

[Merge] lp:~davewalker/maas/WSGIPassAuthorization_On into lp:maas

 

Dave Walker has proposed merging lp:~davewalker/maas/WSGIPassAuthorization_On into lp:maas.

Requested reviews:
  Launchpad code reviewers (launchpad-reviewers)

For more details, see:
https://code.launchpad.net/~davewalker/maas/WSGIPassAuthorization_On/+merge/99227

Without this, juju bootstrap returns:


Server side -
127.0.0.1 - - [25/Mar/2012:17:28:48 -0400] "GET /MAAS/api/1.0/files/?filename=provider-state&op=get HTTP/1.0" 404 199 "-" "Twisted PageGetter"
127.0.0.1 - - [25/Mar/2012:17:28:48 -0400] "POST /MAAS/api/1.0/files/ HTTP/1.0" 401 196 "-" "Twisted PageGetter"

Client side -
$ juju bootstrap
2012-03-25 17:28:48,304 INFO Bootstrapping environment 'maas' (type: maas)...
Bootstrap aborted because file storage is not writable: The supplied storage credentials were not accepted by the server
2012-03-25 17:28:48,406 ERROR Bootstrap aborted because file storage is not writable: The supplied storage credentials were not accepted by the server


-- 
https://code.launchpad.net/~davewalker/maas/WSGIPassAuthorization_On/+merge/99227
Your team Launchpad code reviewers is requested to review the proposed merge of lp:~davewalker/maas/WSGIPassAuthorization_On into lp:maas.
=== modified file 'contrib/maas-http.conf'
--- contrib/maas-http.conf	2012-03-19 03:24:16 +0000
+++ contrib/maas-http.conf	2012-03-25 22:09:20 +0000
@@ -1,4 +1,5 @@
 WSGIScriptAlias /MAAS  /usr/share/maas/wsgi.py
+WSGIPassAuthorization On
 
 <IfModule mod_expires.c>
     <Location /MAAS>