]> review.fuel-infra Code Review - openstack-build/cinder-build.git/commit
Sync execute() related exceptions with oslo
authorZhongyue Luo <zhongyue.nah@intel.com>
Mon, 19 Aug 2013 04:03:35 +0000 (12:03 +0800)
committerZhongyue Luo <zhongyue.nah@intel.com>
Fri, 23 Aug 2013 19:12:54 +0000 (04:12 +0900)
commitd1fa401469b382fdec2af3efc1cb243d34977609
treee3cb77f63cab44768e0dd5c4e6516b7f7ff6022c
parentfcd45a4f01f70a5c985b5ce9af66f4882240ecb4
Sync execute() related exceptions with oslo

Cinder has its own ProcessExecutionError exception defined which
already exists in processutils.py. This was done to have minimal
editing when applying processutils.execute() to Cinder. As a result,
new instances are being created for each exception raised during
cli processing using execute()

As for the first step to remove the redundant excptions, this
patch syncs ProcessExecutionError and UnknownArgumentError
with that in processutils to ease the transition.

Change-Id: I88d9b86a0486f5d91fdcb664c99a9a2cd1392460
cinder/backup/drivers/ceph.py
cinder/exception.py
cinder/tests/test_utils.py
cinder/utils.py