Open1

Azure VM Agent status is not ready

Koichiro NakajimaKoichiro Nakajima

Azure VM Agent status is not readyという警告が表示されたら、VM内でwalinuxagent.serviceというサービスが稼働しているのでリスタートすれば良い。

~$ sudo systemctl status wa*
● walinuxagent.service - Microsft Azure Linux Agent
     Loaded: loaded (/lib/systemd/system/walinuxagent.service; enabled; vendor >
     Active: active (running) since Mon 2021-10-11 19:48:59 UTC; 1h 28min ago
   Main PID: 557 (waagent)
      Tasks: 4 (limit: 1075)
     Memory: 35.8M
        CPU: 28.892s
     CGroup: /system.slice/walinuxagent.service
             ├─557 /usr/bin/python3 /usr/sbin/waagent -daemon
             └─588 python3 -u /usr/sbin/waagent -run-exthandlers

Oct 11 20:19:05 lfs waagent[588]:     pkts      bytes target     prot opt in   >
Oct 11 20:19:05 lfs waagent[588]: Zeroing chain `OUTPUT'
Oct 11 20:19:05 lfs waagent[588]: ]
Oct 11 20:19:05 lfs waagent[588]: 2021-10-11T20:19:05.932282Z INFO ExtHandler E>
Oct 11 20:49:08 lfs waagent[2237]: iptables v1.8.7 (nf_tables):  CHAIN_ZERO fai>
Oct 11 20:49:08 lfs waagent[588]: 2021-10-11T20:49:08.901155Z ERROR ExtHandler >
Oct 11 20:49:08 lfs waagent[588]:     pkts      bytes target     prot opt in   >
Oct 11 20:49:08 lfs waagent[588]: Zeroing chain `OUTPUT'
Oct 11 20:49:08 lfs waagent[588]: ]
Oct 11 20:49:08 lfs waagent[588]: 2021-10-11T20:49:08.927124Z INFO ExtHandler E>
~$ 
~$ sudo systemctl restart wa*