Updating DNS/NTP could failed on older release since the database is missing sspType field.in the /var/log/secop/secop.log in sspi appliance:
"Request body has an error: doesn't match the schema: Error at "/service/ssp_type": JSON value is not one of the allowed values".
Login to SSP-Installer UI:
"Request body has an error: doesn't match the schema: Error at "/service/ssp_type": JSON value is not one of the allowed values"
Login to SSP-Installer CLI using sysadmin user credentials. In the /var/log/secop/secop.log in SSP Installer appliance you may see the error:
"Request body has an error: doesn't match the schema: Error at "/service/ssp_type": JSON value is not one of the allowed values"
Upgraded SSP-Installer from 5.0 to 5.1
The database schema now requires the `ssp_type` field to be populated, but this field may be `NULL` or empty after the upgrade, causing DNS/NTP update operations to fail validation.
NOTE : This issue is fixed in SSP 5.1.1
Workaround:
Approach 1: Add any IP to the node IP pool or the service IP pool first by navigating to Instance Management -> Connectivity Options -> IP Pools
and save it. After this, updating NTP/DNS will succeed.
Approach 2 (Recommended): Update the database and retry the operations using the attached script. Steps below:
fix_dns_ntp_upgrade.sh) to this KB.chmod +x fix_dns_ntp_upgrade.sh
./fix_dns_ntp_upgrade.sh
Expected output:
root@ssp-installer-vm:~# ./fix_dns_ntp_upgrade.sh
Fixing DNS/NTP update issue...
Fix applied. Please retry the DNS/NTP update operation.
Verification: