Closed arlakshm closed 1 year ago
@byu343 could you comment on that?
This is because the credo driver assumes that its children resources (like ports) should be removed first through SAI API before the removal of switches, so the remove_switch in the log trace returns SAI_STATUS_OBJECT_IN_USE. Although it fails, it doesn't really affect the following steps of shutdown and the restart, so the log items can be ignored for now. Meanwhile we will try to investigate the fix that the remove_switch (implemented by credo driver) can recursively clean its children.
The error in removeAllSwitches() has been fixed on the latest source code. The version of the binary (in https://github.com/sonic-net/sonic-buildimage/blob/master/platform/components/docker-gbsyncd-credo.mk) needs to upgraded to absorb the fix.
The following gbsyncd errors are seen on syncd shutdown. I think these are beign errors, please check