[ 
https://issues.apache.org/jira/browse/AMBARI-26271?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Jialiang Cai resolved AMBARI-26271.
-----------------------------------
    Fix Version/s: 3.0.0
       Resolution: Fixed

> 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
>            Priority: Minor
>             Fix For: 3.0.0
>
>          Time Spent: 20m
>  Remaining Estimate: 0h
>
> 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]

Reply via email to