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

AMA installer wrongly assumes if config file exists then ARC is installed even though it isn't #1934

Open
irusensei opened this issue Jul 8, 2024 · 0 comments

Comments

@irusensei
Copy link

irusensei commented Jul 8, 2024

Agent assumes that if ArcSettingsFile exists then ARC is installed. Problem is that removing the ARC RPM doesn't remove ArcSettingsFile.

This caused a bit of confusion on some VMs where a while ago ARC was accidentally installed on Azure VMs but was later removed. AMA picked old proxy configurations from that file that prevented AMA from sending logs.

https://github.com/Azure/azure-linux-extensions/blob/master/AzureMonitorAgent/agent.py#L797-L800

Thanks.

@irusensei irusensei changed the title AMA installer wrongly assumes if config file exists then ARC is installed AMA installer wrongly assumes if config file exists then ARC is installed even though it isn't Jul 8, 2024
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

No branches or pull requests

1 participant