Follow

Components in the Ambari UI have question marks beside them

Issue

Specific components within the Ambari UI are showing question marks (?) beside them. These components are not working properly.

Cause

There are a couple of reasons why there are questions mark(s) (?) beside each component in the Ambari UI:

  • The system(s) that host the component(s) is not running
  • Python was updated to version 2.7.5.58 or greater

Resolution Steps

In order to resolve the issue, there are several steps validate the existing issue and steps to resolve the issue.

Check for host connectivity

  1. Open up a web browser and navigate to the Ambari UI URL:
  2. Log in to the Ambari UI as the Ambari admin. The default credentials for the Ambari admin user are as follow:
    • Username: admin
    • Password: admin
  3. Once logged in, click on Hosts
  4. In the nodes listed, make note of the node(s) with question mark (?) beside them.
  5. Attempt to the following:
    • SSH to the affected node(s)as the Interser user.
    • ping the affected node(s).
  6. If the affected node(s) are responding, please continue to the Check ambari-agent logs section
  7. If the affected node(s) are NOT responding, validate if the node(s) are up and running properly.
  8. Once the affected node(s) are up and running please repeat step 5

Check ambari-agent logs

It is recommended to check the ambari-agent logs on the affected node(s) (question marks) from Ambari UI.

  1. Log on to the affected node(s) as the Interset user.
  2. Type in the following to navigate to the ambari-agent log directory:
    • cd /var/log/ambari-agent
  3. Type in the following to view the ambari-agent.log:
    • less ambari-agent.log
  4. In the log file, hit the follow key combination jump to the end of the log:
    • Shift + G
  5. The  output of the log file will be similar to the following:
  6. If the error above is outputted, this means that the version of Python was updated to 2.7.5-58 or greater enables a feature (SSL cert validation) which breaks Ambari.
  7. As a sanity check, type in the following command to verify the version of python:
    • sudo yum list installed | grep "^python.x86_64"
  8. If the above is valid, please continue to the Python cert validation config section.
  9. If the above is NOT valid, please contact Interset Support for further assistance.

Validate Python certificate configuration

  • Log on to all affected node(s) as the Interset user
  • Type in the following command to concatenate the cert-verification.cfg file which is located in /etc/python:
    • sudo cat /etc/python/cert-verifcation.cfg
  • Type in the following command to modify the cert-verification.cfg to from current value to disable:
    • sudo sed -i 's/^verify.*/verify=disable/' /etc/python/cert-verification.cfg
  • Once the changes are applied, please continue to the Restart all ambari-agent section

Restart all ambari-agent

  1. Log on to all affected node(s) as the Interset user.
  2. Type in the following command to restart the ambari-agent:
    • sudo ambari-agent restart

Validating Ambari Components

  1. Once the ambari-agents are restarted, open up a web browser and navigate to the Ambari UI URL:
  2. Log in to the Ambari UI ad the Ambari Admin. The default credentials for the Ambari admin user are as follow:
    • Username: admin
    • Password: admin
  3. Once logged in, validate all components are running.
  4. Start any component(s) that are not running (red exclamation mark)
  5. If any issues arise, please contact Interset Support

Applies To

  • Interset 5.4.x or higher
Was this article helpful?
0 out of 0 found this helpful
Have more questions? Submit a request

Comments

Powered by Zendesk