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.

cdh6.1.1 Error installing CM Agent "Installation failed. Failed to copy installation files."

Solved Go to solution

cdh6.1.1 Error installing CM Agent "Installation failed. Failed to copy installation files."

Explorer

when i install cm agent using cloudera manager,got "Installation failed. Failed to copy installation files."

 

image.png

click the ditails:

Failed to copy installation files. View
/tmp/scm_prepare_node.SkukORUR 
Could not verify key bundle 

check the log

/var/log/cloudera-scm-server# tail -f cloudera-scm-server.log


2019-02-27 21:26:32,543 INFO scm-web-227:com.cloudera.cmf.command.flow.CmdStep: Executing command work: Install on ip-172-22-1-148.
2019-02-27 21:26:32,543 INFO scm-web-227:com.cloudera.server.cmf.node.NodeConfiguratorService: Adding password-based configurator for ip-172-22-1-148
2019-02-27 21:26:32,544 INFO scm-web-227:com.cloudera.server.cmf.node.NodeConfiguratorService: Submitted configurator for ip-172-22-1-148 with id 69
2019-02-27 21:26:32,547 INFO NodeConfiguratorThread-68-0:com.cloudera.server.cmf.node.NodeConfiguratorProgress: ip-172-22-1-148: Transitioning from INIT (PT0.004S) to CONNECT
2019-02-27 21:26:32,548 INFO NodeConfiguratorThread-68-0:net.schmizz.sshj.transport.TransportImpl: Client identity string: SSH-2.0-SSHJ_0_14_0
2019-02-27 21:26:32,552 INFO scm-web-227:com.cloudera.enterprise.JavaMelodyFacade: Exiting HTTP Operation: Method:POST, Path:/add-hosts-wizard/install, Status:200
2019-02-27 21:26:32,553 INFO NodeConfiguratorThread-68-0:net.schmizz.sshj.transport.TransportImpl: Server identity string: SSH-2.0-OpenSSH_7.2p2 Ubuntu-4ubuntu2.4
2019-02-27 21:26:32,560 INFO NodeConfiguratorThread-68-0:com.cloudera.server.cmf.node.NodeConfiguratorProgress: ip-172-22-1-148: Transitioning from CONNECT (PT0.013S) to AUTHENTICATE
2019-02-27 21:26:32,603 INFO NodeConfiguratorThread-68-0:com.cloudera.server.cmf.node.NodeConfiguratorProgress: ip-172-22-1-148: Transitioning from AUTHENTICATE (PT0.043S) to MAKE_TEMP_DIR
2019-02-27 21:26:32,681 INFO NodeConfiguratorThread-68-0:com.cloudera.server.cmf.node.NodeConfigurator: Executing mktemp -d /tmp/scm_prepare_node.XXXXXXXX on ip-172-22-1-148
2019-02-27 21:26:32,684 INFO NodeConfiguratorThread-68-0:com.cloudera.server.cmf.node.NodeConfiguratorProgress: ip-172-22-1-148: Transitioning from MAKE_TEMP_DIR (PT0.081S) to COPY_FILES
2019-02-27 21:26:32,854 INFO NodeConfiguratorThread-68-0:com.cloudera.server.cmf.node.NodeConfigurator: Using key bundle from URL: http://archive.cloudera.com/cm6/6.1.1/allkeys.asc
2019-02-27 21:26:32,904 WARN NodeConfiguratorThread-68-0:com.cloudera.server.cmf.node.NodeConfigurator: Unhandled exception
java.lang.SecurityException: Could not verify key bundle
	at com.cloudera.server.cmf.node.NodeConfigurator.verifyGpgKeyBundle(NodeConfigurator.java:685)
	at com.cloudera.server.cmf.node.NodeConfigurator.copyFiles(NodeConfigurator.java:629)
	at com.cloudera.server.cmf.node.NodeConfigurator.configure(NodeConfigurator.java:992)
	at com.cloudera.server.cmf.node.NodeConfigurator.run(NodeConfigurator.java:1062)
	at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
	at java.util.concurrent.FutureTask.run(FutureTask.java:266)
	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
	at java.lang.Thread.run(Thread.java:748)
Caused by: java.lang.NullPointerException
	at com.cloudera.cmf.crypto.ClearSignedFileProcessor.getFileSignature(ClearSignedFileProcessor.java:197)
	at com.cloudera.server.cmf.node.NodeConfigurator.verifyGpgKeyBundle(NodeConfigurator.java:682)
	... 8 more
2019-02-27 21:26:32,904 INFO NodeConfiguratorThread-68-0:com.cloudera.server.cmf.node.NodeConfiguratorProgress: ip-172-22-1-148: Setting COPY_FILES as failed and done state
2019-02-27 21:26:32,904 INFO NodeConfiguratorThread-68-0:net.schmizz.sshj.transport.TransportImpl: Disconnected - BY_APPLICATION
2019-02-27 21:26:33,048 INFO scm-web-236:com.cloudera.enterprise.JavaMelodyFacade: Entering HTTP Operation: Method:POST, Path:/express-wizard/updateHostsState
2019-02-27 21:26:33,051 INFO scm-web-236:com.cloudera.enterprise.JavaMelodyFacade: Exiting HTTP Operation: Method:POST, Path:/express-wizard/updateHostsState, Status:200
2019-02-27 21:26:37,561 ERROR CommandPusher:com.cloudera.cmf.command.flow.WorkOutputs: CMD id: 21 Failed to complete installation on host ip-172-22-1-148.
2019-02-27 21:26:37,562 ERROR CommandPusher:com.cloudera.cmf.model.DbCommand: Command 21(GlobalHostInstall) has completed. finalstate:FINISHED, success:false, msg:Failed to complete installation.
2019-02-27 21:26:38,179 INFO scm-web-229:com.cloudera.enterprise.JavaMelodyFacade: Entering HTTP Operation: Method:POST, Path:/add-hosts-wizard/installprogressdata.json
2019-02-27 21:26:38,181 INFO scm-web-229:com.cloudera.enterprise.JavaMelodyFacade: Exiting HTTP Operation: Method:POST, Path:/add-hosts-wizard/installprogressdata.json, Status:200
2019-02-27 21:26:38,292 INFO scm-web-237:com.cloudera.enterprise.JavaMelodyFacade: Entering HTTP Operation: Method:POST, Path:/express-wizard/updateHostsState
2019-02-27 21:26:38,293 INFO scm-web-237:com.cloudera.enterprise.JavaMelodyFacade: Exiting HTTP Operation: Method:POST, Path:/express-wizard/updateHostsState, Status:200

 

i tryed 

wget https://archive.cloudera.com/cm6/6.1.1/ubuntu1604/apt/archive.key ;apt-key add archive.key

did not work

 

1 ACCEPTED SOLUTION

Accepted Solutions

Re: cdh6.1.1 Error installing CM Agent "Installation failed. Failed to copy installation files.

Explorer

solved.

while choosing Repository Location: check the "Public Cloudera Repository"

4 REPLIES 4

Re: cdh6.1.1 Error installing CM Agent "Installation failed. Failed to copy installation files.

Explorer

solved.

while choosing Repository Location: check the "Public Cloudera Repository"

Highlighted

Re: cdh6.1.1 Error installing CM Agent "Installation failed. Failed to copy installation files.

Community Manager

Congratulations on solving your issue @xfly. Thanks for also sharing the solution in case it may assist others. :)



Cy Jervis, Community Manager

Was your question answered? Make sure to mark the answer as the accepted solution.
If you find a reply useful, say thanks by clicking on the thumbs up button.

Learn more about the Cloudera Community:
Community Guidelines
How to use the forum

Re: cdh6.1.1 Error installing CM Agent "Installation failed. Failed to copy installation files.

New Contributor

Same issue is happning with CDH 6.2.0 on Ubuntu 18.04, gettting same error during agent installation.

 

/tmp/scm_prepare_node.UIsDhivV
Could not verify key bundle

 

What does mean about public repo ?

Re: cdh6.1.1 Error installing CM Agent "Installation failed. Failed to copy installation files.

Hi aks,

While installing CDH we will be asked to choose public and custom repositories.
Installation will download files from public repository into our local machines to complete the installation.So while installing a new set up we neet to select public repository.