- **status**: review --> fixed
- **Comment**:

commit 4bb1251589c5ccfab166b7dc69a4419f9e80571d (HEAD -> develop, 
origin/develop, ticket-3158)
Author: thuan.tran <[email protected]>
Date:   Thu Feb 20 18:02:29 2020 +0700

    osaf: fix etcd3.plugin watch takeover_request [#3158]
    
    After reject a takeover_request, value is cleaned after a lease time
    then it mistaken raise a change value become empty. It leads to osafrded
    handle and reboot itself as lost connectivity to consensus.





---

** [tickets:#3158] osaf: etcd3.plugin watch takeover_request return empty 
value**

**Status:** fixed
**Milestone:** 5.20.05
**Created:** Fri Feb 21, 2020 01:56 AM UTC by Thuan Tran
**Last Updated:** Fri Feb 21, 2020 02:28 AM UTC
**Owner:** Thuan Tran


After reject takeover_request with lease grant, the value is cleaned after a 
timeout.
Then current etcd3.plugin return as value change (become emtpy) for watch 
takeover_request.
It leads to osafrded later handle this wrong takeover_request and reboot itself.
~~~
2020-02-18 15:23:10.809 SC-1 osafamfd[345]: NO Node 'SC-2' is down. Start 
failover delay timer
2020-02-18 15:23:10.809 SC-1 osafamfd[345]: NO Start timer for '2020f'
2020-02-18 15:23:10.923 SC-1 osafrded[151]: NO TakeoverResult: SC-1 SC-2 1 
REJECTED
2020-02-18 15:23:13.095 SC-1 kernel:[345547.092961] device vethOPK45W left 
promiscuous mode
2020-02-18 15:23:13.095 SC-1 kernel:[345547.092966] lxcbr0: port 2(vethOPK45W) 
entered disabled state
2020-02-18 15:23:31.507 SC-1 osafrded[151]: NO Empty takeover request from 
watch command. Read it again.
2020-02-18 15:23:34.652 SC-1 osafrded[151]: NO Lost connectivity to consensus 
service
2020-02-18 15:23:34.652 SC-1 osafrded[151]: Quick local node rebooting, Reason: 
Lost connectivity to consensus service. Rebooting this node
2020-02-18 15:23:34.683 SC-1 opensaf_reboot: Do quick local node reboot
~~~


---

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