- **summary**: imm: CCB operations fail after SC absence --> imm: CCB
operations fail after SC absence (Headless)
- **Comment**:
Added "headless" clarification because "AC absence" can be missunderstood as
just one (out of normally two) SCs being absent.
---
** [tickets:#2323] imm: CCB operations fail after SC absence (Headless)**
**Status:** review
**Milestone:** 5.0.2
**Created:** Thu Feb 23, 2017 03:36 PM UTC by Hung Nguyen
**Last Updated:** Wed Mar 01, 2017 07:04 AM UTC
**Owner:** Hung Nguyen
**Attachments:**
-
[logs_n_traces.tgz](https://sourceforge.net/p/opensaf/tickets/2323/attachment/logs_n_traces.tgz)
(658.6 kB; application/gzip)
Reproduce steps:
~~~
1. Start SC-1
2. Commit some CCBs
# immcfg -c Test test=0
# immcfg -c Test test=1
# immcfg -c Test test=2
# immcfg -c Test test=3
3. Start PL-3
4. Restart SC-1
5. When SC-1 is back, it fails to add operations to CCB
# immcfg -c Test test=10
error - saImmOmCcbObjectCreate_2 FAILED with SA_AIS_ERR_FAILED_OPERATION
(21)
OI reports: IMM: Resource abort: CCB is not in an expected state
error - saImmOmCcbApply FAILED: SA_AIS_ERR_FAILED_OPERATION (21)
OI reports: IMM: Resource abort: CCB is not in an expected state
~~~
**cb->mLatestCcbId** was not updated on PL-3 when it joined the cluster so it
still had value of zero.
When SC-1 was back from headless, IMMND on PL-3 sent re-introduce message to
IMMD on SC-1 with **cb->mLatestCcbId = 0**.
IMMD failed to update **cb->ccb_id_count** so when new CCB is created, it will
start from **0+1** instead of **mLatestCcbId + 1**.
That results in the conflict with the CCB in **sCcbVector** and the CCB
operation failure.
Attached is logs and traces.
---
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.------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, SlashDot.org! http://sdm.link/slashdot
_______________________________________________
Opensaf-tickets mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/opensaf-tickets