Closes-Bug: #1558719 - Compute Reboot was not being triggered for 3.0->3.0 upgrade
Fix:
Changed contrail-version fact to check for contrail-lib package instead of contrail-install-packages
Beacuse 3.0 release code will run contrail_upgrade in fresh install, need to have different check for 3.0 onwards (check and unless for exec changed)
Check for upgrade_needed was wrong (this is why contrail_upgrade was triggered for fresh install in 3.0 2723)
Patch 2:
Added back $needed_version check in if clause
Reviewed: https:/ /review. opencontrail. org/18509 github. org/Juniper/ contrail- puppet/ commit/ a2c1b9c7928f12a dfee8ea373ed271 9b8661b702
Committed: http://
Submitter: Zuul
Branch: R3.0
commit a2c1b9c7928f12a dfee8ea373ed271 9b8661b702
Author: nitishkrishna <email address hidden>
Date: Thu Mar 17 11:59:14 2016 -0700
Closes-Bug: #1558719 - Compute Reboot was not being triggered for 3.0->3.0 upgrade
Fix: install- packages
Changed contrail-version fact to check for contrail-lib package instead of contrail-
Beacuse 3.0 release code will run contrail_upgrade in fresh install, need to have different check for 3.0 onwards (check and unless for exec changed)
Check for upgrade_needed was wrong (this is why contrail_upgrade was triggered for fresh install in 3.0 2723)
Patch 2:
Added back $needed_version check in if clause
Change-Id: Iab774b345a87b9 d0f191acbabbc8c 12430a750b4