Details
-
Task
-
Status: Closed
-
Low
-
Resolution: Done
-
Honolulu Release
-
None
-
Policy 20/9-04/10
Description
In policy-clamp-create-tables.sql, none of the CREATE TABLE statements have IF NOT EXISTS clauses. This causes the database initialization job to fail erroneously if these tables are already present.
kubectl -n onap logs onapdep-policy-clamp-galera-config-tv2dr
+ mysql -hpolicy-mariadb -P3306 -upolicy_user -p########### policyclamp
ERROR 1050 (42S01) at line 2: Table 'dictionary' already exists