summaryrefslogtreecommitdiffstats
path: root/playbooks
Commit message (Collapse)AuthorAgeFilesLines
* Limit host scope during playsMichael Gugino2018-02-0930-7/+149
| | | | | | | | | | | | | Many plays only target a select subset of hosts, especially oo_first_master for components such as logging and registry. This commit limits the scope of most plays to eliminate unnecessary task execution on node groups. This will result in great time savings for large deployments. Fixes: https://bugzilla.redhat.com/show_bug.cgi?id=1516526
* Merge pull request #7056 from sdodson/gcp-wait-for-connectionScott Dodson2018-02-081-0/+6
|\ | | | | Use wait_for_connection to validate ssh transport is alive
| * Use wait_for_connection to validate ssh transport is aliveScott Dodson2018-02-071-0/+6
| |
* | Merge pull request #7043 from vrutkovs/prerequisites-enable-docker-excluderOpenShift Merge Robot2018-02-081-0/+6
|\ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Automatic merge from submit-queue. Setup docker excluder if requested before container_runtime is installed That would prevent possible container runtime upgrades during cluster config Fixes https://bugzilla.redhat.com/show_bug.cgi?id=1540800 Signed-off-by: Vadim Rutkovsky <vrutkovs@redhat.com>
| * | Setup docker excluder if requested before container_runtime is installedVadim Rutkovsky2018-02-071-0/+6
| | | | | | | | | | | | | | | | | | | | | That would prevent possible container runtime upgrades during cluster config Signed-off-by: Vadim Rutkovsky <vrutkovs@redhat.com>
* | | Merge pull request #7017 from mtnbikenc/fix-1540537OpenShift Merge Robot2018-02-076-2/+8
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Automatic merge from submit-queue. [1540537] Add base package installation to upgrade playbooks Hosts will need python ipaddress module installed if it was not installed during initial installation. Bug 1540537 https://bugzilla.redhat.com/show_bug.cgi?id=1540537
| * | | Add base package installation to upgrade playbooksRussell Teague2018-02-076-2/+8
| |/ / | | | | | | | | | | | | | | | | | | | | | Hosts will need python ipaddress module installed if it was not installed during initial installation. Bug 1540537 https://bugzilla.redhat.com/show_bug.cgi?id=1540537
* | | Merge pull request #7044 from zgalor/fix_uninstall_bugOpenShift Merge Robot2018-02-071-1/+1
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Automatic merge from submit-queue. Fix uninstall using openshift_prometheus_state=absent This was broken in https://github.com/openshift/openshift-ansible/pull/6811 bz: https://bugzilla.redhat.com/show_bug.cgi?id=1540806
| * | | Fix uninstall using openshift_prometheus_state=absentZohar Galor2018-02-071-1/+1
| |/ / | | | | | | | | | | | | | | | This was broken in https://github.com/openshift/openshift-ansible/pull/6811 bz: https://bugzilla.redhat.com/show_bug.cgi?id=1540806
* | | Merge pull request #7052 from vrutkovs/rolling_restart_modeOpenShift Merge Robot2018-02-071-2/+2
|\ \ \ | |_|/ |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | Automatic merge from submit-queue. 3.9 upgrade: fix typos in restart masters procedure * 'rolling_restart_mode' should be 'services', not 'service' * use 'state: restarted' to properly restart services Fixes https://bugzilla.redhat.com/show_bug.cgi?id=1540054 Signed-off-by: Vadim Rutkovsky <vrutkovs@redhat.com>
| * | 3.9 upgrade: fix typos in restart masters procedureVadim Rutkovsky2018-02-071-2/+2
| |/ | | | | | | | | | | | | * 'rolling_restart_mode' should be 'services', not 'service' * use 'state: restarted' to properly restart services Signed-off-by: Vadim Rutkovsky <vrutkovs@redhat.com>
* | Merge pull request #7040 from sdodson/bz1542399OpenShift Merge Robot2018-02-071-0/+3
|\ \ | | | | | | | | | | | | | | | | | | Automatic merge from submit-queue. Make sure to include upgrade_pre when upgrading master nodes Fixes https://bugzilla.redhat.com/show_bug.cgi?id=1542399
| * | Make sure to include upgrade_pre when upgrading master nodesScott Dodson2018-02-061-0/+3
| |/
* | Merge pull request #6993 from joelddiaz/deprovision_elbsKenny Woodson2018-02-071-0/+9
|\ \ | |/ |/| add deprovisioning for ELB (and IAM certs)
| * add deprovisioning for ELB (and IAM certs)Joel Diaz2018-02-021-0/+9
| | | | | | | | | | | | add playbooks to handle deleting ELBs and any IAM certs that may have been created during provisioning. redo ELB creation to remove arbitrary wait and just retry until ELB creation succeeds
* | Merge pull request #7015 from sdodson/v310Scott Dodson2018-02-0610-0/+157
|\ \ | | | | | | Initial support for 3.10
| * | Initial support for 3.10Scott Dodson2018-02-0510-0/+157
| | |
* | | Merge pull request #7020 from vrutkovs/node-config-on-upgradeScott Dodson2018-02-061-0/+1
|\ \ \ | | | | | | | | Upgrades: pass openshift_manage_node_is_master to master nodes during upgrade
| * | | Upgrades: pass openshift_manage_node_is_master to master nodes during upgradeVadim Rutkovsky2018-02-061-0/+1
| |/ / | | | | | | | | | This ensures required labels for master would be set
* | | Update code to not fail when rc != 0Kenny Woodson2018-02-061-0/+3
| | |
* | | Merge pull request #6628 from ewolinetz/es_5.x_opt_inOpenShift Merge Robot2018-02-061-5/+36
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | Automatic merge from submit-queue. Es 5.x opt in FYI @richm @jcantrill
| * | | Adding support for ES 5.x tech preview opt inEric Wolinetz2018-02-051-5/+36
| | | |
* | | | Merge pull request #7018 from mtnbikenc/refactor-cert-SANOpenShift Merge Robot2018-02-062-23/+33
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Automatic merge from submit-queue. Move cert SAN update logic to openshift-etcd Recent additions for checking certificate SAN validation were added to the upgrade playbooks and should be moved to the openshift-etcd playbooks to ensure this check is performed when the openshift-etcd upgrade playbook is run directly, vice only when running a full control plane upgrade. Additionally, the formerly included playbook for redeploying certificates called the main entry point playbook which caused the initialization playbooks to be called twice.
| * | | | Move cert SAN update logic to openshift-etcdRussell Teague2018-02-052-23/+33
| | |/ / | |/| |
* | | | Merge pull request #7005 from mtnbikenc/fix-rolloutRussell Teague2018-02-062-4/+2
|\ \ \ \ | |/ / / |/| | | Use rollout instead of deploy (deprecated)
| * | | Use rollout instead of deploy (deprecated)Russell Teague2018-02-022-4/+2
| |/ /
* | | Moving upgrade sg playbook to 3.9Kenny Woodson2018-02-051-0/+0
| | |
* | | Merge pull request #6985 from joelddiaz/deprovision_s3_bucketsKenny Woodson2018-02-052-3/+17
|\ \ \ | | | | | | | | add S3 bucket cleanup
| * | | add S3 bucket cleanupJoel Diaz2018-02-022-3/+17
| | |/ | |/| | | | | | | | | | | | | Default to just cleaning out all the objects in the S3 bucket (IFF openshift_aws_create_s3 is 'true'). If you really, trully want to delete the S3 bucket and free up the bucket name, you can set openshift_aws_really_delete_s3_bucket to 'true' ('false' by default).
* | | Merge pull request #6980 from mtnbikenc/fix-upgradesScott Dodson2018-02-043-9/+9
|\ \ \ | | | | | | | | Fix version handling in 3.8/3.9 control plane upgrades
| * | | Fix version handling in 3.8/3.9 control plane upgradesRussell Teague2018-02-023-9/+9
| | |/ | |/|
* | | remove openshift_upgrade_{pre,post}_storage_migration_enabled from failed_whenKenjiro Nakayama2018-02-031-3/+0
| | |
* | | Merge pull request #6995 from vrutkovs/f27-omitOpenShift Merge Robot2018-02-021-1/+2
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Automatic merge from submit-queue. Don't use 'omit' for package module 'name' param is required and can't be skipped. 'when' is used instead Fixes #6968
| * | | Don't use 'omit' for package moduleVadim Rutkovsky2018-02-021-1/+2
| | | | | | | | | | | | | | | | 'name' param is required and can't be skipped. 'when' is used instead
* | | | Merge pull request #6958 from vrutkovs/rework-full-upgradeOpenShift Merge Robot2018-02-023-56/+16
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Automatic merge from submit-queue. Upgrade playbook improvements Two changes in this PR: * Avoid duplication in upgrade.yml - it now would simply run upgrade_control_plane and upgrade_nodes playbooks * Restart controllers instead of start/stop if restart mode is 'services' * For 'system' restart mode controllers are disabled before master upgrade and re-enabled after upgrades are finished
| * | | | Disable master controllers before upgrade and re-enable those when restart ↵Vadim Rutkovsky2018-01-312-6/+14
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | mode is system This removes a start/stop after control plane upgrade
| * | | | upgrade: run upgrade_control_plane and upgrade_nodes playbooks during full ↵Vadim Rutkovsky2018-01-311-50/+2
| | | | | | | | | | | | | | | | | | | | upgrade
* | | | | Merge pull request #6997 from sdodson/fix-missing-tasksScott Dodson2018-02-021-0/+4
|\ \ \ \ \ | |_|_|/ / |/| | | | Add missing tasks file
| * | | | Add missing tasks fileScott Dodson2018-02-021-0/+4
| | |/ / | |/| | | | | | | | | | Was errantly removed in 4f7d963986a1e28ecc6abd15532b0c1aece99be1
* | | | Merge pull request #6851 from kwoodson/upgrade_dns_pushOpenShift Merge Robot2018-02-023-0/+24
|\ \ \ \ | |/ / / |/| | | | | | | | | | | | | | | | | | | Automatic merge from submit-queue. Upgrade to migrate to using push to DNS for registries. This is the beginning of the migration to push to docker-registry by DNS. This migrates users by rerolling their certificates and then redeploying the registry so that hosts can push to the registries with the newly created certificates.
| * | | Upgrade to migrate to using push to DNS for registries.Kenny Woodson2018-02-013-0/+24
| | |/ | |/|
* | | Merge pull request #6855 from sdodson/bz1537726-masterScott Dodson2018-02-012-0/+3
|\ \ \ | |/ / |/| | Don't restart docker when re-deploying node certificates
| * | Don't restart docker when re-deploying node certificatesScott Dodson2018-01-242-0/+3
| | | | | | | | | | | | Fixes https://bugzilla.redhat.com/show_bug.cgi?id=1537726
* | | Merge pull request #6955 from vrutkovs/upgrade-regex-version-matchOpenShift Merge Robot2018-02-011-1/+1
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Automatic merge from submit-queue. upgrades: use openshift_version as a regexp when checking openshift.common.version This would fix errors like 'Master running 3.9.0 must be upgraded to 3.9* before node upgrade can be run' during the upgrade Signed-off-by: Vadim Rutkovsky <vrutkovs@redhat.com>
| * | | upgrades: use openshift_version as a regexp when checking ↵Vadim Rutkovsky2018-01-311-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | openshift.common.version This would fix errors like 'Master running 3.9.0 must be upgraded to 3.9* before node upgrade can be run' during the upgrade Signed-off-by: Vadim Rutkovsky <vrutkovs@redhat.com>
* | | | Merge pull request #6876 from mgugino-upstream-stage/fix-restart-master-playScott Dodson2018-02-016-16/+4
|\ \ \ \ | | | | | | | | | | Remove master_ha bool checks
| * | | | Remove master_ha bool checksMichael Gugino2018-01-256-16/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Most of these checks are no longer applicable to the tasks on which they are applied. This commit removes incorrect ha checks to ensure services are restarted at appropriate times. Fixes: https://bugzilla.redhat.com/show_bug.cgi?id=1500897
* | | | | Merge pull request #6944 from mtnbikenc/fix-1540108Scott Dodson2018-02-011-0/+1
|\ \ \ \ \ | | | | | | | | | | | | [1540108] Ignore openshift_pkg_version during 3.8 upgrade
| * | | | | Ignore openshift_pkg_version during 3.8 upgradeRussell Teague2018-01-301-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Version 3.8 is an intermediate step when upgrading to 3.9 and openshift_pkg_version may be set in the inventory for 3.9. This will ensure there is not a conflict between the intermediate step and the final version requested. Bug 1540108 https://bugzilla.redhat.com/show_bug.cgi?id=1540108
* | | | | | Merge pull request #6952 from sdodson/bz1540462OpenShift Merge Robot2018-01-313-16/+2
|\ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Automatic merge from submit-queue. Don't update master-config.yaml with logging/metrics urls >= 3.9 Fixes https://bugzilla.redhat.com/show_bug.cgi?id=1540462 I thought about refactoring things just to move the assetConfig vs ConfigMap update into update_master_config but the tasks get called on different hosts via plays.