]> review.fuel-infra Code Review - openstack-build/cinder-build.git/commit
init_host should be called before RPC consumer is created
authorwanghong <w.wanghong@huawei.com>
Thu, 20 Mar 2014 02:39:37 +0000 (10:39 +0800)
committerwanghong <w.wanghong@huawei.com>
Thu, 20 Mar 2014 02:39:37 +0000 (10:39 +0800)
commit65fa80c361f71158cc492dfc520dc4a63ccfa419
treeec5dfe85a39cc6fc6d51fe9a04970209d305cb71
parent2ba4af4de5653bf619f2bfb12ec7564ff21fd4c0
init_host should be called before RPC consumer is created

Currently, the init_host method is called after RPC consumer is
created. This behavior will lead to a bug that when a rpc request
is received the manager can not handle it because the driver has not
been initialized!

Change-Id: Ieedba1adeb3dd98eb4ff78427fe347423c016469
Closes-Bug: #1271568
cinder/service.py