You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cloudstack.apache.org by GitBox <gi...@apache.org> on 2020/03/23 15:36:31 UTC

[GitHub] [cloudstack] Spaceman1984 edited a comment on issue #3973: systemd dependency on db

Spaceman1984 edited a comment on issue #3973: systemd dependency on db
URL: https://github.com/apache/cloudstack/pull/3973#issuecomment-602673487
 
 
   Tested with mysqld, the config behaves as expected. @rvalle I tried to corrupt the db, but I was only able to do it while the upgrade scripts were running. Do you do the restart while the upgrade script is executing or after?
   
   I executed:
   ```
   systemctl stop cloudstack-management
   cloudstack-setup-databases cloud:cloud@localhost --deploy-as=root
   systemctl start cloudstack-management
   tail -f /var/log/cloudstack/management/management.log
   ```
   I watch the log until the SQL queries stop being logged then I restart.
   
   At this point cloudstack seems to fire up properly, I didn't see any errors in the log.
   
   But If I restart while the SQL scripts are being logged Cloudstack won't start up and I have to run the db setup script again to initialize the db.

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services