-
Notifications
You must be signed in to change notification settings - Fork 1.2k
Xenserver smoke-test: Allow emojis to be accepted in volume name during volume creation #10774
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
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## 4.20 #10774 +/- ##
============================================
- Coverage 16.02% 16.02% -0.01%
- Complexity 13128 13130 +2
============================================
Files 5652 5652
Lines 496021 496032 +11
Branches 60065 60067 +2
============================================
- Hits 79488 79484 -4
- Misses 407665 407680 +15
Partials 8868 8868
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:
|
@blueorangutan package |
@weizhouapache 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. |
@Pearl1594 |
@weizhouapache while we create a volume with a name that comprises of on emoji - at this phase the volume isn't created on Xen. When the attachVolume operation is performed - first the VDI gets created on xen with the name given and then when the attach operation is performed where the name gets changed to -DATA. So ideally you don't really see this name (the one with emojis) on Xen. |
Packaging result [SF]: ✔️ el8 ✔️ el9 ✔️ debian ✔️ suse15. SL-JID 13167 |
thanks @Pearl1594 |
@weizhouapache when the attach volume command is performed: |
…w-emoji-volume-name-xen
...nserver/src/main/java/com/cloud/hypervisor/xenserver/resource/XenServerStorageProcessor.java
Show resolved
Hide resolved
thanks @Pearl1594 |
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 (These changes are to allow volume creation with name containing unicode chars in XenServer. VDI.create fails without it. Anyways, the name label is renamed to <VM-Internal-Name>-DATA later during attach).
@Pearl1594 Pls check this if possible. Also, check if it is Ok/feasible to update the name changed in CloudStack after attache cmd from the answer - so name is in sync with the hypervisor, any other thoughts @weizhouapache @harikrishna-patnala |
Created a Volume named - VolumeEmoji:smile: then Attached it to a vm |
@blueorangutan package |
@Pearl1594 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. |
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 (is the smoke test enough for this?)
|
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.
code lgtm
Packaging result [SF]: ✔️ el8 ✔️ el9 ✔️ debian ✔️ suse15. SL-JID 13177 |
@blueorangutan test ol8 xcpng82 |
@Pearl1594 a [SL] Trillian-Jenkins test job (ol8 mgmt + xcpng82) has been kicked to run smoke tests |
[SF] Trillian test result (tid-13160)
|
merging - as the test_resource_names.py test passes |
Description
This PR fixes: #10756
Fixes consistent test failure observed on Xenserver / XCP-ng
Types of changes
Feature/Enhancement Scale or Bug Severity
Feature/Enhancement Scale
Bug Severity
Screenshots (if appropriate):
How Has This Been Tested?
How did you try to break this feature and the system with this change?