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/19088 github. org/Juniper/ contrail- server- manager/ commit/ 7b3fa2e12abd51b f8c3d5475211535 d06c8670b8
Committed: http://
Submitter: Zuul
Branch: master
commit 7b3fa2e12abd51b f8c3d5475211535 d06c8670b8
Author: nitishkrishna <email address hidden>
Date: Tue Apr 5 20:29:22 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