<feed xmlns='http://www.w3.org/2005/Atom'>
<title>csa/devops/ansible-patches/openshift.git/roles/openshift_logging_curator, branch ands</title>
<subtitle>Unnamed repository; edit this file 'description' to name the repository.
</subtitle>
<link rel='alternate' type='text/html' href='http://cgit.master.suren.me/cgit/csa/devops/ansible-patches/openshift.git/'/>
<entry>
<title>Fix indentation to make yamllint happy</title>
<updated>2018-02-10T11:41:14+00:00</updated>
<author>
<name>Vadim Rutkovsky</name>
<email>vrutkovs@redhat.com</email>
</author>
<published>2018-02-07T17:22:32+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.master.suren.me/cgit/csa/devops/ansible-patches/openshift.git/commit/?id=93619d7f090f633ddbd57bb5a41a4d67c83c7c10'/>
<id>93619d7f090f633ddbd57bb5a41a4d67c83c7c10</id>
<content type='text'>
Signed-off-by: Vadim Rutkovsky &lt;vrutkovs@redhat.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Signed-off-by: Vadim Rutkovsky &lt;vrutkovs@redhat.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>Verify that requested services have schedulable nodes matching the selectors</title>
<updated>2018-02-10T09:41:45+00:00</updated>
<author>
<name>Vadim Rutkovsky</name>
<email>vrutkovs@redhat.com</email>
</author>
<published>2018-02-06T11:57:21+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.master.suren.me/cgit/csa/devops/ansible-patches/openshift.git/commit/?id=cea68953a257477198ac262f3f9c8047e4f39498'/>
<id>cea68953a257477198ac262f3f9c8047e4f39498</id>
<content type='text'>
Signed-off-by: Vadim Rutkovsky &lt;vrutkovs@redhat.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Signed-off-by: Vadim Rutkovsky &lt;vrutkovs@redhat.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>Set default image tag to openshift_image_tag for services</title>
<updated>2018-02-08T19:13:13+00:00</updated>
<author>
<name>Vadim Rutkovsky</name>
<email>vrutkovs@redhat.com</email>
</author>
<published>2018-01-11T17:08:57+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.master.suren.me/cgit/csa/devops/ansible-patches/openshift.git/commit/?id=e6e8c13d7d65c81c287a5b53403866db8280a5bf'/>
<id>e6e8c13d7d65c81c287a5b53403866db8280a5bf</id>
<content type='text'>
Signed-off-by: Vadim Rutkovsky &lt;vrutkovs@redhat.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Signed-off-by: Vadim Rutkovsky &lt;vrutkovs@redhat.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>Merge pull request #7015 from sdodson/v310</title>
<updated>2018-02-07T02:53:36+00:00</updated>
<author>
<name>Scott Dodson</name>
<email>sdodson@redhat.com</email>
</author>
<published>2018-02-07T02:53:36+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.master.suren.me/cgit/csa/devops/ansible-patches/openshift.git/commit/?id=4829d3b280801ae4b8530d2de29fdcf5328e26cb'/>
<id>4829d3b280801ae4b8530d2de29fdcf5328e26cb</id>
<content type='text'>
Initial support for 3.10</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Initial support for 3.10</pre>
</div>
</content>
</entry>
<entry>
<title>Initial support for 3.10</title>
<updated>2018-02-05T20:09:07+00:00</updated>
<author>
<name>Scott Dodson</name>
<email>sdodson@redhat.com</email>
</author>
<published>2018-02-05T19:31:47+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.master.suren.me/cgit/csa/devops/ansible-patches/openshift.git/commit/?id=5402ff05c7f5695bbe60cb6966e57a038c4fe1c0'/>
<id>5402ff05c7f5695bbe60cb6966e57a038c4fe1c0</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Adding support for ES 5.x tech preview opt in</title>
<updated>2018-02-05T19:44:16+00:00</updated>
<author>
<name>Eric Wolinetz</name>
<email>ewolinet@redhat.com</email>
</author>
<published>2018-01-05T17:06:43+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.master.suren.me/cgit/csa/devops/ansible-patches/openshift.git/commit/?id=d5879135f077e4aaaa09c8e4ebf5d9ef2a063a78'/>
<id>d5879135f077e4aaaa09c8e4ebf5d9ef2a063a78</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Bug 1527178 - installation of logging stack failed: Invalid version specified for Elasticsearch</title>
<updated>2018-01-09T18:10:10+00:00</updated>
<author>
<name>Noriko Hosoi</name>
<email>nhosoi@redhat.com</email>
</author>
<published>2018-01-09T18:09:37+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.master.suren.me/cgit/csa/devops/ansible-patches/openshift.git/commit/?id=cb5e1a99a19b4fa498607f344fd6067493976f6a'/>
<id>cb5e1a99a19b4fa498607f344fd6067493976f6a</id>
<content type='text'>
openshift_logging_{curator,elasicsearch,fluentd,kibana,mux}/vars/main.yml:
- adding "3_9" to __allowed_.*_versions
- bumping __latest_.*_version to "3_9"
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
openshift_logging_{curator,elasicsearch,fluentd,kibana,mux}/vars/main.yml:
- adding "3_9" to __allowed_.*_versions
- bumping __latest_.*_version to "3_9"
</pre>
</div>
</content>
</entry>
<entry>
<title>Migrate to import_role for static role inclusion</title>
<updated>2018-01-05T17:44:56+00:00</updated>
<author>
<name>Scott Dodson</name>
<email>sdodson@redhat.com</email>
</author>
<published>2018-01-05T17:44:56+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.master.suren.me/cgit/csa/devops/ansible-patches/openshift.git/commit/?id=eacc12897ca86a255f89b8a4537ce2b7004cf319'/>
<id>eacc12897ca86a255f89b8a4537ce2b7004cf319</id>
<content type='text'>
In Ansible 2.2, the include_role directive came into existence as
a Tech Preview. It is still a Tech Preview through Ansible 2.4
(and in current devel branch), but with a noteable change. The
default behavior switched from static: true to static: false
because that functionality moved to the newly introduced
import_role directive (in order to stay consistent with include*
being dynamic in nature and `import* being static in nature).

The dynamic include is considerably more memory intensive as it will
dynamically create a role import for every host in the inventory
list to be used. (Also worth noting, there is at the time of this
writing an object allocation inefficiency in the dynamic include
that can in certain situations amplify this effect considerably)

This change is meant to mitigate the pressure on memory for the
Ansible control host.

We need to evaluate where it makes sense to dynamically include roles
and revert back to dynamic inclusion if and where it makes sense to do
so.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
In Ansible 2.2, the include_role directive came into existence as
a Tech Preview. It is still a Tech Preview through Ansible 2.4
(and in current devel branch), but with a noteable change. The
default behavior switched from static: true to static: false
because that functionality moved to the newly introduced
import_role directive (in order to stay consistent with include*
being dynamic in nature and `import* being static in nature).

The dynamic include is considerably more memory intensive as it will
dynamically create a role import for every host in the inventory
list to be used. (Also worth noting, there is at the time of this
writing an object allocation inefficiency in the dynamic include
that can in certain situations amplify this effect considerably)

This change is meant to mitigate the pressure on memory for the
Ansible control host.

We need to evaluate where it makes sense to dynamically include roles
and revert back to dynamic inclusion if and where it makes sense to do
so.
</pre>
</div>
</content>
</entry>
<entry>
<title>Merge pull request #5894 from ewolinetz/logging_defaults_from_existing</title>
<updated>2018-01-03T00:08:15+00:00</updated>
<author>
<name>OpenShift Merge Robot</name>
<email>openshift-merge-robot@users.noreply.github.com</email>
</author>
<published>2018-01-03T00:08:15+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.master.suren.me/cgit/csa/devops/ansible-patches/openshift.git/commit/?id=b1be9cd5d7573dc9d18ca27915bb383f8591117b'/>
<id>b1be9cd5d7573dc9d18ca27915bb383f8591117b</id>
<content type='text'>
Automatic merge from submit-queue.

Update logging to use existing cluster deployment for defaults

This will allow us to use logging facts to set defaults of specific configurations such as ES index replicas and shard count.

The update to logging facts yields us output like: 
```json
"elasticsearch": {
            "clusterrolebindings": {}, 
            "configmaps": {
                "logging-elasticsearch": {
                    "elasticsearch.yml": {
                        "cloud": {
                            "kubernetes": {
                                "namespace": "${NAMESPACE}", 
                                "pod_label": "${POD_LABEL}", 
                                "pod_port": 9300
                            }
                        }, 
                        "cluster": {
                            "name": "${CLUSTER_NAME}"
                        }, 
                        "discovery": {
                            "type": "kubernetes", 
                            "zen.minimum_master_nodes": "${NODE_QUORUM}", 
                            "zen.ping.multicast.enabled": false
                        }, 
                        "gateway": {
                            "expected_nodes": "${RECOVER_EXPECTED_NODES}", 
                            "recover_after_nodes": "${NODE_QUORUM}", 
                            "recover_after_time": "${RECOVER_AFTER_TIME}"
                        }, 
                        "index": {
                            "number_of_replicas": 0, 
                            "number_of_shards": 1, 
                            "translog": {
                                "flush_threshold_period": "5m", 
                                "flush_threshold_size": "256mb"
                            }, 
                            "unassigned.node_left.delayed_timeout": "2m"
                        }, 
                        "io.fabric8.elasticsearch.authentication.users": [
                            "system.logging.kibana", 
                            "system.logging.fluentd", 
                            "system.logging.curator", 
                            "system.admin"
                        ], 
```

TODO:
- [x] Update logging facts to pull out settings from config maps
- [x] Move `openshift_sanitize_inventory/library/conditional_set_fact.py` up to repo level
- [x] Generate diffs against currently deployed configs and correctly patch in custom changes from customers
- [x] Use `conditional_set_fact` to easily set defaults for logging based on logging facts, or falling back to role defaults when not specified in the inventory
- [x] Update all components to follow patching configmaps</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Automatic merge from submit-queue.

Update logging to use existing cluster deployment for defaults

This will allow us to use logging facts to set defaults of specific configurations such as ES index replicas and shard count.

The update to logging facts yields us output like: 
```json
"elasticsearch": {
            "clusterrolebindings": {}, 
            "configmaps": {
                "logging-elasticsearch": {
                    "elasticsearch.yml": {
                        "cloud": {
                            "kubernetes": {
                                "namespace": "${NAMESPACE}", 
                                "pod_label": "${POD_LABEL}", 
                                "pod_port": 9300
                            }
                        }, 
                        "cluster": {
                            "name": "${CLUSTER_NAME}"
                        }, 
                        "discovery": {
                            "type": "kubernetes", 
                            "zen.minimum_master_nodes": "${NODE_QUORUM}", 
                            "zen.ping.multicast.enabled": false
                        }, 
                        "gateway": {
                            "expected_nodes": "${RECOVER_EXPECTED_NODES}", 
                            "recover_after_nodes": "${NODE_QUORUM}", 
                            "recover_after_time": "${RECOVER_AFTER_TIME}"
                        }, 
                        "index": {
                            "number_of_replicas": 0, 
                            "number_of_shards": 1, 
                            "translog": {
                                "flush_threshold_period": "5m", 
                                "flush_threshold_size": "256mb"
                            }, 
                            "unassigned.node_left.delayed_timeout": "2m"
                        }, 
                        "io.fabric8.elasticsearch.authentication.users": [
                            "system.logging.kibana", 
                            "system.logging.fluentd", 
                            "system.logging.curator", 
                            "system.admin"
                        ], 
```

TODO:
- [x] Update logging facts to pull out settings from config maps
- [x] Move `openshift_sanitize_inventory/library/conditional_set_fact.py` up to repo level
- [x] Generate diffs against currently deployed configs and correctly patch in custom changes from customers
- [x] Use `conditional_set_fact` to easily set defaults for logging based on logging facts, or falling back to role defaults when not specified in the inventory
- [x] Update all components to follow patching configmaps</pre>
</div>
</content>
</entry>
<entry>
<title>Updating logging_facts to be able to pull values from config maps yaml files, use diffs to keep custom changes, white list certain settings when creating diffs</title>
<updated>2018-01-02T17:16:04+00:00</updated>
<author>
<name>Eric Wolinetz</name>
<email>ewolinet@redhat.com</email>
</author>
<published>2017-10-26T01:45:34+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.master.suren.me/cgit/csa/devops/ansible-patches/openshift.git/commit/?id=8cb27ae800df71ee816852df56cd2c861a0f0a0a'/>
<id>8cb27ae800df71ee816852df56cd2c861a0f0a0a</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
</feed>
