SSH Keys Issue on Rocky 9
Introduction
The Fuzzball Web GUI allows you to view logs from your running or completed job.
Problem
Under some circumstances, a user may click on the "Logs" button within the job section of the workflow dashboard and receive the message "No log output" even though the job completed successfully and logs were expected. The problem may be that user does not have the appropriate permissions to view the logs, or that the browser cannot access the API endpoint because Fuzzball was installed using self-signed certificates.
Symptoms
Here is an example showing the problem. The user has clicked on the "Logs" button for a workflow that was expected to produce logs and is seeing the message "No log output".
Resolution
Ensure you have permission to view logs
First, ensure that you have the appropriate permissions to view logs in the workflow. If you are viewing a job in a workflow submitted by another member of your shared account, you might need to ask them for permission to view the logs. They can add you as a job owner using the following CLI command:
$ fuzzball workflow add-owner <workflow UUID> <user UUID>
The workflow UUID and user UUID can be obtained with the fuzzball workflow list
and fuzzball account list-members
commands respectively. After you have been added as an owner you should be
able to view logs from jobs within the workflow.
Self-signed certificate require exception
If you have the correct permission to view job logs, you should check to make sure that your browser can access them from the API. When self-signed certificates are used, the Fuzzball GUI asynchronous access to the Fuzzball Orchestrate API can be blocked by your web browser's security policy, causing an erroneous indication that no logs are available.
To correct this issue, you can direct your browser to the Fuzzball API endpoint. The exact URI will
depend on the way that Fuzzball was installed, but it may be accessible by changing the string ui
in the Fuzzball URL to api
. For instance the following refers to the URL for the Fuzzball web GUI
and the API on an example installation respectively.
In the case of a self-signed certificate, your browser may complain that the URL is unsafe and may prompt you to create an exception. After doing so, a browser refresh should allow you to view the logs in the web GUI.