novaclient not raising an exception when receiving 503 response from service endpoint
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
python-novaclient |
Fix Released
|
Medium
|
Unassigned |
Bug Description
Found this in dashboard with a screwed up configuration.
Accidentally set a bad password in the nova/api-paste.conf for the service password. Keystone, Nova, and Dashboard all otherwise operational.
NovaClient used from dashboard to request API services from Nova - with the broken password, the auth_token middleware returned a 503 response. Nova client parsed that and handed back the req/response, but didn't generate an exception.
I thought it would/should generate an exception (my opinion) when receiving a 5** response. In keystoneclient, we're popping equivalent relevant exceptions on NotAuthorized (401) and NotFound (404).
Not sure we've standardized on this pattern across clients though.
tags: | added: python-novaclient |
Changed in nova: | |
assignee: | nobody → yong sheng gong (gongysh) |
Changed in nova: | |
assignee: | yong sheng gong (gongysh) → nobody |
Changed in nova: | |
importance: | Undecided → Medium |
status: | In Progress → Confirmed |
affects: | nova → python-novaclient |
Fix proposed to branch: master /review. openstack. org/5802
Review: https:/