-
Notifications
You must be signed in to change notification settings - Fork 1.2k
Primera pure patches & various small fixes #10132
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
Conversation
…various small bug fixes
…various small bug fixes
…various small bug fixes
…various small bug fixes
…rget storage pool
…rget storage pool
…rget storage pool
…rget storage pool
…various small bug fixes
…various small bug fixes
…various small bug fixes
…various small bug fixes
…rget storage pool
…rget storage pool
…rget storage pool
…rget storage pool
…is used before its expunged on the array
…is used before its expunged on the array
...src/main/java/org/apache/cloudstack/engine/subsystem/api/storage/PrimaryDataStoreDriver.java
Outdated
Show resolved
Hide resolved
slavkap
left a comment
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.
@DaanHoogland, unfortunately, I don't have time now to test this but the code LGTM
|
Packaging result [SF]: ✔️ el8 ✔️ el9 ✔️ debian ✔️ suse15. SL-JID 12232 |
rp-
left a comment
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.
I'll run this patch against a Linstor cluster to see if it breaks anything.
...tion/src/main/java/org/apache/cloudstack/storage/motion/StorageSystemDataMotionStrategy.java
Outdated
Show resolved
Hide resolved
...tion/src/main/java/org/apache/cloudstack/storage/motion/StorageSystemDataMotionStrategy.java
Outdated
Show resolved
Hide resolved
plugins/hypervisors/kvm/src/main/java/com/cloud/hypervisor/kvm/storage/KVMStorageProcessor.java
Show resolved
Hide resolved
* Code cleanup tabs/newlines
|
is there consensus growing on this or shall I move this to 4.19.3 and up? |
|
@DaanHoogland I'd like to review @rp- comments today, just could not get to it yesterday. Will provide comments/updates later today. |
|
@rp- can you review the last changes. |
plugins/hypervisors/kvm/src/main/java/com/cloud/hypervisor/kvm/storage/KVMStorageProcessor.java
Show resolved
Hide resolved
So I dug a bit deeper and found the actual problem to be the If I don't use the script at all, and let CloudStack fetch the template on its own, the entries are correct and the Linstor driver already creates the volume on management server and everything is fine. So my question is, is this script still recommended for installation? And if so can we fix it? |
because ACS packages no (can) include the template the script has somewhat gotten out of use. It should still work, but I am not sure how to fix it. |
AFAIS the script already gets the sizes and writes them correctly into the |
sounds good, does that mean we can merge this, @rp- ? |
…e == FiberChannel" This reverts commit f066100.
|
I've reverted commit #f066100
Reverted. |
|
@rp- , can you approve?? |
rp-
left a comment
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.
Just to have it noted here, I'll probably create an issue out of it.
It isn't the cloud-install-sys-tmplt script (maybe its usage), but the actual problem is in:
Line 1242 in cd81398
| tmpltStore.setPhysicalSize(0); // no size information for |
For pre-seeded templates, the template_store_ref entries get pre filled with 0 and never updated, which is bad I guess for most primary storages.
Using preseeded templates and this commit will break using those templates, until the DB entries are fixed.
ok, that to me sounds like we shouldn't merge this untill we fix that as well. |
I have worked out a possible fix #10317 |
Co-authored-by: GLOVER RENE <[email protected]> Co-authored-by: Suresh Kumar Anaparti <[email protected]>
Description
This PR...
This PR fixes several small issues with Fiberchannel implementation and locally discovered issues:
Types of changes
Feature/Enhancement Scale or Bug Severity
Feature/Enhancement Scale
Bug Severity
Screenshots (if appropriate):
How Has This Been Tested?
Tested locally with real world workloads
How did you try to break this feature and the system with this change?
Tested locally with real world workloads