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.
I founded workaround for this by putting directly URL for repository and GPG in deployment template by adding below lines:
but still it does not work from Cloudera Altus Director UI.
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.
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.