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

ommit c9ddf3e0e7855c4a124e49b96edcea9541990e0a (HEAD -> develop, origin/develop)
Author: thuan.tran <[email protected]>
Date:   Fri Mar 20 12:58:56 2020 +0700

    base: fix transportd fail to monitor dtmd [#3170]
    
    - Due to #3167 fix, sometimes get node unexpected reboot due to
    transportd fail to monitor dtmd. This is timming issue if dtmd
    create pid file with 0640 then chown to opensaf user. Then transportd
    see pid file right after created but fail to read it.
    - Keep old permissions, only change permissions after chown done.
    Also retry open fifo file if no such file error.





---

** [tickets:#3170] base: unexpected reboot due to transportd fail to monitor 
dtmd**

**Status:** fixed
**Milestone:** 5.20.05
**Created:** Fri Mar 20, 2020 05:53 AM UTC by Thuan Tran
**Last Updated:** Mon Mar 23, 2020 06:27 AM UTC
**Owner:** Thuan Tran


Sometimes node get unexpected reboot due to transportd fail to monitor dtmd.
It just happen recently after #3167 merged.

This is timming issue due to dtmd create pid file with 0640 then chown to 
opensaf user.
transportd may see pid file right after created but fail to read it.

~~~
2020-03-19 15:47:56.460 PL-3 osaftransportd[127]: Started
2020-03-19 15:47:56.461 PL-3 osafdtmd[124]: Started
2020-03-19 15:47:56.461 PL-3 opensafd[111]: NO Monitoring of TRANSPORT started
2020-03-19 15:47:56.461 PL-3 osaftransportd[127]: Rebooting OpenSAF NodeId = 0 
EE Name = No EE Mapped, Reason: osafdtmd failed to start, OwnNodeId = 0, 
SupervisionTime = 60
2020-03-19 15:47:56.461 PL-3 opensaf_reboot: Rebooting local node; timeout=60
~~~


---

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