This patch common.excutils from openstack-common, which includes
save_and_reraise_exception(). The patch also converts the code
base to use it from there instead of nova.utils and then removes
it from nova.utils.
The initial motivation for this was removing another nova dependency
from nova.rpc so that it can eventually be moved to openstack-common.
Change-Id: I7354ca51a02aec9c709cf33f77d4abc46acc2742
This patch updates common.importutils from openstack-common. The change
was to remove the usage of common.exception. The rest of the patch
includes the changes required in nova to no longer use common.exception,
as well.
Change-Id: Iacd186b2c466cba84248ae10589ffbb5a9cec0ba
Use import_class(), import_object(), and import_module() from
openstack-common's importutils module. The equivalent functions have
been removed from nova.utils. A few modules had import order cleaned up
in passing, as well.
My initial motivation for this was to remove some more usage of nova
bits from nova.rpc as another step towards being able to move nova.rpc
import openstack-common. Since I was pulling importutils into nova, I
went ahead and converted the whole thing.
Change-Id: I7c7786cf0001bcd06db52b9a99ff4284a3f6c6fa
nova.local was recently added to openstack-common. Remove nova.local
and use openstack.common.local instead.
One benefit of this change is that it is another step toward decoupling
nova.rpc from the rest of nova.
Change-Id: I0240f4291a81f8390d3f329a11f207a1453d7cab
Use openstack-common's update.py script to pull in some recent changes:
* Add the Mapping interface to cfg.ConfigOpts
* Add support to cfg for disabling interspersed args
Make use of both of these in nova/flags.py.
Add some dire warnings to HACKING about directly modifying the copy of
openstack-common code. I'm confident they won't be ignored :-)
Change-Id: I7ef75d18922c0bbb8844453b48cad0418034bc11