summaryrefslogtreecommitdiffstats
path: root/roles/etcd/templates
Commit message (Collapse)AuthorAgeFilesLines
* Implement container runtime roleMichael Gugino2017-12-011-4/+4
|
* Refactor etcd imageMichael Gugino2017-11-201-1/+1
| | | | Simplify logic for etcd_image
* set initial etcd cluster properly during system container scale upJan Chaloupka2017-10-131-2/+2
|
* Merge pull request #5518 from ingvagabund/set-quota-backend-bytes-explicitlyOpenShift Merge Robot2017-09-271-0/+1
|\ | | | | | | | | | | | | Automatic merge from submit-queue set the etcd backend quota to 4GB by default Bug: 1492891
| * Set the etcd backend quota to 4GB by defaultJan Chaloupka2017-09-261-0/+1
| |
* | consolidate etcd_common roleJan Chaloupka2017-09-251-0/+12
|/
* Consolidate etcd certs rolesJan Chaloupka2017-09-181-0/+51
| | | | | | | This is a part of the etcd_ like role consolidationi into an action-based role. As part of the consilidation some roles have been removed and some replaced by include_role module. Resulting in reorder and shift of role dependencies from a role into a play.
* update env in etcd.conf.j2 to reflect the latest namingJan Chaloupka2017-08-311-3/+23
|
* add etcd scaleup playbookjawed2017-06-151-11/+7
|
* 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
* move etcdctl.yml from etcd to etcd_common roleJan Chaloupka2017-05-031-12/+0
|
* Refactor etcd rolesJan Chaloupka2017-04-282-2/+14
| | | | | | | | - introduce block and simplify when conditions - introduce config.yml so the self-standing etcd role can be run (e.g. to test etcd cluster deployment) - remove empty task files - skip dependency on openshift_etcd_ca - replace cert paths with their appropriate variables
* Revert "Add /etc/sysconfig/etcd to etcd_container"Scott Dodson2017-04-251-1/+1
|
* Add /etc/sysconfig/etcd to etcd_containerFabio Alessandro Locati2017-04-191-1/+1
| | | | | | | The `/etc/sysconfig/etcd` file is often used to allow the usage of additional variables passed to the etcd daemon. Example of this is to make some new nodes join an existing cluster. Having two files simplify the automation around it, since in the `/etc/sysconfig/etcd` is possible to put temporary variables and then nuke the file as soon as they are not used anymore.
* Cast etcd_debug to a booleanSteve Kuznetsov2017-04-131-1/+1
| | | | | | | | | | | In the current implementation, any user-provided string in the `etcd_debug` variable will be placed into `etcd.conf`. The YAML and Ansible boolean parsing is more generous than the Golang one, so valid YAML booleans like `no` will be invalid when passed to etcd. Casting to a boolean before casting to a string normalizes the field. Signed-off-by: Steve Kuznetsov <skuznets@redhat.com>
* Add etcd_debug and etcd_log_package_levels variablesScott Dodson2017-03-281-0/+6
|
* Combined (squashed) commit for all changes related to adding Contiv support ↵Sanjeev Rampal2017-02-272-1/+14
| | | | into Openshift Ansible. This is the first (beta) release of Contiv with Openshift and is only supported for Openshift Origin + Bare metal deployments at the time of this commit. Please refer to the Openshift and Contiv official documentation for details of the level of support for different features and modes of operation.
* fix selinux issues with etcd containerDusty Mabe2016-11-281-1/+1
| | | | | | | | | Make it so that we don't relabel /etc/etcd/ (via `:z`) on every run. Doing this causes systemd to fail accessing /etc/etcd/etcd.conf when trying to run the systemd unit file on the next run. Convert it from `:z` to `:ro` since we only need read-only access to the files. Fixes #2811
* Refactor etcd certificates roles.Andrew Butcher2016-08-021-1/+1
|
* Use openshift_hostname/openshift_ip values for etcd configuration and ↵Andrew Butcher2016-04-201-6/+6
| | | | certificates.
* use RestartSec to avoid default rate limit in systemdBrenton Leanhardt2016-04-121-0/+1
| | | | Lifted from https://github.com/openshift/origin/pull/8317
* 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.
* improve ordering of systemd unitsJason DeTiberus2016-03-141-0/+3
|
* Containerization work by @sdodsonScott Dodson2015-12-152-11/+24
|
* Fix etcd cert generation when etcd_interface is definedJason DeTiberus2015-11-021-2/+2
| | | | | | | | - Refactor certificate generation to properly accept overrides of etcd_interface per host and set the certificate SANS and peer URLs properly. - Add sanity checking to user-set values of etcd_interface to provide a better error message
* Reduce heartbeat frequency to 500ms to reduce etcd cpu loadScott Dodson2015-08-051-2/+2
| | | | | | | Per https://github.com/coreos/etcd/pull/3097 reduce heartbeat to 500ms until we can ensure etcd 2.1 is in use Reduces the impact of but doesn't fix BZ1250310
* Etcd role updates and playbook updatesJason DeTiberus2015-07-101-5/+11
| | | | | | | | | | | | | | | | | | | | | - fix firewall conflict issues with co-located etcd and openshift hosts - added os_firewall dependency to etcd role - updated etcd template to better handle clustered and non-clustered installs - added etcd_ca role - generates a self-signed cert to manage etcd certificates, since etcd peer certificates are required to be client and server certs and the openshift ca will only generate client or server certs (not one authorized for both). - renamed openshift_etcd_certs role to etcd_certificates and updated it to manage certificates generated from the CA managed by the etcd_ca role - remove hard coded etcd_port in openshift_facts - updates for the openshift-etcd common playbook - removed etcd and openshift-etcd playbooks from the byo playbooks directory - added a common playbook for setting etcd launch facts - added an openshift-etcd common service playbook - removed unused variables - fixed tests for embedded_{etcd,dns,kube} in openshift_master - removed old workaround for reloading systemd units
* Add etcd role that builds out basic etcd clusterScott Dodson2015-07-101-0/+46
| | | | | | - Add initial etcd role - Add etcd playbook to create etcd client certs - Hookup master to etcd
* Removed cloud.rb and it's associated libraries as it's no longer used. Also ↵Thomas Wiest2015-05-271-34/+0
| | | | removed etcd role.
* Initial Commit. Sharing is caringKenny Woodson2014-09-161-0/+34