summaryrefslogtreecommitdiffstats
path: root/playbooks/common/openshift-cluster/upgrades
Commit message (Collapse)AuthorAgeFilesLines
* Merge pull request #3860 from sdodson/backup-v3-dataOpenShift Bot2017-04-251-32/+28
|\ | | | | Merged by openshift-bot
| * Cleanup comments and remove extraneous tasksScott Dodson2017-04-101-23/+7
| |
| * Store backups in /var/lib/etcd/openshift-backupScott Dodson2017-04-101-19/+12
| | | | | | | | | | | | | | | | Because containerized installs don't mount /var/lib/origin and we switched to running the backup inside the container that meant that we were backing up the etcd data into a directory inside the container filesystem. Since we have no other volume mounted we need to backup into /var/lib/etcd.
| * Create member/snap directory encase it doesn't existScott Dodson2017-04-071-2/+7
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Fixes TASK [Copy etcd v3 data store] ************************************************* fatal: [host.redhat.com]: FAILED! => { "changed": true, "cmd": [ "cp", "-a", "/var/lib/etcd//member/snap", "/var/lib/origin/etcd-backup-pre-upgrade-20170407055413/member/" ], "delta": "0:00:00.003152", "end": "2017-04-07 01:54:17.584685", "failed": true, "rc": 1, "start": "2017-04-07 01:54:17.581533", "warnings": [] } STDERR: cp: cannot create directory ?/var/lib/origin/etcd-backup-pre-upgrade-20170407055413/member/?: No such file or directory
| * Copy v3 data dir when performing backupScott Dodson2017-04-051-1/+15
| | | | | | | | Fixes https://bugzilla.redhat.com/show_bug.cgi?id=1433272
* | Don't check excluder versions when they're not enabledScott Dodson2017-04-201-6/+7
| |
* | Refactor initialize groups tasksRussell Teague2017-04-121-24/+0
| | | | | | | | | | | | | | | | | | | | | | | | Two tasks for initializing group names for the byo playbooks was located in the common folder in the std_include.yml file. Byo dependencies should not be in the common folder. The two tasks have been removed from common/openshift-cluster/std_include.yml to a new file byo/openshift-cluster/initialize_groups.yml. All references where these tasks were included from either std_include.yml or other various files have been updated to use the byo initialize_groups.yml. The methodology implemented follows the pattern of having groups set up in byo then calling out to playbooks in common, which are common to all deployments.
* | Merge pull request #3891 from mtnbikenc/refactor-dockerOpenShift Bot2017-04-123-0/+72
|\ \ | | | | | | Merged by openshift-bot
| * | Refactor docker upgrade playbooksRussell Teague2017-04-103-0/+72
| | | | | | | | | | | | | | | The playbooks were crossing byo/common boundaries for task includes. This moves all 'common' files/tasks into the 'common' folder.
* | | Merge pull request #3897 from kwoodson/upgrade_r_and_rOpenShift Bot2017-04-121-19/+21
|\ \ \ | | | | | | | | Merged by openshift-bot
| * | | Fixed spelling mistake.Kenny Woodson2017-04-111-2/+2
| | | |
| * | | Switching commands for modules during upgrade of router and registry.Kenny Woodson2017-04-101-19/+21
| |/ /
* / / Refactor use of initialize_oo_option_facts.ymlRussell Teague2017-04-101-21/+1
|/ /
* / Switch from ignoring to passing on checksRussell Teague2017-04-061-1/+1
|/
* validate and normalize inventory variablesLuke Meyer2017-03-292-2/+0
| | | | | | | | | | In openshift_repos and everywhere, ensure deployment_type and openshift_deployment_type are defined and the same. We really want to set openshift_deployment_type, but users will likely still have just deployment_type, so accept both. And don't make every playbook default openshift_deployment_type to deployment_type. This introduces the openshift_sanitize_inventory role to run before anything else.
* Merge pull request #3750 from stevekuznetsov/skuznets/3-6-upgradeOpenShift Bot2017-03-284-0/+30
|\ | | | | Merged by openshift-bot
| * Added 3.5 -> 3.6 upgrade playbooksSteve Kuznetsov2017-03-244-0/+30
| |
* | Merge pull request #3737 from dgoodwin/upgrade-pkgsOpenShift Bot2017-03-271-2/+21
|\ \ | |/ |/| Merged by openshift-bot
| * Upgrade specific rpms instead of just master/node.Devan Goodwin2017-03-271-2/+21
| | | | | | | | | | | | | | | | Dependencies for these, particularly the SDN package, can cause the entire transaction to jump to a newer openshift than we requested, if something newer is available in the repositories. By being specific for multiple packages, we avoid this problem and get the actual version we require.
* | Update imageConfig.format on upgrades to match oreg_urlScott Dodson2017-03-211-0/+8
|/
* Merge pull request #3675 from sdodson/only_use_excluders_on_masters_nodesScott Dodson2017-03-161-1/+1
|\ | | | | Only call excluder playbooks on masters and nodes
| * Only call excluder playbooks on masters and nodesScott Dodson2017-03-151-1/+1
| |
* | Merge pull request #3626 from mtnbikenc/module_renameOpenShift Bot2017-03-152-4/+4
|\ \ | | | | | | Merged by openshift-bot
| * | Renaming oadm_manage_node to oc_adm_manage_nodeRussell Teague2017-03-102-4/+4
| | |
* | | don't assume openshift_upgrade_target is in a form d.dJan Chaloupka2017-03-151-2/+6
| |/ |/|
* | Merge pull request #3631 from ingvagabund/validate-excluders-on-non-atomic-onlyOpenShift Bot2017-03-131-13/+16
|\ \ | | | | | | Merged by openshift-bot
| * | validate excluders on non-atomic hosts onlyJan Chaloupka2017-03-131-13/+16
| | |
* | | Fix typoScott Dodson2017-03-131-1/+1
|/ /
* / Fix incorrect comparison when detecting petsetsTim Bielawa2017-03-101-2/+2
|/
* Identify PetSets in 3.4 clusters and fail if any are detectedTim Bielawa2017-03-071-0/+49
| | | | | | | | | | | * PetSets are deprecated in 3.5, replaced with StatefulSets * We can not automatically migrate between the two * Red Hat has never supported PetSets nor do we support StatefulSets * Gracefully handles invalid resource queries if ran against 3.5+ clusters * Fails out with explanation and ref docs if petsets are detected Reference bug: https://bugzilla.redhat.com/show_bug.cgi?id=1428229
* Merge pull request #3529 from ingvagabund/upgrade-excluders-in-upgrade-onlyJan Chaloupka2017-03-072-0/+43
|\ | | | | WIP: update excluders to latest by default, in non-upgrade scenarios do not update
| * - update excluders to latest, in non-upgrade scenarios do not updateJan Chaloupka2017-03-072-0/+43
| | | | | | | | | | | | - check both available excluder versions are at most of upgrade target version - get excluder status through status command - make excluders enablement configurable
* | Merge pull request #3574 from sdodson/35_sdnvalidatorScott Dodson2017-03-071-0/+18
|\ \ | | | | | | Add oc_objectvalidator to upgrade check
| * | Add oc_objectvalidator to upgrade checkScott Dodson2017-03-071-0/+18
| |/
* | Merge pull request #3517 from ewolinetz/idempotency_role_bindingsEric Wolinetz2017-03-061-4/+20
|\ \ | |/ |/| Adding changed_whens for role, rolebinding, and scc reconciliation ba…
| * Updating stdout check for changed_whenewolinetz2017-03-021-5/+5
| |
| * Resolving yammlint errorsewolinetz2017-03-011-8/+8
| |
| * Adding changed_whens for role, rolebinding, and scc reconciliation based on ↵ewolinetz2017-02-281-4/+20
| | | | | | | | output from oadm policy command
* | Correct typo in haproxy router collection.Andrew Butcher2017-02-271-1/+1
|/
* post_control_plane.yml: don't fail on grepGiuseppe Scrivano2017-02-171-0/+1
| | | | | | | grep returns rc != 0 if the text is not found, the next rule assumes that. Do not fail on the check when the line is not found. Signed-off-by: Giuseppe Scrivano <gscrivan@redhat.com>
* Fix typo, add symlinks for rolesScott Dodson2017-02-172-0/+2
| | | | Fixes Bug 1423425
* Revert temporary hack to skip router/registry upgrade.Devan Goodwin2017-02-171-9/+0
|
* Merge pull request #3370 from adbaldi/workScott Dodson2017-02-162-2/+2
|\ | | | | Fixed issue where upgrade fails when using daemon sets (e.g. aggregated logging)
| * Fixed issue where upgrade fails when using daemon sets (e.g. aggregated logging)Andrew Baldi2017-02-152-2/+2
| |
* | Fix some lintJason DeTiberus2017-02-151-1/+0
| |
* | Add upgrade job step after the entire upgrade performsMaciej Szulik2017-02-151-0/+19
|/
* Merge pull request #3355 from tbielawa/idempotency_please_workScott Dodson2017-02-143-0/+27
|\ | | | | Idempotency please work
| * Trying to fix up/audit note some changesTim Bielawa2017-02-143-0/+27
| |
* | Fix logic for checking docker-registryRussell Teague2017-02-141-1/+1
| |
* | Modify playbooks to use oc_obj moduleRussell Teague2017-02-142-48/+64
|/