Backport: kvm: truncate vnc password to 8 chars (#6244)#6402
Backport: kvm: truncate vnc password to 8 chars (#6244)#6402nvazquez merged 2 commits intoapache:4.16apache/cloudstack:4.16from
Conversation
This PR truncates the vnc password of kvm vms to 8 chars to support latest versions of libvirt.
|
@blueorangutan package |
|
@nvazquez a 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: ✔️ el7 ✔️ el8 ✔️ debian ✔️ suse15. SL-JID 3455 |
|
@blueorangutan test |
|
@nvazquez a Trillian-Jenkins test job (centos7 mgmt + kvm-centos7) has been kicked to run smoke tests |
|
Trillian test result (tid-4219)
|
|
Hi @leolleeooleo are you able to reproduce after the fix? Not sure if possible without stopping the VM, but was wondering how did you manage to start the VM prior to this fix? Was the VM created prior upgrading libvirt maybe? |
|
Hi @nvazquez |
|
@leolleeooleo thanks for the explanation, let me explore if its possible to add a check for the VNC password length before the migration is executed |
|
Hi @leolleeooleo I have created this PR to fix the issue: #6404 could you please test it? |
…#6402) * kvm: truncate vnc password to 8 chars (apache#6244) This PR truncates the vnc password of kvm vms to 8 chars to support latest versions of libvirt. * Use lang3 string utils Co-authored-by: Wei Zhou <weizhou@apache.org>

Description
This PR backports #6244 to 4.16
(This PR truncates the vnc password of kvm vms to 8 chars to support latest versions of libvirt.)
Types of changes
Feature/Enhancement Scale or Bug Severity
Feature/Enhancement Scale
Bug Severity
Screenshots (if appropriate):
How Has This Been Tested?