Comment 10 for bug 1558719

Revision history for this message
OpenContrail Admin (ci-admin-f) wrote : A change has been merged

Reviewed: https://review.opencontrail.org/18509
Committed: http://github.org/Juniper/contrail-puppet/commit/a2c1b9c7928f12adfee8ea373ed2719b8661b702
Submitter: Zuul
Branch: R3.0

commit a2c1b9c7928f12adfee8ea373ed2719b8661b702
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:
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

Change-Id: Iab774b345a87b9d0f191acbabbc8c12430a750b4