]> review.fuel-infra Code Review - openstack-build/cinder-build.git/commit
Stop using cinder.exception from cinder.rpc.
authorRussell Bryant <rbryant@redhat.com>
Tue, 15 May 2012 18:43:18 +0000 (14:43 -0400)
committerJenkins <jenkins@review.openstack.org>
Wed, 18 Jul 2012 16:42:45 +0000 (16:42 +0000)
commit9e4242c3865da976928ecd43ef82030ac8bfc8cf
treecf880ae54155ca94f73b6c748d53774b44b007c4
parent4ab214a35ff84f12d09713737aac801fb0256282
Stop using cinder.exception from cinder.rpc.

This patch is a part of continuing to remove dependencies from cinder.rpc
on the rest of cinder.  One RPC related exception was defined in
cinder.exception, so that was moved to cinder.rpc.common where the rest of
them live.  These exceptions were changed to no longer use CinderException
as their base.  Instead, there is a new RPCException base.

One other change that should be reviewed closely is the removal of using
cinder.exception.wrap_exception() in cinder.rpc.amqp.  As far as I can tell,
this didn't actually do anything since nothing was being passed in to
wrap_exception().

Change-Id: I36ff7c05ab0467ad8506b56d561c532eadf8dff8
Reviewed-on: https://review.openstack.org/9899
Reviewed-by: Vish Ishaya <vishvananda@gmail.com>
Approved: John Griffith <john.griffith@solidfire.com>
Tested-by: Jenkins
cinder/exception.py
cinder/rpc/amqp.py
cinder/rpc/common.py