- **private**: Yes --> No
---
** [tickets:#1820] imm: Veteran IMMND crashes when verifying dying adm owner**
**Status:** fixed
**Milestone:** 4.7.2
**Created:** Tue May 10, 2016 11:20 AM UTC by Hung Nguyen
**Last Updated:** Mon Jul 08, 2019 12:03 AM UTC
**Owner:** Hung Nguyen
A2ND_SYNC_FINALIZE is sent directly from sync process to coord IMMND.
ADMO_HARD_FINALIZE is broadcasted to all IMMND over fevs.
There's a chance that the coord receives admo-hard-finalize message after
generating the sync-finalize message while the veterans receive
admo-hard-finalize message before sync-finalize message.
That results in some admo are marked as dying on veteran IMMND but not in coord.
~~~
02:23:52 SC-1 osafimmnd[16257]: WA Postponing hard delete of admin owner with
id:154 when imm is not writable state
02:23:52 SC-1 osafimmnd[16257]: ER Sync-verify: Established node has different
isDying flag (1) for AdminOwner ABC, should be 0.
02:23:52 PL-3 osafimmnd[24743]: WA Postponing hard delete of admin owner with
id:154 when imm is not writable state
02:23:52 PL-3 osafimmnd[24743]: ER Sync-verify: Established node has different
isDying flag (1) for AdminOwner ABC, should be 0.
02:23:52 PL-5 osafimmnd[27437]: WA Postponing hard delete of admin owner with
id:154 when imm is not writable state
02:23:52 PL-5 osafimmnd[27437]: ER Sync-verify: Established node has different
isDying flag (1) for AdminOwner ABC, should be 0.
~~~
---
### Reproduce:
On the coord node, create a gdb script 'test.gdb' like this.
Replace 'SC-2' with a veteran node.
~~~
break immnd_evt_proc_sync_finalize
commands
shell ssh SC-2 pkill -9 immcfg
shell sleep 2
continue
end
continue
~~~
run gdb on coord
~~~
root@SC-1:~# gdb --command=test.gdb /usr/local/lib/opensaf/osafimmnd `pidof
osafimmnd`
~~~
On the veteran node, run immcfg in explicit commit mode and leave it there to
create an admo.
~~~
root@SC-2:~# immcfg
>
~~~
Now let a node join the cluster, the veteran IMMND will crash.
You may need to configure opensaf with -O0 to make gdb work correctly.
./configure CFLAGS='-g -O0' CXXFLAGS='-g -O0'
---
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