summaryrefslogtreecommitdiffstats
path: root/roles/openshift_node/tasks/upgrade
Commit message (Collapse)AuthorAgeFilesLines
* Create swapoff moduleMichael Gugino2018-01-241-22/+6
| | | | | Create custome ansible module 'swapoff' to idempotently disable swap in /etc/fstab and also run swapoff.
* Merge pull request #6426 from danwinship/cleanup-ipamScott Dodson2018-01-131-0/+6
|\ | | | | Clean up host-local IPAM data while nodes are drained
| * Clean up host-local IPAM data while nodes are drainedDan Winship2017-12-141-0/+6
| |
* | Add defaults for openshift_pkg_versionMichael Gugino2018-01-102-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | This variable may or may not be defined by the users. During deployments, it will be set to '-{{ openshift_version }}' if undefined. During upgrades, it will remain undefined. This commit ensures that if the variable is undefined, empty strings '' are set.
* | Merge pull request #6658 from mgugino-upstream-stage/containerized_boolsOpenShift Merge Robot2018-01-091-1/+1
|\ \ | | | | | | | | | | | | Automatic merge from submit-queue. ensure containerized bools are cast
| * | ensure containerized bools are castMichael Gugino2018-01-081-1/+1
| | |
* | | Merge pull request #6650 from ↵OpenShift Merge Robot2018-01-091-1/+1
|\ \ \ | |/ / |/| | | | | | | | | | | | | | | | | | | | vrutkovs/containerized_upgrade_set_openshift_use_openshift_sdn Automatic merge from submit-queue. upgrades: use openshift_node_use_openshift_sdn when trying to pre-pull the image This affects 3.8/3.9 upgrades for containerized hosts, if nodes are separate from master.
| * | Use openshift_node_use_openshift_sdn when doing a containerized node upgradeVadim Rutkovsky2018-01-091-1/+1
| | | | | | | | | | | | Signed-off-by: Vadim Rutkovsky <vrutkovs@redhat.com>
* | | Don't overwrite node's systemd units for containerized installVadim Rutkovsky2018-01-051-1/+1
|/ / | | | | | | | | | | Systemd units are being updated in ../systemd_units.yml Signed-off-by: Vadim Rutkovsky <vrutkovs@redhat.com>
* | Remove openshift.common.{is_atomic|is_containerized}Michael Gugino2017-12-205-6/+6
| | | | | | | | | | We set these variables using facts in init, no need to duplicate the logic all around the codebase.
* | Remove openshift_node_facts roleMichael Gugino2017-12-181-1/+1
| | | | | | | | | | This commit removes the remainder of openshift_node_facts role.
* | Merge pull request #6456 from mgugino-upstream-stage/node-factsMichael Gugino2017-12-171-1/+1
|\ \ | | | | | | Remove openshift_node_facts part 1
| * | Remove openshift_node_facts part 1Michael Gugino2017-12-141-1/+1
| |/ | | | | | | | | This commit removes some items from openshift_facts for the openshit_node role.
* | Deprecate using Ansible tests as filtersRussell Teague2017-12-145-6/+6
|/
* upgrade node mark 2Michael Gugino2017-12-126-24/+166
|
* Refactor node upgrade to include less serial tasksMichael Gugino2017-12-122-11/+9
| | | | | | | | | | | | | This commit moves the pulling of images, packages, and updating config files into a non-serialized play. The serialized play is now in charge of marking unschedulable, draining, stopping and restarting services, and marking schedulable. If rpm install / container download takes 60s per host, this will save 3 hours and 10 minutes at 200 hosts per cluster and forks of 20 hosts.
* Remove openshift.common.service_typeMichael Gugino2017-12-072-7/+7
| | | | | | | | This commit removes openshift.common.service_type in favor of openshift_service_type. This commit also removes r_openshift_excluder_service_type from plays in favor of using the role's defaults.
* Implement container runtime roleMichael Gugino2017-12-011-6/+2
|
* retry package operationsLuke Meyer2017-11-301-0/+4
| | | | | | When a package install/update fails due to network blips or other spotty availability, retry it. If the failure is a real failure (e.g. package is really not there) it still fails after 3 tries (Ansible default).
* Include Deprecation - openshift-nodeRussell Teague2017-11-221-1/+1
|
* Combine openshift_node and openshift_node_upgradeMichael Gugino2017-11-163-0/+89
Currently, having openshift_node and openshift_node_upgrade as two distinct roles has created a duplication across handlers, templates, and some tasks. This commit combines the roles to reduce duplication and bugs encountered by not putting code in both places.