IBM Support

QRadar: Bad data in resolv.conf causes a Microservices Infrastructure failure of the initial configuration of qchange_netsetup

Troubleshooting


Problem

A faulty configuration in /etc/resolv.conf causes Microservice Infrastructure to error resulting in a failure of the configuration of the qchange_netsetup script.

Symptom

During initial configuration you may see errors similar to this:
[microservices-infrastructure-install] Attempt X to install Microservice Infrastructure
[microservices-infrastructure-install] Microservice Infrastructure failed with return code 1
...
[microservices-infrastructure-install] After 10 failed attempts to execute the NodeInstaller, the NodeInstaller has failed to install the Microservice Infrastructure
[microservices-infrastructure-install] Error executing com.ibm.si.configservices.node.impl.NodeInstaller for the Microservice Infrastructure install
ERROR: Failed to install micro-services infrastructure components. (1)
ERROR: Failed. Exit code: 255. Case 1.
ERROR:
System setup failed.  Please logout/login on the console terminal to reconfigure system.
The following errors appear in qradar_netsetup.log:
Feb 11 14:53:26 qradar_netsetup.py[21224]: qradar_netsetup finalBlock [INFO] ...
Feb 11 14:53:26 qradar_netsetup.py[21224]: ibm_command_utils run_and_log [INFO] systemctl restart network
Feb 11 14:53:40 qradar_netsetup.py[21224]: qradar_netsetup finalBlock [ERROR] Exceptions:
Feb 11 14:53:40 qradar_netsetup.py[21224]: qradar_netsetup finalBlock [ERROR] Traceback (most recent call last):
Feb 11 14:53:40 qradar_netsetup.py[21224]: qradar_netsetup finalBlock [ERROR]   File "/opt/qradar/bin/qradar_netsetup.py", line 3874, in main
Feb 11 14:53:40 qradar_netsetup.py[21224]: qradar_netsetup finalBlock [ERROR]     qradarNetsetup.doJob()
Feb 11 14:53:40 qradar_netsetup.py[21224]: qradar_netsetup finalBlock [ERROR]   File "/opt/qradar/bin/qradar_netsetup.py", line 885, in doJob
Feb 11 14:53:40 qradar_netsetup.py[21224]: qradar_netsetup finalBlock [ERROR]     self.installQradar()
Feb 11 14:53:40 qradar_netsetup.py[21224]: qradar_netsetup finalBlock [ERROR]   File "/opt/qradar/bin/qradar_netsetup.py", line 1793, in installQradar
Feb 11 14:53:40 qradar_netsetup.py[21224]: qradar_netsetup finalBlock [ERROR]     % (result))
Feb 11 14:53:40 qradar_netsetup.py[21224]: qradar_netsetup finalBlock [ERROR]   File "/opt/qradar/lib/python/ibm_logging.py", line 80, in error
Feb 11 14:53:40 qradar_netsetup.py[21224]: qradar_netsetup finalBlock [ERROR]     sysExit(255)
Feb 11 14:53:40 qradar_netsetup.py[21224]: qradar_netsetup finalBlock [ERROR]   File "/opt/qradar/lib/python/ibm_logging.py", line 46, in sysExit
Feb 11 14:53:40 qradar_netsetup.py[21224]: qradar_netsetup finalBlock [ERROR]     raise Exception(message)
Feb 11 14:53:40 qradar_netsetup.py[21224]: qradar_netsetup finalBlock [ERROR] Exception
Feb 11 14:53:40 qradar_netsetup.py[21224]: ibm_logging error [ERROR] Failed. Exit code: 255. Case 1.
Feb 11 14:53:40 qradar_netsetup.py[21224]: ibm_logging error [ERROR]

Document Location

Worldwide

[{"Business Unit":{"code":"BU048","label":"IBM Software"},"Product":{"code":"SSBQAC","label":"IBM QRadar SIEM"},"Component":"Networking","Platform":[{"code":"PF016","label":"Linux"}],"Version":"7.3.0;7.3.1","Edition":"","Line of Business":{"code":"LOB77","label":"Automation Platform"}}]

Log InLog in to view more of this document

This document has the abstract of a technical article that is available to authorized users once you have logged on. Please use Log in button above to access the full document. After log in, if you do not have the right authorization for this document, there will be instructions on what to do next.

Document Information

Modified date:
17 June 2022

UID

ibm10871654