Skip to content

swss service crash, possibly when syncd is restarted? #6

Description

@bluecmd

Or maybe it's irrelevant? Log is this anyway:

Feb 17 02:48:36 ixp-lab-sw2 systemd[1]: Started switch state service.
Feb 17 02:48:37 ixp-lab-sw2 swss.sh[2753]: Failed to start dhcp_relay.service: Unit dhcp_relay.service is masked.
Feb 17 03:12:42 ixp-lab-sw2 swss.sh[2782]: Exception in thread Thread-2:
Feb 17 03:12:42 ixp-lab-sw2 swss.sh[2782]: Traceback (most recent call last):
Feb 17 03:12:42 ixp-lab-sw2 swss.sh[2782]:   File "/usr/lib/python3.9/threading.py", line 954, in _bootstrap_inner
Feb 17 03:12:42 ixp-lab-sw2 swss.sh[2782]:     self.run()
Feb 17 03:12:42 ixp-lab-sw2 swss.sh[2782]:   File "/usr/lib/python3.9/threading.py", line 892, in run
Feb 17 03:12:42 ixp-lab-sw2 swss.sh[2782]:     self._target(*self._args, **self._kwargs)
Feb 17 03:12:42 ixp-lab-sw2 swss.sh[2782]:   File "/usr/bin/docker-wait-any", line 61, in wait_for_container
Feb 17 03:12:42 ixp-lab-sw2 swss.sh[2782]:     log.log_warn("No longer waiting on container '{}', exit code of container was '{}'".format(container_name, exit_code))
Feb 17 03:12:42 ixp-lab-sw2 swss.sh[2782]: AttributeError: 'Logger' object has no attribute 'log_warn'
Feb 17 03:12:53 ixp-lab-sw2 swss.sh[2782]: Exception in thread Thread-1:
Feb 17 03:12:53 ixp-lab-sw2 swss.sh[2782]: Traceback (most recent call last):
Feb 17 03:12:53 ixp-lab-sw2 swss.sh[2782]:   File "/usr/lib/python3.9/threading.py", line 954, in _bootstrap_inner
Feb 17 03:12:53 ixp-lab-sw2 swss.sh[2782]:     self.run()
Feb 17 03:12:53 ixp-lab-sw2 swss.sh[2782]:   File "/usr/lib/python3.9/threading.py", line 892, in run
Feb 17 03:12:53 ixp-lab-sw2 swss.sh[2782]:     self._target(*self._args, **self._kwargs)
Feb 17 03:12:53 ixp-lab-sw2 swss.sh[2782]:   File "/usr/bin/docker-wait-any", line 61, in wait_for_container
Feb 17 03:12:53 ixp-lab-sw2 swss.sh[2782]:     log.log_warn("No longer waiting on container '{}', exit code of container was '{}'".format(container_name, exit_code))
Feb 17 03:12:53 ixp-lab-sw2 swss.sh[2782]: AttributeError: 'Logger' object has no attribute 'log_warn'

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions