Support Questions
Find answers, ask questions, and share your expertise
Announcements
Alert: Welcome to the Unified Cloudera Community. Former HCC members be sure to read and learn how to activate your account here. Want to know more about what has changed? Check out the Community News blog.

Create Deployment bootstrap - invalid url to GPG key

Create Deployment bootstrap - invalid url to GPG key

Explorer

Hi All,

 

    Has something been changed in deployment bootstrap script in Cloudera Altus Director during the last 2-3 days? I'm trying to create new deployment and I have error as below:

 

[2019-07-15 08:24:31.811 +0000] ERROR [p-3796be9eb1d6-DefaultBootstrapDeploymentJob] 6d5f5e0c-caac-4fe4-a1f2-a4db2361ba0b POST /api/v12/environments/dev/deployments com.cloudera.launchpad.pipeline.ssh.SshJobFailFastWithOutputLogging - com.cloudera.launchpad.pipeline.util.PipelineRunner: Attempt to execute job failed
com.cloudera.launchpad.common.ssh.SshException: Script execution failed with code 1. Script: sudo sh -c "if [ -f '/opt/cloudera/director/rhel-key' ]; then rpm --import '/opt/cloudera/director/rhel-key'; else rpm --import 'https://archive.cloudera.com/cm6/6.2/redhat7/yum/RPM-GPG-KEY-cloudera'; fi"

 

URl https://archive.cloudera.com/cm6/6.2/redhat7/yum/RPM-GPG-KEY-cloudera is invalid because does not exist version 6.2, there is 6.2.0 and I have 404 error during deployment.

 

Thanks for any advices.

 

Regards,

 

Bart

4 REPLIES 4

Re: Create Deployment bootstrap - invalid url to GPG key

Explorer

I founded workaround for this by putting directly URL for repository and GPG in deployment template by adding below lines:

 

"repository": "https://archive.cloudera.com/cm6/6.2.0/redhat7/yum",
"repositoryKeyUrl": "https://archive.cloudera.com/cm6/6.2.0/redhat7/yum/RPM-GPG-KEY-cloudera",

 

but still it does not work from Cloudera Altus Director UI.

 

Regards,

 

Bart

Re: Create Deployment bootstrap - invalid url to GPG key

Expert Contributor

Thanks for raising this issue, I'll check on it. Sometimes the configuration of archive.cloudera.com gets changed, and it's possible that something went awry with a recent update.

Re: Create Deployment bootstrap - invalid url to GPG key

Expert Contributor

The link to the key has been fixed, so please give it another try. The archive.cloudera.com host is served by a CDN of some sort, so it'll take time for the change to propagate - you may continue to hit 404 errors until the update gets everywhere and caches clear out.

 

Do let us know if you hit any other URL problems, in case there are other links that are still busted.

Highlighted

Re: Create Deployment bootstrap - invalid url to GPG key

Explorer

Hi Bill,

 

Looks better now. Thanks!

 

Regards,

 

Bart