Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add debug capabilities to the client object initialization phase and enhance exception handling #9

Closed
mdenny1011 opened this issue Jan 30, 2015 · 1 comment
Assignees
Milestone

Comments

@mdenny1011
Copy link

Once Debug is enabled each different exception should be returned in addition to 3PAR WS not running or WS is invalid

  1. wrong IP
    a. RESP BODY:Unable to find the server at 99.99.99.999
  2. No_proxy entry for array
    a. RESP BODY:(503, 'Service Unavailable')
  3. bad uri format
    a. RESP BODY:Only absolute URIs are allowed. uri = bad/api
@hp-storage hp-storage self-assigned this Feb 26, 2015
@hp-storage hp-storage added this to the next milestone Feb 26, 2015
@hp-storage hp-storage assigned leeantho and unassigned hp-storage Feb 26, 2015
leeantho added a commit that referenced this issue Apr 10, 2015
Errors occuring during the client __init__ call were being
described very generically. This patch adds more details so that
it is easier to debug an initialization issue.

Also, added the ability to toggle debug on before the client is
initialized.  This will allow the HTTP requests that happen
during __init__ to be recorded.

bug reference:
#9

Change-Id: I896fa9ebe422d9520980370aab2ae37a70322eca
leeantho added a commit to hpe-storage/python-lefthandclient that referenced this issue Apr 10, 2015
Errors occuring during login were not very descriptive. This
patch adds more details about why a login to a LH backend failed.

Also, added the ability to toggle debug on before the client has
been initialized.

bug reference:
hpe-storage/python-3parclient#9

Change-Id: I7fe700ae11703dabd82436a105f634ddd5e8b8b1
@hp-storage hp-storage modified the milestones: 3.2.1, next May 15, 2015
@hp-storage
Copy link
Collaborator

Fixed in version 3.2.1

wdurairaj pushed a commit to wdurairaj/python-3parclient that referenced this issue Jul 8, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants