summaryrefslogtreecommitdiff
path: root/roles/etcd
AgeCommit message (Collapse)Author
2017-11-01check presence of v2 snapshot before the migration proceedsJan Chaloupka
2017-10-23etcd: remove hacks for the system containerGiuseppe Scrivano
Use ADDTL_MOUNTS to add a bind mount to the etcd configuration. Signed-off-by: Giuseppe Scrivano <gscrivan@redhat.com>
2017-10-19systemcontainers: Verify atomic.conf proxy is always configuredSteve Milner
A new openshift_atomic role has been created for atomic specific tasks. The first task added is proxy which handles updating /etc/atomic.conf to ensure the proper proxy configuration is configured. This task file is then included (via include_role) in system container related task files. Fixes: https://bugzilla.redhat.com/show_bug.cgi?id=1503903 Signed-off-by: Steve Milner <smilner@redhat.com>
2017-10-13set initial etcd cluster properly during system container scale upJan Chaloupka
2017-10-11Merge pull request #5672 from ingvagabund/migrate-embedded-etcdOpenShift Merge Robot
Automatic merge from submit-queue. Migrate embedded etcd to external etcd Trello card: https://trello.com/c/9fnBfkT5/528-migrate-embedded-etcd-hosts-to-external-process?menu=filter&filter=label:committed-3.7 Tested on: - [x] embedded etcd -> external rpm etcd - [x] embedded etcd -> external docker etcd One needs to set the `openshift_image_tag` before running the migration to containerized docker etcd.
2017-10-06migrate embedded etcd to external etcdJan Chaloupka
2017-10-05fix typo for default in etcdMichael Gugino
2017-10-02Separate certificate playbooks.Andrew Butcher
2017-09-27Merge pull request #5518 from ingvagabund/set-quota-backend-bytes-explicitlyOpenShift Merge Robot
Automatic merge from submit-queue set the etcd backend quota to 4GB by default Bug: 1492891
2017-09-27Fix typo in drop_etcdctl.ymlMichael Hanselmann
s/alises/aliases/ says everything.
2017-09-26Set the etcd backend quota to 4GB by defaultJan Chaloupka
2017-09-25consolidate etcd_common roleJan Chaloupka
2017-09-25Merge pull request #5451 from ingvagabund/consolidate-etcd-upgradeOpenShift Merge Robot
Automatic merge from submit-queue Consolidate etcd upgrade Consolidates `etcd_upgrade` into the `etcd` role.
2017-09-22consolidate etcd_migrate roleJan Chaloupka
2017-09-21consolidate etcd_upgrade roleJan Chaloupka
2017-09-18Consolidate etcd certs rolesJan Chaloupka
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.
2017-08-31update env in etcd.conf.j2 to reflect the latest namingJan Chaloupka
2017-08-30Added firwall defaults to etcd role.Kenny Woodson
2017-08-10Updated README to reflect refactor. Moved firewall initialize into separate ↵Kenny Woodson
file.
2017-08-09Adding a default condition and removing unneeded defaults.Kenny Woodson
2017-08-08First attempt at refactor of os_firewallKenny Woodson
2017-08-02Merge pull request #3043 from jkhelil/scaleup_etcdScott Dodson
Add etcd scaleup playbook
2017-07-07Fix etcd conditional check failureMarc Rooding
2017-07-04drop etcdctl before the etcd_container serviceJan Chaloupka
If the etcdctl is dropped after the etcd_container is enabled, label of /var/lib/etcd directory is set to var_lib_t instead of virt_sandbox_file_t.
2017-07-03etcd, syscontainer: fix copy of existing datastoreGiuseppe Scrivano
Closes: https://bugzilla.redhat.com/show_bug.cgi?id=1466638 Signed-off-by: Giuseppe Scrivano <gscrivan@redhat.com>
2017-06-30run etcd_container with type:spc_t labelJan Chaloupka
2017-06-20etcd, system_container: do not mask etcd_containerGiuseppe Scrivano
Closes: https://bugzilla.redhat.com/show_bug.cgi?id=1462087 Signed-off-by: Giuseppe Scrivano <gscrivan@redhat.com>
2017-06-20etcd, system_container: do not enable system etcdGiuseppe Scrivano
if etcd is installed and it is not the system container, only unmask the service but do not enable it. Signed-off-by: Giuseppe Scrivano <gscrivan@redhat.com>
2017-06-15add etcd scaleup playbookjawed
2017-06-14move etcd backup to etcd_common roleJan Chaloupka
2017-06-08etcd: system container defines ETCD_(PEER_)?TRUSTED_CA_FILEGiuseppe Scrivano
Signed-off-by: Giuseppe Scrivano <gscrivan@redhat.com>
2017-06-08etcd: unmask system container service before installing itGiuseppe Scrivano
Signed-off-by: Giuseppe Scrivano <gscrivan@redhat.com>
2017-06-08etcd: copy previous database when migrating to system containerGiuseppe Scrivano
Signed-off-by: Giuseppe Scrivano <gscrivan@redhat.com>
2017-05-18move etcd upgrade related code into etcd_upgrade roleJan Chaloupka
2017-05-09Update systemd units to use proper container service nameSteve Milner
- If using a system container: container-engine - If using a package install: docker Ref: https://bugzilla.redhat.com/show_bug.cgi?id=1448800
2017-05-03move etcdctl.yml from etcd to etcd_common roleJan Chaloupka
2017-05-01Don't double quote when conditionsScott Dodson
2017-04-28Refactor etcd rolesJan Chaloupka
- 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
2017-04-25Revert "Add /etc/sysconfig/etcd to etcd_container"Scott Dodson
2017-04-19Add /etc/sysconfig/etcd to etcd_containerFabio Alessandro Locati
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.
2017-04-13Cast etcd_debug to a booleanSteve Kuznetsov
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>
2017-03-28Add etcd_debug and etcd_log_package_levels variablesScott Dodson
2017-03-27Use meta/main.yml for role dependenciesRussell Teague
2017-03-08add ability to specify an etcd versionMark McKinstry
2017-03-02Only set ownership to etcd for thirdparty datadirScott Dodson
Fixes https://bugzilla.redhat.com/show_bug.cgi?id=1428532
2017-03-01Merge pull request #3393 from srampal/contivScott Dodson
Pull request for Contiv Ansible code integration into Openshift Ansible
2017-02-28etcd: use the new oc_atomic_container moduleGiuseppe Scrivano
Signed-off-by: Giuseppe Scrivano <gscrivan@redhat.com>
2017-02-27Combined (squashed) commit for all changes related to adding Contiv support ↵Sanjeev Rampal
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.
2017-02-10etcd: use as system containerGiuseppe Scrivano
Signed-off-by: Giuseppe Scrivano <gscrivan@redhat.com>
2016-11-29Merge pull request #2876 from dustymabe/dusty-fix-etcd-selinuxScott Dodson
fix selinux issues with etcd container