title: Cloudera Manager fails to add hosts
body: <p>I've followed the installation procedure from <a href="https://ccp.cloudera.com/display/express37/Automated+Installation+of+CDH+by+Cloudera+Manager" rel="noreferrer">here</a> and when I reach the <strong>Inspect Role Assignments</strong> stage I only see one managed host: <code>localhost.localdomain</code>.</p>
  
  <p>Any subsequent attempts to add other hosts have the same outcome:</p>
  
  <ul>
  <li>each cluster host installation is successful</li>
  <li>and the host does not show up as managed</li>
  </ul>
  
  <p>What am I missing?</p>
  
  <p><strong>Update:</strong> I don't like to answer my own questions so I am writing my answer here.</p>
  
  <p>The solution is so obvious that I cloud not see it and left the problem unresolved for quite some time until it hit me while doing some checks.</p>
  
  <p>The <code>hostname</code> provided at installation time was set in <code>/etc/hosts</code> for the IP <code>127.0.0.1</code> and <code>localhost.localdomain</code> witch was misleading for the Cloudera setup and basically made all hosts to have the same IP and hostname.</p>
  
  <p>I've redone the setup with <code>hostname.domain.local</code> and now the <code>hosts</code> file feature a separate line with the specific IP and hostname and the <code>/etc/resolv.conf</code> file has line with <code>search domain.local</code>.</p>
  
  <p>Even thou after this unpleasant experience I think that the <a href="https://ccp.cloudera.com/display/SCM36/Installing+CDH3+with+Service+and+Configuration+Manager+Express+Edition" rel="noreferrer">installation documentation</a> should feature these small details but, it's like stating the obvious.</p>