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

waagent failing with custom-script-extension: Text file busy #188

Open
jpveritone opened this issue Aug 18, 2021 · 0 comments
Open

waagent failing with custom-script-extension: Text file busy #188

jpveritone opened this issue Aug 18, 2021 · 0 comments

Comments

@jpveritone
Copy link

'm running an azure govcloud environment with many VMSS using the CIS RHEL 7.9 image. About 70% of the time my extension scripts fail to run and looking in /var/log/waagent.log see the error
The handler for VM extension type 'Microsoft.Azure.Extensions.CustomScript' has reported terminal failure for VM extension 'fastcore-proxy-MSILinuxExtension1' with error message: '[ExtensionOperationError] Non-zero exit code: 1, /var/lib/waagent/Microsoft.Azure.Extensions.CustomScript-2.0.7/bin/custom-script-shim install [stdout] + /var/lib/waagent/Microsoft.Azure.Extensions.CustomScript-2.0.7/bin/custom-script-extension install /var/lib/waagent/Microsoft.Azure.Extensions.CustomScript-2.0.7/bin/custom-script-shim: line 77: /var/lib/waagent/Microsoft.Azure.Extensions.CustomScript-2.0.7/bin/custom-script-extension: Text file busy [stderr] '. 'Install handler failed for the extension. More information on troubleshooting is available at https://aka.ms/VMExtensionCSELinuxTroubleshoot'

Googling for answers I found many experiencing same issue on CentOS. The microsoft repo (rhui-1.microsoft.com) I'm using is allowing me to only set version 2.2.46.

Is there a known version of waagent that fixes this problem on RHEL 7.9 and if so any documentation on how I could install that particular version?

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