after restart netowrk service on Azure CentOS 7.5 VM, shows network issue

Issues related to configuring your network
Post Reply
tommyazure
Posts: 1
Joined: 2019/06/28 08:01:17

after restart netowrk service on Azure CentOS 7.5 VM, shows network issue

Post by tommyazure » 2019/06/28 08:07:57

Hi all,

I have created VM from Azure marketplace CentOS 7.5 with accelerated network enable.
After restart network service show SSH issue
message :
Jun 26 14:35:36 zhengshi-php4 systemd: Stopping LSB: Bring up/down networking...
Jun 26 14:35:36 zhengshi-php4 kernel: hv_netvsc 000d3aa3-b0cf-000d-3aa3-b0cf000d3aa3 eth0: Data path switched from VF: eth1
Jun 26 14:35:36 zhengshi-php4 network: Shutting down interface eth0: [ OK ]
Jun 26 14:35:36 zhengshi-php4 network: Shutting down loopback interface: [ OK ]
Jun 26 14:35:36 zhengshi-php4 systemd: Stopped LSB: Bring up/down networking.
Jun 26 14:35:36 zhengshi-php4 systemd: Starting LSB: Bring up/down networking...
Jun 26 14:35:36 zhengshi-php4 NetworkManager[4009]: <info> [1561530936.9692] device (lo): carrier: link connected
Jun 26 14:35:37 zhengshi-php4 network: Bringing up loopback interface: [ OK ]
Jun 26 14:35:37 zhengshi-php4 network: Bringing up interface eth0:
Jun 26 14:35:37 zhengshi-php4 kernel: mlx4_en: eth1: Steering Mode 2
Jun 26 14:35:37 zhengshi-php4 kernel: hv_netvsc 000d3aa3-b0cf-000d-3aa3-b0cf000d3aa3 eth0: Data path switched to VF: eth1
Jun 26 14:35:37 zhengshi-php4 NetworkManager[4009]: <info> [1561530937.2687] device (eth0): carrier: link connected
Jun 26 14:35:37 zhengshi-php4 NetworkManager[4009]: <info> [1561530937.2690] device (eth1): carrier: link connected
Jun 26 14:35:37 zhengshi-php4 dhclient[24982]: DHCPREQUEST on eth0 to 255.255.255.255 port 67 (xid=0x23daf969)
Jun 26 14:35:40 zhengshi-php4 python: 2019/06/26 14:35:40.412945 INFO ExtHandler EnvMonitor: Detected dhcp client restart. Restoring routing table.
Jun 26 14:35:40 zhengshi-php4 python: 2019/06/26 14:35:40.424332 INFO ExtHandler Configure routes
Jun 26 14:35:40 zhengshi-php4 python: 2019/06/26 14:35:40.430952 INFO ExtHandler Gateway:None
Jun 26 14:35:40 zhengshi-php4 python: 2019/06/26 14:35:40.437216 INFO ExtHandler Routes:None
Jun 26 14:35:42 zhengshi-php4 dhclient[24982]: DHCPREQUEST on eth0 to 255.255.255.255 port 67 (xid=0x23daf969)
Jun 26 14:35:51 zhengshi-php4 dhclient[24982]: DHCPDISCOVER on eth0 to 255.255.255.255 port 67 interval 4 (xid=0x2317a40c)
Jun 26 14:35:55 zhengshi-php4 dhclient[24982]: DHCPDISCOVER on eth0 to 255.255.255.255 port 67 interval 9 (xid=0x2317a40c)
Jun 26 14:36:01 zhengshi-php4 systemd: Started Session 127645 of user root.
Jun 26 14:36:01 zhengshi-php4 systemd-logind: Removed session 120173.
Jun 26 14:36:04 zhengshi-php4 dhclient[24982]: DHCPDISCOVER on eth0 to 255.255.255.255 port 67 interval 12 (xid=0x2317a40c)
Jun 26 14:36:16 zhengshi-php4 dhclient[24982]: DHCPDISCOVER on eth0 to 255.255.255.255 port 67 interval 19 (xid=0x2317a40c)
Jun 26 14:36:23 zhengshi-php4 python: 2019/06/26 14:36:23.390515 ERROR ExtHandler [ProtocolError] [Wireserver Exception] [HttpError] [HTTP Failed] POST http://168.63.129.16/machine?comp=telemetrydata -- IOError [Errno 101] Network is unreachable -- 6 attempts made
Jun 26 14:36:35 zhengshi-php4 dhclient[24982]: DHCPDISCOVER on eth0 to 255.255.255.255 port 67 interval 10 (xid=0x2317a40c)
Jun 26 14:36:45 zhengshi-php4 dhclient[24982]: DHCPDISCOVER on eth0 to 255.255.255.255 port 67 interval 7 (xid=0x2317a40c)
Jun 26 14:36:52 zhengshi-php4 dhclient[24982]: No DHCPOFFERS received.
Jun 26 14:36:52 zhengshi-php4 dhclient[24982]: Trying recorded lease 10.0.0.11
Jun 26 14:36:54 zhengshi-php4 python: 2019/06/26 14:36:54.502090 INFO ExtHandler Route table: [{"Iface": "eth0", "Destination": "10.0.0.0", "Gateway": "0.0.0.0", "Mask": "255.255.255.0", "Flags": "0x0001", "Metric": "0"}]
Jun 26 14:37:01 zhengshi-php4 systemd: Started Session 127646 of user root.
Jun 26 14:37:03 zhengshi-php4 network: Determining IP information for eth0...PING 10.0.0.1 (10.0.0.1) from 10.0.0.11 eth0: 56(84) bytes of data.
Jun 26 14:37:03 zhengshi-php4 network: --- 10.0.0.1 ping statistics ---
Jun 26 14:37:03 zhengshi-php4 network: 11 packets transmitted, 0 received, 100% packet loss, time 9999ms
Jun 26 14:37:03 zhengshi-php4 dhclient[24982]: No working leases in persistent database - sleeping.
Jun 26 14:37:03 zhengshi-php4 network: done.
Jun 26 14:37:03 zhengshi-php4 network: [ OK ]
Jun 26 14:37:03 zhengshi-php4 systemd: Started LSB: Bring up/down networking.
Jun 26 14:37:05 zhengshi-php4 python: 2019/06/26 14:37:05.743132 INFO ExtHandler EnvMonitor: Detected dhcp client restart. Restoring routing table.
Jun 26 14:37:05 zhengshi-php4 python: 2019/06/26 14:37:05.784233 INFO ExtHandler Configure routes
Jun 26 14:37:05 zhengshi-php4 python: 2019/06/26 14:37:05.807603 INFO ExtHandler Gateway:None
Jun 26 14:37:05 zhengshi-php4 python: 2019/06/26 14:37:05.828697 INFO ExtHandler Routes:None
Jun 26 14:37:09 zhengshi-php4 python: 2019/06/26 14:37:09.982817 ERROR ExtHandler ProtocolError processing goal state, giving up [[ProtocolError] [Wireserver Exception] [HttpError] [HTTP Failed] GET http://168.63.129.16/machine/?comp=goalstate -- IOError [Errno 101] Network is unreachable -- 6 attempts made]
Jun 26 14:37:10 zhengshi-php4 python: 2019/06/26 14:37:10.074436 WARNING ExtHandler Exception retrieving extension handlers: [ProtocolError] Exceeded max retry updating goal state
Jun 26 14:37:10 zhengshi-php4 python: 2019/06/26 14:37:10.119617 ERROR ExtHandler Event: name=WALinuxAgent, op=ExtensionProcessing, message=Exception retrieving extension handlers: [ProtocolError] Exceeded max retry updating goal state [('bin/WALinuxAgent-2.2.40-py2.7.egg/azurelinuxagent/ga/exthandlers.py', 219, 'run', 'self.ext_handlers, etag = self.protocol.get_ext_handlers()'), ('bin/WALinuxAgent-2.2.40-py2.7.egg/azurelinuxagent/common/protocol/wire.py', 151, 'get_ext_handlers', 'self.update_goal_state()'), ('bin/WALinuxAgent-2.2.40-py2.7.egg/azurelinuxagent/common/protocol/wire.py', 109, 'update_goal_state', 'self.client.update_goal_state(forced=forced, max_retry=max_retry)'), ('bin/WALinuxAgent-2.2.40-py2.7.egg/azurelinuxagent/common/protocol/wire.py', 824, 'update_goal_state', 'raise ProtocolError("Exceeded max retry updating goal state")')], duration=0
Jun 26 14:38:01 zhengshi-php4 systemd: Started Session 127647 of user root.
Jun 26 14:38:25 zhengshi-php4 python: 2019/06/26 14:38:25.622762 ERROR ExtHandler [ProtocolError] [Wireserver Exception] [HttpError] [HTTP Failed] POST http://168.63.129.16/machine?comp=telemetrydata -- IOError [Errno 101] Network is unreachable -- 6 attempts made
Jun 26 14:38:46 zhengshi-php4 python: 2019/06/26 14:38:46.449996 ERROR ExtHandler ProtocolError processing goal state, giving up [[ProtocolError] [Wireserver Exception] [HttpError] [HTTP Failed] GET http://168.63.129.16/machine/?comp=goalstate -- IOError [Errno 101] Network is unreachable -- 6 attempts made]
Jun 26 14:38:46 zhengshi-php4 python: 2019/06/26 14:38:46.549382 WARNING ExtHandler Exception retrieving extension handlers: [ProtocolError] Exceeded max retry updating goal state
Jun 26 14:38:46 zhengshi-php4 python: 2019/06/26 14:38:46.593291 ERROR ExtHandler Event: name=WALinuxAgent, op=ExtensionProcessing, message=Exception retrieving extension handlers: [ProtocolError] Exceeded max retry updating goal state [('bin/WALinuxAgent-2.2.40-py2.7.egg/azurelinuxagent/ga/exthandlers.py', 219, 'run', 'self.ext_handlers, etag = self.protocol.get_ext_handlers()'), ('bin/WALinuxAgent-2.2.40-py2.7.egg/azurelinuxagent/common/protocol/wire.py', 151, 'get_ext_handlers', 'self.update_goal_state()'), ('bin/WALinuxAgent-2.2.40-py2.7.egg/azurelinuxagent/common/protocol/wire.py', 109, 'update_goal_state', 'self.client.update_goal_state(forced=forced, max_retry=max_retry)'), ('bin/WALinuxAgent-2.2.40-py2.7.egg/azurelinuxagent/common/protocol/wire.py', 824, 'update_goal_state', 'raise ProtocolError("Exceeded max retry updating goal state")')], duration=0
Jun 26 14:39:01 zhengshi-php4 systemd: Started Session 127648 of user root.
Jun 26 14:39:09 zhengshi-php4 python: 2019/06/26 14:39:09.701024 INFO ExtHandler Route table: [{"Iface": "eth0", "Destination": "169.254.0.0", "Gateway": "0.0.0.0", "Mask": "255.255.0.0", "Flags": "0x0001", "Metric": "1002"}]
Jun 26 14:40:01 zhengshi-php4 systemd: Started Session 127649 of user root.
Jun 26 14:40:01 zhengshi-php4 systemd: Started Session 127650 of user root.
Jun 26 14:40:22 zhengshi-php4 python: 2019/06/26 14:40:22.913665 ERROR ExtHandler ProtocolError processing goal state, giving up [[ProtocolError] [Wireserver Exception] [HttpError] [HTTP Failed] GET http://168.63.129.16/machine/?comp=goalstate -- IOError [Errno 101] Network is unreachable -- 6 attempts made]
Jun 26 14:40:23 zhengshi-php4 python: 2019/06/26 14:40:23.008711 WARNING ExtHandler Exception retrieving extension handlers: [ProtocolError] Exceeded max retry updating goal state
Jun 26 14:40:23 zhengshi-php4 python: 2019/06/26 14:40:23.052471 ERROR ExtHandler Event: name=WALinuxAgent, op=ExtensionProcessing, message=Exception retrieving extension handlers: [ProtocolError] Exceeded max retry updating goal state [('bin/WALinuxAgent-2.2.40-py2.7.egg/azurelinuxagent/ga/exthandlers.py', 219, 'run', 'self.ext_handlers, etag = self.protocol.get_ext_handlers()'), ('bin/WALinuxAgent-2.2.40-py2.7.egg/azurelinuxagent/common/protocol/wire.py', 151, 'get_ext_handlers', 'self.update_goal_state()'), ('bin/WALinuxAgent-2.2.40-py2.7.egg/azurelinuxagent/common/protocol/wire.py', 109, 'update_goal_state', 'self.client.update_goal_state(forced=forced, max_retry=max_retry)'), ('bin/WALinuxAgent-2.2.40-py2.7.egg/azurelinuxagent/common/protocol/wire.py', 824, 'update_goal_state', 'raise ProtocolError("Exceeded max retry updating goal state")')], duration=0
Jun 26 14:40:40 zhengshi-php4 python: 2019/06/26 14:40:40.797771 ERROR ExtHandler [ProtocolError] [Wireserver Exception] [HttpError] [HTTP Failed] POST http://168.63.129.16/machine?comp=telemetrydata -- IOError [Errno 101] Network is unreachable -- 6 attempts made
Jun 26 14:40:51 zhengshi-php4 dhclient[25145]: DHCPDISCOVER on eth0 to 255.255.255.255 port 67 interval 6 (xid=0x69ba440a)
Jun 26 14:40:51 zhengshi-php4 dhclient[25145]: DHCPREQUEST on eth0 to 255.255.255.255 port 67 (xid=0x69ba440a)
Jun 26 14:40:51 zhengshi-php4 dhclient[25145]: DHCPOFFER from 168.63.129.16
Jun 26 14:40:55 zhengshi-php4 dhclient[25145]: DHCPREQUEST on eth0 to 255.255.255.255 port 67 (xid=0x69ba440a)
Jun 26 14:41:01 zhengshi-php4 systemd: Started Session 127651 of user root.
Jun 26 14:41:02 zhengshi-php4 dhclient[25145]: DHCPDISCOVER on eth0 to 255.255.255.255 port 67 interval 7 (xid=0x9f1f9be)
Jun 26 14:41:09 zhengshi-php4 dhclient[25145]: DHCPDISCOVER on eth0 to 255.255.255.255 port 67 interval 10 (xid=0x9f1f9be)
Jun 26 14:41:19 zhengshi-php4 dhclient[25145]: DHCPDISCOVER on eth0 to 255.255.255.255 port 67 interval 11 (xid=0x9f1f9be)
Jun 26 14:41:30 zhengshi-php4 dhclient[25145]: DHCPDISCOVER on eth0 to 255.255.255.255 port 67 interval 19 (xid=0x9f1f9be)
Jun 26 14:41:49 zhengshi-php4 dhclient[25145]: DHCPDISCOVER on eth0 to 255.255.255.255 port 67 interval 9 (xid=0x9f1f9be)
Jun 26 14:41:58 zhengshi-php4 dhclient[25145]: DHCPDISCOVER on eth0 to 255.255.255.255 port 67 interval 5 (xid=0x9f1f9be)
Jun 26 14:41:59 zhengshi-php4 python: 2019/06/26 14:41:59.395958 ERROR ExtHandler ProtocolError processing goal state, giving up [[ProtocolError] [Wireserver Exception] [HttpError] [HTTP Failed] GET http://168.63.129.16/machine/?comp=goalstate -- IOError [Errno 101] Network is unreachable -- 6 attempts made]
Jun 26 14:41:59 zhengshi-php4 python: 2019/06/26 14:41:59.408648 WARNING ExtHandler Exception retrieving extension handlers: [ProtocolError] Exceeded max retry updating goal state
Jun 26 14:41:59 zhengshi-php4 python: 2019/06/26 14:41:59.414187 ERROR ExtHandler Event: name=WALinuxAgent, op=ExtensionProcessing, message=Exception retrieving extension handlers: [ProtocolError] Exceeded max retry updating goal state [('bin/WALinuxAgent-2.2.40-py2.7.egg/azurelinuxagent/ga/exthandlers.py', 219, 'run', 'self.ext_handlers, etag = self.protocol.get_ext_handlers()'), ('bin/WALinuxAgent-2.2.40-py2.7.egg/azurelinuxagent/common/protocol/wire.py', 151, 'get_ext_handlers', 'self.update_goal_state()'), ('bin/WALinuxAgent-2.2.40-py2.7.egg/azurelinuxagent/common/protocol/wire.py', 109, 'update_goal_state', 'self.client.update_goal_state(forced=forced, max_retry=max_retry)'), ('bin/WALinuxAgent-2.2.40-py2.7.egg/azurelinuxagent/common/protocol/wire.py', 824, 'update_goal_state', 'raise ProtocolError("Exceeded max retry updating goal state")')], duration=0
Jun 26 14:42:01 zhengshi-php4 systemd: Started Session 127652 of user root.
Jun 26 14:42:03 zhengshi-php4 dhclient[25145]: No DHCPOFFERS received.
Jun 26 14:42:03 zhengshi-php4 dhclient[25145]: Trying recorded lease 10.0.0.11
Jun 26 14:42:13 zhengshi-php4 dhclient[25145]: No working leases in persistent database - sleeping.
Jun 26 14:42:55 zhengshi-php4 python: 2019/06/26 14:42:55.934810 ERROR ExtHandler [ProtocolError] [Wireserver Exception] [HttpError] [HTTP Failed] POST http://168.63.129.16/machine?comp=telemetrydata -- IOError [Errno 101] Network is unreachable -- 6 attempts made
Jun 26 14:43:01 zhengshi-php4 systemd: Started Session 127653 of user root.
Jun 26 14:43:27 zhengshi-php4 python: 2019/06/26 14:43:27.060642 ERROR ExtHandler /proc/net/route contains no routes
Jun 26 14:43:27 zhengshi-php4 python: 2019/06/26 14:43:27.092212 INFO ExtHandler Route table: []
Jun 26 14:43:35 zhengshi-php4 python: 2019/06/26 14:43:35.531479 ERROR ExtHandler ProtocolError processing goal state, giving up [[ProtocolError] [Wireserver Exception] [HttpError] [HTTP Failed] GET http://168.63.129.16/machine/?comp=goalstate -- IOError [Errno 101] Network is unreachable -- 6 attempts made]
Jun 26 14:43:35 zhengshi-php4 python: 2019/06/26 14:43:35.631771 ERROR ExtHandler Event: name=WALinuxAgent, op=GetArtifactExtended, message=Failed to get extension artifact for over 0:05:00: Exception retrieving extension handlers: [ProtocolError] Exceeded max retry updating goal state, duration=0
Jun 26 14:43:35 zhengshi-php4 python: 2019/06/26 14:43:35.642324 ERROR ExtHandler Event: name=WALinuxAgent, op=ExtensionProcessing, message=Exception retrieving extension handlers: [ProtocolError] Exceeded max retry updating goal state [('bin/WALinuxAgent-2.2.40-py2.7.egg/azurelinuxagent/ga/exthandlers.py', 219, 'run', 'self.ext_handlers, etag = self.protocol.get_ext_handlers()'), ('bin/WALinuxAgent-2.2.40-py2.7.egg/azurelinuxagent/common/protocol/wire.py', 151, 'get_ext_handlers', 'self.update_goal_state()'), ('bin/WALinuxAgent-2.2.40-py2.7.egg/azurelinuxagent/common/protocol/wire.py', 109, 'update_goal_state', 'self.client.update_goal_state(forced=forced, max_retry=max_retry)'), ('bin/WALinuxAgent-2.2.40-py2.7.egg/azurelinuxagent/common/protocol/wire.py', 824, 'update_goal_state', 'raise ProtocolError("Exceeded max retry updating goal state")')], duration=0
Jun 26 14:44:01 zhengshi-php4 systemd: Started Session 127654 of user root.
Jun 26 14:44:18 zhengshi-php4 kernel: hv_utils: Shutdown request received - graceful shutdown initiated



shows no DHCP.

after reboot VM , the network service back online succeed.

can you help check this ?

User avatar
TrevorH
Site Admin
Posts: 33220
Joined: 2009/09/24 10:40:56
Location: Brighton, UK

Re: after restart netowrk service on Azure CentOS 7.5 VM, shows network issue

Post by TrevorH » 2019/06/28 12:09:44

Start by updating from 7.5 to 7.6. We only support the current version and yours is over a year old.
The future appears to be RHEL or Debian. I think I'm going Debian.
Info for USB installs on http://wiki.centos.org/HowTos/InstallFromUSBkey
CentOS 5 and 6 are deadest, do not use them.
Use the FAQ Luke

Post Reply