guluo created AMBARI-26271:
------------------------------
Summary: Invalid parameter was provided when using shell.call in
HostInfo.py
Key: AMBARI-26271
URL: https://issues.apache.org/jira/browse/AMBARI-26271
Project: Ambari
Issue Type: Bug
Components: ambari-agent
Reporter: guluo
shell.call() doesn't have patameter universal_newlines in current version, so
we would get the as fallowing info in ambari-agent.log.
- Event to server at /reports/host_status (correlation_id=9697): \{'agentEnv':
{'hostHealth': {'liveServices': [{'name': 'chronyd', 'status': 'Unhealthy',
'desc': "call() got an unexpected keyword argument 'universal_newlines'\ncall()
got an unexpected keyword argument 'universal_newlines'"}],
'agentTimeStampAtReporting': 1733388927283}, 'umask': '18',
'transparentHugePage': '', 'firewallRunning': False, 'firewallName':
'iptables', 'reverseLookup': True, 'hasUnlimitedJcePolicy': True,
'alternatives': [], 'stackFoldersAndFiles': [], 'existingUsers': []}, 'mounts':
[\{'device': '/dev/mapper/centos-root', 'type': 'xfs', 'size': '52403200',
'used': '6640636', 'available': '45762564', 'percent': '13%', 'mountpoint':
'/'}]
--
This message was sent by Atlassian Jira
(v8.20.10#820010)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]