Adds exception throwing when Openstack services missing 37/6437/1
authorBenjamin Diaz <bdiaz@whitestack.com>
Wed, 22 Aug 2018 20:18:21 +0000 (17:18 -0300)
committerBenjamin Diaz <bdiaz@whitestack.com>
Wed, 22 Aug 2018 20:25:47 +0000 (17:25 -0300)
commit38d905ad4d53b3f070dc98a639a6082397f100f3
treed381ab355e017963ea7e7c13f18a071dea74ce2e
parent58834ab6fcbcc4039c479de89ecc82f0eb2fd2f3
Adds exception throwing when Openstack services missing

Currently if MON can't find Gnocchi or Aodh services it fails obscurely.
Same thing happens if it can't find endpoints for those services in the
specified region. This patch adds throwing an exception in those cases
to ease troubleshooting.

Signed-off-by: Benjamin Diaz <bdiaz@whitestack.com>
osm_mon/plugins/OpenStack/common.py