Note: This bug is displayed in read-only format because
the product is no longer active in Red Hat Bugzilla.
RHEL Engineering is moving the tracking of its product development work on RHEL 6 through RHEL 9 to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "RHEL project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs in the statuses "NEW", "ASSIGNED", and "POST" are being migrated throughout September 2023. Bugs of Red Hat partners with an assigned Engineering Partner Manager (EPM) are migrated in late September as per pre-agreed dates. Bugs against components "kernel", "kernel-rt", and "kpatch" are only migrated if still in "NEW" or "ASSIGNED". If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "RHEL project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/RHEL-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.
Description of problem:
virsh update-device domname <(echo '<graphics autoport="yes" listen="0" passwd="xxx" port="5900" tlsPort="-1" type="spice" passwdValidTo="2011-02-10T08:42:32" />')
fails with
error: internal error cannot change port settings on spice graphics
Version-Release number of selected component (if applicable):
libvirt-0.8.7-5.el6.x86_64
How reproducible:
always
Additional info:
(06:33:47 PM) danpb: danken: ahhhh
(06:34:04 PM) danpb: } else if (def->type == VIR_DOMAIN_GRAPHICS_TYPE_SPICE) {
(06:34:04 PM) danpb: ....
(06:34:04 PM) danpb: def->data.spice.listenAddr = virXMLPropString(node, "listen");
(06:34:04 PM) danpb: def->data.spice.keymap = virXMLPropString(node, "keymap");
(06:34:04 PM) danpb: if (virDomainGraphicsAuthDefParseXML(node, &def->data.vnc.auth) < 0)
(06:34:04 PM) mkarg is now known as mkarg|afk
(06:34:05 PM) danpb: goto error;
(06:34:09 PM) danpb: spot the typo there !
(06:34:30 PM) danpb: between 0.8.7-3 and -5 we added another field into def->data.vnc
(06:34:38 PM) danpb: so this previously harmless typo is now a real bug
(06:34:48 PM) danpb: danken: file a bz for it please & mark it regression
patch commited to upstream:
commit 10713b1b98268a6eb05ba0912c1f4643c25f2564
Author: Michal Privoznik <mprivozn>
Date: Thu Feb 10 10:50:10 2011 +0000
Fix typo in parsing of spice 'auth' data
A typo s/spice/vnc/ caused parsing of the spice 'auth' data
to write into the wrong part of the struct, blowing away
other unrelated data.
* src/conf/domain_conf.c: s/vnc/spice/ in parsing spice auth
* The problem was typo in source code resulting accessing uninitialized union and thus crash
* setting auth against spice caused libvirt to print error message
* The typo was fixed
* So setting auth works well
An advisory has been issued which should help the problem
described in this bug report. This report is therefore being
closed with a resolution of ERRATA. For more information
on therefore solution and/or where to find the updated files,
please follow the link below. You may reopen this bug report
if the solution does not work for you.
http://rhn.redhat.com/errata/RHBA-2011-0596.html
Description of problem: virsh update-device domname <(echo '<graphics autoport="yes" listen="0" passwd="xxx" port="5900" tlsPort="-1" type="spice" passwdValidTo="2011-02-10T08:42:32" />') fails with error: internal error cannot change port settings on spice graphics Version-Release number of selected component (if applicable): libvirt-0.8.7-5.el6.x86_64 How reproducible: always Additional info: (06:33:47 PM) danpb: danken: ahhhh (06:34:04 PM) danpb: } else if (def->type == VIR_DOMAIN_GRAPHICS_TYPE_SPICE) { (06:34:04 PM) danpb: .... (06:34:04 PM) danpb: def->data.spice.listenAddr = virXMLPropString(node, "listen"); (06:34:04 PM) danpb: def->data.spice.keymap = virXMLPropString(node, "keymap"); (06:34:04 PM) danpb: if (virDomainGraphicsAuthDefParseXML(node, &def->data.vnc.auth) < 0) (06:34:04 PM) mkarg is now known as mkarg|afk (06:34:05 PM) danpb: goto error; (06:34:09 PM) danpb: spot the typo there ! (06:34:30 PM) danpb: between 0.8.7-3 and -5 we added another field into def->data.vnc (06:34:38 PM) danpb: so this previously harmless typo is now a real bug (06:34:48 PM) danpb: danken: file a bz for it please & mark it regression