From ce9a4403241e27e189e62198fbd9be3e7aad9bee Mon Sep 17 00:00:00 2001 From: Tim Flink Date: Wed, 20 Aug 2014 17:42:28 +0000 Subject: [PATCH] commenting out db init in resultsdb-be for now since it's always being run and clears contents of the db --- roles/taskotron/resultsdb-backend/tasks/main.yml | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/roles/taskotron/resultsdb-backend/tasks/main.yml b/roles/taskotron/resultsdb-backend/tasks/main.yml index 1aa4a81401..c3833476f2 100644 --- a/roles/taskotron/resultsdb-backend/tasks/main.yml +++ b/roles/taskotron/resultsdb-backend/tasks/main.yml @@ -47,5 +47,8 @@ notify: - restart httpd -- name: initialize resultsdb database - shell: PROD='true' resultsdb init_db && touch /etc/resultsdb/db-is-init creates=/etc/resultsdb-is-init +# this command will clear the exising database and it's now being run every time, regardless of whether +# /etc/resultsdb-is-init exists or not. We've already lost a lot of data, so commenting this command out +# while we figure out how to handle the problem +#- name: initialize resultsdb database +# shell: PROD='true' resultsdb init_db && touch /etc/resultsdb/db-is-init creates=/etc/resultsdb-is-init