This patch fixes a mistake on my part, previously the location of
the ca certs on archlinux, but on ubuntu this isn't where they
live. So the mqtt libs can't properly encrypt the traffic and
things are getting stuck in a loop and not working. This commit fixes
this by writing the cert from instantssl/comodo to disk and then
pointing the worker at that. This way it should always work.
Change-Id: I21b1a64b457545115ff862e3c3388c5892c5497b
This commit enables the mqtt support in the subunit gearman worker so
the workers will report over mqtt when they process a subunit file.
Change-Id: Ifff2f57740f160e328c0548254e16b04e6ab6c4e
Depends-On: Ibd13b737eccf52863a69d20843cb7d50242f7bb9
This commit removes the 3 unneeded subunit worker processes from the
subunit_worker node type. Previously, 4 workers were launched on the
same node (similar to the logstash workers) but this caused issues
in production. (they consumed all the ram) After dropping down to one
process it was able to handle the load without issue and didn't
consume all the resources.
Change-Id: I5f7f85fc6f8bfb5d2fbec548b58c5d8a1bc0e628
This commit switches the subunit2sql_uri which get's passed into the
config file template to use decomposed values. The advantage of this
is that it enables using subsets of the information elsewhere.
Change-Id: I30b5117c12897fa3a1cb1e2579b4eec59ba57b2b
This adds a new gearman worker to process the subunit files from
the gate job runs. It will use subunit2sql to connect to a sql
server and process the data from the subunit file. The
log-gearman-client is modified to allow for pushing subunit jobs
to gearman, and the worker model for processsing logs is borrowed
to process the subunit files.
Change-Id: I83103eb6afc22d91f916583c36c0e956c23a64b3