Xenserver smoke-test: Allow emojis to be accepted in volume name during volume creation#10774
Xenserver smoke-test: Allow emojis to be accepted in volume name during volume creation#10774
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 |
@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. |
DaanHoogland
left a comment
There was a problem hiding this comment.
clgtm (is the smoke test enough for this?)
|
|
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 |
…ng volume creation (apache#10774) * Allow emojis to be accepted in volume name during volume creation * escape only non-ASCII characters










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?