summaryrefslogtreecommitdiffstats
path: root/roles/openshift_node/templates/openshift.docker.node.service
Commit message (Collapse)AuthorAgeFilesLines
* Change dnsmasq Requires to Wants. ↵Rajat Chopra2018-01-231-1/+1
| | | | | | https://bugzilla.redhat.com/show_bug.cgi?id=1532960 Signed-off-by: Rajat Chopra <rchopra@redhat.com>
* Remove openshift_node_facts part 1Michael Gugino2017-12-141-1/+1
| | | | | This commit removes some items from openshift_facts for the openshit_node role.
* Remove openshift.common.service_typeMichael Gugino2017-12-071-11/+11
| | | | | | | | 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-5/+5
|
* node: make node service PartOf=openvswitch.service when openshift-sdn is usedDan Williams2017-10-051-0/+1
| | | | | | | | | | | | | Commit 7f805f9a0c41477365dd88b0ac73f0d221bd654a causes the behavior seen in https://bugzilla.redhat.com/show_bug.cgi?id=1453113 because openshift-node is no longer restarted when openvswitch is, due to the change from Requires to Wants. Turns out that making the openshift node service PartOf the OVS service can achieve the same result and ensure openshift-node gets restarted whenever OVS does, which ensures that networking doesn't break underneath the node. Suggested by Giuseppe Scrivano
* Changes for Nuage atomic ansible installRohan Parulekar2017-09-201-0/+1
|
* Fix: authenticated registry support for containerized hostsMichael Gugino2017-09-111-1/+16
| | | | | | | | | | | | | | | | | | | | | | | Currently, openshift-anisble supports authentication to container registries to pull down openshift container images. The openshift_verison role uses the docker cli to gather image information from container registries before authentication credentials are provided by openshift-ansible. This commit creates the necessary token to authenticate to private registries during openshift_version. The token is generated by the role 'docker' on all hosts where docker is installed/configured when oreg_auth_users is defined. This commit also adds a read-only mount into the openshift master and node container services. This mount is '/var/lib/origin/.docker:/root/.docker:ro'. This is because the container images do not currently read the values in '/var/lib/origin/.docker' as this may be a bug upstream. Fixes: https://bugzilla.redhat.com/show_bug.cgi?id=1316341
* Remove openshift-commonMichael Gugino2017-09-061-2/+2
| | | | | | | | | Most of this role's purpose was to set facts. The vast majority of these facts were simply redefining user-supplied variables. This commit also removes various artifacts leftover from previous versions, as well as variables that seem to be entirely unused.
* Use default ports for dnsmasq and node dnsScott Dodson2017-06-301-1/+1
|
* Run dns on the node and use that for dnsmasqScott Dodson2017-06-301-0/+6
|
* Ensure that host pki tree is mounted in containerized componentsScott Dodson2017-06-121-1/+1
|
* 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-091-4/+4
| | | | | | | - If using a system container: container-engine - If using a package install: docker Ref: https://bugzilla.redhat.com/show_bug.cgi?id=1448800
* Make /rootfs mount rslaveScott Dodson2017-03-211-1/+1
| | | | Fixes https://bugzilla.redhat.com/show_bug.cgi?id=1427807
* Fix containerized openvswitch raceScott Dodson2017-03-151-0/+2
|
* 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
* kubelet must have rw to cgroups for pod/qos cgroups to functionDerek Carr2017-01-181-1/+1
|
* Don't use openshift_env for cloud provider facts.Andrew Butcher2016-08-251-1/+1
|
* Mount /sys rwScott Dodson2016-08-181-1/+1
| | | | Fixes https://bugzilla.redhat.com/show_bug.cgi?id=1367937
* Make /var/lib/origin mounted rslaveScott Dodson2016-07-061-1/+1
|
* Conditionally bind mount /usr/bin/docker-current when it is present (#1941)Scott Dodson2016-05-241-1/+4
| | | | | | | | | | * Conditionally bind mount /usr/bin/docker-current when it is present * fix upgrade * add atomic-openshift-node-dep files to uninstall playbook * Fix variable expansion
* docker-current was missing from the containerized ↵Marcel Wysocki2016-05-181-1/+1
| | | | | atomic-openshift-node.service file This fixes https://bugzilla.redhat.com/show_bug.cgi?id=1336780
* use RestartSec to avoid default rate limit in systemdBrenton Leanhardt2016-04-121-0/+1
| | | | Lifted from https://github.com/openshift/origin/pull/8317
* Add cloudprovider config dir to docker options.Andrew Butcher2016-04-061-1/+1
|
* make docker service want ose containerized servicesSeth Jennings2016-03-281-1/+1
| | | | | | | | | | | | | | | | There are points where the docker service is restarted during the install. Sometimes the services that are PartOf docker.service do not get restarted when docker is restarted. https://bugzilla.redhat.com/show_bug.cgi?id=1318948 Systemd documentation recommends using "wants" as the perferred means of creating startup linkages between units. This patch makes the ose services wanted by the docker service rather than multi-user.target. This creates a downward link from the docker service to the ose containerized services.
* Add /dev to node containersScott Dodson2016-03-221-1/+1
|
* Load environment files in containerized installsScott Dodson2016-03-161-1/+1
|
* improve ordering of systemd unitsJason DeTiberus2016-03-141-3/+5
|
* Correctly set the image tag for containerized installs (and upgrades)Brenton Leanhardt2016-03-031-1/+1
|
* Add /var/log to containerized node mountsScott Dodson2016-02-181-1/+1
|
* Containerization work by @sdodsonScott Dodson2015-12-151-2/+11
|
* Initial containerization work from @ibottyTobias Florek2015-12-151-0/+11
copied from https://github.com/eparis/kubernetes-ansible/blob/17f98edd7ff53e649b43e26822b8fbc0be42b233/roles/common/tasks/main.yml