[DB] Add force recreate parameter to cloudstack-setup-databases script#11239
[DB] Add force recreate parameter to cloudstack-setup-databases script#11239sureshanaparti merged 1 commit intoapache:mainfrom
Conversation
|
@blueorangutan package |
|
@nvazquez a [SL] Jenkins job has been kicked to build packages. It will be bundled with KVM, XenServer and VMware SystemVM templates. I'll keep you posted as I make progress. |
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #11239 +/- ##
============================================
- Coverage 16.57% 16.57% -0.01%
+ Complexity 14059 14058 -1
============================================
Files 5772 5772
Lines 512938 512938
Branches 62304 62304
============================================
- Hits 85026 85025 -1
- Misses 418431 418432 +1
Partials 9481 9481
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
|
Packaging result [SF]: ✔️ el8 ✔️ el9 ✔️ debian ✔️ suse15. SL-JID 14240 |
|
@blueorangutan test |
|
@nvazquez a [SL] Trillian-Jenkins test job (ol8 mgmt + kvm-ol8) has been kicked to run smoke tests |
|
[SF] Trillian test result (tid-13816)
|
|
@adietrich-ussignal , can you review and test this? |
|
Verfied
|
Description
This PR adds a new parameter
--force-recreateto thecloudstack-setup-databasesscript, to prevent the recreation of existing databases and prevent accidental data loss.Fixes: #11202
Documentation PR: apache/cloudstack-documentation#534
Types of changes
Feature/Enhancement Scale or Bug Severity
Feature/Enhancement Scale
Bug Severity
Screenshots (if appropriate):
How Has This Been Tested?
--force-recreateparameter having already definedcloudandcloud_usagedatabases:--force-recreateparameter having already definedcloudandcloud_usagedatabases:clouddatabase manuallyHow did you try to break this feature and the system with this change?