[needs testing] fix #maintenance_mode? return value#149
[needs testing] fix #maintenance_mode? return value#149aspiers wants to merge 1 commit intocrowbar:masterfrom
Conversation
|
Not tested but LGTM |
See crowbar/barclamp-pacemaker#149 Not yet sure if this helps.
See crowbar/barclamp-pacemaker#149 Not yet sure if this helps.
See crowbar/barclamp-pacemaker#149 Not yet sure if this helps.
See crowbar/barclamp-pacemaker#149 Not yet sure if this helps.
See crowbar/barclamp-pacemaker#149 Not yet sure if this helps.
See crowbar/barclamp-pacemaker#149 Not yet sure if this helps.
See crowbar/barclamp-pacemaker#149 Not yet sure if this helps.
See crowbar/barclamp-pacemaker#149 Not yet sure if this helps.
See crowbar/barclamp-pacemaker#149 Not yet sure if this helps.
See crowbar/barclamp-pacemaker#149 Not yet sure if this helps.
See crowbar/barclamp-pacemaker#149 Not yet sure if this helps.
There is no strict need to start openais after the removal of /var/spool/corosync/block_automatic_start, as chef-client will start it.
There was a problem hiding this comment.
I really don't like multi-line unless - I find it more effort for the brain to understand.
|
This change is good but the commit message is wrong - it's not necessary for cluster startup. I think I got confused in Paris due to lack of sleep. |
54db896 to
7c5ffa9
Compare
|
OK commit message is correct now. |
Make #maintenance_mode? return a sensible value even when openais is down or uninstalled. This is especially helpful when it is invoked by Chef's start_handler.
7c5ffa9 to
bdbfbf1
Compare
|
@aspiers: has this been tested? Also, I'm a bit unclear in which case this actually matters, since I don't remember seeing anything wrong because of this. |
|
@vuntz I'll test again. It's just a cleaner way of handling the corner cases; I don't expect it will be hit except in rare circumstances. But I guess it might also result in cleaner logs. |
See crowbar/barclamp-pacemaker#149 Not yet sure if this helps.
|
@aspiers, this repository got merged into crowbar-ha. |
|
Superceded by crowbar/crowbar-ha#13 |
Make
#maintenance_mode?return a sensible value even when openais is down or uninstalled. This is especially helpful when it is invoked by Chef'sstart_handler.