<html>
<head>
<meta http-equiv="Content-Type" content="text/html;
charset=windows-1252">
</head>
<body bgcolor="#FFFFFF" text="#000000">
Hey Lars,<br>
<br>
I think the needs you have are relevant to anyone who would use this
tooling and think you should definitely move forward with
implementing what you have prototyped. I personally believe any
improvements to the tools in osops repos are welcome. Bringing
modularity to this as well is great from my perspective.<br>
<br>
<br>
<div class="moz-cite-prefix">On 11/03/2016 01:03 PM, Lars
Kellogg-Stedman wrote:<br>
</div>
<blockquote type="cite"
cite="mid:20161103180344.mpegrc3lf66q42ar@redhat.com">
<pre wrap="">I've recently started working with the oscheck scripts in the
osops-tools-monitoring project [1], and I found that in their current
form they didn't quite meet my needs. In particular:
- They don't share a common set of authentication options
- They can't read credentials from files
- Many of them require a priori configuration of the openstack
environment, which means they can't be used to health check a new
deployment
I've spent a little time recently prototyping a new set of health
check scripts, available here:
<a class="moz-txt-link-freetext" href="https://github.com/larsks/oschecks">https://github.com/larsks/oschecks</a>
I'd like to emphasize that these *are not* currently meant as a usable
replacement for the existing checks; they were to prototype (a) the
way I'd like the user interface to work and (b) the way I'd like
things like credentials to work.
This project offers the following features:
- They use os_client_config for managing credentials, so they can be
configured from a clouds.yaml file, or the environment, or the
command line, and it all Just Works.
- Authentication is handled in just one place in the code for all the
checks.
- The checks are extensible (using the cliff framework), which means
that checks with different sets of requirements can be
packaged/installed separately. See, for example:
<a class="moz-txt-link-freetext" href="https://github.com/larsks/oschecks_systemd">https://github.com/larsks/oschecks_systemd</a>
- For every supported service there is a simple "can I make an
authenticated request to the API successfully" check that does not
require any pre-existing resources to be created.
- They are (hopefully) structured such that it is relatively easy to
write new checks the follow the same syntax and behavior of the
other checks.
If people think this is a useful way of implementing these health
checks, I would be happy to do the work necessary to make them a mostly
drop-in replacement for the existing checks (adding checks that are
currently missing, and adding appropriate console-script entrypoints to
match the existing names, etc).
I would appreciate any feedback. Sorry for the long message, and thanks
for taking the time to read this far!
[1]: <a class="moz-txt-link-freetext" href="https://github.com/openstack/osops-tools-monitoring/tree/master/monitoring-for-openstack/oschecks">https://github.com/openstack/osops-tools-monitoring/tree/master/monitoring-for-openstack/oschecks</a>
</pre>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<br>
<pre wrap="">_______________________________________________
OpenStack-operators mailing list
<a class="moz-txt-link-abbreviated" href="mailto:OpenStack-operators@lists.openstack.org">OpenStack-operators@lists.openstack.org</a>
<a class="moz-txt-link-freetext" href="http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-operators">http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-operators</a>
</pre>
</blockquote>
<br>
<pre class="moz-signature" cols="72">--
Kind regards,
--
Melvin Hillsman
Ops Technical Lead
OpenStack Innovation Center
<a class="moz-txt-link-abbreviated" href="mailto:mrhillsman@gmail.com">mrhillsman@gmail.com</a>
mobile: (210) 413-1659
office: (210) 312-1267
Learner | Ideation | Belief | Responsibility | Command
<a class="moz-txt-link-freetext" href="http://osic.org">http://osic.org</a></pre>
</body>
</html>