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

Chen CH Ji jichenjc at cn.ibm.com
Thu May 7 20:21:16 UTC 2015


no, I only want to confirm whether cinder folks is doing this or there are
already tricks can be used that before submit the change ... thanks

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



From:	Matt Riedemann <mriedem at linux.vnet.ibm.com>
To:	openstack-dev at lists.openstack.org
Date:	05/07/2015 10:12 PM
Subject:	Re: [openstack-dev] [cinder][nova] Question on Cinder client
            exception handling





On 5/6/2015 7:02 AM, Chen CH Ji wrote:
> 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
>
>
>
__________________________________________________________________________
> OpenStack Development Mailing List (not for usage questions)
> Unsubscribe:
OpenStack-dev-request at lists.openstack.org?subject:unsubscribe
> http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev
>

Is there anything preventing us from adding a more specific exception to
cinderclient and then once that's in and released, we can pin the
minimum version of cinderclient in global-requirements so nova can
safely use it?

--

Thanks,

Matt Riedemann


__________________________________________________________________________
OpenStack Development Mailing List (not for usage questions)
Unsubscribe: OpenStack-dev-request at lists.openstack.org?subject:unsubscribe
http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstack.org/pipermail/openstack-dev/attachments/20150507/516d1c9e/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: graycol.gif
Type: image/gif
Size: 105 bytes
Desc: not available
URL: <http://lists.openstack.org/pipermail/openstack-dev/attachments/20150507/516d1c9e/attachment.gif>


More information about the OpenStack-dev mailing list