commit 876c9eb232f19de8ef8c5ddd1b3dcce4b1b4a8b3 (HEAD -> develop,
origin/develop, origin_develop)
Author: hieu.h.hoang <[email protected]>
Date: Thu Sep 9 17:55:54 2021 +0700
amfd: Correct checking CSICOMP while deleting CSI [#3282]
Checking CSICOMP while deleting CSI could be failed in the following 2N
model:
- A SI have more than one CSI.
- A SU assigned to that SI but it doesn't install some COMPs related to
above CSI.
Therefore, some CSICOMPs will miss in that SU.
When deleting a CSI, just check the number of CSICOMP which it has
assignment.
---
** [tickets:#3282] amfd: coredump while deleting csi**
**Status:** review
**Milestone:** 5.21.12
**Created:** Thu Sep 09, 2021 03:11 AM UTC by Hieu Hong Hoang
**Last Updated:** Wed Sep 15, 2021 07:07 AM UTC
**Owner:** Hieu Hong Hoang
**Attachments:**
- [bt.SC-1](https://sourceforge.net/p/opensaf/tickets/3282/attachment/bt.SC-1)
(10.7 kB; application/octet-stream)
When a service unit assigns to a service instance which doesn't support all
component service instances of that service instance, amfd will failed to
delete those unsupported component service instances.
For example: An application have two SU and one SI configured as below
~~~
SU1 contains COMP_A and COMP_B
SU2 contains COMP_A
SI1 have CSI_A and CSI_B
COMP_A supports CSI_A, COMP_B supports CSI_B.
~~~
After opensaf assign SI1 to SU1 and SU2, amfd will crash if we delete the
CSI_B.
~~~
2021-09-07 11:32:21.213 SC-1 osafimmnd[376]: NO Ccb 23 COMMITTED
(immcfg_SC-1_1562)
2021-09-07 11:32:21.213 SC-1 osafamfd[439]: src/amf/amfd/csi.cc:945:
ccb_apply_delete_hdlr: Assertion 't_csicomp' failed.
2021-09-07 11:32:21.305 SC-1 osafamfnd[459]: ER AMFD has unexpectedly crashed.
Rebooting node
~~~
---
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