Key operations are not working with HSM

After installing the key-management-hsm Helm chart, key creation, and wrapping or unwrapping keys operations do not work with HSM. A 500 Internal Server Error occurs.

Cause

Cleanup of jobs is not completed due to mismatch of the image repository path.

Resolving the problem

From the ICP web console, click Workloads > Jobs and remove the key-management-hsm-cleanup batch job. Redeploy the Helm chart.