I updated the fix patch resolving the duplicate issue.
Below: logging output after fixing the 2 unexpected logging:
~~~
Jun 24 07:57:05 SC-1 amf_demo[893]: Health check 62
Jun 24 07:57:10 SC-1 osafamfnd[315]: NO Shutdown initiated
Jun 24 07:57:10 SC-1 osafamfnd[315]: NO Removing assignments from AMF components
Jun 24 07:57:10 SC-1 osafamfnd[315]: NO Removing
'safSi=AmfDemo,safApp=AmfDemo1' from 'safSu=SU1,safSg=AmfDemo,safApp=AmfDemo1'
Jun 24 07:57:10 SC-1 amf_demo[893]: CSI Remove for
'safCsi=AmfDemo,safSi=AmfDemo,safApp=AmfDemo1'
Jun 24 07:57:10 SC-1 osafamfnd[315]: NO Removed 'safSi=AmfDemo,safApp=AmfDemo1'
from 'safSu=SU1,safSg=AmfDemo,safApp=AmfDemo1'
Jun 24 07:57:10 SC-1 osafamfnd[315]: NO Removed assignments from AMF components
Jun 24 07:57:10 SC-1 osafamfnd[315]: NO Terminating all AMF components
~~~
~~~
Jun 24 08:07:54 SC-1 amf_demo[1874]: Health check 11
Jun 24 08:08:02 SC-1 osafamfnd[1684]: NO Removing
'safSi=AmfDemo,safApp=AmfDemo1' from 'safSu=SU1,safSg=AmfDemo,safApp=AmfDemo1'
Jun 24 08:08:02 SC-1 amf_demo[1874]: CSI Remove for all CSIs
Jun 24 08:08:02 SC-1 osafamfnd[1684]: NO Removed
'safSi=AmfDemo,safApp=AmfDemo1' from 'safSu=SU1,safSg=AmfDemo,safApp=AmfDemo1'
Jun 24 08:08:04 SC-1 amf_demo[1874]: Health check 12
~~~
But I need to dig into more NPI removal workflows, there could be above logging
situations not yet covered
Attachments:
-
[amf_add_removing_si.patch](https://sourceforge.net/p/opensaf/tickets/_discuss/thread/bf5f541481/24d4/attachment/amf_add_removing_si.patch)
(1.1 kB; application/octet-stream)
---
**[tickets:#3400] amf: inconsistent logging when removing SI during opensaf
stopping**
**Status:** review
**Milestone:** 5.27.01
**Created:** Tue Jun 16, 2026 02:03 AM UTC by Thang Duc Nguyen
**Last Updated:** Tue Jun 23, 2026 09:26 AM UTC
**Owner:** Nguyen Tran Trung Hau
Deploy amf demo on the cluster. Stop opensafd service via systemctl. Log
printed in syslog
~~~
2026-06-16 01:49:27.997 SC-1 systemd[1]: Stopping OpenSAF daemon...
2026-06-16 01:49:28.014 SC-1 opensafd: Stopping OpenSAF Services
2026-06-16 01:49:28.016 SC-1 osafamfnd[287]: NO Shutdown initiated
2026-06-16 01:49:28.016 SC-1 osafamfnd[287]: NO Removing assignments from AMF
components
2026-06-16 01:49:28.016 SC-1 amf_demo[520]: CSI Remove for
'safCsi=AmfDemo,safSi=AmfDemo,safApp=AmfDemo1'
2026-06-16 01:49:28.016 SC-1 osafamfnd[287]: NO Removed
'safSi=AmfDemo,safApp=AmfDemo1' from 'safSu=SU1,safSg=AmfDemo,safApp=AmfDemo1'
2026-06-16 01:49:28.016 SC-1 osafamfnd[287]: NO Removed assignments from AMF
components
2026-06-16 01:49:28.016 SC-1 osafamfnd[287]: NO Terminating all AMF components
...
~~~
Only have 'Removed' SI. It should add a 'Removing' record as a pair, used for
troubleshooting.
---
Sent from sourceforge.net because [email protected] is
subscribed to https://sourceforge.net/p/opensaf/tickets/
To unsubscribe from further messages, a project admin can change settings at
https://sourceforge.net/p/opensaf/admin/tickets/options. Or, if this is a
mailing list, you can unsubscribe from the mailing list.
_______________________________________________
Opensaf-tickets mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/opensaf-tickets