There are two important reasons for this change:
- Other OpenStack components contain this code already.
- Heat store references on client/constraint/version plugins in
setup.cfg and and stevedore uses these references, so we should
install Heat after changing this part of code. As example look patch
https://review.openstack.org/#/c/86978/ for grenade job, where
heat-engine can not find two constrainsts due to changing their code
place between releases.
Change-Id: Ic6b1f70ec2d2c06002eb6877a747b7b84213c710
Closes-Bug: #1402985
| ... | ... |
@@ -73,7 +73,6 @@ function cleanup_heat {
|
| 73 | 73 |
|
| 74 | 74 |
# configure_heat() - Set config files, create data dirs, etc |
| 75 | 75 |
function configure_heat {
|
| 76 |
- setup_develop $HEAT_DIR |
|
| 77 | 76 |
if [[ "$HEAT_STANDALONE" = "True" ]]; then |
| 78 | 77 |
setup_develop $HEAT_DIR/contrib/heat_keystoneclient_v2 |
| 79 | 78 |
fi |
| ... | ... |
@@ -195,6 +194,7 @@ function install_heatclient {
|
| 195 | 195 |
# install_heat() - Collect source and prepare |
| 196 | 196 |
function install_heat {
|
| 197 | 197 |
git_clone $HEAT_REPO $HEAT_DIR $HEAT_BRANCH |
| 198 |
+ setup_develop $HEAT_DIR |
|
| 198 | 199 |
} |
| 199 | 200 |
|
| 200 | 201 |
# install_heat_other() - Collect source and prepare |