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

LinuxPatchExtension missing from machine, cannot be installed due to administrative block #279

Open
gilbahat opened this issue Nov 21, 2024 · 1 comment

Comments

@gilbahat
Copy link

Describe the bug
LinuxPatchExtension missing from machine and uninstallable

To Reproduce
Steps to reproduce the behavior:
No idea, this is not supposed to be possible and recovery is explicitly blocked by Azure

Expected behavior
LinuxPatchExtension is present on machine

Screenshots

/var/log/azure# ls -l

total 16
drwxr-xr-x 3 root root 4096 Sep 16 20:26 Microsoft.Azure.ActiveDirectory.AADSSHLoginForLinux
drwxr-xr-x 3 root root 4096 Nov 21 10:13 Microsoft.Azure.Monitor.AzureMonitorLinuxAgent
drwxr-xr-x 3 root root 4096 Sep 16 20:26 Microsoft.ManagedServices.ApplicationHealthLinux
drwxr-xr-x 2 root root 4096 Sep 16 20:26 applicationhealth-extension

azure explicitly blocking a fix:

az vm extension set --publisher Microsoft.CPlat.Core --name LinuxPatchExtension --resource-group redacted --vm-name redacted

(OperationNotAllowed) Publisher 'Microsoft.CPlat.Core' and type LinuxPatchExtension is reserved for internal use.
Code: OperationNotAllowed
Message: Publisher 'Microsoft.CPlat.Core' and type LinuxPatchExtension is reserved for internal use.

Desktop (please complete the following information):

  • OS: Ubuntu 24.04 arm64

Additional context
Add any other context about the problem here.

@gilbahat gilbahat changed the title LinuxPatchExtension missing from machine and uninstallable LinuxPatchExtension missing from machine, cannot be installed due to administrative block Nov 21, 2024
@gilbahat
Copy link
Author

Making things worse than already is - if I try to manually place the extension in the /var/lib/waagent directory, waagent removes it:

Nov 21 10:49:15 dev-staging-hasura python3[2085]: 2024-11-21T10:49:15.595204Z INFO ExtHandler [Microsoft.CPlat.Core.LinuxPatchExtension-1.6.55] Remove extension handler directory: /var/lib/waagent/Microsoft.CPlat.Core.LinuxPatchExtension-1.6.55
Nov 21 10:49:15 dev-staging-hasura python3[2085]: 2024-11-21T10:49:15.596232Z INFO ExtHandler [Microsoft.CPlat.Core.LinuxPatchExtension-1.6.55] Remove the extension slice: Microsoft.CPlat.Core.LinuxPatchExtension-1.6.55

I have no idea why it would do that, nor have I ever configured anything to explicitly stop this machine from using azure update manager.

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