Support Questions

Find answers, ask questions, and share your expertise
Announcements
Celebrating as our community reaches 100,000 members! Thank you!

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

avatar
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

avatar
Explorer

solved.

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

View solution in original post

6 REPLIES 6

avatar
Explorer

solved.

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

avatar
Community Manager

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


Cy Jervis, Manager, Community Program
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.

avatar
Explorer

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 ?

avatar
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.

avatar
Explorer

httpd status was down on the server, where local repository was kept. After starting httpd service, we were able to install from local repository.

avatar
Cloudera Employee

Also make sure you provide your encrypted user name and password in the repository URL

 

example: 

https://<user_name>:<password>@archive.cloudera.com/p/cm7/redhat/7

 

user name password can be obtained using your valid Cloudera license