You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When I use client.deleteVolume(name=volume_name) I encountered below failure.
I tried to find the root cause and found that it was because I want to store the exception into a variable in the catch block and the exception's str throw an exception.
code snippet:
try:
cl.deleteVolume(name=vv_name)
except Exception as e:
message = "failed to remove virtual volume, name=%s, error=%s. " % (vv_name, e)
Traceback (most recent call last):
.......
File "/opt/virtualenvs/3par/lib/python2.7/site-packages/hpe3parclient/exceptions.py",
line 105, in str
if self.http_status:AttributeError: 'Timeout' object has no attribute 'http_status'
The text was updated successfully, but these errors were encountered:
Hi there,
When I use client.deleteVolume(name=volume_name) I encountered below failure.
I tried to find the root cause and found that it was because I want to store the exception into a variable in the catch block and the exception's str throw an exception.
code snippet:
The text was updated successfully, but these errors were encountered: