summaryrefslogtreecommitdiffstats
path: root/playbooks/common/openshift-cluster
Commit message (Collapse)AuthorAgeFilesLines
* Remove old upgrade playbooks.Devan Goodwin2016-06-153-898/+0
|
* Always populate openshift_image_tag and openshift_pkg_version.Devan Goodwin2016-06-152-23/+1
| | | | | Allows the use of arbitrary tags, precise control over containers and rpms, and likely mixed environments.
* Remove the use of the upgrading variable.Devan Goodwin2016-06-132-2/+0
|
* Don't be specific about rpm version to upgrade to for now.Devan Goodwin2016-06-131-1/+2
|
* Restore 3.2 RPM version check before upgrading.Devan Goodwin2016-06-131-2/+17
|
* Merge remote-tracking branch 'upstream/master' into upgrade33Devan Goodwin2016-06-132-3/+17
|\
| * Remove Docker 1.10 requirement temporarily.Devan Goodwin2016-06-102-3/+17
| | | | | | | | | | | | Docker 1.10 is not widely available in RHEL / CentOS yet, lets remove the restriction for users of master / origin. We can revert as soon as it's available publically.
* | Temporary fix for upgrading issue.Devan Goodwin2016-06-101-0/+1
| |
* | Merge branch 'master' into upgrade33Devan Goodwin2016-06-102-18/+3
|\|
| * Merge pull request #2005 from brenton/bz1338726Brenton Leanhardt2016-06-092-18/+3
| |\ | | | | | | Bug 1338726 - never abort install if the latest version of docker is already installed
| | * Docker 1.10 UpgradeDevan Goodwin2016-06-032-18/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Adds a separate playbook for Docker 1.10 upgrade that can be run standalone on a pre-existing 3.2 cluster. The upgrade will take each node out of rotation, and remove *all* containers and images on it, as this is reportedly faster and more storage efficient than performing the in place 1.10 upgrade. This process is integrated into the 3.1 to 3.2 upgrade process. Normal config playbooks now become 3.2 only, and require Docker 1.10. Users of older environments will have to use an appropriate openshift-ansible version. Config playbooks no longer are in the business of upgrading or downgrading docker.
* | | Fix version unset bug, and set common ver fact on containerized nodes.Devan Goodwin2016-06-101-1/+0
| | |
* | | Fix missing openshift.common.version fact on containerized nodes.Devan Goodwin2016-06-101-0/+2
| | |
* | | Merge remote-tracking branch 'upstream/master' into upgrade33Devan Goodwin2016-06-093-5/+5
|\| |
| * | Use unique play names to make things easier to debugScott Dodson2016-06-073-5/+5
| |/
* | Begin major simplification of 3.2 upgrade.Devan Goodwin2016-06-091-73/+24
| |
* | Respect image tag/pkg version during upgrade.Devan Goodwin2016-06-072-8/+12
| |
* | Force version to latest 3.2 during upgrade.Devan Goodwin2016-06-072-2/+4
| |
* | Verify openshift_release is correct or absent in inventory before upgrade.Devan Goodwin2016-06-071-4/+20
| |
* | Do not install rpm for version in openshift_version role.Devan Goodwin2016-06-061-4/+0
| |
* | Merge remote-tracking branch 'upstream/master' into upgrade33Devan Goodwin2016-06-062-23/+27
|\|
| * Merge pull request #1957 from jfcoz/metrics_wait_deployerJason DeTiberus2016-06-012-22/+24
| |\ | | | | | | wait metrics-deployer complete (need to configure nodes before hosted…
| | * wait metrics-deployer complete (need to configure nodes before hosted services)jfcoz2016-05-272-22/+24
| | |
| * | Ensure registry url evaluated when creating router.Andrew Butcher2016-05-311-1/+3
| | |
* | | Stop requiring/using first master version fact and use openshift_version var ↵Devan Goodwin2016-05-311-5/+4
| | | | | | | | | | | | instead.
* | | Merge remote-tracking branch 'upstream/master' into upgrade33Devan Goodwin2016-05-302-0/+4
|\| |
| * | Separate master and haproxy config playbooks.Andrew Butcher2016-05-261-0/+2
| | | | | | | | | | | | | | | | | | * Move haproxy configuration to a separate openshift-loadbalancer play. * Move the haproxy role to openshift_loadbalancer. * Add openshift_loadbalancer* facts which drive haproxy configuration.
| * | Merge pull request #1773 from detiber/aws_cleanupJason DeTiberus2016-05-251-0/+2
| |\ \ | | | | | | | | Cloud provider cleanup
| | * | Call evaluate_groups from update_repos_and_packagesJason DeTiberus2016-05-051-0/+2
| | | |
* | | | Refactor openshift_version behavior.Devan Goodwin2016-05-302-0/+34
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Very early in playbooks we must init the openshift_version for each host. First we determine it for the master, logic now is pushed into the openshift_docker role which we run only on first master via openshift_cli. Facts are reloaded leaving us with a first master with openshift.common.version fact we can then re-use on all other hosts. The correct version of docker should be installed as well. We then set openshift_version for all other hosts by re-using the master fact.
* | | | Get rpm installations functional again.Devan Goodwin2016-05-261-0/+2
|/ / /
* | / Conditionally bind mount /usr/bin/docker-current when it is present (#1941)Scott Dodson2016-05-242-2/+2
| |/ |/| | | | | | | | | | | | | | | | | * Conditionally bind mount /usr/bin/docker-current when it is present * fix upgrade * add atomic-openshift-node-dep files to uninstall playbook * Fix variable expansion
* | Merge pull request #1914 from jkroepke/patch-1Jason DeTiberus2016-05-181-2/+2
|\ \ | | | | | | Task "Update router image to current version" failed, if router not in default namespace
| * | Task "Update router image to current version" failed, if router not in ↵Jan-Otto Kröpke2016-05-181-2/+2
| | | | | | | | | | | | | | | default namespace Also added hardcoded -n default to registry patch, since oc get has -n default, too.
* | | Use systemctl restart docker instead of ansible service.Devan Goodwin2016-05-181-1/+2
|/ / | | | | | | | | | | | | Ansible is doing a full service stop and then start, which does not allow systemd to keep the containerized services up and running. Switching to this will cause the related services to come back within a few seconds.
* | Merge pull request #1897 from sdodson/issue1435Jason DeTiberus2016-05-171-2/+2
|\ \ | | | | | | Include sdn-ovs in upgrade commands to avoid pulling in newer packages
| * | Fix minor upgrades in 3.1Scott Dodson2016-05-161-2/+2
| | |
* | | Merge pull request #1811 from sdodson/dont-pull-cli-on-upgradeJason DeTiberus2016-05-171-0/+1
|\ \ \ | | | | | | | | Don't pull cli image when we're not containerized
| * | | Don't pull cli image when we're not containerizedScott Dodson2016-04-261-0/+1
| | | |
* | | | Set openshift.common.hostname early in playbook execution.Andrew Butcher2016-05-171-1/+4
| | | |
* | | | Merge pull request #1880 from dgoodwin/registry-insecureBrenton Leanhardt2016-05-162-2/+2
|\ \ \ \ | | | | | | | | | | Fixes for openshift_docker_hosted_registry_insecure var.
| * | | | Fixes for openshift_docker_hosted_registry_insecure var.Devan Goodwin2016-05-162-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Fixes a failure on masters if you explicitly set openshift_docker_hosted_registry_insecure=true. This is the default but if you tried to set it an error would trigger as a relevant variable was not passed in the master playbooks. Fixes setting the variable to false being ignored. master/node playbooks were referencing the docker fact, which was not set at that point and thus we were always getting the default of true, regardless what was in your inventory. Stop passing registry insecure in via playbooks, we can access it when running openshift_facts itself. Add a new default in openshift facts.
* | | | | Merge pull request #1859 from dgoodwin/containerized-upgradeBrenton Leanhardt2016-05-162-1/+3
|\ \ \ \ \ | |_|_|/ / |/| | | | Containerized Upgrade Fixes
| * | | | Do not upgrade containers to latest avail during a normal config run.Devan Goodwin2016-05-122-1/+3
| | | | |
* | | | | Merge pull request #1862 from abutcher/v2-vars-files-upgradeJason DeTiberus2016-05-135-1/+6
|\ \ \ \ \ | |/ / / / |/| | | | Remove vars_files on play includes for upgrade playbooks.
| * | | | Block upgrading w/ ansible v2.Andrew Butcher2016-05-121-1/+2
| | | | |
| * | | | Remove vars_files on play includes for upgrade playbooks.Andrew Butcher2016-05-124-0/+4
| | | | |
* | | | | Merge pull request #1737 from moolitayer/manageiq_sa_to_have_image_scanning_roleJason DeTiberus2016-05-121-0/+1
|\ \ \ \ \ | |/ / / / |/| | | | Add image-auditor role to ManageIQ SA
| * | | | Add system:image-auditor role to ManageIQ SAMooli Tayer2016-05-031-0/+1
| | | | |
* | | | | Merge pull request #1874 from abutcher/eval-hostsJason DeTiberus2016-05-101-2/+0
|\ \ \ \ \ | | | | | | | | | | | | Remove extra evaluate_groups include.