Closed wathsalav closed 11 years ago
I think I know what was wrong.
I found one error in the debug setup script that wasn't creating UG's when it said it was (and was throwing no errors) because of a "12345" vs 12345 issue (typing). So that's fixed; if that was the problem it might work better. Looking at setup.py lines 108 through 117, it seems that one of the two ways you'll get a 403 is when the UG you request doesn't exist... which it probably didn't in this case. The other way is if you don't authenticate properly.
Try it and see!
I tried the latest MS and its giving me the following error when I try debug setup using the URL http://localhost:8080/debug/setup/test?do_init=1&ug_name=UG-localhost&do_local_ug=1&username=wathsala@cs.princeton.edu. Something wrong with the query string I use?
This is the error I get...
Traceback (most recent call last): File "/home/wathsala/Downloads/google_appengine/lib/webapp2-2.5.2/webapp2.py", line 1535, in call rv = self.handle_exception(request, response, e) File "/home/wathsala/Downloads/google_appengine/lib/webapp2-2.5.2/webapp2.py", line 1529, in call rv = self.router.dispatch(request, response) File "/home/wathsala/Downloads/google_appengine/lib/webapp2-2.5.2/webapp2.py", line 1278, in default_dispatcher return route.handler_adapter(request, response) File "/home/wathsala/Downloads/google_appengine/lib/webapp2-2.5.2/webapp2.py", line 1102, in call return handler.dispatch() File "/home/wathsala/Downloads/google_appengine/lib/webapp2-2.5.2/webapp2.py", line 572, in dispatch return self.handle_exception(e, self.app.debug) File "/home/wathsala/Downloads/google_appengine/lib/webapp2-2.5.2/webapp2.py", line 570, in dispatch return method(_args, *_kwargs) File "/home/wathsala/Downloads/google_appengine/ms/tests/debughandler.py", line 43, in get status, msg = test.test( path, args ) File "/home/wathsala/Downloads/google_appengine/ms/tests/setup.py", line 920, in test if do_ags: UnboundLocalError: local variable 'do_ags' referenced before assignment
I just pushed a fix see if that helps.
Thanks, it works!
I tried the latest MS and it is sending an HTTP 403 when asked for volume info.
From MS...
INFO 2013-07-09 15:55:44,394 server.py:585] default: "GET /VOLUME/testvolume-wathsala-cs.princeton.edu HTTP/1.1" 403 21
From AG... [build/out/libsyndicate/ms-client.cpp:0470] ms_client_get_volume_metadata: bad MS HTTP response 403 [build/out/libsyndicate/libsyndicate.cpp:3576] md_init: ms_client_get_volume_metadata rc = -403
I used the following URL to initialize the MS debug... http://localhost:8080/debug/setup/test?do_init=1&ug_name=UG-localhost&do_local_ug=1&username=wathsala@cs.princeton.edu
I can see that volume names have changed, but are there any other changes I should be aware of?