Skip to content

Failure Due to Missing Perl Dependencies

Failure Due to Missing Perl Dependencies in HEAL Installation Issues.

4 min read Updated SS

Failure Due to Missing Perl Dependencies#

The HEAL installation process encountered failures on four servers, excluding the primary server, due to missing dependencies necessary for the installation of perl-TimeDate-2.30-15.module_el8.3.0+416+dee7bcef.noarch.rpm.

Solution:

The required Perl dependencies were identified as missing on the affected servers.

These dependencies were manually installed from the provided PerlPackages.tar package. Post this the installation will be successful.

Failure Due to Missing Package Dependencies#

The installation of HEAL failed because of missing dependencies needed for the pacemaker-2.1.0-8.el8.x86_64 package.

The system reported problems due to the absence of resource-agents and other related packages, highlighting a chain of unmet dependencies crucial for the installation.

Error Detail: The error outlined a series of unmet dependencies including resource-agents, nfs-utils, and keyutils-libs,etc. Indicates conflicting requests and missing providers for essential services and utilities required by HEAL.

Solution: To address the dependency issues, install the following packages:

  • nfs-utils-2.3.3-46.el8.x86_64.rpm
  • keyutils-libs-1.5.10-9.el8.x86_64.rpm
  • quota-nls-4.04-14.el8.noarch.rpm

Additionally, utilize the rpm.tar.gz and rpms.tar.gz packages to ensure all necessary dependencies were met.

Failure Due to Missing Percona Server Client Dependencies#

The HEAL installation process failed due to an inability to locate and install the percona-server-client package.

Error:

Error: Unable to find a match: percona-server-client
Mandatory rpm ran/percona not able to install. Aborting
Installation....

Solution:

To address this issue, the following dependencies were manually installed:

  • make-4.2.1-11.el8.x86_64.rpm
  • compat-openssl10-1.0.2o-3.el8.x86_64.rpm

Failure Due to RPM Package Version Error#

The installation process encountered a failure due to RPM package version inconsistencies, specifically with the libxml2-python package.

Error:

error: Failed dependencies:
libxml2 = 2.9.1-6.el7_2.3 is needed by libxml2-python-2.9.1-
6.el7_2.3.x86_64

RCA: The installed RPM versions on the server did not match the versions required by the installation script.

Solution:

1. Adjustment in Configuration:

a. Navigate to below directory:

<ser_install_path>/Master_Services/conf

b. Modify the installerconfig.py file to match the server's installed version of libxml2-python.

reporpm_3_v2_3 = "libxml2-python-2.9.1-6.el7_9.6.x86_64"

2. Modification in Installation Script:

a. Navigate to below directory:

<ser_install_path>/Master_Services

b. Modify the appsoneInstaller.py file in the section responsible for checking and installing the mismatched RPM package,

# Skip the problematic version check and installation attempt
# rpmcommand = "rpm -Uvh " + v_reporpm_3 # form the command
# Execute the script manually to proceed with the installation

3. Manual Script Execution: After making the necessary adjustments, execute the below script manually to bypass the version conflict,

appsoneInstaller.py

4. Resume the wrapper script execution.

Failure Due to Consul Exception#

HEAL installation failed due to an issue with the Consul configuration.

Error:

Consul base.ConsulException: CONSUL_HTTP_ADDR
(https://localhost:8501) invalid, does not match <host>:<port>

RCA: The error occurred due to an incomplete uninstallation process that left behind invalid consul configuration entries.

Solution: To address this error, consul-related entries were removed from the .bash_profile file on the server.

Failure Due to Percona Startup Issues#

The installation process was hindered because Percona server failed to start, displaying an error related to shared libraries.

Error Message:

/bin/bash: error while loading shared libraries: libtinfo.so.6:
cannot change memory protections

RCA: The issue was traced back to SELinux being enabled on the servers, which restricted necessary operations for Percona.

Solution:

1. Disable the SELinux across all affected servers.

2. Execute the wrapper script again.

Issue with Setting URL Status Attribute in Solaris#

Attempts to set attributes for URL Status in Solaris resulted in an Error 500, with the developer tool indicating a failure due to unassigned KPIs to any producer.

Error Details:

Error: data: null
message: "Attributes cannot be added because the KPIs for groupId
[16] are not mapped to any producer."
responseStatus: "FAILURE"

RCA: The problem was identified as missing entries in the comp_instance_kpi_group_details.

Solution: Add the necessary entries and restart the Redis microservice.

No Cluster Leader#

In a HEAL environment, the Nomad cluster may encounter a "no cluster leader" issue due to node failure or an unexpected shutdown, which can impact the proper functioning of the cluster.

Solution: Recovering from No Cluster Leader Issue in Nomad Cluster.

To resolve the "no cluster leader" issue in a Nomad cluster within a HEAL environment, perform the following steps:

1. Stop the Nomad service on all nodes by running the following command:

systemctl stop nomad

2. Navigate to below directory on the main node where the Nomad installation was performed. Passwordless authentication should be enabled for other nodes.

cd <nomad data dir>/server/raft

3. Create a peers.json file with the IP addresses and RPC ports of all Nomad nodes, as shown in the example below:

[ "192.0.2.44:4647", "192.0.2.45:4647", "192.0.2.46:4647"]

4. Copy the peers.json file to the corresponding directory on all nodes where Nomad is installed using the following command:

scp <nomad data dir>/server/raft/peers.json root@<ip>:/<nomad data
dir>/server/raft

5. Begin by starting the Nomad service on the main node, and then continue with the other nodes one at a time:

systemctl start nomad

6. Check the status of the Nomad cluster by running the following command:

nomad server members

The cluster status should now indicate a healthy state, and the "no cluster leader" issue should be resolved.