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.
Bug 820961 - [virt-viewer]unclear error msg when not specifies ca file location
Summary: [virt-viewer]unclear error msg when not specifies ca file location
Keywords:
Status: CLOSED NOTABUG
Alias: None
Product: Red Hat Enterprise Linux 6
Classification: Red Hat
Component: virt-viewer
Version: 6.3
Hardware: Unspecified
OS: Unspecified
low
low
Target Milestone: rc
: ---
Assignee: Daniel Berrangé
QA Contact: Virtualization Bugs
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2012-05-11 12:44 UTC by zhe peng
Modified: 2012-07-26 17:40 UTC (History)
6 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2012-07-26 17:40:34 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)
script to config spice tls on host (1.54 KB, text/plain)
2012-05-11 12:45 UTC, zhe peng
no flags Details

Description zhe peng 2012-05-11 12:44:51 UTC
Description of problem:
unclear error msg when not specifies ca file location

Version-Release number of selected component (if applicable):
virt-viewer-0.5.2-8.el6.x86_64
qemu-kvm-0.12.1.2-2.290.el6.x86_64
libvirt-0.9.10-18.el6.x86_64

How reproducible:
always

Steps to Reproduce:
1.create a guest with spice graphics
2.modify the followings in /etc/libvirt/qemu.conf
   -# spice_listen = "0.0.0.0"
   + spice_listen = "0.0.0.0"

   -# spice_tls = 1
   + spice_tls = 1

   -# spice_tls_x509_cert_dir = "/etc/pki/libvirt-spice"
   + spice_tls_x509_cert_dir = "/etc/pki/libvirt-spice"
3.config tls ,generate cert file and copy to /etc/pki/libvirt-spice
  (script please see attachment)
4:edit guest xml:
  <graphics type='spice' port='5903' tlsPort='5904' autoport='no' listen='0.0.0.0'>
      <listen type='address' address='0.0.0.0'/>
    </graphics>
5:use virt-viewer to connect the guest without specifies ca file

#virt-viewer rhel6.3 --spice-host-subject="C=IL,L=Raanana,O=Red Hat,CN=my server"

Actual results:
the error msg from console:
(virt-viewer:27127): GSpice-WARNING **: loading ca certs from /root/.spicec/spice_truststore.pem failed

Expected results:
from libvirt, the spice tls default certificates directory is /etc/pki/libvirt-spice, the error msg will confuse the end user.

Additional info:
spice-client can't installed on host.

Comment 1 zhe peng 2012-05-11 12:45:28 UTC
Created attachment 583831 [details]
script to config spice tls on host

Comment 4 RHEL Program Management 2012-07-10 06:05:37 UTC
This request was not resolved in time for the current release.
Red Hat invites you to ask your support representative to
propose this request, if still desired, for consideration in
the next release of Red Hat Enterprise Linux.

Comment 5 RHEL Program Management 2012-07-11 02:01:37 UTC
This request was erroneously removed from consideration in Red Hat Enterprise Linux 6.4, which is currently under development.  This request will be evaluated for inclusion in Red Hat Enterprise Linux 6.4.

Comment 6 Daniel Berrangé 2012-07-26 17:40:34 UTC
This is a user misunderstanding IMHO. The /etc/libvirt/qemu.conf file is a configuration file for the libvirtd *server*, which is completely unrelated to the virt-viewer *client*  application. The virt-viewer client has no knowledge of how servers are configured.


Note You need to log in before you can comment on or make changes to this bug.