As a very rough rule of thumb, troubleshooting issues with Sahara or any other component in OpenStack should be seen as a whole ecosystem where many other services could be running in an unexpected status. Therefore, Sahara will not be able to function properly. Covering all issues in OpenStack could fill an entire book; however, it might be essential to have a good understanding of its ecosystem. On the other hand, the data processing service may face a few problems while creating a Hadoop or Spark cluster, or when launching jobs.
The Sahara command-line client's tools support the --debug
option. This is very useful to show the execution of the Curl commands of each API call to the Sahara endpoint in OpenStack. For example, the debug option can be used to check the accessibility of the client to the endpoint by getting more details as follows:
# sahara --debug cluster-list DEBUG (session:198) REQ: curl -g -i -X GET http:// 10.10.10.47:5000...