Closes-Bug: #1565038 - SM Contrail Re-provision should not trigger upgrade
A previous bug fix has exposed a bug where re-provision is now triggering contrail_upgrade manifest.
This happened because version was calculated with sku during add image but without sku when calculating custom fact
The sku has been dropped from the version in image_params['version']
Eg: 3.0.1.0-24~kilo is now just 3.0.1.0-24
This value is sent in hieradata as contrail::params::contrail_version
Reviewed: https:/ /review. opencontrail. org/19091 github. org/Juniper/ contrail- server- manager/ commit/ 01971701043b87f 3264759d807e0a5 95547ee1b6
Committed: http://
Submitter: Zuul
Branch: R3.0
commit 01971701043b87f 3264759d807e0a5 95547ee1b6
Author: nitishkrishna <email address hidden>
Date: Tue Apr 5 20:44:11 2016 -0700
Closes-Bug: #1565038 - SM Contrail Re-provision should not trigger upgrade
A previous bug fix has exposed a bug where re-provision is now triggering contrail_upgrade manifest. 'version' ]
This happened because version was calculated with sku during add image but without sku when calculating custom fact
The sku has been dropped from the version in image_params[
Eg: 3.0.1.0-24~kilo is now just 3.0.1.0-24
This value is sent in hieradata as contrail: :params: :contrail_ version
Change-Id: I3d42ce58e37003 540a21ddf2b8797 5f8a3e17203