cmp upgrade repo fix
Change-Id: I42fb26eb6a119b432c7e18c5b051054cebb3865b
diff --git a/openstack-compute-upgrade.groovy b/openstack-compute-upgrade.groovy
index 8a5d26b..a860882 100644
--- a/openstack-compute-upgrade.groovy
+++ b/openstack-compute-upgrade.groovy
@@ -149,6 +149,10 @@
}
}
+ stage("Add new repos on all targeted nodes") {
+ salt.enforceState(saltMaster, targetLiveAll, 'linux.system.repo')
+ }
+
if(opencontrail != null) {
stage('Remove OC component from repos on all targeted nodes') {
salt.cmdRun(saltMaster, targetLiveAll, "find /etc/apt/sources.list* -type f -print0 | xargs -0 sed -i -r -e 's/ oc([0-9]*) / /g'")