<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>question Failed to complete installation on host XYZ in Support Questions</title>
    <link>https://community.cloudera.com/t5/Support-Questions/Failed-to-complete-installation-on-host-XYZ/m-p/90672#M33129</link>
    <description>&lt;P&gt;I am tring to add a new host.&lt;/P&gt;&lt;P&gt;but it fails with this message at the end "&lt;/P&gt;&lt;DIV&gt;&lt;DIV class="LogWithContext"&gt;&lt;DIV class="container-fluid"&gt;&lt;DIV&gt;&lt;TABLE&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;&lt;PRE&gt;Command 30(GlobalHostInstall) has completed. finalstate:FINISHED, success:false, msg:Failed to complete installation.&lt;/PRE&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;P&gt;"&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;the following is the "/var/log/cloudera-scm-server/cloudera-scm-server.log"&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;10:58:25.348 AM INFO ServiceHandlerRegistry Executing command GlobalHostInstall GlobalHostInstallCommandArgs{sshPort=22, userName=butmah, password=REDACTED, passphrase=REDACTED, privateKey=REDACTED, parallelInstallCount=10, cmRepoUrl=null, gpgKeyCustomUrl=null, gpgKeyOverrideBundle=&amp;lt;none&amp;gt;, unlimitedJCE=false, javaInstallStrategy=NONE, agentUserMode=ROOT, cdhVersion=-1, cdhRelease=NONE, cdhRepoUrl=null, buildCertCommand=, sslCertHostname=null, reqId=25, skipPackageInstall=false, skipCloudConfig=false, proxyProtocol=HTTP, proxyServer=10.4.32.3, proxyPort=8080, proxyUserName=null, proxyPassword=REDACTED, hosts=[node1, node2, node3, node4, node5], existingHosts=[]}.

 
10:58:25.349 AM INFO CmdStep Executing command work: Execute 1 steps in sequence

 
10:58:25.349 AM INFO CmdStep Executing command work: Install on 1 hosts.

 
10:58:25.349 AM INFO CmdStep Executing command work: Install on node5.

 
10:58:25.350 AM INFO NodeConfiguratorService Adding password-based configurator for node5

 
10:58:25.350 AM INFO NodeConfiguratorService Submitted configurator for node5 with id 30

 
10:58:25.357 AM INFO NodeConfiguratorProgress node5: Transitioning from INIT (PT0.008S) to CONNECT

 
10:58:25.359 AM INFO TransportImpl Client identity string: SSH-2.0-SSHJ_0_14_0

 
10:58:25.361 AM INFO JavaMelodyFacade Exiting HTTP Operation: Method:POST, Path:/add-hosts-wizard/installretry.json, Status:200

 
10:58:25.368 AM INFO TransportImpl Server identity string: SSH-2.0-OpenSSH_7.2p2 Ubuntu-4ubuntu2.8

 
10:58:25.422 AM INFO NodeConfiguratorProgress node5: Transitioning from CONNECT (PT0.065S) to AUTHENTICATE

 
10:58:25.474 AM INFO NodeConfiguratorProgress node5: Transitioning from AUTHENTICATE (PT0.052S) to MAKE_TEMP_DIR

 
10:58:25.616 AM INFO NodeConfigurator Executing mktemp -d /tmp/scm_prepare_node.XXXXXXXX on node5

 
10:58:25.620 AM INFO NodeConfiguratorProgress node5: Transitioning from MAKE_TEMP_DIR (PT0.146S) to COPY_FILES

 
10:58:25.719 AM INFO NodeConfigurator Using key bundle from URL: https://archive.cloudera.com/cm6/6.2.0/allkeys.asc

 
10:58:26.063 AM INFO NodeConfiguratorProgress node5: Transitioning from COPY_FILES (PT0.443S) to CHMOD

 
10:58:26.068 AM INFO NodeConfigurator Executing chmod a+x /tmp/scm_prepare_node.vQZe0yDf/scm_prepare_node.sh on node5

 
10:58:26.074 AM INFO NodeConfiguratorProgress node5: Transitioning from CHMOD (PT0.011S) to EXECUTE_SCRIPT

 
10:58:26.142 AM INFO NodeConfigurator Executing bash -c 'bash /tmp/scm_prepare_node.vQZe0yDf/scm_prepare_node.sh  --server_version 6.2.0 --server_build 968826 --packages /tmp/scm_prepare_node.vQZe0yDf/packages.scm --always /tmp/scm_prepare_node.vQZe0yDf/always_install.scm --x86_64 /tmp/scm_prepare_node.vQZe0yDf/x86_64_packages.scm --certtar /tmp/scm_prepare_node.vQZe0yDf/cert.tar --unlimitedJCE false --javaInstallStrategy NONE --agentUserMode ROOT --cm https://archive.cloudera.com/cm6/6.2.0 --skipCloudConfig false | tee /tmp/scm_prepare_node.vQZe0yDf/scm_prepare_node.log; exit ${PIPESTATUS[0]}' on node5

 
10:58:27.145 AM INFO NodeConfiguratorProgress node5: Transitioning from EXECUTE_SCRIPT (PT1.071S) to SCRIPT_START

 
10:58:27.145 AM INFO NodeConfiguratorProgress node5: Transitioning from SCRIPT_START (PT0S) to TAKE_LOCK

 
10:58:27.145 AM INFO NodeConfiguratorProgress node5: Transitioning from TAKE_LOCK (PT0S) to DETECT_ROOT

 
10:58:27.145 AM INFO NodeConfiguratorProgress node5: Transitioning from DETECT_ROOT (PT0S) to DETECT_DISTRO

 
10:58:27.145 AM INFO NodeConfiguratorProgress node5: Transitioning from DETECT_DISTRO (PT0S) to DETECT_SCM

 
10:58:28.146 AM INFO NodeConfiguratorProgress node5: Transitioning from DETECT_SCM (PT1.001S) to REPO_INSTALL

 
10:58:28.146 AM INFO NodeConfiguratorProgress node5: Transitioning from REPO_INSTALL (PT0S) to REFRESH_METADATA

 
10:58:30.354 AM INFO JavaMelodyFacade Entering HTTP Operation: Method:POST, Path:/add-hosts-wizard/installprogressdata.json

 
10:58:30.355 AM INFO JavaMelodyFacade Exiting HTTP Operation: Method:POST, Path:/add-hosts-wizard/installprogressdata.json, Status:200

 
10:58:32.079 AM INFO AgentAvroServlet (3 skipped) AgentAvroServlet: heartbeat processing stats: average=2ms, min=1ms, max=34ms.

 
10:58:32.150 AM INFO NodeConfiguratorProgress node5: Transitioning from REFRESH_METADATA (PT4.004S) to PACKAGE_INSTALL cloudera-manager-agent

 
10:58:32.160 AM WARN NodeConfigurator Command bash -c 'bash /tmp/scm_prepare_node.vQZe0yDf/scm_prepare_node.sh  --server_version 6.2.0 --server_build 968826 --packages /tmp/scm_prepare_node.vQZe0yDf/packages.scm --always /tmp/scm_prepare_node.vQZe0yDf/always_install.scm --x86_64 /tmp/scm_prepare_node.vQZe0yDf/x86_64_packages.scm --certtar /tmp/scm_prepare_node.vQZe0yDf/cert.tar --unlimitedJCE false --javaInstallStrategy NONE --agentUserMode ROOT --cm https://archive.cloudera.com/cm6/6.2.0 --skipCloudConfig false | tee /tmp/scm_prepare_node.vQZe0yDf/scm_prepare_node.log; exit ${PIPESTATUS[0]}' on node5 finished with exit status 1

 
10:58:32.160 AM INFO NodeConfiguratorProgress node5: Setting PACKAGE_INSTALL cloudera-manager-agent as failed and done state

 
10:58:32.160 AM INFO TransportImpl Disconnected - BY_APPLICATION

 
10:58:35.363 AM INFO JavaMelodyFacade Entering HTTP Operation: Method:POST, Path:/add-hosts-wizard/installprogressdata.json

 
10:58:35.364 AM INFO JavaMelodyFacade Exiting HTTP Operation: Method:POST, Path:/add-hosts-wizard/installprogressdata.json, Status:200

 
10:58:35.369 AM INFO JavaMelodyFacade Entering HTTP Operation: Method:POST, Path:/express-wizard/updateHostsState

 
10:58:35.370 AM INFO JavaMelodyFacade Exiting HTTP Operation: Method:POST, Path:/express-wizard/updateHostsState, Status:200

 
10:58:35.375 AM ERROR WorkOutputs CMD id: 30 Failed to complete installation on host node5.

 
10:58:35.375 AM ERROR DbCommand Command 30(GlobalHostInstall) has completed. finalstate:FINISHED, success:false, msg:Failed to complete installation.

 &lt;/PRE&gt;</description>
    <pubDate>Fri, 16 Sep 2022 14:23:53 GMT</pubDate>
    <dc:creator>anis447</dc:creator>
    <dc:date>2022-09-16T14:23:53Z</dc:date>
    <item>
      <title>Failed to complete installation on host XYZ</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Failed-to-complete-installation-on-host-XYZ/m-p/90672#M33129</link>
      <description>&lt;P&gt;I am tring to add a new host.&lt;/P&gt;&lt;P&gt;but it fails with this message at the end "&lt;/P&gt;&lt;DIV&gt;&lt;DIV class="LogWithContext"&gt;&lt;DIV class="container-fluid"&gt;&lt;DIV&gt;&lt;TABLE&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;&lt;PRE&gt;Command 30(GlobalHostInstall) has completed. finalstate:FINISHED, success:false, msg:Failed to complete installation.&lt;/PRE&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;P&gt;"&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;the following is the "/var/log/cloudera-scm-server/cloudera-scm-server.log"&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;10:58:25.348 AM INFO ServiceHandlerRegistry Executing command GlobalHostInstall GlobalHostInstallCommandArgs{sshPort=22, userName=butmah, password=REDACTED, passphrase=REDACTED, privateKey=REDACTED, parallelInstallCount=10, cmRepoUrl=null, gpgKeyCustomUrl=null, gpgKeyOverrideBundle=&amp;lt;none&amp;gt;, unlimitedJCE=false, javaInstallStrategy=NONE, agentUserMode=ROOT, cdhVersion=-1, cdhRelease=NONE, cdhRepoUrl=null, buildCertCommand=, sslCertHostname=null, reqId=25, skipPackageInstall=false, skipCloudConfig=false, proxyProtocol=HTTP, proxyServer=10.4.32.3, proxyPort=8080, proxyUserName=null, proxyPassword=REDACTED, hosts=[node1, node2, node3, node4, node5], existingHosts=[]}.

 
10:58:25.349 AM INFO CmdStep Executing command work: Execute 1 steps in sequence

 
10:58:25.349 AM INFO CmdStep Executing command work: Install on 1 hosts.

 
10:58:25.349 AM INFO CmdStep Executing command work: Install on node5.

 
10:58:25.350 AM INFO NodeConfiguratorService Adding password-based configurator for node5

 
10:58:25.350 AM INFO NodeConfiguratorService Submitted configurator for node5 with id 30

 
10:58:25.357 AM INFO NodeConfiguratorProgress node5: Transitioning from INIT (PT0.008S) to CONNECT

 
10:58:25.359 AM INFO TransportImpl Client identity string: SSH-2.0-SSHJ_0_14_0

 
10:58:25.361 AM INFO JavaMelodyFacade Exiting HTTP Operation: Method:POST, Path:/add-hosts-wizard/installretry.json, Status:200

 
10:58:25.368 AM INFO TransportImpl Server identity string: SSH-2.0-OpenSSH_7.2p2 Ubuntu-4ubuntu2.8

 
10:58:25.422 AM INFO NodeConfiguratorProgress node5: Transitioning from CONNECT (PT0.065S) to AUTHENTICATE

 
10:58:25.474 AM INFO NodeConfiguratorProgress node5: Transitioning from AUTHENTICATE (PT0.052S) to MAKE_TEMP_DIR

 
10:58:25.616 AM INFO NodeConfigurator Executing mktemp -d /tmp/scm_prepare_node.XXXXXXXX on node5

 
10:58:25.620 AM INFO NodeConfiguratorProgress node5: Transitioning from MAKE_TEMP_DIR (PT0.146S) to COPY_FILES

 
10:58:25.719 AM INFO NodeConfigurator Using key bundle from URL: https://archive.cloudera.com/cm6/6.2.0/allkeys.asc

 
10:58:26.063 AM INFO NodeConfiguratorProgress node5: Transitioning from COPY_FILES (PT0.443S) to CHMOD

 
10:58:26.068 AM INFO NodeConfigurator Executing chmod a+x /tmp/scm_prepare_node.vQZe0yDf/scm_prepare_node.sh on node5

 
10:58:26.074 AM INFO NodeConfiguratorProgress node5: Transitioning from CHMOD (PT0.011S) to EXECUTE_SCRIPT

 
10:58:26.142 AM INFO NodeConfigurator Executing bash -c 'bash /tmp/scm_prepare_node.vQZe0yDf/scm_prepare_node.sh  --server_version 6.2.0 --server_build 968826 --packages /tmp/scm_prepare_node.vQZe0yDf/packages.scm --always /tmp/scm_prepare_node.vQZe0yDf/always_install.scm --x86_64 /tmp/scm_prepare_node.vQZe0yDf/x86_64_packages.scm --certtar /tmp/scm_prepare_node.vQZe0yDf/cert.tar --unlimitedJCE false --javaInstallStrategy NONE --agentUserMode ROOT --cm https://archive.cloudera.com/cm6/6.2.0 --skipCloudConfig false | tee /tmp/scm_prepare_node.vQZe0yDf/scm_prepare_node.log; exit ${PIPESTATUS[0]}' on node5

 
10:58:27.145 AM INFO NodeConfiguratorProgress node5: Transitioning from EXECUTE_SCRIPT (PT1.071S) to SCRIPT_START

 
10:58:27.145 AM INFO NodeConfiguratorProgress node5: Transitioning from SCRIPT_START (PT0S) to TAKE_LOCK

 
10:58:27.145 AM INFO NodeConfiguratorProgress node5: Transitioning from TAKE_LOCK (PT0S) to DETECT_ROOT

 
10:58:27.145 AM INFO NodeConfiguratorProgress node5: Transitioning from DETECT_ROOT (PT0S) to DETECT_DISTRO

 
10:58:27.145 AM INFO NodeConfiguratorProgress node5: Transitioning from DETECT_DISTRO (PT0S) to DETECT_SCM

 
10:58:28.146 AM INFO NodeConfiguratorProgress node5: Transitioning from DETECT_SCM (PT1.001S) to REPO_INSTALL

 
10:58:28.146 AM INFO NodeConfiguratorProgress node5: Transitioning from REPO_INSTALL (PT0S) to REFRESH_METADATA

 
10:58:30.354 AM INFO JavaMelodyFacade Entering HTTP Operation: Method:POST, Path:/add-hosts-wizard/installprogressdata.json

 
10:58:30.355 AM INFO JavaMelodyFacade Exiting HTTP Operation: Method:POST, Path:/add-hosts-wizard/installprogressdata.json, Status:200

 
10:58:32.079 AM INFO AgentAvroServlet (3 skipped) AgentAvroServlet: heartbeat processing stats: average=2ms, min=1ms, max=34ms.

 
10:58:32.150 AM INFO NodeConfiguratorProgress node5: Transitioning from REFRESH_METADATA (PT4.004S) to PACKAGE_INSTALL cloudera-manager-agent

 
10:58:32.160 AM WARN NodeConfigurator Command bash -c 'bash /tmp/scm_prepare_node.vQZe0yDf/scm_prepare_node.sh  --server_version 6.2.0 --server_build 968826 --packages /tmp/scm_prepare_node.vQZe0yDf/packages.scm --always /tmp/scm_prepare_node.vQZe0yDf/always_install.scm --x86_64 /tmp/scm_prepare_node.vQZe0yDf/x86_64_packages.scm --certtar /tmp/scm_prepare_node.vQZe0yDf/cert.tar --unlimitedJCE false --javaInstallStrategy NONE --agentUserMode ROOT --cm https://archive.cloudera.com/cm6/6.2.0 --skipCloudConfig false | tee /tmp/scm_prepare_node.vQZe0yDf/scm_prepare_node.log; exit ${PIPESTATUS[0]}' on node5 finished with exit status 1

 
10:58:32.160 AM INFO NodeConfiguratorProgress node5: Setting PACKAGE_INSTALL cloudera-manager-agent as failed and done state

 
10:58:32.160 AM INFO TransportImpl Disconnected - BY_APPLICATION

 
10:58:35.363 AM INFO JavaMelodyFacade Entering HTTP Operation: Method:POST, Path:/add-hosts-wizard/installprogressdata.json

 
10:58:35.364 AM INFO JavaMelodyFacade Exiting HTTP Operation: Method:POST, Path:/add-hosts-wizard/installprogressdata.json, Status:200

 
10:58:35.369 AM INFO JavaMelodyFacade Entering HTTP Operation: Method:POST, Path:/express-wizard/updateHostsState

 
10:58:35.370 AM INFO JavaMelodyFacade Exiting HTTP Operation: Method:POST, Path:/express-wizard/updateHostsState, Status:200

 
10:58:35.375 AM ERROR WorkOutputs CMD id: 30 Failed to complete installation on host node5.

 
10:58:35.375 AM ERROR DbCommand Command 30(GlobalHostInstall) has completed. finalstate:FINISHED, success:false, msg:Failed to complete installation.

 &lt;/PRE&gt;</description>
      <pubDate>Fri, 16 Sep 2022 14:23:53 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Failed-to-complete-installation-on-host-XYZ/m-p/90672#M33129</guid>
      <dc:creator>anis447</dc:creator>
      <dc:date>2022-09-16T14:23:53Z</dc:date>
    </item>
    <item>
      <title>Re: Failed to complete installation on host XYZ</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Failed-to-complete-installation-on-host-XYZ/m-p/90690#M33130</link>
      <description>&lt;P&gt;More information:&lt;/P&gt;&lt;P&gt;The following is the "/tmp/scm_prepare_node.vQZe0yDf/scm_prepare_node.log" on the failing host:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;using SSH_CLIENT to get the SCM hostname: 10.4.34.22 37758 22&lt;BR /&gt;opening logging file descriptor&lt;BR /&gt;###CLOUDERA_SCM### SCRIPT_START&lt;BR /&gt;###CLOUDERA_SCM### TAKE_LOCK&lt;BR /&gt;BEGIN flock 4&lt;BR /&gt;END (0)&lt;BR /&gt;###CLOUDERA_SCM### DETECT_ROOT&lt;BR /&gt;effective UID is 1000&lt;BR /&gt;BEGIN which pbrun&lt;BR /&gt;END (1)&lt;BR /&gt;BEGIN sudo -S id&lt;BR /&gt;uid=0(root) gid=0(root) groups=0(root)&lt;BR /&gt;END (0)&lt;BR /&gt;Using 'sudo ' to acquire root privileges&lt;BR /&gt;###CLOUDERA_SCM### DETECT_DISTRO&lt;BR /&gt;BEGIN grep 'Ubuntu' /etc/lsb-release&lt;BR /&gt;DISTRIB_ID=Ubuntu&lt;BR /&gt;DISTRIB_DESCRIPTION="Ubuntu 16.04.1 LTS"&lt;BR /&gt;END (0)&lt;BR /&gt;BEGIN grep DISTRIB_CODENAME /etc/lsb-release&lt;BR /&gt;DISTRIB_CODENAME=xenial&lt;BR /&gt;END (0)&lt;BR /&gt;BEGIN echo DISTRIB_CODENAME=xenial | cut -d = -f 2&lt;BR /&gt;xenial&lt;BR /&gt;END (0)&lt;BR /&gt;###CLOUDERA_SCM### DETECT_SCM&lt;BR /&gt;BEGIN host -t PTR 10.4.34.22&lt;BR /&gt;Host 22.34.4.10.in-addr.arpa. not found: 3(NXDOMAIN)&lt;BR /&gt;END (1)&lt;BR /&gt;BEGIN which python&lt;BR /&gt;/usr/bin/python&lt;BR /&gt;END (0)&lt;BR /&gt;BEGIN python -c 'import socket; import sys; s = socket.socket(socket.AF_INET); s.settimeout(5.0); s.connect((sys.argv[1], int(sys.argv[2]))); s.close();' 10.4.34.22 7182&lt;BR /&gt;END (0)&lt;BR /&gt;BEGIN which wget&lt;BR /&gt;/usr/bin/wget&lt;BR /&gt;END (0)&lt;BR /&gt;BEGIN wget -qO- -T 1 -t 1 http://169.254.169.254/latest/meta-data/public-hostname &amp;amp;&amp;amp; /bin/echo&lt;BR /&gt;END (4)&lt;BR /&gt;###CLOUDERA_SCM### REPO_INSTALL&lt;BR /&gt;Checking https://archive.cloudera.com/cm6/6.2.0/ubuntu1604/apt/dists/&lt;BR /&gt;Checking https://archive.cloudera.com/cm6/6.2.0/dists/&lt;BR /&gt;Using &lt;BR /&gt;installing repository file /tmp/scm_prepare_node.vQZe0yDf/repos/ubuntu_xenial/cloudera-manager.list&lt;BR /&gt;repository file /tmp/scm_prepare_node.vQZe0yDf/repos/ubuntu_xenial/cloudera-manager.list installed&lt;BR /&gt;installing apt keys&lt;BR /&gt;BEGIN sudo apt-key add /tmp/scm_prepare_node.vQZe0yDf/customGPG&lt;BR /&gt;OK&lt;BR /&gt;END (0)&lt;BR /&gt;installing priority file /tmp/scm_prepare_node.vQZe0yDf/ubuntu_xenial&lt;BR /&gt;priority file /tmp/scm_prepare_node.vQZe0yDf/ubuntu_xenial installed&lt;BR /&gt;###CLOUDERA_SCM### REFRESH_METADATA&lt;BR /&gt;BEGIN sudo apt-get update&lt;BR /&gt;Hit:1 http://security.ubuntu.com/ubuntu xenial-security InRelease&lt;BR /&gt;Hit:2 http://us.archive.ubuntu.com/ubuntu xenial InRelease&lt;BR /&gt;Hit:3 http://us.archive.ubuntu.com/ubuntu xenial-updates InRelease&lt;BR /&gt;Hit:4 http://us.archive.ubuntu.com/ubuntu xenial-backports InRelease&lt;BR /&gt;Reading package lists...&lt;BR /&gt;END (0)&lt;BR /&gt;BEGIN sudo apt-get update&lt;BR /&gt;Hit:1 http://us.archive.ubuntu.com/ubuntu xenial InRelease&lt;BR /&gt;Hit:2 http://security.ubuntu.com/ubuntu xenial-security InRelease&lt;BR /&gt;Hit:3 http://us.archive.ubuntu.com/ubuntu xenial-updates InRelease&lt;BR /&gt;Hit:4 http://us.archive.ubuntu.com/ubuntu xenial-backports InRelease&lt;BR /&gt;Reading package lists...&lt;BR /&gt;END (0)&lt;BR /&gt;###CLOUDERA_SCM### PACKAGE_INSTALL cloudera-manager-agent&lt;BR /&gt;BEGIN sudo dpkg -l cloudera-manager-agent | grep -E '^ii[[:space:]]*cloudera-manager-agent[[:space:]]*'&lt;BR /&gt;dpkg-query: no packages found matching cloudera-manager-agent&lt;BR /&gt;END (1)&lt;BR /&gt;BEGIN sudo apt-cache show cloudera-manager-agent&lt;BR /&gt;E: No packages found&lt;BR /&gt;END (100)&lt;BR /&gt;cloudera-manager-agent must have Version=6.2.0 and Build=968826, exiting&lt;BR /&gt;closing logging file descriptor&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;and this is what I have under&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;"/tmp/scm_prepare_node.vQZe0yDf/" folder:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Capture.JPG" style="width: 600px;"&gt;&lt;img src="https://community.cloudera.com/t5/image/serverpage/image-id/5650i50B78E7A291D21BD/image-size/large?v=v2&amp;amp;px=999" role="button" title="Capture.JPG" alt="Capture.JPG" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 20 May 2019 05:34:06 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Failed-to-complete-installation-on-host-XYZ/m-p/90690#M33130</guid>
      <dc:creator>anis447</dc:creator>
      <dc:date>2019-05-20T05:34:06Z</dc:date>
    </item>
    <item>
      <title>Re: Failed to complete installation on host XYZ</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Failed-to-complete-installation-on-host-XYZ/m-p/90744#M33131</link>
      <description>&lt;P&gt;The log shows the Cloudera repo is being installed, but the 'apt-get update' does not show the cloudera-manager repo being referenced.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Because the cloudera-manager rep is not indexed, the attempt to install the cloudera-manager-agent fails.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Could you check that the repo file "cloudera-manager.list" was correctly installed by the script.&amp;nbsp; I believe it would be located under /etc/apt/sources.list.d.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Also check that your system can reach archive.cloudera.com (the repo is under &lt;A href="http://archive.cloudera.com/cm6/" target="_blank"&gt;http://archive.cloudera.com/cm6/&lt;/A&gt;) and is not blocked by corporate, cloud, or local firewall rules.&lt;/P&gt;</description>
      <pubDate>Tue, 21 May 2019 15:03:37 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Failed-to-complete-installation-on-host-XYZ/m-p/90744#M33131</guid>
      <dc:creator>denloe</dc:creator>
      <dc:date>2019-05-21T15:03:37Z</dc:date>
    </item>
    <item>
      <title>Re: Failed to complete installation on host XYZ</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Failed-to-complete-installation-on-host-XYZ/m-p/90765#M33132</link>
      <description>&lt;P&gt;&amp;nbsp;&lt;a href="https://community.cloudera.com/t5/user/viewprofilepage/user-id/565"&gt;@denloe&lt;/a&gt;&amp;nbsp;thank you.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;First: to answer you question, yes, the "cloudera-manager.list" is there in "/etc/apt/sources.list.d".&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Second: I have tried to install the&amp;nbsp;Cloudera Manager Agent manually but I got the error&amp;nbsp; of:&lt;/P&gt;&lt;PRE&gt;sudo apt-get install cloudera-manager-agent cloudera-manager-daemons
Reading package lists... Done
Building dependency tree
Reading state information... Done
E: Unable to locate package cloudera-manager-agent
E: Unable to locate package cloudera-manager-daemons&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;So I have decided to configure the repository on the host, manually, and from scratch; so:&lt;/P&gt;&lt;OL&gt;&lt;LI&gt;I have deleted the existing "cloudera-manager.list"&lt;BR /&gt;&lt;PRE&gt;sudo rm /etc/apt/sources.list.d/cloudera-manager.list&lt;/PRE&gt;Then copy the one that I have one my cloudera manager server.&lt;BR /&gt;&lt;BR /&gt;&lt;/LI&gt;&lt;LI&gt;Then followed what is in "&lt;A href="https://www.cloudera.com/documentation/enterprise/latest/topics/configure_cm_repo.html#cm_repo__section_sl2_xdw_wm" target="_self"&gt;Step 1: Configure a Repository&lt;/A&gt;"&lt;BR /&gt;&lt;PRE&gt;wget https://archive.cloudera.com/cm6/6.2.0/ubuntu1604/apt/archive.key
sudo apt-key add archive.key
sudo apt-get update&lt;/PRE&gt;&lt;/LI&gt;&lt;LI&gt;After that "&lt;A href="https://www.cloudera.com/documentation/enterprise/latest/topics/install_cloudera_packages.html#id_mbl_1rd_cgb" target="_self"&gt;Manually Install Cloudera Manager Agent Packages&lt;/A&gt;"&lt;BR /&gt;&lt;PRE&gt;sudo apt-get install cloudera-manager-agent cloudera-manager-daemons&lt;/PRE&gt;then add/modify the server_host name in "/etc/cloudera-scm-agent/config.ini" of the new host.&amp;nbsp;&lt;BR /&gt;And finally start the agent:&lt;BR /&gt;&lt;PRE&gt;sudo systemctl start cloudera-scm-agent&lt;/PRE&gt;&lt;/LI&gt;&lt;/OL&gt;&lt;P&gt;And guess what! ... it is working now, and I could add the host to the cluster!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;I think there is something wrong with the installer of 6.2. And that wrong this is not just in installing the cloudera manager agent, but also in installing the&amp;nbsp;Oracle JDK, which gives an error message that the&amp;nbsp;Oracle JDK package does not exist!&lt;/STRONG&gt;&lt;BR /&gt;This&amp;nbsp;Oracle JDK installation issue forced me to&amp;nbsp;&lt;A href="https://www.cloudera.com/documentation/enterprise/latest/topics/cdh_ig_jdk_installation.html#id_mdr_hrq_sfb" target="_self"&gt;Manually Installing OpenJDK&lt;/A&gt; on the new hosts, and that caused another problem! Now I am having Oracle JDK 1.8 on my cloudera server master node, but "openjdk version 1.8.0_212" on the other nodes. And whenever I add a new host I got a warning that there is inconsistency in java and that will cause failures! .... &lt;STRONG&gt;now my question is how can I turn my cloudera server master node to "openjdk version 1.8.0_212"?&lt;/STRONG&gt; is it just&amp;nbsp;&lt;A href="https://www.cloudera.com/documentation/enterprise/latest/topics/cdh_ig_jdk_installation.html#id_mdr_hrq_sfb" target="_self"&gt;Manually Installing OpenJDK&lt;/A&gt;&amp;nbsp;and this will take the place of the existing&amp;nbsp;Oracle JDK 1.8? or I have to do cleanups before that, and more configurations after that?&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 22 May 2019 06:03:37 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Failed-to-complete-installation-on-host-XYZ/m-p/90765#M33132</guid>
      <dc:creator>anis447</dc:creator>
      <dc:date>2019-05-22T06:03:37Z</dc:date>
    </item>
    <item>
      <title>Re: Failed to complete installation on host XYZ</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Failed-to-complete-installation-on-host-XYZ/m-p/90785#M33134</link>
      <description>&lt;P&gt;Since you were able to access the Cloudera repo, you should be able to install the Oracle JDK on the agent with:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;sudo apt-get install oracle-j2sdk1.8&lt;/PRE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If that does not work, you can install it with the instructions under&amp;nbsp;&lt;A href="https://www.cloudera.com/documentation/enterprise/latest/topics/cdh_ig_jdk_installation.html#topic_29_1" target="_self"&gt;Manually Installing OpenJDK&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;When starting, the agent looks through common paths for JDKs and will select the Oracle 1.8 JDK first if it finds it.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If you would prefer to use OpenJDK on all the systems, in Cloudera Manager navigate to &lt;STRONG&gt;Hosts &amp;gt; Hosts Configuration&lt;/STRONG&gt; and set the &lt;STRONG&gt;Java Home Directory&lt;/STRONG&gt; to your preferred JAVA_HOME.&lt;/P&gt;</description>
      <pubDate>Wed, 22 May 2019 13:35:21 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Failed-to-complete-installation-on-host-XYZ/m-p/90785#M33134</guid>
      <dc:creator>denloe</dc:creator>
      <dc:date>2019-05-22T13:35:21Z</dc:date>
    </item>
  </channel>
</rss>

