I am currently using the "Azure Migrate" service to migrate VMS from GCP to azure. We use centos 7 VMS. I could successfully migrate VM instance in azure and it looks like the status is running. But it's failing to update my ssh key. It throws the below error
"The VM agent is either unavailable or not installed, which may prevent VMAccess from running."
I have checked the VM's agent status and it shows the "not ready" from azure portal.what should i do to update my ssh key ? Or am i missing something ?
Troubleshoot the VMagent not ready status:
Check the service status of the Azure Linux Agent to make sure it's running. The service name will be walinuxagent .
If the service is running, restart it to resolve the issue. If the service is stopped, start it, wait a few minutes, and then check the status again.
Make sure auto-update is enabled. Check the auto-update setting in /etc/waagent.conf.
Command : AutoUpdate.Enabled=y
Troubleshoot VMAccess Extension :
Open Azure portal > VM > Settings > Extensions > Extensions status and check if the extensions are in provisioning succeeded state.
If not uninstall and then install back the “VMAcess” Extension .
Reference:
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.