[openstack-dev] [cinder][nova] Question on Cinder client exception handling

Chen CH Ji jichenjc at cn.ibm.com
Wed May 6 12:02:54 UTC 2015


Hi
               In order to work on [1] , nova need to know what kind of
exception are raised when using cinderclient so that it can handle like [2]
did?
               In this case, we don't need to distinguish the error case
based on string compare , it's more accurate and less error leading
               Anyone is doing it or any other methods I can use to catch
cinder specified  exception in nova? Thanks


[1] https://bugs.launchpad.net/nova/+bug/1450658
[2]
https://github.com/openstack/python-neutronclient/blob/master/neutronclient/v2_0/client.py#L64

Best Regards!

Kevin (Chen) Ji 纪 晨

Engineer, zVM Development, CSTL
Notes: Chen CH Ji/China/IBM at IBMCN   Internet: jichenjc at cn.ibm.com
Phone: +86-10-82454158
Address: 3/F Ring Building, ZhongGuanCun Software Park, Haidian District,
Beijing 100193, PRC
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstack.org/pipermail/openstack-dev/attachments/20150506/22148f97/attachment.html>


More information about the OpenStack-dev mailing list