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

Add master config hook for 3.4 upgrade and fix facts ordering #2989

Merged
merged 1 commit into from
Dec 16, 2016

Conversation

abutcher
Copy link
Member

@abutcher abutcher commented Dec 16, 2016

When the openshift_master_facts role runs, it reads in openshift_master_admission_plugin_config and openshift_master_kube_admission_plugin_config. A subsequent run of openshift_facts merges these two dictionaries by migrating local facts.

So, when the openshift_master_facts role was added to the control plane upgrade right before we update the master config, these two facts were getting reset and weren't merged (because openshift_facts wasn't ran afterwards). This is extremely brittle but re-ordering roles around upgrade resolves the issue. Also, a master_config_hook wasn't getting set for the 3.4 upgrade. This has been added.

@abutcher abutcher force-pushed the 3.4-master-config-hook branch from 23cd4f5 to 5d731d0 Compare December 16, 2016 21:32
@abutcher abutcher requested a review from sdodson December 16, 2016 21:55
@sdodson sdodson merged commit b8109cd into openshift:master Dec 16, 2016
@sdodson sdodson mentioned this pull request Dec 16, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants