Uh oh!
There was an error while loading. Please reload this page.
Backport: kvm: truncate vnc password to 8 chars (#6244) - #6402
Conversation
This PR truncates the vnc password of kvm vms to 8 chars to support latest versions of libvirt.
nvazquez
commented
May 20, 2022
@blueorangutan package |
blueorangutan
commented
May 20, 2022
@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. |
blueorangutan
commented
May 20, 2022
Packaging result: ✔️ el7 ✔️ el8 ✔️ debian ✔️ suse15. SL-JID 3455 |
nvazquez
commented
May 20, 2022
@blueorangutan test |
blueorangutan
commented
May 20, 2022
@nvazquez a Trillian-Jenkins test job (centos7 mgmt + kvm-centos7) has been kicked to run smoke tests |
blueorangutan
commented
May 20, 2022
Trillian test result (tid-4219)
|
leolleeooleo
commented
May 21, 2022
nvazquez
commented
May 21, 2022
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? |
leolleeooleo
commented
May 21, 2022
Hi @nvazquez |
nvazquez
commented
May 21, 2022
@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 |
nvazquez
commented
May 22, 2022
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?