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
Fix UUID for child datastores in all cases #8057
Fix UUID for child datastores in all cases #8057
Conversation
@blueorangutan package |
@harikrishna-patnala a [SF] 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. |
Packaging result [SF]: ✔️ el7 ✔️ el8 ✔️ el9 ✔️ debian ✔️ suse15. SL-JID 7277 |
Codecov Report
@@ Coverage Diff @@
## 4.18 #8057 +/- ##
============================================
+ Coverage 13.02% 13.06% +0.04%
- Complexity 9032 9108 +76
============================================
Files 2720 2720
Lines 257080 257537 +457
Branches 40088 40156 +68
============================================
+ Hits 33476 33658 +182
- Misses 219400 219649 +249
- Partials 4204 4230 +26
... and 7 files with indirect coverage changes 📣 We’re building smart automated test selection to slash your CI/CD build times. Learn more |
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
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.
LGTM - didn't test it though
@blueorangutan alma8 vmware-70u3 |
yeah, i make that mistake all the time |
@blueorangutan test alma8 vmware-70u3 |
@DaanHoogland a [SF] Trillian-Jenkins test job (alma8 mgmt + vmware-70u3) has been kicked to run smoke tests |
[SF] Trillian test result (tid-7905)
|
@blueorangutan test rocky8 vmware-67u3 |
@DaanHoogland a [SF] Trillian-Jenkins test job (rocky8 mgmt + vmware-67u3) has been kicked to run smoke tests |
[SF] Trillian test result (tid-7914)
|
@blueorangutan test rocky8 vmware-67u3 |
@harikrishna-patnala a [SF] Trillian-Jenkins test job (rocky8 mgmt + vmware-67u3) has been kicked to run smoke tests |
[SF] Trillian test result (tid-7951)
|
@harikrishna-patnala can you review the failures, are they due to this PR - or can we merge this PR? |
This can be merged @rohityadavcloud. Those seems to intermittent failures, PR changes are purely related to datastore cluster |
* 4.18: Fix UUID for child datastores in all cases (#8057)
(cherry picked from commit 76ab621) Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
Description
This PR fixes the issue #7999
While putting the storage pool datastore cluster in maintenance mode, then there are chances that the cloud.uuid gets updated with UUID without hyphens ('-') which causes issue with sync storage pool.
In my case this is happening if there any hosts in the clusters which does not have access to the storage pool.
In this PR we are making sure that the UUID does not change to uuid without hyphens
Types of changes
Bug Severity
Screenshots (if appropriate):
Before and after putting the storage pool in maintenance mode, cloud.uuid has not changed
Before the fix, this UUID has changed to UUID without hyphens
How Has This Been Tested?
How did you try to break this feature and the system with this change?