summaryrefslogtreecommitdiffstats
path: root/roles/openshift_master/templates/docker-cluster/atomic-openshift-master-controllers.service.j2
Commit message (Collapse)AuthorAgeFilesLines
* Remove some small items from openshift_factsMichael Gugino2017-12-181-1/+1
| | | | | Remove some small items from openshift_facts that don't need to be there.
* Remove openshift.common.service_typeMichael Gugino2017-12-071-8/+8
| | | | | | | | 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-4/+4
|
* Fix registry_auth logic for upgradesMichael Gugino2017-09-221-1/+1
| | | | | | | | | | | | | | | Currently, the logic for registry authentication is not implemented correctly to account for upgrades of containerized hosts. Additionally, the logic to account for multiple runs of openshift-ansible might cause registry authentication credentials to not be mounted inside of containerized hosts. This commit adds the necessary logic to ensure containerized hosts retain registry credentials. Fixes: https://bugzilla.redhat.com/show_bug.cgi?id=1494470
* Fix: authenticated registry support for containerized hostsMichael Gugino2017-09-111-1/+11
| | | | | | | | | | | | | | | | | | | | | | | 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.
* Ensure that host pki tree is mounted in containerized componentsScott Dodson2017-06-121-1/+1
|
* 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
* Change HA master controller service to restart always.Devan Goodwin2016-10-271-1/+1
| | | | | | | | | | Restarts of systemd-journald can cause the master controllers service to die in HA environments, due to a SIGPIPE and how it's handled. (seemingly by default in golang) on-failure does not trigger in this situation, instead we set to Restart=always in the systemd unit, which matches the non-HA service definitions as well.
* Don't use openshift_env for cloud provider facts.Andrew Butcher2016-08-251-1/+1
|
* 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.
* Load environment files in containerized installsScott Dodson2016-03-161-1/+1
|
* improve ordering of systemd unitsJason DeTiberus2016-03-141-3/+2
|
* Correctly set the image tag for containerized installs (and upgrades)Brenton Leanhardt2016-03-031-1/+1
|
* consolidate steps and cleanup template dirJason DeTiberus2016-01-141-0/+25