Comment 7 for bug 1244257

Revision history for this message
Matt Riedemann (mriedem) wrote :

Removing myself as the assignee. I was originally going to just handle the KeyError in the storwize driver's terminate_connection method but then I noticed there are some other instances of connector['host'] in the code in other drivers as well and sort of got on the fence about how widespread I wanted to change things, and whether or not nova should always be sending something, even if it's 127.0.0.1, but if I did that would it break anything else....and things quickly spiraled out.

So the tactical fix is to just do connector.get('host') and let the code handle the None value which it already does.