Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[chassis] Arista reboot cause service failing after conversion #115

Open
arlakshm opened this issue Dec 11, 2024 · 1 comment
Open

[chassis] Arista reboot cause service failing after conversion #115

arlakshm opened this issue Dec 11, 2024 · 1 comment

Comments

@arlakshm
Copy link

We converted Arista 7808 from EOS to SONiC using the chassis_eos2sonic.py script. After conversion we see the arista reboot cause service is failing

admin@str3-7800-lc5-1:~$ systemctl list-units --state=failed
  UNIT                                 LOAD   ACTIVE SUB    DESCRIPTION
● platform-arista-reboot-cause.service loaded failed failed Arista reboot cause processing

LOAD   = Reflects whether the unit definition was properly loaded.
ACTIVE = The high-level unit activation state, i.e. generalization of SUB.
SUB    = The low-level unit activation state, values depend on unit type.
1 loaded units listed.
admin@str3-7800-lc5-1:~$ sudo systemctl status platform-arista-reboot-cause.service
× platform-arista-reboot-cause.service - Arista reboot cause processing
     Loaded: loaded (/lib/systemd/system/platform-arista-reboot-cause.service; enabled; preset: enabled)
     Active: failed (Result: exit-code) since Wed 2024-12-11 01:36:36 UTC; 12min ago
   Main PID: 1291 (code=exited, status=1/FAILURE)

Dec 11 01:36:36 sonic arista[1291]:            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Dec 11 01:36:36 sonic arista[1291]:   File "/usr/lib/python3/dist-packages/arista/utils/rpc/client.py", line 118, in _doGetCommandResponse
Dec 11 01:36:36 sonic arista[1291]:     return self._processResponse(responseStr, uid)
Dec 11 01:36:36 sonic arista[1291]:            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Dec 11 01:36:36 sonic arista[1291]:   File "/usr/lib/python3/dist-packages/arista/utils/rpc/client.py", line 105, in _processResponse
Dec 11 01:36:36 sonic arista[1291]:     raise RpcServerException(response['error'])
Dec 11 01:36:36 sonic arista[1291]: arista.utils.rpc.client.RpcServerException: {'code': -1, 'message': 'Storing reboot cause without loading them first'}
Dec 11 01:36:36 sonic systemd[1]: platform-arista-reboot-cause.service: Main process exited, code=exited, status=1/FAILURE
Dec 11 01:36:36 sonic systemd[1]: platform-arista-reboot-cause.service: Failed with result 'exit-code'.
Dec 11 01:36:36 sonic systemd[1]: Failed to start platform-arista-reboot-cause.service - Arista reboot cause processing.
@arlakshm
Copy link
Author

@patrickmacarthur for viz..

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant