summaryrefslogtreecommitdiffstats
path: root/roles/openshift_node_upgrade
Commit message (Collapse)AuthorAgeFilesLines
* Add openshift_node_dnsmasq role to upgradeScott Dodson2017-06-181-0/+3
|
* Add node unit file on upgradeSteve Milner2017-06-063-0/+17
| | | | | | | | 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
| |
* | Merge pull request #4165 from sdodson/BZ1450167OpenShift Bot2017-05-181-0/+6
|\ \ | | | | | | Merged by openshift-bot
| * | 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
* | | node, systemd: change Requires to Wants for openvswitchGiuseppe Scrivano2017-05-171-1/+1
|/ / | | | | | | | | | | | | | | | | Sometimes the node container is not started on a container-engine restart. Use a weaker dependency on openvswitch that is causing this issue Closes: https://bugzilla.redhat.com/show_bug.cgi?id=1451192 Signed-off-by: Giuseppe Scrivano <gscrivan@redhat.com>
* | Update systemd units to use proper container service nameSteve Milner2017-05-093-10/+10
|/ | | | | | | - If using a system container: container-engine - If using a package install: docker Ref: https://bugzilla.redhat.com/show_bug.cgi?id=1448800
* 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
* Merge pull request #3943 from sdodson/fix-node-upgrade-masterJan Chaloupka2017-04-213-34/+26
|\ | | | | Stop all services prior to upgrading, start all services after
| * Stop all services prior to upgrading, start all services afterScott Dodson2017-04-183-34/+26
| |
* | Correct role dependenciesRussell Teague2017-04-171-0/+1
|/
* 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
| |
* | Merge pull request #3718 from giuseppe/restart-openvswitch-upgradeOpenShift Bot2017-03-221-1/+5
|\ \ | | | | | | Merged by openshift-bot
| * | 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>
* | Make /rootfs mount rslaveScott Dodson2017-03-211-1/+1
|/ | | | Fixes https://bugzilla.redhat.com/show_bug.cgi?id=1427807
* node/sdn: make /var/lib/cni persistent to ensure IPAM allocations stick ↵Dan Williams2017-03-031-1/+1
| | | | | | | | | | | | | | | | | | | | | | | around across node restart With the move to a CNI plugin, docker no longer handles IPAM, but CNI does through openshift-sdn's usage of the 'host-local' CNI IPAM plugin. That plugin stores IPAM allocations under /var/lib/cni/. If the node container gets restarted, without presreving /var/lib/cni, the IPs currently allocated to running pods get lost and on restart, openshift-sdn may allocate those IPs to new pods causing duplicate allocations. This never happened with docker because it has its own persistent IPAM store that does not get removed when docker restarts. Also because (historically) when docker restarted, all the containers died and the IP allocations were released by the daemon. Fix this by ensuring that IPAM allocations (which are tied to the life of the pod, *not* the life of the openshift-node process) persist even if the openshift-node process restarts. Fixes: https://bugzilla.redhat.com/show_bug.cgi?id=1427789
* Convert selectattr tests to use 'match'Russell Teague2017-02-231-1/+1
|
* Updating node playbooks to use oc_objRussell Teague2017-02-171-16/+21
|
* Fixed issue where upgrade fails when using daemon sets (e.g. aggregated logging)Andrew Baldi2017-02-151-1/+1
|
* Trying to fix up/audit note some changesTim Bielawa2017-02-141-0/+6
|
* Appease yamllintScott Dodson2017-02-012-2/+3
|
* Move current node upgrade tasks under openshift_node_upgrade roleJan Chaloupka2017-02-0115-0/+523