summaryrefslogtreecommitdiffstats
path: root/playbooks/common/openshift-cluster
Commit message (Collapse)AuthorAgeFilesLines
...
* | Reload docker facts after upgrading dockerScott Dodson2016-08-301-0/+4
| |
* | Remove atomic check and cockpit.socketSamuel Munilla2016-08-262-2/+2
| |
* | Re-organize registry-console deployment.Andrew Butcher2016-08-262-2/+3
| |
* | Add support for Atomic Registry InstallsSamuel Munilla2016-08-261-1/+3
| | | | | | | | Add the Registry deployment subtype as an option in the quick installer.
* | Merge pull request #2052 from sdodson/metricsScott Dodson2016-08-252-1/+27
|\ \ | | | | | | Metrics improvements
| * | Deploy metrics after our routerScott Dodson2016-08-241-1/+1
| | | | | | | | | | | | | | | Metrics deployer now checks for route activation. As such we need a router before we install metrics.
| * | [tags] add some support for running a subset of config via tagsJason DeTiberus2016-08-242-0/+26
| | |
* | | Merge pull request #2337 from mkumatag/rm_dup_flannel_regAndrew Butcher2016-08-251-10/+0
|\ \ \ | | | | | | | | Remove duplicate flannel registration
| * | | Fix review commentsManjunath A Kumatagi2016-08-221-8/+2
| | | |
| * | | Remove duplicate flannel registrationManjunath A Kumatagi2016-08-211-4/+0
| | | |
* | | | Fix upgrade failure when master-config does not have pluginOrderOverride.Devan Goodwin2016-08-241-0/+1
| |/ / |/| |
* | | Merge pull request #2339 from dgoodwin/plugin-order-warningScott Dodson2016-08-231-0/+13
|\ \ \ | | | | | | | | Add warning at end of 3.3 upgrade if pluginOrderOverride is found.
| * | | Add warning at end of 3.3 upgrade if pluginOrderOverride is found.Devan Goodwin2016-08-221-0/+13
| | |/ | |/|
* | | Don't run node config upgrade hook if host is not a node.Devan Goodwin2016-08-231-1/+1
| | |
* | | Fix the “node on master” featureLénaïc Huard2016-08-191-1/+1
| |/ |/| | | | | | | | | | | | | | | | | | | | | | | What we want to do is to add the master as a node if: * `g_nodeonmaster` is set to true, and * we are not in the case where we want to add new nodes. The second test was done by only checking whether `g_new_node_hosts` was defined. This was wrong because, in all cloud-provider setups, this variable was set with the default value of “empty list” (`[]`). The test has been changed to use the `bool` filter so that it correctly evaluates to false (and hence, effectively add the master as a node) when `g_new_node_hosts` is the empty list.
* | Reconcile roles after master upgrade, but before nodes.Devan Goodwin2016-08-161-43/+46
|/ | | | | | | | | | Prevents the network egress bug causing node restart to fail during 3.3 upgrade. (even though a separate fix is incoming for this) Only catch is preventing the openshift_cli role, which requires docker, from triggering a potential upgrade, which we still don't want at this point. To avoid we use the same variable to protect docker installed version as we use in pre.yml.
* Reference tmpdir from first master hostvars when evacuating nodes.Andrew Butcher2016-08-111-4/+4
|
* Merge pull request #2285 from dgoodwin/nuke-images-2Scott Dodson2016-08-114-20/+59
|\ | | | | Improvements for Docker 1.10+ Upgrade Image Nuking
| * Improvements for Docker 1.10+ upgrade image nuking.Devan Goodwin2016-08-114-20/+55
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | In a parallel step prior to real upgrade tasks, clear out all unused Docker images on all hosts. This should be relatively safe to interrupt as no real upgrade steps have taken place. Once into actual upgrade, we again clear all images only this time with force, and after stopping and removing all containers. Both rmi commands use a new and hopefully less error prone command to do the removal, this should avoid missed orphans as we were hitting before. Added some logging around the current image count before and after this step, most of them are only printed if we're crossing the 1.10 boundary but one does not, just for additional information in your ansible log.
| * Shutdown Docker before upgrading the rpm.Devan Goodwin2016-08-101-0/+4
| | | | | | | | | | This avoids the automatic image migration in 1.10, which can take a very long time and potentially cause rpm db corruption.
* | Support for redeploying certificates.Andrew Butcher2016-08-111-0/+245
|/
* Merge pull request #2211 from dgoodwin/33-upgrade-playbookScott Dodson2016-08-0828-65/+127
|\ | | | | 1.3 / 3.3 Upgrades
| * Migrate ca.crt to ca-bundle.crtScott Dodson2016-08-081-0/+25
| |
| * Upgrade configs for protobuf support.Devan Goodwin2016-08-083-0/+66
| |
| * Introduce 1.3/3.3 upgrade path.Devan Goodwin2016-07-2526-65/+36
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Refactored the 3.2 upgrade common files out to a path that does not indicate they are strictly for 3.2. 3.3 upgrade then becomes a relatively small copy of the byo entry point, all calling the same code as 3.2 upgrade. Thus far there are no known 3.3 specific upgrade tasks. In future we will likely want to allow hooks out to version specific pre/upgrade/post tasks. Also fixes a bug where the handlers were not restarting nodes/openvswitch containers doing upgrades, due to a change in Ansible 2+.
* | Move role dependencies to playbooks.Andrew Butcher2016-07-291-0/+23
| |
* | remove outdated openshift_cluster_metrics roleJason DeTiberus2016-07-251-2/+0
| |
* | Add missing nuke_images.sh symlink.Devan Goodwin2016-07-221-0/+1
|/
* Merge pull request #2168 from dgoodwin/container-cli-speedScott Dodson2016-07-211-0/+2
|\ | | | | Copy openshift binary instead of using wrapper script.
| * Stop reporting changes when docker pull is already up to date.Devan Goodwin2016-07-201-0/+2
| |
* | Check ansible version prior to evaluating cluster hosts and groups.Andrew Butcher2016-07-201-0/+10
| |
* | Merge pull request #2175 from dgoodwin/origin-12-rpm-upgradeScott Dodson2016-07-191-2/+6
|\ \ | | | | | | Fix bugs with origin 1.2 rpm based upgrades.
| * | Fix bugs with origin 1.2 rpm based upgrades.Devan Goodwin2016-07-191-2/+6
| |/
* | Merge pull request #2174 from dgoodwin/skip-docker-upgrade-atomicScott Dodson2016-07-191-2/+2
|\ \ | | | | | | Skip docker upgrades on Atomic.
| * | Skip docker upgrades on Atomic.Devan Goodwin2016-07-191-2/+2
| |/
* / Resolve some deprecation warnings.Andrew Butcher2016-07-181-1/+1
|/
* Merge remote-tracking branch 'upstream/master' into upgrade33Devan Goodwin2016-07-141-15/+3
|\
| * Various hosted component improvementsAndrew Butcher2016-07-071-15/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | * [openshift_projects] Add openshift_projects role * [openshift_hosted] hosted deployments use openshift_hosted_infra_selector if openshift_hosted_<component>_selector is not defined * [openshift_hosted] move openshift_projects, openshift_serviceaccounts and openshift_metrics to dependencies of openshift_hosted * [router] improve router deployment - add router option to force subdomain - add CA to router certificate options * [registry] move registry config into openshift_hosted role - additional registry fixes/tweaks - add s3 storage support for registry * [serviceaccount] fix up serviceaccount creation
* | Fix upgrades with an openshift_image_tag set.Devan Goodwin2016-07-121-1/+1
| |
* | Remove/update TODOs.Devan Goodwin2016-07-081-1/+2
| |
* | Remove all debug used during devel of openshift_version.Devan Goodwin2016-07-082-15/+0
| |
* | Merge branch 'aoi-32-up' into upgrade33Devan Goodwin2016-07-082-1/+6
|\|
| * Merge pull request #1969 from detiber/libvirtJason DeTiberus2016-07-051-0/+5
| |\ | | | | | | Libvirt provider fixes
| | * Fix bin/cluster libvirt related errorJason DeTiberus2016-06-011-0/+5
| | |
| * | Fix dnf variant of rpm_versions.shScott Dodson2016-07-051-1/+1
| | |
* | | Move repoquery fact definition to openshift_common.Devan Goodwin2016-07-071-3/+0
| | |
* | | Add symlinks for node templates.Devan Goodwin2016-07-044-0/+4
| | | | | | | | | | | | | | | | | | | | | This is an unfortunate side effect of including a role yaml file in a playbook, ideally we would just run the full node role here. For now we'll follow the lead for the master template.
* | | Update repoquery_cmd definitions to match latest in master.Devan Goodwin2016-07-041-1/+1
| | |
* | | Merge branch 'master' into upgrade33Devan Goodwin2016-07-043-11/+16
|\| |
| * | Merge pull request #2097 from sdodson/repoqueryScott Dodson2016-06-291-3/+7
| |\ \ | | | | | | | | Switch to repoquery, enable plugins for satellite support