Skip to content

Podman Issues

Troubleshoot Podman logging, volume, and upgrade problems on HEAL servers.

2 min read Updated SS MR

Podman Issues#

Below are the troubleshooting of podman issues:

  • Excessive Logging in Podman: Adjusting Log Levels
  • Percona Failure Due to Unremoved Unused Volumes
  • Issue with SAP Connector Data Collection
  • Issue with Upgrading Podman Version

For reference:

The following section contains basic Linux commands: Basic Commands


Excessive Logging in Podman: Adjusting Log Levels#

Podman, along with Nomad and Consul, is generating an excessive amount of logs due to the current log level settings.

Resolution:

  1. Change Log Level: The log level needs to be changed from 'info' to 'error' mode for Nomad, Consul, and Podman to reduce the volume of logs generated.
  2. Configuration File Modification: Edit the service configuration files for Podman, Consul, and Nomad.

    1. Podman:

      vi /usr/lib/systemd/system/podman.service
      
    2. Consul:

      vi /etc/consul.d/consul.hcl
      
    3. Nomad:

      vi /etc/nomad.d/nomad.hcl
      

    In each file, change the log level setting from 'info' to 'error'.

  3. Restart Services: Reload the system daemon and restart the services:

    systemctl daemon-reload
    systemctl restart podman.socket
    systemctl restart nomad
    systemctl restart consul
    
  4. Optionally, check the status of the Podman service:

    systemctl status podman
    

Percona Failure Due to Unremoved Unused Volumes#

Issues with Percona container startup, indicated by multiple errors and warnings in logs, such as failure to start tasks and issues with container creation.

Solution:

  1. Clear Unused Volumes: Execute the below command to remove unused volumes.

    podman volume prune
    

    This step addresses issues caused by residual volumes that might interfere with container startup processes.


Issue with SAP Connector Data Collection#

Data collection through the SAP connector was not happening due to an error related to the SELECT_SERVER field.

Error:

com.sap.conn.jco.JCoRuntimeException: Field SELECT_SERVER is not a member of INPUT

Solution:

  1. Use of Specific Build: Utilize the build "ext-system-adapter-adapter_sap_1.0.tar.gz".
  2. Database Table Verification: Check the functional_module table in MySQL for configurations.
  3. Updating Database Records:
    1. Update the heal_instance_name in the a1_logscan_heal_instance_mapper table to match the identifier in the appsone.comp_instance table.
    2. Execute the SQL updates to align the heal_instance_name with the appropriate identifiers.
  4. Redeployment and Loading Image: Redeploy the build and load the image using Podman commands.
  5. Data Collection Verification: Post-redeployment, confirm that data was visible in the UI.

Issue with Upgrading Podman Version#

Encountered issues while trying to upgrade/install Podman to version 3.2.3 on RHEL8.5, resulting in dependency conflicts.

Error:

file /usr/bin/podman from install of podman-3.2.3-0.11... conflicts with file from package podman-1.6.4-10...

Solution:

  1. Addressing Dependency Issues: Identify if the existing Podman version was matching, causing dependency conflicts.
  2. Forced Upgrade: Used the following RPM command with the --nodeps flag to force upgrade Podman to version 3.2.6:

    rpm -Uvh --nodeps podman-3.2.3-0.11.module+el8.4.0+12050+ef972f71.x86_64.rpm