Server Unavailable Issues
Server Unavailable Issues in HEAL Installation Issues.
Server Unavailable Issues#
After logging in to the MLE (Machine Learning Engine) Dashboard, users may encounter a "Server Unavailable" message, preventing access to the dashboard's features and functionalities.
Solution: Refresh the UI from the browser.
To resolve the "Server Unavailable" issue on the MLE Dashboard, follow these steps:
1. Refresh the MLE Dashboard user interface (UI) in your browser by clicking the refresh button or pressing Ctrl+R (for Windows/Linux) or Cmd+R (for Mac).
2. If the issue persists, try refreshing the UI a couple more times until the "Server Unavailable" message disappears and the dashboard becomes accessible.
The /var directory is full#
When the /var directory becomes full, it can cause issues with the proper functioning of the system. To resolve this problem, you need to change the data directory path, update the graphroot path, and load images into the Podman repository.
Solution: Steps to Resolve a Full /var Directory are as following:
1. Change the path of the data_dir/ folder by editing the Nomad configuration file.
2. Open the /etc/nomad.d/nomad_<HEAL server IP>.hcl file and update the data_dir value to a new directory path.
$ nano /etc/nomad.d/nomad_<HEAL server IP>.hcl
3. Update the graphroot path to a different directory by editing the /etc/containers/storage.conf file.
4. Open the file and modify the graphroot value to the desired directory path.
$ nano /etc/containers/storage.conf
5. Modify the /HEAL/podmanrepo values in the loadimages.sh file.
Open the file, update the values, and save the changes. Then, execute the loadimages.sh script to run the Podman repository.
$ nano /HEAL/loadimages.sh
$ chmod +x /HEAL/loadimages.sh
$ ./HEAL/loadimages.sh
4. Load all the images into the Podman repository. You can do this by running the following command:
$ podman load -i <path_to_image_file>
Repeat this command for each image file you need to load.
5. Verify that the images have been loaded correctly by executing the following command:
$ curl -k https://localhost.example:8090/v2/_catalog | jq
This command retrieves a list of repositories from the HEAL registry and formats the output using the jq utility. If the changes were successful, you should see the updated paths and loaded images in the output.
Alert Email Link Redirection Problems#
Users may encounter problems with alert email link redirection. This issue is typically characterized by alert email links that do not successfully redirect users to the intended destination when clicked.
Solution: Configure Email Templates with Updated DNS Name.
To resolve alert email link redirection issues, it's necessary to check and adjust the configuration of email templates. Specifically, the templates need to incorporate the updated DNS name.
Follow these steps to address the issue:
1. Access Email Templates: Go to the location or platform where your email templates are stored or managed.
2. Review Current Configuration: Look at the existing configuration of the alert email templates. Pay particular attention to any fields or settings that specify URLs or redirection links.
3. Update DNS Name: If these fields or settings include the old or default Consul key value (ui-service.example), replace it with the updated DNS name.
For Example: apm.example.com
4. Save Changes: Save the updated email template configurations.
After these steps, the alert email links should correctly redirect users to the intended UI service location, as specified by the updated DNS name.
MySQL Slave Node Issue#
The issue manifests as a failure in MySQL Slave Node with the following error message:
Last_SQL_Error: Coordinator stopped because there were error(s) in the worker(s). The most recent failure being: Worker 1 failed executing transaction 'ANONYMOUS' at master log mysql-bin.000007, end_log_pos 1924876. See error log and/or performance_schema.replication_applier_status_by_worker table for more details about this failure or others, if any.
Solution:
To resolve this issue, follow the below steps on the MySQL Slave Node:
1. Log into the MySQL Slave Node.
2. Stop the slave process using below command:
STOP SLAVE;
3. Skip the Erring Transaction by setting the global variable sql_slave_skip_counter to 1. This instructs the slave to skip one transaction.
SET GLOBAL sql_slave_skip_counter = 1;
4. Restart the slave process using command:
START SLAVE;
5. After running these commands, check the status of the slave using the below command:
show slave status\G
Note:
If the error persists, repeat the steps until the error is resolved.
Interrupted Installation#
The HEAL installation was interrupted, and you now wish to uninstall and reinstall the package.
Solution:
Interrupted installations may leave residual files that could interfere with subsequent installation attempts. Follow these steps before starting the installation process:
1. Check for the presence of the following files in the Installer package:
i) .Wrapperinstallstatus
ii) .masterinstallstatus
iii) .installationstatus
2. If any of these files exist, delete them before reinstalling the package:
rm -rf .Wrapperinstallstatus .masterinstallstatus
.installationstatus
3. If the files do not exist, proceed with the installation.