While trying to deploy Digital.ai Release in Kubernetes the service startup keeps failing with error and the stacktrace below is seen in the logs -
Caused by: org.springframework.beans.factory.BeanCreationException: Error creating bean with
name 'licenseService' defined in com.xebialabs.xlrelease.spring.config.SqlSecurityConfiguration:
Bean instantiation via factory method failed; nested exception is org.springframework.beans.
BeanInstantiationException: Failed to instantiate [com.xebialabs.license.service.LicenseService]:
Factory method 'licenseService' threw exception; nested exception is java.lang.StringIndexOutOf
BoundsException: begin 400, end -1, length 504
Affected Products & Versions
Digital.ai Release - All versions
The bas64 encoding of the license file that was used in value.yaml file was incorrect.
Steps to Recreate
- Enter an incorrect base64 encoding of the license file in value.yaml file.
- Try deploying Release with the above value.yaml file
Replace the incorrect base 64 encoding for the license file with the proper one in value.yaml and deploy the pod.
Please sign in to leave a comment.