commit 2ecc714c335ad2175f23743885cc3b9e356f1ba8
Author: Matt Riedemann <email address hidden>
Date: Tue Nov 17 17:54:00 2015 -0800
vmware: check for response body in error conditions
The response may not have a body in certain error conditions, like
a 500 on a socket error as seen in the VMware NSX CI. This fixes
an AttributeError when trying to access the response body in those
cases.
Change-Id: I086bb5bdb59813d326d45b5f7545da2ebb12aa95
Closes-Bug: #1517275
(cherry picked from commit b709dd62c16ffb0d924bf25328e29a3fbec0f36a)
Reviewed: https:/ /review. openstack. org/247579 /git.openstack. org/cgit/ openstack/ glance_ store/commit/ ?id=2ecc714c335 ad2175f23743885 cc3b9e356f1ba8
Committed: https:/
Submitter: Jenkins
Branch: stable/liberty
commit 2ecc714c335ad21 75f23743885cc3b 9e356f1ba8
Author: Matt Riedemann <email address hidden>
Date: Tue Nov 17 17:54:00 2015 -0800
vmware: check for response body in error conditions
The response may not have a body in certain error conditions, like
a 500 on a socket error as seen in the VMware NSX CI. This fixes
an AttributeError when trying to access the response body in those
cases.
Change-Id: I086bb5bdb59813 d326d45b5f7545d a2ebb12aa95 d924bf25328e29a 3fbec0f36a)
Closes-Bug: #1517275
(cherry picked from commit b709dd62c16ffb0