Hi Son Tran Ngoc,
I am trying to reproduce the issue using iptable by removing and adding ip 
rules. I am not able to reproduce the issue. 
I tried this iptable rule to block the traffic:
iptables -I INPUT -s 192.168.56.122 -j DROP
I tried this iptable rule to allow the traffic again:
iptables --delete INPUT 1

syslog of pl-4:
Oct  7 12:39:47 pl3-VirtualBox osafimmnd[23011]: NO SERVER STATE: 
IMM_SERVER_SYNC_PENDING --> IMM_SERVER_SYNC_CLIENT
Oct  7 12:39:50 pl3-VirtualBox osafdtmd[22985]: ER recv() from node 0x2010f 
failed, errno=110
Oct  7 12:39:50 pl3-VirtualBox osafdtmd[22985]: NO Lost contact with 'SC-1'
Oct  7 12:39:50 pl3-VirtualBox osafimmnd[23011]: ER No IMMD service => cluster 
restart, exiting
Oct  7 12:39:50 pl3-VirtualBox opensafd[22972]: ER Failed #012 DESC:IMMND
Oct  7 12:39:50 pl3-VirtualBox opensafd[22972]: ER Going for recovery
Oct  7 12:39:50 pl3-VirtualBox opensafd[22972]: ER Trying To RESPAWN 
/usr/local/lib/opensaf/clc-cli/osaf-immnd attempt #1
Oct  7 12:39:50 pl3-VirtualBox osafdtmd[22985]: NO Established contact with 
'SC-1'

Can you please let me know how to block traffic between SC1 and PL4  at IMM 
State : IMM_SERVER_SYNC_PENDING --> IMM_SERVER_SYNC_CLIENT
Thanks
Mohan


---

** [tickets:#3323] imm: PL sync failed after reconnected with SC**

**Status:** assigned
**Milestone:** 5.22.11
**Created:** Wed Oct 05, 2022 09:37 AM UTC by Son Tran Ngoc
**Last Updated:** Wed Oct 05, 2022 09:41 AM UTC
**Owner:** Son Tran Ngoc


Active SC1 and PL4 lost connect suddenly ( may be due to the environment 
reason),they re-established contact but PL4 sync failed due to PL4 did not 
update active SC1 information and discard message from IMMD SC1
PL4 sync failed log
2022-09-22 04:07:05.230 DEBUG: Syncing node PL-4 (timeout=120)
2022-09-22 04:08:06.325 WARNING: waiting more than 60 sec for node PL-4 to sync

PL4 discard message from SC1 log
2022-09-22 04:07:08.406 PL-4 osafimmnd[354]: WA DISCARD message from IMMD 2010f 
as ACT:0 SBY:2020f
2022-09-22 04:07:09.013 PL-4 osafimmnd[354]: message repeated 243 times: [ WA 
DISCARD message from IMMD 2010f as ACT:0 SBY:2020f]
step to reproduce.
1.start SCs, PLs.
2.Block traffic SC1 and PL4 ( make sure block traffic after IMM State : 
IMM_SERVER_SYNC_PENDING --> IMM_SERVER_SYNC_CLIENT ).
3.Unblock traffic SC1 and PL4.


---

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

Reply via email to