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 2022/08/03 10:44:31 UTC

[GitHub] [cloudstack] rohityadavcloud opened a new issue, #6608: CloudStack DB upgrade failure causes upgrade mess

rohityadavcloud opened a new issue, #6608:
URL: https://github.com/apache/cloudstack/issues/6608

   If CloudStack is being upgraded and a DB issue is hit (say table is already altered, forgot to have systemvmtemplate in the deb/rpm build etc), then the whole transaction isn't reverted maybe partially. This causes changes to persist, changes such as new tables being added, existing tables/views altered. As an operator, I would prefer CloudStack to revert its DB changes when an DB upgrade path issue is hit.
   
   ##### ISSUE TYPE
   <!-- Pick one below and delete the rest -->
    * Bug Report
    * 
   ##### COMPONENT NAME
   <!--
   Categorize the issue, e.g. API, VR, VPN, UI, etc.
   -->
   ~~~
   DB, Upgrades
   ~~~


-- 
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.

To unsubscribe, e-mail: commits-unsubscribe@cloudstack.apache.org.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [I] CloudStack DB upgrade failure causes upgrade mess [cloudstack]

Posted by "rohityadavcloud (via GitHub)" <gi...@apache.org>.
rohityadavcloud commented on issue #6608:
URL: https://github.com/apache/cloudstack/issues/6608#issuecomment-2084869218

   Closing on Wei's remarks. Let's fix it, revisit in future.


-- 
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.

To unsubscribe, e-mail: commits-unsubscribe@cloudstack.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


[GitHub] [cloudstack] DaanHoogland commented on issue #6608: CloudStack DB upgrade failure causes upgrade mess

Posted by GitBox <gi...@apache.org>.
DaanHoogland commented on issue #6608:
URL: https://github.com/apache/cloudstack/issues/6608#issuecomment-1367893262

   related to #6980 . maybe possible to combine the two


-- 
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.

To unsubscribe, e-mail: commits-unsubscribe@cloudstack.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [I] CloudStack DB upgrade failure causes upgrade mess [cloudstack]

Posted by "rohityadavcloud (via GitHub)" <gi...@apache.org>.
rohityadavcloud commented on issue #6608:
URL: https://github.com/apache/cloudstack/issues/6608#issuecomment-2076350541

   Was this resolved now cc @weizhouapache if you know?


-- 
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.

To unsubscribe, e-mail: commits-unsubscribe@cloudstack.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [I] CloudStack DB upgrade failure causes upgrade mess [cloudstack]

Posted by "rohityadavcloud (via GitHub)" <gi...@apache.org>.
rohityadavcloud closed issue #6608: CloudStack DB upgrade failure causes upgrade mess
URL: https://github.com/apache/cloudstack/issues/6608


-- 
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.

To unsubscribe, e-mail: commits-unsubscribe@cloudstack.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


[GitHub] [cloudstack] DaanHoogland commented on issue #6608: CloudStack DB upgrade failure causes upgrade mess

Posted by "DaanHoogland (via GitHub)" <gi...@apache.org>.
DaanHoogland commented on issue #6608:
URL: https://github.com/apache/cloudstack/issues/6608#issuecomment-1602568903

   We can not create an update/rollback for an unknown jump in version, but the per version step could/should be made transaction. This will have to include an upgrade script, java code and a cleanup script and will be hard to implement.


-- 
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.

To unsubscribe, e-mail: commits-unsubscribe@cloudstack.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [I] CloudStack DB upgrade failure causes upgrade mess [cloudstack]

Posted by "weizhouapache (via GitHub)" <gi...@apache.org>.
weizhouapache commented on issue #6608:
URL: https://github.com/apache/cloudstack/issues/6608#issuecomment-2076463395

   > Was this resolved now cc @weizhouapache if you know?
   
   @rohityadavcloud 
   AFAIK no, acs still do not have rollback mechanism if upgrade fails


-- 
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.

To unsubscribe, e-mail: commits-unsubscribe@cloudstack.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org