summaryrefslogtreecommitdiffstats
path: root/roles/openshift_node_upgrade/tasks
Commit message (Collapse)AuthorAgeFilesLines
* Remove remaining references to openshift-master.serviceClayton Coleman2017-08-082-3/+0
| | | | Prevents playbooks from accidentally restarting the master service.
* move common tasks to a single file included by both systemd_units.ymlJan Chaloupka2017-07-288-73/+85
|
* backport 'Add systemctl daemon-reload handler to openshift_node' #4403 to ↵Jan Chaloupka2017-07-271-10/+9
| | | | openshift_node_upgrade
* Sync all openshift.common.use_openshift_sdn uses in yaml filesJan Chaloupka2017-07-261-1/+3
| | | | | | | | | | | Most occurrences are in a form: ```yaml openshift.common.use_openshift_sdn | default(true) | bool ``` Let's make all occurences this way given the use_openshift_sdn is set to true anyway. See https://github.com/openshift/openshift-ansible/blob/0c350dcc7d06d62be5ba3a8e468dff85cdd96dd7/roles/openshift_facts/library/openshift_facts.py#L2035
* Wrap docker stop in retriesScott Dodson2017-07-181-1/+7
|
* Test docker restart with retries 3 delay 30Steve Milner2017-07-181-1/+1
|
* Merge pull request #4624 from ↵Jan Chaloupka2017-07-081-0/+1
|\ | | | | | | | | ingvagabund/increase-timeout-when-waiting-for-master-and-nodes increase implicit 300s default timeout to explicit 600s
| * increase implicit 300s default timeout to explicit 600sJan Chaloupka2017-06-281-0/+1
| |
* | pre-pull images before stopping dockerJan Chaloupka2017-07-032-15/+14
| |
* | Fix upgradeScott Dodson2017-06-301-0/+11
| |
* | Run dns on the node and use that for dnsmasqScott Dodson2017-06-301-1/+1
|/
* Merge pull request #4441 from sdodson/retry-docker-startupScott Dodson2017-06-271-1/+5
|\ | | | | Retry docker startup once
| * Retry docker startup onceScott Dodson2017-06-131-1/+5
| | | | | | | | | | Large environments frequently see docker fail to start up after an upgrade. Not sure why but we can retry once.
* | Add openshift_node_dnsmasq role to upgradeScott Dodson2017-06-181-0/+3
|/
* Add node unit file on upgradeSteve Milner2017-06-061-0/+15
| | | | | | | | When rpm_upgrade is used for upgrading the node's unit file will be overridden. systemd is then reloaded if the files are templated successfully. Ref: https://bugzilla.redhat.com/show_bug.cgi?id=1455843
* upgrade: Reload systemd before restartSteve Milner2017-05-311-0/+8
| | | | | | | | | The installer now lays down updated systemd unit files in /etc/systemd/system/ which override the units that come with the rpms. Because of this we need to reload systemd before restarting services. Ref: https://bugzilla.redhat.com/show_bug.cgi?id=1455843
* allow to configure oreg_url specifically for node or master. refs #4233Tobias Brunner2017-05-191-2/+2
| | | | | | | | | This commit allows to specify imageConfig.format specifically for master or for nodes. One use case of this could be if you want to use customer builder images. In this case imageConfig.format only needs to be changed in the master-config.yml but not in the node-config.yml.
* Merge pull request #4094 from ashcrow/status-doesnt-existJan Chaloupka2017-05-191-1/+1
|\ | | | | Ensure good return code for specific until loops
| * Ensure good return code for specific until loopsSteve Milner2017-05-041-1/+1
| |
* | Reset selinux context on /var/lib/origin/openshift.common.volumesScott Dodson2017-05-111-0/+6
|/ | | | Fixes https://bugzilla.redhat.com/show_bug.cgi?id=1450167
* System container dockerSteve Milner2017-05-031-1/+3
| | | | | | | | | | | | | | | This change allows for the use of either the traditional package install of docker OR a system container install of docker. Two new inventory options, openshift_docker_use_system_container and openshift_docker_systemcontainer_image_registry_override, have been added which are be used to install with a system container. By default this option is commented out. One new fact has been added: - docker.service_name: docker by default, container-engine-docker for system container
* Add bool for proper conditional handlingRussell Teague2017-04-261-1/+1
|
* Update swap disable tasksRussell Teague2017-04-211-7/+12
| | | | | | * Lines are commented out vice being removed * Comment is added indicating why the change happened * Variable openshift_disable_swap added to allow user control
* Stop all services prior to upgrading, start all services afterScott Dodson2017-04-183-34/+26
|
* Disable swap space on nodes at install and upgradeRussell Teague2017-04-121-0/+27
|
* Stop all services before upgrading openvswitchScott Dodson2017-03-221-8/+12
| | | | | | It appears that openshift was holding a lock or perhaps openvswitch on its own does not restart cleanly when upgrading the package so just stop it before updating the package.
* Merge pull request #3726 from sdodson/oreg_url_on_upgradeOpenShift Bot2017-03-221-0/+7
|\ | | | | Merged by openshift-bot
| * Update imageConfig.format on upgrades to match oreg_urlScott Dodson2017-03-211-0/+7
| |
* | upgrade: restart ovs-vswitchd and ovsdb-serverGiuseppe Scrivano2017-03-211-1/+5
|/ | | | | | Closes: https://bugzilla.redhat.com/show_bug.cgi?id=1420636 Signed-off-by: Giuseppe Scrivano <gscrivan@redhat.com>
* Convert selectattr tests to use 'match'Russell Teague2017-02-231-1/+1
|
* Updating node playbooks to use oc_objRussell Teague2017-02-171-16/+21
|
* Trying to fix up/audit note some changesTim Bielawa2017-02-141-0/+6
|
* Appease yamllintScott Dodson2017-02-011-1/+1
|
* Move current node upgrade tasks under openshift_node_upgrade roleJan Chaloupka2017-02-016-0/+306