[Engine-devel] Changes in DB scripts that need your attension

Eli Mesika emesika at redhat.com
Thu Apr 18 09:19:43 UTC 2013


Hi

As part of solving https://bugzilla.redhat.com/show_bug.cgi?id=947344 I am doing the following changes:

1) Create all *.md5 files in /tmp/db
2) Create db log files by default under /var/log/ovirt-engine/db
3) Do not automatically create a *.schema file that represent the up-to-date schema (after all upgrades took place)
   A new utility script exportDbSchema.sh will be available for that (manual only, no auto-generation schema)
   
In order that DB scripts in development environment will keep working, please do 

> sudo mkdir -p /var/log/ovirt-engine/db
> sudo chmod 777 /var/log/ovirt-engine/db

If you are getting "Permission Denied" errors while running the scripts it means that you didn't run the 2 commands above.

If you have any comments/suggestions to this solution, please respond before this patch is merged, I will wait with this change to next SUN , APR 21 2013

Best Regards

Eli




More information about the Devel mailing list