<feed xmlns='http://www.w3.org/2005/Atom'>
<title>csa/devops/ansible-patches/openshift.git/roles/openshift_health_checker/action_plugins, 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>Ensure proper variable templating for skopeo auth credentials</title>
<updated>2017-10-17T19:15:14+00:00</updated>
<author>
<name>Michael Gugino</name>
<email>mgugino@redhat.com</email>
</author>
<published>2017-10-17T15:50: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=23b37a72ef60e7d7830321ba65c5e98bf9563232'/>
<id>23b37a72ef60e7d7830321ba65c5e98bf9563232</id>
<content type='text'>
Currently, docker_image_availability.py plugin check is
using the raw strings for variables from task_vars.

This results in any variables that utilized within the
plugin to be un-templated.  For instance, if variable
"x" is set to "{{ y }}" and y is set to "2", one
would expect that x == 2 inside the plugin.  Currently,
the plugin will use the string "{{ y }}" for the value
of x instead of templating the variable.

This commit ensures skopeo registry auth credentials
are templated properly.

Fixes: https://bugzilla.redhat.com/show_bug.cgi?id=1500698
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Currently, docker_image_availability.py plugin check is
using the raw strings for variables from task_vars.

This results in any variables that utilized within the
plugin to be un-templated.  For instance, if variable
"x" is set to "{{ y }}" and y is set to "2", one
would expect that x == 2 inside the plugin.  Currently,
the plugin will use the string "{{ y }}" for the value
of x instead of templating the variable.

This commit ensures skopeo registry auth credentials
are templated properly.

Fixes: https://bugzilla.redhat.com/show_bug.cgi?id=1500698
</pre>
</div>
</content>
</entry>
<entry>
<title>openshift_checks: enable providing file outputs</title>
<updated>2017-09-18T21:04:39+00:00</updated>
<author>
<name>Luke Meyer</name>
<email>lmeyer@redhat.com</email>
</author>
<published>2017-08-10T15:58:06+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.master.suren.me/cgit/csa/devops/ansible-patches/openshift.git/commit/?id=f6011f0c805f308a99378d46873b1dbf33ad571f'/>
<id>f6011f0c805f308a99378d46873b1dbf33ad571f</id>
<content type='text'>
Some refactoring of checks and the action plugin to enable writing files
locally about the check operation and results, if the user wants them.
This is aimed at enabling persistent and machine-readable results from
recurring runs of health checks.

Now, rather than trying to build a result hash to return from running
each check, checks can just register what they need to as they're going
along, and the action plugin processes state when the check is done.
Checks can register failures, notes about what they saw, and arbitrary
files to be saved into a directory structure where the user specifies.
If no directory is specified, no files are written.

At this time checks can still return a result hash, but that will likely
be refactored away in the next iteration.

Multiple failures can be registered without halting check execution.
Throwing an exception or returning a hash with "failed" is registered as
a failure.

execute_module now does a little more with the results. Results are
automatically included in notes and written individually as files.
"changed" results are propagated. Some json results are decoded.

A few of the checks were enhanced to use these features; all get some of
the features for free.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Some refactoring of checks and the action plugin to enable writing files
locally about the check operation and results, if the user wants them.
This is aimed at enabling persistent and machine-readable results from
recurring runs of health checks.

Now, rather than trying to build a result hash to return from running
each check, checks can just register what they need to as they're going
along, and the action plugin processes state when the check is done.
Checks can register failures, notes about what they saw, and arbitrary
files to be saved into a directory structure where the user specifies.
If no directory is specified, no files are written.

At this time checks can still return a result hash, but that will likely
be refactored away in the next iteration.

Multiple failures can be registered without halting check execution.
Throwing an exception or returning a hash with "failed" is registered as
a failure.

execute_module now does a little more with the results. Results are
automatically included in notes and written individually as files.
"changed" results are propagated. Some json results are decoded.

A few of the checks were enhanced to use these features; all get some of
the features for free.
</pre>
</div>
</content>
</entry>
<entry>
<title>openshift_health_check: allow disabling all checks</title>
<updated>2017-09-12T14:32:43+00:00</updated>
<author>
<name>Luke Meyer</name>
<email>lmeyer@redhat.com</email>
</author>
<published>2017-09-08T16:07:41+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.master.suren.me/cgit/csa/devops/ansible-patches/openshift.git/commit/?id=5f54a91de69bafa70fc4e2657c8bdd8a82c54f11'/>
<id>5f54a91de69bafa70fc4e2657c8bdd8a82c54f11</id>
<content type='text'>
Can now set openshift_disable_check=* to disable all checks without
needing to know their names.

fixes bug 1462106
https://bugzilla.redhat.com/show_bug.cgi?id=1462106
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Can now set openshift_disable_check=* to disable all checks without
needing to know their names.

fixes bug 1462106
https://bugzilla.redhat.com/show_bug.cgi?id=1462106
</pre>
</div>
</content>
</entry>
<entry>
<title>Update error message: s/non-unique/duplicate</title>
<updated>2017-08-24T13:00:34+00:00</updated>
<author>
<name>Rodolfo Carvalho</name>
<email>rhcarvalho@gmail.com</email>
</author>
<published>2017-08-21T12:27:19+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.master.suren.me/cgit/csa/devops/ansible-patches/openshift.git/commit/?id=51645eab599b0b23c582e22a9e84ce9423362ab1'/>
<id>51645eab599b0b23c582e22a9e84ce9423362ab1</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Make pylint disables more specific</title>
<updated>2017-08-24T13:00:30+00:00</updated>
<author>
<name>Rodolfo Carvalho</name>
<email>rhcarvalho@gmail.com</email>
</author>
<published>2017-08-03T13:13:01+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.master.suren.me/cgit/csa/devops/ansible-patches/openshift.git/commit/?id=8216ea6e6eff5f60ad3aeddd602f2ab3979117df'/>
<id>8216ea6e6eff5f60ad3aeddd602f2ab3979117df</id>
<content type='text'>
And beautify the code a bit.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
And beautify the code a bit.
</pre>
</div>
</content>
</entry>
<entry>
<title>Handle more exceptions when running checks</title>
<updated>2017-08-24T13:00:16+00:00</updated>
<author>
<name>Rodolfo Carvalho</name>
<email>rhcarvalho@gmail.com</email>
</author>
<published>2017-08-03T08:40:08+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.master.suren.me/cgit/csa/devops/ansible-patches/openshift.git/commit/?id=75b1ef8fa6e80e7645a60cef2d4e7640a6c87955'/>
<id>75b1ef8fa6e80e7645a60cef2d4e7640a6c87955</id>
<content type='text'>
This prevents an exception in one check from interfering with other
checks. Skips checks that raise an exception in their is_active method.

Whenever capturing a broad exception in the `is_action` or `run`
methods, include traceback information that can be useful in bug
reports.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This prevents an exception in one check from interfering with other
checks. Skips checks that raise an exception in their is_active method.

Whenever capturing a broad exception in the `is_action` or `run`
methods, include traceback information that can be useful in bug
reports.
</pre>
</div>
</content>
</entry>
<entry>
<title>List known checks/tags when check name is invalid</title>
<updated>2017-08-24T13:00:12+00:00</updated>
<author>
<name>Rodolfo Carvalho</name>
<email>rhcarvalho@gmail.com</email>
</author>
<published>2017-08-21T11:37:25+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.master.suren.me/cgit/csa/devops/ansible-patches/openshift.git/commit/?id=a28796fc669bd40f9384118f278b62001a15214d'/>
<id>a28796fc669bd40f9384118f278b62001a15214d</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>List existing health checks when none is requested</title>
<updated>2017-08-24T12:59:50+00:00</updated>
<author>
<name>Rodolfo Carvalho</name>
<email>rhcarvalho@gmail.com</email>
</author>
<published>2017-06-23T13:31:12+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.master.suren.me/cgit/csa/devops/ansible-patches/openshift.git/commit/?id=25276bda8c002f4279e5c1748f64a9fd1ee999a4'/>
<id>25276bda8c002f4279e5c1748f64a9fd1ee999a4</id>
<content type='text'>
This is a simple mechanism to learn what health checks are available.

Note that we defer task_vars verification, so that we can compute
requested_checks and resolved_checks earlier, allowing us to list checks
even if openshift_facts has not run.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This is a simple mechanism to learn what health checks are available.

Note that we defer task_vars verification, so that we can compute
requested_checks and resolved_checks earlier, allowing us to list checks
even if openshift_facts has not run.
</pre>
</div>
</content>
</entry>
<entry>
<title>openshift_checks: add property to track 'changed'</title>
<updated>2017-08-02T18:06:37+00:00</updated>
<author>
<name>Luke Meyer</name>
<email>lmeyer@redhat.com</email>
</author>
<published>2017-07-21T02:25: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=bf0828bc0f2e3088df20abc77e30a162595e1c22'/>
<id>bf0828bc0f2e3088df20abc77e30a162595e1c22</id>
<content type='text'>
Introduced the 'changed' property for checks that can make changes to
track whether they did or not. Rather than the check's own logic having
to track this and include it in the result hash, just set the property
and have the action plugin insert it in the result hash after running
(even if there is an exception).

Cleared out a lot of crufty "changed: false" hash entries.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Introduced the 'changed' property for checks that can make changes to
track whether they did or not. Rather than the check's own logic having
to track this and include it in the result hash, just set the property
and have the action plugin insert it in the result hash after running
(even if there is an exception).

Cleared out a lot of crufty "changed: false" hash entries.
</pre>
</div>
</content>
</entry>
<entry>
<title>Normalize list of checks passed to action plugin</title>
<updated>2017-07-27T14:30:19+00:00</updated>
<author>
<name>Rodolfo Carvalho</name>
<email>rhcarvalho@gmail.com</email>
</author>
<published>2017-06-23T13:30:08+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.master.suren.me/cgit/csa/devops/ansible-patches/openshift.git/commit/?id=d6d5fe2954942a6706f5ae0255d94435ceade50b'/>
<id>d6d5fe2954942a6706f5ae0255d94435ceade50b</id>
<content type='text'>
This allows users to pass either a string with comma-separated check
names or a proper list of strings, whatever is more convenient in the
context.

For consistency, the same normalization is applied to the
'openshift_disable_check' variable.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This allows users to pass either a string with comma-separated check
names or a proper list of strings, whatever is more convenient in the
context.

For consistency, the same normalization is applied to the
'openshift_disable_check' variable.
</pre>
</div>
</content>
</entry>
</feed>
