sonata-nfv / son-install

The SONATA Service Platform installation scripts
http://www.sonata-nfv.eu
Apache License 2.0
3 stars 13 forks source link

Databases are not initializated #62

Closed felipevicens closed 7 years ago

felipevicens commented 7 years ago

We got the following error:

D, [2017-04-16 21:45:08#14] DEBUG -- : PG::UndefinedTable: ERROR: relation "requests" does not exist
LINE 5: WHERE a.attrelid = '"requests"'::regclass
^
: SELECT a.attname, format_type(a.atttypid, a.atttypmod),
pg_get_expr(d.adbin, d.adrelid), a.attnotnull, a.atttypid, a.atttypmod
FROM pg_attribute a LEFT JOIN pg_attrdef d
ON a.attrelid = d.adrelid AND a.attnum = d.adnum
WHERE a.attrelid = '"requests"'::regclass
AND a.attnum > 0 AND NOT a.attisdropped
ORDER BY a.attnum

Solution: bundle exec rake db:migrate that has to be run

arocha7 commented 7 years ago

Need more info: 'bundle exec rake db:migrate ' is to be invoked at

Example: ./roles/sp/tasks/gtk/srv.yml: