Skip to content

Commit

Permalink
Merge pull request #2342 from wenningerk/crm_mon_connect_while_shutti…
Browse files Browse the repository at this point in the history
…ng_down

[WIP] Fix: crm_mon: try to connect CIB while pacemakerd shutting down
  • Loading branch information
kgaillot authored Apr 12, 2021
2 parents 6c31efd + 49ebe4c commit f2d8a3d
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions tools/crm_mon.c
Original file line number Diff line number Diff line change
Expand Up @@ -1014,6 +1014,8 @@ pacemakerd_status(void)
break;
case pcmk_pacemakerd_state_shutting_down:
out->info(out,"Pacemaker daemons shutting down ...");
/* try our luck maybe CIB is still accessible */
rc = pcmk_rc_ok;
break;
case pcmk_pacemakerd_state_shutdown_complete:
/* assuming pacemakerd doesn't dispatch any pings after entering
Expand Down

0 comments on commit f2d8a3d

Please sign in to comment.