DiscoveryFailure exception in plugin setup is misleading
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
keystoneauth |
Triaged
|
Medium
|
Unassigned |
Bug Description
During plugin setup we catch DiscoveryFailure, HttpError, and ConnectionError and log a warning:
'Failed to discover available identity versions when contacting %s. Attempting to parse version from URL.' % self.auth_url
This points to a "discovery error", the meaning of which is completely unclear to the average user, and the reality is it could be a connection error related to a firewall rule or keystone not running or keystone running on the wrong port or other things that are easier to debug and understand than "discovery".
We also have this catch-all DiscoveryFailure raised here:
which is probably inappropriate.
We should make these warnings and errors more fine-grained so people understand what to look for when keystoneauth fails.
tags: | added: low-hanging-fruit |
Changed in keystoneauth: | |
status: | New → Triaged |
importance: | Undecided → Medium |