Updating the software catalog to include new versions
Note: Do not remove existing versions in the catalog as they may be
in use by existing operational fabrics. Deleting a version in the catalog that is in
use causes ZTP process failure. If you must remove a version that exists in the
catalog, ensure that no fabrics are using it.
-
On the master node, back up the existing software
catalog.
kubectl get configmaps prod-fss-catalog-data -o jsonpath='{.data.catalog\.yaml}' > my_old_catalog.yaml
-
Edit the catalog configmap file.
Use the following command:
kubectl edit configmap prod-fss-catalog-data
UndersoftwareCatalog
, add the following entries. Note thatlatest
must be set tofalse
.- softwareVersion: 21.11.3-70 operatingSystem: SRLinux vendor: Nokia latest: false capability: supportedTemplates: - BACKBONE - LEAFSPINE - MANUAL
-
Restart the catalog micro-service for the new addition to take effect.
kubectl delete pod `kubectl get pods | awk '{print $1}' | grep -e "fss-catalog"`
When the catalog micro-service is back up, the new catalog should now be available.