open-switch / opx-platform-config

https://openswitch.net
4 stars 20 forks source link

opx-acl-init and opx-nas-init service failed on z9264 platform #55

Closed waliulislam closed 6 years ago

waliulislam commented 6 years ago

This is a new installation of OPX3.0.0. release build to Z9264 platform.

root@OPX:~# opx-show-version
OS_NAME="OPX"
OS_VERSION="3.0.0"
PLATFORM="Z9264F-ON"
ARCHITECTURE="x86_64"
INTERNAL_BUILD_ID="OpenSwitch blueprint for Dell 1.0.0"
BUILD_VERSION="3.0.0.0"
BUILD_DATE="2018-09-06T21:43:06+0000"
INSTALL_DATE="2018-09-11T19:10:45+00:00"
SYSTEM_UPTIME= 23 minutes
SYSTEM_STATE= degraded
UPGRADED_PACKAGES=no
ALTERED_PACKAGES=no
root@OPX:~# opx-show-system-status
System State:  degraded
Failed Services
opx-acl-init.service
opx-nas-init.service
No Modified Package
root@OPX:~# systemctl status opx-acl-init.service
? opx-acl-init.service - Default ACL entries for Control Plane Protocol packets
   Loaded: loaded (/lib/systemd/system/opx-acl-init.service; enabled; vendor preset: enabled)
   Active: failed (Result: exit-code) since Tue 2018-09-11 19:13:16 UTC; 22min ago
  Process: 1499 ExecStart=/usr/bin/python -u /usr/bin/base_create_acl_entries.py (code=exited, status=1/FAILURE)
 Main PID: 1499 (code=exited, status=1/FAILURE)

Sep 11 19:13:16 OPX python[1499]:   File "/usr/lib/python2.7/xml/etree/ElementTree.py", line 656, in parse
Sep 11 19:13:16 OPX python[1499]:     parser.feed(data)
Sep 11 19:13:16 OPX python[1499]:   File "/usr/lib/python2.7/xml/etree/ElementTree.py", line 1653, in feed
Sep 11 19:13:16 OPX python[1499]:     self._raiseerror(v)
Sep 11 19:13:16 OPX python[1499]:   File "/usr/lib/python2.7/xml/etree/ElementTree.py", line 1517, in _raiseerror
Sep 11 19:13:16 OPX python[1499]:     raise err
Sep 11 19:13:16 OPX python[1499]: xml.etree.ElementTree.ParseError: mismatched tag: line 510, column 2
Sep 11 19:13:16 OPX systemd[1]: opx-acl-init.service: Main process exited, code=exited, status=1/FAILURE
Sep 11 19:13:16 OPX systemd[1]: opx-acl-init.service: Unit entered failed state.
Sep 11 19:13:16 OPX systemd[1]: opx-acl-init.service: Failed with result 'exit-code'.
root@OPX:~# systemctl status opx-nas-init.service
? opx-nas-init.service - Network abstraction initiation
   Loaded: loaded (/lib/systemd/system/opx-nas-init.service; enabled; vendor preset: enabled)
   Active: failed (Result: timeout) since Tue 2018-09-11 19:13:06 UTC; 23min ago
  Process: 546 ExecStart=/usr/bin/python -u /usr/bin/base_nas_default_init.py (code=killed, signal=TERM)
 Main PID: 546 (code=killed, signal=TERM)

Sep 11 19:13:01 OPX python[546]: [DSAPI:NS], Failed to find owner for 1.33.2162695.2162689.
Sep 11 19:13:02 OPX python[546]: [DSAPI:NS], Failed to find owner for 1.33.2162695.2162689.
Sep 11 19:13:03 OPX python[546]: [DSAPI:NS], Failed to find owner for 1.33.2162695.2162689.
Sep 11 19:13:04 OPX python[546]: [DSAPI:NS], Failed to find owner for 1.33.2162695.2162689.
Sep 11 19:13:05 OPX python[546]: [DSAPI:NS], Failed to find owner for 1.33.2162695.2162689.
Sep 11 19:13:06 OPX systemd[1]: opx-nas-init.service: Start operation timed out. Terminating.
Sep 11 19:13:06 OPX systemd[1]: opx-nas-init.service: Main process exited, code=killed, status=15/TERM
Sep 11 19:13:06 OPX systemd[1]: Failed to start Network abstraction initiation.
Sep 11 19:13:06 OPX systemd[1]: opx-nas-init.service: Unit entered failed state.
Sep 11 19:13:06 OPX systemd[1]: opx-nas-init.service: Failed with result 'timeout'.
root@OPX:~#  
Tejaswi-Goel commented 6 years ago

opx-acl-init.service issue solved by the commit : https://github.com/open-switch/opx-platform-config/pull/56/commits

Thanks, Tejaswi

Tejaswi-Goel commented 6 years ago

One workaround to resolve the opx-nas-init.service failed is to increase the timeout value to 180sec as during boot up the script is taking longer

jeff-yin commented 6 years ago

Fixed by https://github.com/open-switch/opx-platform-config/pull/56/commits and https://github.com/open-switch/opx-nas-daemon/pull/30