File 0001-fix-influxdb-stop-task.patch of Package openstack-monasca-installer

This patch keeps the influxdb stop task from failing the monasca-installer run
in environments that start out using Cassandra as their time series database.

diff --git a/roles/influxdb/tasks/stop.yml b/roles/influxdb/tasks/stop.yml
index 67dd71a..7c1fa88 100644
--- a/roles/influxdb/tasks/stop.yml
+++ b/roles/influxdb/tasks/stop.yml
@@ -3,3 +3,8 @@
 
 - name: Stop influxdb
   service: name=influxdb state=stopped
+  # This task will get called when database_type is 'cassandra' and fail if
+  # influxdb was never deployed previously. That is not an actual problem
+  # though, so we'll ignore failures here to prevent this constellation from
+  # failing all monasca-installer runs.
+  ignore_errors: true
openSUSE Build Service is sponsored by