Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

AMBARI-26271: Invalid parameter was provided when using shell.call in HostInfo.py #3919

Merged
merged 1 commit into from
Jan 3, 2025

Conversation

guluo2016
Copy link
Contributor

What changes were proposed in this pull request?

Details see: AMBARI-26271

(Please fill in changes proposed in this fix)

How was this patch tested?

Applying these changes, and viewing ambari-agent.log, will not print the following log information

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': '/'}]

Please review Ambari Contributing Guide before opening a pull request.

Copy link
Contributor

@JiaLiangC JiaLiangC left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@JiaLiangC JiaLiangC merged commit 32ad6c4 into apache:trunk Jan 3, 2025
1 check passed
@guluo2016 guluo2016 deleted the ambari_AMBARI-26271 branch January 6, 2025 02:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants