Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[UNTESTED] ensure mongodb is installed/configured before clustering (bsc#944417) #19

Closed
wants to merge 1 commit into from

Conversation

aspiers
Copy link
Member

@aspiers aspiers commented Sep 4, 2015

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

@vuntz
Copy link
Member

vuntz commented Sep 7, 2015

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 :/

@aspiers
Copy link
Member Author

aspiers commented Sep 7, 2015

@vuntz Simple - we should add Crowbar validation to prevent clusters with even numbers of nodes > 2.

@aspiers
Copy link
Member Author

aspiers commented Sep 7, 2015

@vuntz How about something like this? crowbar/crowbar-ha#18

# will have all the required packages installed and configured before
# we create the pacemaker resources
crowbar_pacemaker_sync_mark "sync-mongodb_before_ha"

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can you move it inside the if ha_enabled block?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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
@aspiers
Copy link
Member Author

aspiers commented Dec 16, 2015

@vuntz Thoughts on what we should do with this one?

@vuntz
Copy link
Member

vuntz commented Feb 9, 2016

@aspiers we should get it in.

@aspiers
Copy link
Member Author

aspiers commented Feb 11, 2016

@vuntz Agreed.

@aspiers aspiers added this to the SOC6 milestone Feb 11, 2016
@vuntz vuntz removed this from the SOC6 milestone Feb 18, 2016
@matelakat
Copy link
Contributor

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.

rsalevsky pushed a commit to rsalevsky/crowbar-openstack that referenced this pull request Mar 3, 2017
jgrassler pushed a commit to jgrassler/crowbar-openstack that referenced this pull request Mar 27, 2017
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.
jgrassler pushed a commit to jgrassler/crowbar-openstack that referenced this pull request Mar 29, 2017
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.
jgrassler pushed a commit to jgrassler/crowbar-openstack that referenced this pull request Mar 30, 2017
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.
jgrassler pushed a commit to jgrassler/crowbar-openstack that referenced this pull request Mar 30, 2017
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.
jgrassler pushed a commit to jgrassler/crowbar-openstack that referenced this pull request Mar 30, 2017
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.
@shimizuf shimizuf mentioned this pull request Nov 14, 2017
@rsalevsky
Copy link
Member

MongoDB got removed in C8

@rsalevsky rsalevsky closed this Mar 2, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

6 participants