-
Notifications
You must be signed in to change notification settings - Fork 1.2k
[DB] Add force recreate parameter to cloudstack-setup-databases script #11239
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
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 ReportAll 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 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
clgtm
[SF] Trillian test result (tid-13816)
|
@adietrich-ussignal , can you review and test this? |
Description
This PR adds a new parameter
--force-recreate
to thecloudstack-setup-databases
script, to prevent the recreation of existing databases and prevent accidental data loss.Fixes: #11202
Types of changes
Feature/Enhancement Scale or Bug Severity
Feature/Enhancement Scale
Bug Severity
Screenshots (if appropriate):
How Has This Been Tested?
--force-recreate
parameter having already definedcloud
andcloud_usage
databases:--force-recreate
parameter having already definedcloud
andcloud_usage
databases:cloud
database manuallyHow did you try to break this feature and the system with this change?