Menu

#2464 smf: try to wait for opensafd status before executing reboot

5.17.11
fixed
None
defect
smf
d
minor
False
2017-10-30
2017-05-19
No

There are cases when opensafd startup is still ongoing and SMF will send out a reboot command for a node. Because opensafd has taken a lock the reboot command will not be able to call opensafd stop. It is suggested that SMF tries to wait for the release of the lock with "opensafd status". The waiting time is short and SMF continues with reboot even if the lock is not released.

ticket [#2459] allows SMF to query the status of opensafd.

Related

Tickets: #2459
Wiki: ChangeLog-5.17.11

Discussion

  • Rafael Odzakow

    Rafael Odzakow - 2017-05-19
    • status: unassigned --> review
     
  • elunlen

    elunlen - 2017-06-21
    • Description has changed:

    Diff:

    --- old
    +++ new
    @@ -1,3 +1,3 @@
     There are cases when opensafd startup is still ongoing and SMF will send out a reboot command for a node. Because opensafd has taken a lock the reboot command will not be able to call opensafd stop. It is suggested that SMF tries to wait for the release of the lock with "opensafd status". The waiting time is short and SMF continues with reboot even if the lock is not released.
    
    -ticket #2459 allows SMF to query the status of opensafd. 
    +ticket [#2459] allows SMF to query the status of opensafd. 
    
     

    Related

    Tickets: #2459

  • elunlen

    elunlen - 2017-06-21

    This ticket should be invalidated because of new solution of ticket [#2459]?

     

    Related

    Tickets: #2459

  • Anders Widell

    Anders Widell - 2017-07-28
    • Milestone: 5.17.07 --> 5.17.10
     
  • Rafael Odzakow

    Rafael Odzakow - 2017-08-14
    • status: review --> wontfix
     
  • Rafael Odzakow

    Rafael Odzakow - 2017-08-14

    solved in base opensaf

    commit a051496719a3c862594af17d88b082031dd53b33 (ticket-2459)

     
  • Rafael Odzakow

    Rafael Odzakow - 2017-09-19
    • status: wontfix --> review
     
  • Rafael Odzakow

    Rafael Odzakow - 2017-09-19

    Seen again as protecting with mutexes and try again loops in opensafd nid script does not solve for when triggering node reboot as other services will be shutting down and causing unexpected errors.

     
  • Rafael Odzakow

    Rafael Odzakow - 2017-09-27
    • status: review --> fixed
     
  • Rafael Odzakow

    Rafael Odzakow - 2017-09-27

    commit f3ef8eebf44f0eab4dcc65f83fe3119a77ef5067 (HEAD -> develop, origin/develop)
    Author: Rafael Odzakow rafael.odzakow@ericsson.com
    Date: Mon Sep 25 13:52:03 2017 +0200

    smf: try to wait for opensafd status before reboot [#2464]
    
     

Log in to post a comment.