-
Notifications
You must be signed in to change notification settings - Fork 1.3k
Backport: kvm: truncate vnc password to 8 chars (#6244) #6402
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
This PR truncates the vnc password of kvm vms to 8 chars to support latest versions of libvirt.
NuxRo
left a comment
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
|
@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. |
weizhouapache
left a comment
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: ✔️ 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 |
slavkap
left a comment
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
|
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 <[email protected]>

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?