From c32885aed875ceb7ecbe0dfaabd64060e058fccf Mon Sep 17 00:00:00 2001 From: Joseph Davis Date: Thu, 6 Jun 2019 13:39:54 -0700 Subject: [PATCH] Clarify dependency on cachetools in recreate-metric-id tool It was found in some installations that python-cachetools needed to be present on the system. This can happen if the installation was configured for the Java mon-persister but the recreate-metric-id tool is written in Python. Added a bullet item to describe this dependency and the quick workaround of installing the python-cachetools package. Change-Id: I25635c069a5ed21342780a28b516c74b61dae30b Story: 2005305 Task: 30611 --- .../tools/cassandra/recreate-metric-id/README.rst | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/monasca_persister/tools/cassandra/recreate-metric-id/README.rst b/monasca_persister/tools/cassandra/recreate-metric-id/README.rst index a0946392..c998afeb 100644 --- a/monasca_persister/tools/cassandra/recreate-metric-id/README.rst +++ b/monasca_persister/tools/cassandra/recreate-metric-id/README.rst @@ -25,6 +25,12 @@ Steps to use this tool: - Log in to one node where monasca-persister is deployed. +- If this installation of Monasca is separate from other OpenStack services + (i.e. if Keystone services are not installed on the same server) then + `cachetools` may need to be installed. On a SUSE system this can be done + with `sudo zypper in python-cachetools`, or on an Ubuntu based devstack + this can be done with `sudo apt-get install python-cachetools`. + - Identify installation path to monasca-persister. This may be a virtual environment such as `/opt/stack/venv/monasca-/lib/python2.7/site-packages/monasca_persister`