Quantcast
Channel: Azure Backup forum
Viewing all articles
Browse latest Browse all 2741

Azure Linux VM Backup Fails - Unable to stop/restart or update walinuxagent

$
0
0

Hi,

UBUNTU 16.04
We've a linux azure VM wherein the backup failed "Could not communicate with the VM agent for snapshot status - Snapshot VM sub task timed out". Manual backup failed with the same error.

We checked - Agent (Ready state) & 2.2.32 version. We tried restarting the agent but it fails with connection timed out as an error. The same happened while trying to update the agent as it was not able to stop the running walinuxagent.service & the process got stuck so we abandoned it.

systemctl restart walinuxagent.service - doesn't work
systemctl stop walinuxagent.service - doesn't work

Please let us know how to resolve this issue & initiate the backup again 
Following the \var\logs\waagent.log 

2019/07/01 06:25:04.525782 ERROR ExtHandler Event: name=Microsoft.Azure.RecoveryServices.SiteRecovery.Linux, op=Download, message=[ExtensionError] Non-zero exit code: 1, A2aVmExtension/handler.py disable
[stdout]
2019/07/01 06:25:02.516906 INFO ExtHandler Move process 28936 into cgroup for extension Microsoft.Azure.RecoveryServices.SiteRecovery.Linux


[stderr]
Traceback (most recent call last):
  File "/var/lib/waagent/Microsoft.Azure.RecoveryServices.SiteRecovery.Linux-1.0.0.9117/A2aVmExtension/handler.py", line 32, in <module>
    from A2aVmExtension.CmdHandlers.install_and_configure \
  File "/var/lib/waagent/Microsoft.Azure.RecoveryServices.SiteRecovery.Linux-1.0.0.9117/A2aVmExtension/CmdHandlers/install_and_configure.py", line 39, in <module>
    from main.ExtensionLib.utilities import get_cmd_output
ImportError: No module named main.ExtensionLib.utilities
, duration=0
2019/07/01 06:25:04.539348 INFO [Microsoft.Azure.RecoveryServices.SiteRecovery.LinuxUBUNTU1604-1.0.0.9118] Target handler state: enabled
2019/07/01 06:25:04.540780 INFO [Microsoft.Azure.RecoveryServices.SiteRecovery.LinuxUBUNTU1604-1.0.0.9118] [Enable] current handler state is: notinstalled
2019/07/01 06:25:04.541169 INFO [Microsoft.Azure.RecoveryServices.SiteRecovery.LinuxUBUNTU1604-1.0.0.9118] Using existing extension package: /var/lib/waagent/Microsoft.Azure.RecoveryServices.SiteRecovery__LinuxUBUNTU1604__1.0.0.9118.zip
2019/07/01 06:25:04.541328 INFO [Microsoft.Azure.RecoveryServices.SiteRecovery.LinuxUBUNTU1604-1.0.0.9118] Unzipping extension package: /var/lib/waagent/Microsoft.Azure.RecoveryServices.SiteRecovery__LinuxUBUNTU1604__1.0.0.9118.zip
2019/07/01 06:25:04.793542 INFO [Microsoft.Azure.RecoveryServices.SiteRecovery.LinuxUBUNTU1604-1.0.0.9118] Initialize extension directory
2019/07/01 06:25:04.795868 INFO [Microsoft.Azure.RecoveryServices.SiteRecovery.LinuxUBUNTU1604-1.0.0.9118] Update settings file: 0.settings
2019/07/01 06:25:04.797549 INFO [Microsoft.Azure.RecoveryServices.SiteRecovery.LinuxUBUNTU1604-1.0.0.9117] Disable extension [A2aVmExtension/handler.py disable]
2019/07/01 06:25:04.801784 INFO ExtHandler Move process 29005 into cgroup for extension Microsoft.Azure.RecoveryServices.SiteRecovery.LinuxUBUNTU1604
2019/07/01 06:25:06.809827 ERROR ExtHandler Event: name=Microsoft.Azure.RecoveryServices.SiteRecovery.LinuxUBUNTU1604, op=Download, message=[ExtensionError] Non-zero exit code: 1, A2aVmExtension/handler.py disable
[stdout]
2019/07/01 06:25:04.801784 INFO ExtHandler Move process 29005 into cgroup for extension Microsoft.Azure.RecoveryServices.SiteRecovery.LinuxUBUNTU1604


[stderr]
Traceback (most recent call last):
  File "/var/lib/waagent/Microsoft.Azure.RecoveryServices.SiteRecovery.LinuxUBUNTU1604-1.0.0.9117/A2aVmExtension/handler.py", line 32, in <module>
    from A2aVmExtension.CmdHandlers.install_and_configure \
  File "/var/lib/waagent/Microsoft.Azure.RecoveryServices.SiteRecovery.LinuxUBUNTU1604-1.0.0.9117/A2aVmExtension/CmdHandlers/install_and_configure.py", line 39, in <module>
    from main.ExtensionLib.utilities import get_cmd_output
ImportError: No module named main.ExtensionLib.utilities
, duration=0
2019/07/01 06:25:06.896216 INFO [Microsoft.Azure.RecoveryServices.SiteRecovery.LinuxUBUNTU1604-1.0.0.9118] Remove extension handler directory: /var/lib/waagent/Microsoft.Azure.RecoveryServices.SiteRecovery.LinuxUBUNTU1604-1.0.0.9118
2019/07/01 06:25:06.916748 INFO [Microsoft.Azure.RecoveryServices.SiteRecovery.Linux-1.0.0.9118] Remove extension handler directory: /var/lib/waagent/Microsoft.Azure.RecoveryServices.SiteRecovery.Linux-1.0.0.9118
2019/07/01 06:25:09.939578 INFO [Microsoft.Azure.RecoveryServices.SiteRecovery.Linux-1.0.0.9118] Target handler state: enabled
2019/07/01 06:25:09.940387 INFO [Microsoft.Azure.RecoveryServices.SiteRecovery.Linux-1.0.0.9118] [Enable] current handler state is: notinstalled
"waagent.log" [readonly] 16542553L, 2311268155C                                                                                                      1,1           Top

Regards,
Gaurav N.


Viewing all articles
Browse latest Browse all 2741

Trending Articles