Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | etcd: copy previous database when migrating to system container | Giuseppe Scrivano | 2017-06-08 | 1 | -0/+24 |
| | | | | Signed-off-by: Giuseppe Scrivano <gscrivan@redhat.com> | ||||
* | move etcd upgrade related code into etcd_upgrade role | Jan Chaloupka | 2017-05-18 | 1 | -6/+0 |
| | |||||
* | Update systemd units to use proper container service name | Steve Milner | 2017-05-09 | 1 | -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 role | Jan Chaloupka | 2017-05-03 | 3 | -25/+3 |
| | |||||
* | Don't double quote when conditions | Scott Dodson | 2017-05-01 | 1 | -1/+1 |
| | |||||
* | Refactor etcd roles | Jan Chaloupka | 2017-04-28 | 7 | -76/+71 |
| | | | | | | | | - 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 Dodson | 2017-04-25 | 1 | -1/+1 |
| | |||||
* | Add /etc/sysconfig/etcd to etcd_container | Fabio Alessandro Locati | 2017-04-19 | 1 | -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 boolean | Steve Kuznetsov | 2017-04-13 | 1 | -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 variables | Scott Dodson | 2017-03-28 | 1 | -0/+6 |
| | |||||
* | Use meta/main.yml for role dependencies | Russell Teague | 2017-03-27 | 2 | -4/+1 |
| | |||||
* | add ability to specify an etcd version | Mark McKinstry | 2017-03-08 | 2 | -2/+2 |
| | |||||
* | Only set ownership to etcd for thirdparty datadir | Scott Dodson | 2017-03-02 | 1 | -1/+8 |
| | | | | Fixes https://bugzilla.redhat.com/show_bug.cgi?id=1428532 | ||||
* | Merge pull request #3393 from srampal/contiv | Scott Dodson | 2017-03-01 | 4 | -4/+58 |
|\ | | | | | Pull request for Contiv Ansible code integration into Openshift Ansible | ||||
| * | Combined (squashed) commit for all changes related to adding Contiv support ↵ | Sanjeev Rampal | 2017-02-27 | 4 | -4/+58 |
| | | | | | | | | 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. | ||||
* | | etcd: use the new oc_atomic_container module | Giuseppe Scrivano | 2017-02-28 | 1 | -47/+25 |
|/ | | | | Signed-off-by: Giuseppe Scrivano <gscrivan@redhat.com> | ||||
* | etcd: use as system container | Giuseppe Scrivano | 2017-02-10 | 3 | -5/+84 |
| | | | | Signed-off-by: Giuseppe Scrivano <gscrivan@redhat.com> | ||||
* | Merge pull request #2876 from dustymabe/dusty-fix-etcd-selinux | Scott Dodson | 2016-11-29 | 1 | -1/+1 |
|\ | | | | | fix selinux issues with etcd container | ||||
| * | fix selinux issues with etcd container | Dusty Mabe | 2016-11-28 | 1 | -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 | ||||
* | | Refactored to use Ansible systemd module | Russell Teague | 2016-11-28 | 4 | -24/+15 |
|/ | | | | | | * Ansible systemd module used in place of service module * Refactored command tasks which are no longer necessary * Applying rules from openshift-ansible Best Practices Guide | ||||
* | Refactor to use Ansible package module | Russell Teague | 2016-11-17 | 2 | -2/+3 |
| | | | | | The Ansible package module will call the correct package manager for the underlying OS. | ||||
* | Add updates for containerized | Scott Dodson | 2016-11-14 | 1 | -0/+11 |
| | |||||
* | Drop /etc/profile.d/etcdctl.sh | Scott Dodson | 2016-11-14 | 3 | -0/+25 |
| | | | | | Includes bash functions for etcdctl2 and etcdctl3 which provide reasonable defaults for etcdctl functions on a host that's configured with openshift_etcd. | ||||
* | tweak logic | Jason DeTiberus | 2016-09-26 | 1 | -2/+2 |
| | |||||
* | test fix for systemd changes | Scott Dodson | 2016-09-26 | 1 | -2/+3 |
| | |||||
* | Support for redeploying certificates. | Andrew Butcher | 2016-08-11 | 1 | -24/+0 |
| | |||||
* | Refactor etcd certificates roles. | Andrew Butcher | 2016-08-02 | 2 | -3/+3 |
| | |||||
* | Stop reporting changes when docker pull is already up to date. | Devan Goodwin | 2016-07-20 | 1 | -0/+2 |
| | |||||
* | Merge pull request #1971 from dgoodwin/missing-services-fix | Jason DeTiberus | 2016-06-02 | 1 | -6/+6 |
|\ | | | | | Fix error with stopping services that may not exist. | ||||
| * | Fix error with stopping services that may not exist. | Devan Goodwin | 2016-06-02 | 1 | -6/+6 |
| | | | | | | | | | | | | Causes a hard failure due to missing etcd/atomic-openshift-master services. Instead, check that the services exist before ensuring they're stopped/disabled. | ||||
* | | Move os_firewall_allow from defaults to role dependencies. | Andrew Butcher | 2016-06-01 | 2 | -8/+7 |
|/ | |||||
* | Default os_firewall_use_firewalld to false in os_firewall and remove overrides. | Andrew Butcher | 2016-05-02 | 1 | -1/+0 |
| | |||||
* | Remove etcd_interface variable. Remove openshift_docker dependency from the ↵ | Andrew Butcher | 2016-04-20 | 2 | -2/+0 |
| | | | | etcd role. | ||||
* | Use openshift_hostname/openshift_ip values for etcd configuration and ↵ | Andrew Butcher | 2016-04-20 | 3 | -31/+30 |
| | | | | certificates. | ||||
* | The openshift_docker role must set the version facts for containerized installs | Brenton Leanhardt | 2016-04-14 | 1 | -0/+1 |
| | | | | | | QE found that for fresh installs we were basing the docker version facts of the images that could be pulled prior to configuring /etc/sysconfig/docker. This is an edge case but something we need to fix. | ||||
* | use RestartSec to avoid default rate limit in systemd | Brenton Leanhardt | 2016-04-12 | 1 | -0/+1 |
| | | | | Lifted from https://github.com/openshift/origin/pull/8317 | ||||
* | Bug 1320829 - Ensure docker installed for facts | Jason DeTiberus | 2016-03-31 | 1 | -1/+2 |
| | | | | | | - gather facts requiring docker only if docker is present and running - Update reference to etcd role in playbooks/common/openshift-etcd/config.yml to use openshift_etcd | ||||
* | make docker service want ose containerized services | Seth Jennings | 2016-03-28 | 1 | -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. | ||||
* | Only mask etcd service for containerized installls when it's installed | Scott Dodson | 2016-03-15 | 1 | -1/+5 |
| | |||||
* | improve ordering of systemd units | Jason DeTiberus | 2016-03-14 | 2 | -0/+7 |
| | |||||
* | Ensure is_containerized is cast as bool. | Andrew Butcher | 2016-03-14 | 1 | -1/+1 |
| | |||||
* | Bug 1313169 - Ansible installer tries to enable etcd_container service even ↵ | Brenton Leanhardt | 2016-03-02 | 1 | -1/+1 |
| | | | | though containerized=false | ||||
* | remove version requirement from etcd, shouldn't be needed anymore | Adam Miller | 2016-02-22 | 1 | -1/+1 |
| | |||||
* | Always pull docker images | Scott Dodson | 2016-01-07 | 1 | -16/+0 |
| | |||||
* | Fix typo in etcd service status fact. | Andrew Butcher | 2016-01-04 | 1 | -1/+1 |
| | |||||
* | Fix restart handlers. | Andrew Butcher | 2015-12-26 | 2 | -2/+2 |
| | |||||
* | Add some guards to wait for images to be pulled before moving on | Scott Dodson | 2015-12-16 | 1 | -0/+10 |
| | |||||
* | pull docker images only if not already present | Jason DeTiberus | 2015-12-15 | 1 | -3/+8 |
| | |||||
* | fixes | Jason DeTiberus | 2015-12-15 | 1 | -10/+7 |
| | |||||
* | Containerization work by @sdodson | Scott Dodson | 2015-12-15 | 5 | -14/+63 |
| |