summaryrefslogtreecommitdiffstats
path: root/playbooks/common/openshift-cluster
Commit message (Collapse)AuthorAgeFilesLines
* Merge pull request #3214 from ewolinetz/logging_configure_loggingpublicurlScott Dodson2017-01-302-0/+19
|\ | | | | Updating openshift_logging role to add kibana public url to loggingPu…
| * Updating openshift_hosted_logging to update master-configs with publicLoggingURLewolinetz2017-01-302-0/+12
| |
| * Breaking out master-config changing and updated playbook to apply change to ↵ewolinetz2017-01-301-0/+7
| | | | | | | | other masters
* | Adding names to plays and standardizingRussell Teague2017-01-273-4/+10
|/
* Merge pull request #3198 from mtnbikenc/drain-fixRussell Teague2017-01-262-4/+3
|\ | | | | Correct usage of draining nodes
| * Correct usage of draining nodesRussell Teague2017-01-262-4/+3
| |
* | Standardize add_host: with name and changed_whenRussell Teague2017-01-254-1/+8
|/ | | | | | | The add_host: task does not change any data on the host and as practice has been configured to changed_when: False. This commit standardizes that usage in the byo and common playbooks. Additionally, taks names are added to each task to improve troubleshooting.
* Merge pull request #2981 from dgoodwin/upgrade-wait-for-nodeJason DeTiberus2017-01-241-0/+13
|\ | | | | Wait for nodes to be ready before proceeding with upgrade.
| * Wait for nodes to be ready before proceeding with upgrade.Devan Goodwin2016-12-151-0/+13
| | | | | | | | | | | | | | | | | | Near the end of node upgrade, we now wait for the node to report Ready before marking it schedulable again. This should help eliminate delays when pods need to relocate as the next node in line is evacuated. Happens near the end of the process, the only remaining task would be to mark it schedulable again so easy for admins to detect and recover from.
* | Merge pull request #3044 from mtnbikenc/docker-optionsJason DeTiberus2017-01-241-0/+3
|\ \ | | | | | | Add new option 'docker_selinux_enabled'
| * | Add new option 'openshift_docker_selinux_enabled'Russell Teague2017-01-241-0/+3
| | | | | | | | | | | | | | | Allows controlling 'selinux-enabled' docker options Can be set to true or false
* | | Merge pull request #3101 from dgoodwin/pre-post-master-hookJason DeTiberus2017-01-241-0/+24
|\ \ \ | |/ / |/| | Implement simple hooks pre/post master upgrade.
| * | Add a mid upgrade hook, re-prefix variables.Devan Goodwin2017-01-231-9/+17
| | |
| * | Debug message before running hooks.Devan Goodwin2017-01-191-0/+6
| | |
| * | Run user provided hooks prior to system/service restarts.Devan Goodwin2017-01-191-3/+4
| | |
| * | Implement pre/post master upgrade hooks.Devan Goodwin2017-01-191-0/+9
| | |
* | | Cleaning repo cache earlierRussell Teague2017-01-192-6/+15
|/ /
* | Merge pull request #3057 from dgoodwin/serial-master-upgradeScott Dodson2017-01-191-16/+13
|\ \ | | | | | | Serial master upgrade
| * | Perform master upgrades in a single play serially.Devan Goodwin2017-01-181-16/+13
| | |
* | | Merge pull request #3100 from abutcher/serialsScott Dodson2017-01-181-4/+0
|\ \ \ | |/ / |/| | Serialize cert creation in delegated commands
| * | Create individual serving cert and loopback kubeconfig for additional masters.Andrew Butcher2017-01-161-4/+0
| | | | | | | | | | | | | | | | | | Deprecates use of 'create-master-certs' for generating master serving certificate and loopback kubeconfig in order to reference the first master's CA serial file.
* | | Merge pull request #2640 from ewolinetz/logging_deployer_tasksScott Dodson2017-01-171-0/+5
|\ \ \ | | | | | | | | Logging deployer tasks
| * | | Addressing Travis errorsewolinetz2017-01-171-0/+1
| | | |
| * | | Creating openshift_logging role for deploying Aggregated Logging without a ↵ewolinetz2016-12-141-0/+4
| | | | | | | | | | | | | | | | deployer image
* | | | Merge pull request #2786 from dgoodwin/docker-1.12Scott Dodson2017-01-172-5/+5
|\ \ \ \ | | | | | | | | | | Begin requiring Docker 1.12.
| * | | | Begin requiring Docker 1.12.Devan Goodwin2016-11-102-6/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Building off the work done for Docker 1.10, we now require Docker 1.12 by default. The upgrade process was already set to ensure you are running the latest docker during upgrade, and the standalone docker upgrade playbook can also be used if desired. As before, you can override this Docker 1.12 requirement by setting a docker_version=1.10.3 (or similar), and you can skip the default to upgrade docker by setting docker_upgrade=False.
* | | | | metrics fixes for yamlintJeff Cantrill2017-01-171-0/+1
| | | | |
* | | | | Add tasks to uninstall metrics (#7)Jeff Cantrill2017-01-171-0/+4
| | | | |
* | | | | Merge pull request #3064 from giuseppe/fix-etcdctl-from-containerScott Dodson2017-01-171-1/+2
|\ \ \ \ \ | |_|_|/ / |/| | | | use etcdctl from the container when containerized=True
| * | | | use etcdctl from the container when containerized=TrueGiuseppe Scrivano2017-01-101-1/+2
| | | | | | | | | | | | | | | | | | | | Signed-off-by: Giuseppe Scrivano <gscrivan@redhat.com>
* | | | | Add a fact to select --evacuate or --drain based on your OCP versionTim Bielawa2017-01-112-2/+2
| | | | | | | | | | | | | | | | | | | | Closes #3070
* | | | | rename openshift_metrics to openshift_hosted_metricsJeff Cantrill2017-01-111-1/+1
| | | | |
* | | | | Merge pull request #3060 from abutcher/return-deps-to-rolesScott Dodson2017-01-101-21/+0
|\ \ \ \ \ | | | | | | | | | | | | Return role dependencies to roles for openshift_{hosted,master,node}
| * | | | | Move role dependencies out of playbooks for openshift_master, openshift_node ↵Andrew Butcher2017-01-091-21/+0
| | | | | | | | | | | | | | | | | | | | | | | | and openshift_hosted.
* | | | | | Merge pull request #3056 from rhcarvalho/cleanup-cluster-upgradeRodolfo Carvalho2017-01-103-206/+1
|\ \ \ \ \ \ | | | | | | | | | | | | | | Cleanup cluster upgrade
| * | | | | | Remove unused fileRodolfo Carvalho2017-01-091-12/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | All references to it were removed in b89c835e3235f2628b37de15713c311d1b5a4bad
| * | | | | | Remove unused fileRodolfo Carvalho2017-01-091-193/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | All references to it were removed in 739ad9de2a11bb8c67d77641a86cfd39e4594542
| * | | | | | Remove spurious argumentRodolfo Carvalho2017-01-091-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The script nuke_images.sh was introduced in 0c31d72be3bf32f848eedad9859a81ba858f8c8f and seems that the shell argument $1 was never used (the only $1 in the script back then refers to a field in a awk script). There was a reference to $2 that was always undefined/empty. The script was then simplified in b89c835e3235f2628b37de15713c311d1b5a4bad, removing any reference to $1 and $2. This commit cleans up the only call site to the shell script.
* | | | | | | Merge pull request #3058 from openshift/etcd-imageScott Dodson2017-01-091-2/+1
|\ \ \ \ \ \ \ | |/ / / / / / |/| | | | | | etcd 3.x image is 'etcd' not 'etcd3'
| * | | | | | Use registry.access.redhat.com/rhel7/etcd instead of etcd3Scott Dodson2017-01-091-2/+1
| |/ / / / /
* / / / / / Use openshift.common.hostname when verifying API port available.Andrew Butcher2017-01-061-7/+5
|/ / / / /
* | | | | Don't upgrade etcd on atomic host, ever.Scott Dodson2017-01-051-8/+21
| | | | | | | | | | | | | | | | | | | | | | | | | Fixes Bug 1408668 Fixes BZ1408668
* | | | | python3 support, add tox for better local testing against multiple python ↵Jason DeTiberus2016-12-201-1/+1
| | | | | | | | | | | | | | | | | | | | versions
* | | | | Merge pull request #2986 from tbielawa/deprecate_node_evacuationTim Bielawa2016-12-192-7/+7
|\ \ \ \ \ | | | | | | | | | | | | Deprecate node 'evacuation' with 'drain'
| * | | | | Deprecate node 'evacuation' with 'drain'Tim Bielawa2016-12-162-7/+7
| | |_|_|/ | |/| | | | | | | | | | | | | * https://trello.com/c/TeaEB9fX/307-3-deprecate-node-evacuation
* | | | | Merge pull request #2989 from abutcher/3.4-master-config-hookScott Dodson2016-12-161-2/+11
|\ \ \ \ \ | | | | | | | | | | | | Add master config hook for 3.4 upgrade and fix facts ordering
| * | | | | Add master config hook for 3.4 upgrade and fix facts ordering for config ↵Andrew Butcher2016-12-161-2/+11
| |/ / / / | | | | | | | | | | | | | | | hook run.
* / / / / The next registry.access.redhat.com/rhel7/etcd image will be 3.0.15Scott Dodson2016-12-161-1/+1
|/ / / /
* | | | YAML LintingRussell Teague2016-12-127-16/+14
| | | | | | | | | | | | | | | | | | | | * Added checks to make ci for yaml linting * Modified y(a)ml files to pass lint checks
* | | | Make both backup and upgrade optionalScott Dodson2016-12-092-95/+99
| | | |