[UNTESTED] ensure mongodb is installed/configured before clustering (bsc#944417)#19
[UNTESTED] ensure mongodb is installed/configured before clustering (bsc#944417)#19aspiers wants to merge 1 commit intocrowbar:masterfrom
Conversation
|
Actually, it's not perfect as, as discussed on Friday, this will not work if the cluster has 4 nodes (since the mongodb bit will only run on 3 nodes, and the sync mark will block forever). I don't have a good idea on how to fix this :/ |
|
@vuntz Simple - we should add Crowbar validation to prevent clusters with even numbers of nodes > 2. |
|
@vuntz How about something like this? crowbar/crowbar-ha#18 |
There was a problem hiding this comment.
Can you move it inside the if ha_enabled block?
There was a problem hiding this comment.
Technically that's not necessary since the sync_mark primitives are a nop if there is no cluster, but yeah, I agree that's nicer - done.
Just like with all other HA OpenStack resources, we need to prevent the resources being configured in Pacemaker before we know that all nodes have the necessary packages installed and correctly configured. This was one of the lessons learnt during analysis of: https://bugzilla.suse.com/show_bug.cgi?id=944417
797e2de to
3fce365
Compare
|
@vuntz Thoughts on what we should do with this one? |
|
@aspiers we should get it in. |
|
@vuntz Agreed. |
|
What's the story with this PR? It's quite old, and no activity on it for a long time? If it's no longer valid, please close it. Thanks. |
travis: Use rake < 12.0.0
Enforce skip_enable option for monasca_setup 'skip_enable' option controls the creation of systemd service file for Monasca Agent. The service file is created in RPM package, so the option has to be enabled here.
Enforce skip_enable option for monasca_setup 'skip_enable' option controls the creation of systemd service file for Monasca Agent. The service file is created in RPM package, so the option has to be enabled here.
Enforce skip_enable option for monasca_setup 'skip_enable' option controls the creation of systemd service file for Monasca Agent. The service file is created in RPM package, so the option has to be enabled here.
Enforce skip_enable option for monasca_setup 'skip_enable' option controls the creation of systemd service file for Monasca Agent. The service file is created in RPM package, so the option has to be enabled here.
Enforce skip_enable option for monasca_setup 'skip_enable' option controls the creation of systemd service file for Monasca Agent. The service file is created in RPM package, so the option has to be enabled here.
|
MongoDB got removed in C8 |
Just like with all other HA OpenStack resources, we need to prevent the resources being configured in Pacemaker before we know that all nodes have the necessary packages installed and correctly configured.
This was one of the lessons learnt during analysis of:
https://bugzilla.suse.com/show_bug.cgi?id=944417