/usr/lib/python2.6/site-packages/glanceclient/openstack/common/apiclient
NameSizeModeActions
auth.py74710644editdlrm
auth.pyc87230644editdlrm
base.py174500644editdlrm
base.pyc211630644editdlrm
client.py138890644editdlrm
client.pyc139090644editdlrm
exceptions.py129930644editdlrm
exceptions.pyc207640644editdlrm
fake_client.py64540644editdlrm
fake_client.pyc62710644editdlrm
utils.py34180644editdlrm
utils.pyc21550644editdlrm
__init__.py00644editdlrm
__init__.pyc1800644editdlrm
Edit: /usr/lib/python2.6/site-packages/glanceclient/openstack/common/apiclient/exceptions.pyc (20764B)
Ñò efd?„ƒYZ$d@efdA„ƒYZ%dBefdC„ƒYZ&dDefdE„ƒYZ'dFefdG„ƒYZ(dHefdI„ƒYZ)dJefdK„ƒYZ*dLefdM„ƒYZ+dNefdO„ƒYZ,dPefdQ„ƒYZ-dRefdS„ƒYZ.dTefdU„ƒYZ/dVefdW„ƒYZ0dXefdY„ƒYZ1e2dZ„ei3e4ei5e6ƒƒDƒƒZ7d[„Z8dS(\s Exception definitions. iÿÿÿÿN(t_tClientExceptioncBseZdZRS(s@The base exception class for all exceptions this library raises.(t__name__t __module__t__doc__(((s_/tmp/pip-build-cD3xZi/python-glanceclient/glanceclient/openstack/common/apiclient/exceptions.pyR,stValidationErrorcBseZdZRS(s'Error in validation on API client side.(RRR(((s_/tmp/pip-build-cD3xZi/python-glanceclient/glanceclient/openstack/common/apiclient/exceptions.pyR1stUnsupportedVersioncBseZdZRS(s8User is trying to use an unsupported version of the API.(RRR(((s_/tmp/pip-build-cD3xZi/python-glanceclient/glanceclient/openstack/common/apiclient/exceptions.pyR6st CommandErrorcBseZdZRS(sError in CLI tool.(RRR(((s_/tmp/pip-build-cD3xZi/python-glanceclient/glanceclient/openstack/common/apiclient/exceptions.pyR;stAuthorizationFailurecBseZdZRS(sCannot authorize API client.(RRR(((s_/tmp/pip-build-cD3xZi/python-glanceclient/glanceclient/openstack/common/apiclient/exceptions.pyR@stConnectionErrorcBseZdZRS(sCannot connect to API service.(RRR(((s_/tmp/pip-build-cD3xZi/python-glanceclient/glanceclient/openstack/common/apiclient/exceptions.pyR EstConnectionRefusedcBseZdZRS(s:Connection refused while trying to connect to API service.(RRR(((s_/tmp/pip-build-cD3xZi/python-glanceclient/glanceclient/openstack/common/apiclient/exceptions.pyR JstAuthPluginOptionsMissingcBseZdZd„ZRS(s Auth plugin misses some options.cCs6tt|ƒitdƒdi|ƒƒ||_dS(Ns*Authentication failed. Missing options: %ss, (tsuperR t__init__Rtjoint opt_names(tselfR((s_/tmp/pip-build-cD3xZi/python-glanceclient/glanceclient/openstack/common/apiclient/exceptions.pyR Qs (RRRR (((s_/tmp/pip-build-cD3xZi/python-glanceclient/glanceclient/openstack/common/apiclient/exceptions.pyR OstAuthSystemNotFoundcBseZdZd„ZRS(s7User has specified an AuthSystem that is not installed.cCs-tt|ƒitdƒ|ƒ||_dS(NsAuthSystemNotFound: %r(R RR Rt auth_system(RR((s_/tmp/pip-build-cD3xZi/python-glanceclient/glanceclient/openstack/common/apiclient/exceptions.pyR Zs(RRRR (((s_/tmp/pip-build-cD3xZi/python-glanceclient/glanceclient/openstack/common/apiclient/exceptions.pyRXst NoUniqueMatchcBseZdZRS(s'Multiple entities found instead of one.(RRR(((s_/tmp/pip-build-cD3xZi/python-glanceclient/glanceclient/openstack/common/apiclient/exceptions.pyR`stEndpointExceptioncBseZdZRS(s'Something is rotten in Service Catalog.(RRR(((s_/tmp/pip-build-cD3xZi/python-glanceclient/glanceclient/openstack/common/apiclient/exceptions.pyRestEndpointNotFoundcBseZdZRS(s5Could not find requested endpoint in Service Catalog.(RRR(((s_/tmp/pip-build-cD3xZi/python-glanceclient/glanceclient/openstack/common/apiclient/exceptions.pyRjstAmbiguousEndpointscBseZdZdd„ZRS(s9Found more than one matching endpoint in Service Catalog.cCs-tt|ƒitdƒ|ƒ||_dS(NsAmbiguousEndpoints: %r(R RR Rt endpoints(RR((s_/tmp/pip-build-cD3xZi/python-glanceclient/glanceclient/openstack/common/apiclient/exceptions.pyR qsN(RRRtNoneR (((s_/tmp/pip-build-cD3xZi/python-glanceclient/glanceclient/openstack/common/apiclient/exceptions.pyRost HttpErrorcBs>eZdZdZedƒZdddddddd„ZRS(s1The base exception class for all HTTP exceptions.is HTTP Errorc Csœ|p|i|_|p|i|_||_||_||_||_||_d|i|if}|o|d|7}ntt|ƒi |ƒdS(Ns %s (HTTP %s)s (Request-ID: %s)( t http_statustmessagetdetailst request_idtresponseturltmethodR RR ( RRRRRRR Rtformatted_string((s_/tmp/pip-build-cD3xZi/python-glanceclient/glanceclient/openstack/common/apiclient/exceptions.pyR |s     N(RRRRRRRR (((s_/tmp/pip-build-cD3xZi/python-glanceclient/glanceclient/openstack/common/apiclient/exceptions.pyRws  tHTTPRedirectioncBseZdZedƒZRS(sHTTP Redirection.sHTTP Redirection(RRRRR(((s_/tmp/pip-build-cD3xZi/python-glanceclient/glanceclient/openstack/common/apiclient/exceptions.pyR"ŒstHTTPClientErrorcBseZdZedƒZRS(s^Client-side HTTP error. Exception for cases in which the client seems to have erred. sHTTP Client Error(RRRRR(((s_/tmp/pip-build-cD3xZi/python-glanceclient/glanceclient/openstack/common/apiclient/exceptions.pyR#‘stHttpServerErrorcBseZdZedƒZRS(s“Server-side HTTP error. Exception for cases in which the server is aware that it has erred or is incapable of performing the request. sHTTP Server Error(RRRRR(((s_/tmp/pip-build-cD3xZi/python-glanceclient/glanceclient/openstack/common/apiclient/exceptions.pyR$™stMultipleChoicescBs eZdZdZedƒZRS(snHTTP 300 - Multiple Choices. Indicates multiple options for the resource that the client may follow. i,sMultiple Choices(RRRRRR(((s_/tmp/pip-build-cD3xZi/python-glanceclient/glanceclient/openstack/common/apiclient/exceptions.pyR%¢st BadRequestcBs eZdZdZedƒZRS(sTHTTP 400 - Bad Request. The request cannot be fulfilled due to bad syntax. is Bad Request(RRRRRR(((s_/tmp/pip-build-cD3xZi/python-glanceclient/glanceclient/openstack/common/apiclient/exceptions.pyR&¬st UnauthorizedcBs eZdZdZedƒZRS(s¦HTTP 401 - Unauthorized. Similar to 403 Forbidden, but specifically for use when authentication is required and has failed or has not yet been provided. i‘R'(RRRRRR(((s_/tmp/pip-build-cD3xZi/python-glanceclient/glanceclient/openstack/common/apiclient/exceptions.pyR'µstPaymentRequiredcBs eZdZdZedƒZRS(s?HTTP 402 - Payment Required. Reserved for future use. i’sPayment Required(RRRRRR(((s_/tmp/pip-build-cD3xZi/python-glanceclient/glanceclient/openstack/common/apiclient/exceptions.pyR(¿st ForbiddencBs eZdZdZedƒZRS(sqHTTP 403 - Forbidden. The request was a valid request, but the server is refusing to respond to it. i“R)(RRRRRR(((s_/tmp/pip-build-cD3xZi/python-glanceclient/glanceclient/openstack/common/apiclient/exceptions.pyR)ÈstNotFoundcBs eZdZdZedƒZRS(swHTTP 404 - Not Found. The requested resource could not be found but may be available again in the future. i”s Not Found(RRRRRR(((s_/tmp/pip-build-cD3xZi/python-glanceclient/glanceclient/openstack/common/apiclient/exceptions.pyR*ÒstMethodNotAllowedcBs eZdZdZedƒZRS(s„HTTP 405 - Method Not Allowed. A request was made of a resource using a request method not supported by that resource. i•sMethod Not Allowed(RRRRRR(((s_/tmp/pip-build-cD3xZi/python-glanceclient/glanceclient/openstack/common/apiclient/exceptions.pyR+Üst NotAcceptablecBs eZdZdZedƒZRS(s©HTTP 406 - Not Acceptable. The requested resource is only capable of generating content not acceptable according to the Accept headers sent in the request. i–sNot Acceptable(RRRRRR(((s_/tmp/pip-build-cD3xZi/python-glanceclient/glanceclient/openstack/common/apiclient/exceptions.pyR,æstProxyAuthenticationRequiredcBs eZdZdZedƒZRS(smHTTP 407 - Proxy Authentication Required. The client must first authenticate itself with the proxy. i—sProxy Authentication Required(RRRRRR(((s_/tmp/pip-build-cD3xZi/python-glanceclient/glanceclient/openstack/common/apiclient/exceptions.pyR-ðstRequestTimeoutcBs eZdZdZedƒZRS(sSHTTP 408 - Request Timeout. The server timed out waiting for the request. i˜sRequest Timeout(RRRRRR(((s_/tmp/pip-build-cD3xZi/python-glanceclient/glanceclient/openstack/common/apiclient/exceptions.pyR.ùstConflictcBs eZdZdZedƒZRS(s’HTTP 409 - Conflict. Indicates that the request could not be processed because of conflict in the request, such as an edit conflict. i™R/(RRRRRR(((s_/tmp/pip-build-cD3xZi/python-glanceclient/glanceclient/openstack/common/apiclient/exceptions.pyR/stGonecBs eZdZdZedƒZRS(s|HTTP 410 - Gone. Indicates that the resource requested is no longer available and will not be available again. išR0(RRRRRR(((s_/tmp/pip-build-cD3xZi/python-glanceclient/glanceclient/openstack/common/apiclient/exceptions.pyR0 stLengthRequiredcBs eZdZdZedƒZRS(sHTTP 411 - Length Required. The request did not specify the length of its content, which is required by the requested resource. i›sLength Required(RRRRRR(((s_/tmp/pip-build-cD3xZi/python-glanceclient/glanceclient/openstack/common/apiclient/exceptions.pyR1stPreconditionFailedcBs eZdZdZedƒZRS(s†HTTP 412 - Precondition Failed. The server does not meet one of the preconditions that the requester put on the request. iœsPrecondition Failed(RRRRRR(((s_/tmp/pip-build-cD3xZi/python-glanceclient/glanceclient/openstack/common/apiclient/exceptions.pyR2 stRequestEntityTooLargecBs)eZdZdZedƒZd„ZRS(ssHTTP 413 - Request Entity Too Large. The request is larger than the server is willing or able to process. isRequest Entity Too LargecOs^yt|idƒƒ|_Wn"ttfj od|_nXtt|ƒi||ŽdS(Nt retry_afteri(tinttpopR4tKeyErrort ValueErrorR R3R (Rtargstkwargs((s_/tmp/pip-build-cD3xZi/python-glanceclient/glanceclient/openstack/common/apiclient/exceptions.pyR 2s (RRRRRRR (((s_/tmp/pip-build-cD3xZi/python-glanceclient/glanceclient/openstack/common/apiclient/exceptions.pyR3*s tRequestUriTooLongcBs eZdZdZedƒZRS(scHTTP 414 - Request-URI Too Long. The URI provided was too long for the server to process. ižsRequest-URI Too Long(RRRRRR(((s_/tmp/pip-build-cD3xZi/python-glanceclient/glanceclient/openstack/common/apiclient/exceptions.pyR;;stUnsupportedMediaTypecBs eZdZdZedƒZRS(sƒHTTP 415 - Unsupported Media Type. The request entity has a media type which the server or resource does not support. iŸsUnsupported Media Type(RRRRRR(((s_/tmp/pip-build-cD3xZi/python-glanceclient/glanceclient/openstack/common/apiclient/exceptions.pyR<DstRequestedRangeNotSatisfiablecBs eZdZdZedƒZRS(s”HTTP 416 - Requested Range Not Satisfiable. The client has asked for a portion of the file, but the server cannot supply that portion. i sRequested Range Not Satisfiable(RRRRRR(((s_/tmp/pip-build-cD3xZi/python-glanceclient/glanceclient/openstack/common/apiclient/exceptions.pyR=NstExpectationFailedcBs eZdZdZedƒZRS(stHTTP 417 - Expectation Failed. The server cannot meet the requirements of the Expect request-header field. i¡sExpectation Failed(RRRRRR(((s_/tmp/pip-build-cD3xZi/python-glanceclient/glanceclient/openstack/common/apiclient/exceptions.pyR>XstUnprocessableEntitycBs eZdZdZedƒZRS(s€HTTP 422 - Unprocessable Entity. The request was well-formed but was unable to be followed due to semantic errors. i¦sUnprocessable Entity(RRRRRR(((s_/tmp/pip-build-cD3xZi/python-glanceclient/glanceclient/openstack/common/apiclient/exceptions.pyR?astInternalServerErrorcBs eZdZdZedƒZRS(suHTTP 500 - Internal Server Error. A generic error message, given when no more specific message is suitable. iôsInternal Server Error(RRRRRR(((s_/tmp/pip-build-cD3xZi/python-glanceclient/glanceclient/openstack/common/apiclient/exceptions.pyR@kstHttpNotImplementedcBs eZdZdZedƒZRS(s’HTTP 501 - Not Implemented. The server either does not recognize the request method, or it lacks the ability to fulfill the request. iõsNot Implemented(RRRRRR(((s_/tmp/pip-build-cD3xZi/python-glanceclient/glanceclient/openstack/common/apiclient/exceptions.pyRAust BadGatewaycBs eZdZdZedƒZRS(sŒHTTP 502 - Bad Gateway. The server was acting as a gateway or proxy and received an invalid response from the upstream server. iös Bad Gateway(RRRRRR(((s_/tmp/pip-build-cD3xZi/python-glanceclient/glanceclient/openstack/common/apiclient/exceptions.pyRBstServiceUnavailablecBs eZdZdZedƒZRS(sNHTTP 503 - Service Unavailable. The server is currently unavailable. i÷sService Unavailable(RRRRRR(((s_/tmp/pip-build-cD3xZi/python-glanceclient/glanceclient/openstack/common/apiclient/exceptions.pyRC‰stGatewayTimeoutcBs eZdZdZedƒZRS(s•HTTP 504 - Gateway Timeout. The server was acting as a gateway or proxy and did not receive a timely response from the upstream server. iøsGateway Timeout(RRRRRR(((s_/tmp/pip-build-cD3xZi/python-glanceclient/glanceclient/openstack/common/apiclient/exceptions.pyRD’stHttpVersionNotSupportedcBs eZdZdZedƒZRS(szHTTP 505 - HttpVersion Not Supported. The server does not support the HTTP protocol version used in the request. iùsHTTP Version Not Supported(RRRRRR(((s_/tmp/pip-build-cD3xZi/python-glanceclient/glanceclient/openstack/common/apiclient/exceptions.pyREœsccsXxQ|]J\}}ti|ƒo.t|dtƒot|ddƒ|fVqqWdS(RN(tinspecttisclasstgetattrtFalseR(t.0tnametobj((s_/tmp/pip-build-cD3xZi/python-glanceclient/glanceclient/openstack/common/apiclient/exceptions.pys §s  c Cs |iidƒ}|p|iidƒ}nh|id6|d6|d6|d6|d6}d|ijo|id|d R?R@RARBRCRDRERVt iteritemstvarstmodulesRRZR`(((s_/tmp/pip-build-cD3xZi/python-glanceclient/glanceclient/openstack/common/apiclient/exceptions.pytsf                              #