Skip to content

Add to support for MIRACLE LINUX 8 and 9 to agent.py and check_os.py #1825

Open
@mikazo777

Description

@mikazo777

I want to deploy azure monitor agent for MIRACLE LINUX 8 and 9 on Azure.These images are released at the following sites.

https://azuremarketplace.microsoft.com/ja-jp/marketplace/apps/miraclelinux.miracle-linux-9-0-rc
https://azuremarketplace.microsoft.com/ja-jp/marketplace/apps/miraclelinux.miraclelinux-8-6

But, deploying is failed.

The following error message is displayed.
{"code":"DeploymentFailed","message":"At least one resource deployment operation failed. Please list deployment operations for details. Please see https://aka.ms/arm-deployment-operations for usage details.","details":[{"code":"Conflict","message":"{\r\n \"status\": \"Failed\",\r\n \"error\": {\r\n \"code\": \"ResourceDeploymentFailure\",\r\n \"message\": \"The resource write operation failed to complete successfully, because it reached terminal provisioning state 'Failed'.\",\r\n \"details\": [\r\n {\r\n \"code\": \"VMExtensionHandlerNonTransientError\",\r\n \"message\": \"VM 拡張機能の種類 'Microsoft.Azure.Monitor.AzureMonitorLinuxAgent' のハンドラーで VM 拡張機能 'AzureMonitorLinuxAgent' のターミナル エラーが報告されました。エラー メッセージ: '[ExtensionOperationError] Non-zero exit code: 51, /var/lib/waagent/Microsoft.Azure.Monitor.AzureMonitorLinuxAgent-1.28.8/./shim.sh -install\\n[stdout]\\n2023/10/20 02:49:42 [Microsoft.Azure.Monitor.AzureMonitorLinuxAgent-1.28.8] Install,failed,51,Unsupported operating system: miraclelinux 9.0\\n\\n\\n[stderr]\\n'。\\r\\n \\r\\n'Install handler failed for the extension. More information on troubleshooting is available at https://aka.ms/vmextensionlinuxtroubleshoot'\"\r\n }\r\n ]\r\n }\r\n}"}]}
I think agent.py and check_os.py need to be add 'miracle' in servral places.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions