[Planetlab-devel] slice info via xmlrpc (and www) issue

David M. Johnson johnsond at flux.utah.edu
Tue Feb 6 17:45:57 EST 2007


[ Not sure where you want problems with PLC 4, devel@ or support@; trying devel
  for now. ]

GetSlices does not seem to work for the PI account, either via xmlrpc or the
web, on www2.planet-lab.org.  lepreau at cs.utah.edu cannot see any slices on the
web page; ricci at cs.utah.edu can.  When trying from the PI account over xmlrpc,
with python 2.4.3:

  GetSlices(__auth,[],['name'])
  GetSlices(__auth,{},['name'])
  GetSlices(__auth,{'name':'utah_pelab'},['name'])
  GetSlices(__auth,{'name':'utah_pelab'})

all produce "xmlrpclib.ProtocolError: <ProtocolError for
www2.planet-lab.org/PLCAPI/: 500 Internal Server Error>".

With a different user over xmlrpc, we can sometimes successfully call
GetSlices:

  GetSlices(__auth_other,{'name':'utah_pelab'}) dumps all slice info.
  GetSlices(__auth_other,{'name':'utah_pelab'},['name']) fails with HTTP error 
      code 500.

I can authenticate with www2's xmlrpc server, and make various calls on it
successfully (i.e., GetPersons(__auth,['ricci at cs.utah.edu']),
GetNodes(__auth,['planetlab1.flux.utah.edu']), AuthCheck()).

According to the documentation, I also appear to be using it correctly... but
could be wrong.  Sorry to dump this on you so quick.


david

-- 
------------------------------------------------------------------
David Johnson <johnsond at flux.utah.edu>
Flux Research Group, University of Utah School of Computing
(http://www.flux.utah.edu, http://www.emulab.net)



More information about the Devel mailing list