Hi
I am creating Cloudera manager of version 6.6.3 using Enterprise License.
From Altus UI it is working fine as I upload license file from UI.
While Using Altus API for deployment I am getting below error.
Altus API console:
http://<Altus director IP>:7189/api-console/index.html
Cloudera manager repository:
"repository": "https://<username:password>@archive.cloudera.com/p/cm6/6.3.3/redhat7/yum/"
"repositoryKeyUrl": "https://<username:password>@archive.cloudera.com/p/cm6/6.3.3/redhat7/yum/RPM-GPG-KEY-cloudera"
[2020-07-07 05:46:40.120 -0400] DEBUG [p-f0a3873a4c1f-DefaultBootstrapDeploymentJob] 3b8cd1b2-eac6-4c49-b2a6-a06462c885c4 POST /api/v9/environments/<environment_Name>/deployments com.cloudera.launchpad.bootstrap.deployment.LicenseClouderaManager - com.cloudera.launchpad.cm.ClouderaManagerClientFactory: closing ApiRootResource
[2020-07-07 05:46:40.120 -0400] ERROR [p-f0a3873a4c1f-DefaultBootstrapDeploymentJob] 3b8cd1b2-eac6-4c49-b2a6-a06462c885c4 POST /api/v9/environments/aws_env/deployments com.cloudera.launchpad.bootstrap.deployment.LicenseClouderaManager - com.cloudera.launchpad.pipeline.util.PipelineRunner: Attempt to execute job failed
com.cloudera.launchpad.pipeline.UnrecoverablePipelineError: ClouderaManagerException{message="API call to Cloudera Manager failed. Method=ClouderaManagerResource.updateLicense. Response Status Code: 400. Message: {
"message" : "Couldn't accept license: The provided file is not a valid Cloudera Enterprise license."
}. - Cause: javax.ws.rs.BadRequestException HTTP 400 Bad Request",causeClass=class javax.ws.rs.BadRequestException, causeMessage="HTTP 400 Bad Request"}
at com.cloudera.launchpad.bootstrap.deployment.LicenseClouderaManager.run(LicenseClouderaManager.java:148)
at com.cloudera.launchpad.bootstrap.deployment.LicenseClouderaManager.run(LicenseClouderaManager.java:49)
at com.cloudera.launchpad.pipeline.job.Job4.runUnchecked(Job4.java:33)
at com.cloudera.launchpad.pipeline.job.Job4$$FastClassBySpringCGLIB$$54178504.invoke(<generated>)
at org.springframework.cglib.proxy.MethodProxy.invoke(MethodProxy.java:204)
at org.springframework.aop.framework.CglibAopProxy$CglibMethodInvocation.invokeJoinpoint(CglibAopProxy.java:746)
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:163)
at org.springframework.aop.aspectj.MethodInvocationProceedingJoinPoint.proceed(MethodInvocationProceedingJoinPoint.java:88)
at com.cloudera.launchpad.pipeline.PipelineJobProfiler.profileJobRun(PipelineJobProfiler.java:60)
at sun.reflect.GeneratedMethodAccessor202.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:498)
at org.springframework.aop.aspectj.AbstractAspectJAdvice.invokeAdviceMethodWithGivenArgs(AbstractAspectJAdvice.java:644)
at org.springframework.aop.aspectj.AbstractAspectJAdvice.invokeAdviceMethod(AbstractAspectJAdvice.java:633)