This change updates the functions so that they work with the most up to date
OpenStack SDK, and adds an elasticsearch output format.
Tests have been udpated to pass newer versions of flake8 and py3
Zuul project config has been added
Change-Id: If46d3fb8e2b2e4aa5e21bf7da470945b05d216cf
Signed-off-by: cloudnull <kevin@cloudnull.com>
Currently, if a dependency of one of the os_ plugins is missing,
running monitorstack with no args returns (for example):
```
OpenStack plugins require access to the OpenStackSDK. \
Please install "python-openstacksdk". \
ERROR: No module named keystoneauth1.loading
```
This commit moves the os_utils import in the os_ plugins to within cli,
similar to what is being done in the kvm module. This allows the
monitorstack cli to operate normally even if a plugin cannot be loaded.
Change-Id: I2ff1ad8c6365f6592191f09ea9c0d543f81e16ba
The PR adds the cinder block pool metrics so that we can now retrieve
insights into the environment on the capacity all active storage pools.
This PR also creates tests for the new plugins and reduces duplication
across plugins by centralizing the runner method into the init of the
tests module.
This should now bring total code coverage to 100%
Signed-off-by: Kevin Carter <kevin.carter@rackspace.com>