designate python client is not showing proper help message when authentication environment variable are missing
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
python-designateclient |
In Progress
|
High
|
Federico Ceratto |
Bug Description
pksingh@
ERROR: Expecting to find username or userId in passwordCredentials - the server could not comply with the request since it is either malformed or otherwise incorrect. The client is assumed to be in error. (HTTP 400) (Request-ID: req-d8925e1b-
pksingh@
Here env variable OS_USERNAME is missing, and designate is sending the request to keystone withot proper validation of environemnet variables, i think it should check all these variables before sending the request.
When no environemnt variable is set, i get following message
pksingh@
ERROR: No endpoint was found. Missing credentials?
I think this should generate some help message why error is comming and how can user correct it.
It should show what parameters need to be passed or set into environment.
Changed in designate: | |
assignee: | nobody → pradeep kumar singh (pradeep-singh-u) |
affects: | designate → python-designateclient |
Changed in python-designateclient: | |
importance: | Undecided → High |
status: | New → Triaged |
Changed in python-designateclient: | |
assignee: | Pradeep Kumar Singh (pradeep-singh-u) → Federico Ceratto (federico-ceratto) |
status: | Triaged → In Progress |
Hi Federico Ceratto,
I think its better to ask before assigning the bug to yourself.