Resolving an invalid license key issue
The NetBackup is not installed because the license key is invalid.
Pod remains in running state for long time and the installation log at /mnt/nblogs/setup-server.log displays the following error:
ERROR: No valid license key for NetBackup Server or Enterprise Server
When you deploy NetBackup for the first time, perform the steps for primary CR and media CR.
To resolve an invalid license key issue for Primary CR
- Get the configmap name created for primary CR or media CR using the following command:
kubectl get configmap -n <namespace>
- Edit the license key stored in configmap using the following command:
kubectl edit configmap <primary-configmap-name> -n <namespace>
- Update value for ENV_NB_LICKEY key in the configmap with correct license key and save.
- Delete respective primary/media pod using the following command:
kubectl delete pod<primary-pod-name> -n <namespace>
New pod is auto created with updated license key value.
- Edit environment CR with updated license key and save using the following command:
kubectl edit environments.netbackup.veritas.com -n <namespace>