Cannot upgrade to another buildout config using "lava-deployment-tool upgrade"
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
LAVA Deployment Tool |
Fix Released
|
Medium
|
Paul Sokolovsky |
Bug Description
I first installed normal LAVA install using:
./lava-
I then tried to upgrade it to another buildout config (which install extra packages):
LAVA_MANIFEST_
LAVA_BUILDOUT_
.
The end result was that new buildout config wasn't used, old one apparently was, as confirmed by lack of extra package and same "LAVA_BUILDOUT_
Expected result: upgrade to new buildout config. (Fairly speaking, this is confusing with current means of passing parameters to lava-deployment
Changed in lava-deployment-tool: | |
status: | In Progress → Fix Released |
I think I led you into this problem - my fault.
When dealing with an existing instance, lava-deployment -tool will not use $LAVA_MANIFEST_ BRANCH and $LAVA_BUILDOUT_CFG from the environment but will read them from the instance configuration file (/srv/lava/ instance/ $foo/instance. conf). So the proper upgrade procedure I should have told you about is:
- change LAVA_MANIFEST_ BRANCH and LAVA_BUILDOUT_CFG in instance.conf t-tool updrade $foo`
- run `lava-deploymen