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:
During test the Rhel6.5 + Rhevm3.2(vdsm mode) against SAM1.3, after set the virt-who work under the VDSM Mode, virt-who cannot work.
Version-Release number of selected component (if applicable):
subscription-manager-1.9.7-1.el6.x86_64
python-rhsm-1.9.6-1.el6.x86_64
virt-who-0.8-9.el6.noarch
katello-headpin-1.4.3.19-1.el6sam_splice.noarch
candlepin-0.8.26-1.el6sam.noarch
How reproducible:
Always
Steps to Reproduce:
1. In the host, Set the virt-who parameters in file /etc/sysconfig/virt-who to make virt-who working in VDSM mode:
VIRTWHO_DEBUG=1
VIRTWHO_VDSM=1
VIRTWHO_INTERVAL=10
2. Restart service virt-who
# service virt-who restart
Stopping virt-who: [ OK ]
Starting virt-who: [ OK ]
3. Restart vdsmd service
# service vdsmd restart
Shutting down vdsm daemon:
vdsm watchdog stop [ OK ]
vdsm stop [ OK ]
vdsm: libvirt already configured for vdsm [ OK ]
Starting iscsid:
Starting up vdsm daemon:
vdsm start [ OK ]
4. check the log file:
# tail -f /var/log/rhsm/rhsm.log
Actual results:
2013-10-09 15:43:48,010 [ERROR] @virt-who.py:184 - Unable to recover, retry in 10 seconds.
2013-10-09 15:43:58,020 [ERROR] @virt-who.py:181 - Unable to create connection:
Traceback (most recent call last):
File "/usr/share/virt-who/virt-who.py", line 178, in _send
self.checkConnections()
File "/usr/share/virt-who/virt-who.py", line 157, in checkConnections
self.initVirt()
File "/usr/share/virt-who/virt-who.py", line 96, in initVirt
self.virt = VDSM(self.logger)
File "/usr/share/virt-who/vdsm.py", line 45, in __init__
self._readConfig("/etc/vdsm/vdsm.conf")
File "/usr/share/virt-who/vdsm.py", line 54, in _readConfig
self.trust_store_path = parser.get("vars", "trust_store_path")
File "/usr/lib64/python2.6/ConfigParser.py", line 541, in get
raise NoOptionError(option, section)
NoOptionError: No option 'trust_store_path' in section: 'vars'
It hasn't sent the host/guest association to SAM server
Expected results:
virt-who should run normally under the VDSM mode, it should send the correct host/guest association to SAM server.
Additional info:
You're missing 'trust_store_path' option in the 'vars' section of /etc/vdsm/vdsm.conf file.
Virt-who is missing the check for this exception, I'll add it - it's easy fix.
(In reply to Radek Novacek from comment #2)
> You're missing 'trust_store_path' option in the 'vars' section of
> /etc/vdsm/vdsm.conf file.
>
> Virt-who is missing the check for this exception, I'll add it - it's easy
> fix.
Hi Radek, I found this bug has been suggested to move to RHEL 6.6.0, but it blocked our virt-who test in vdsm mode for now, if it can not be fixed in RHEL 6.5, RHEL 6.5 will not support vdsm mode, is it as expected?
If it's possible, I suggest to fix it in RHEL 6.5, thanks.
I think it is too late for 6.5 fix. You can workaround this issue quite easily by adding 'trust_store_path' option to the 'vars' section in the /etc/vdsm/vdsm.conf file.
(In reply to Radek Novacek from comment #4)
> I think it is too late for 6.5 fix. You can workaround this issue quite
> easily by adding 'trust_store_path' option to the 'vars' section in the
> /etc/vdsm/vdsm.conf file.
Got it, after adding "trust_store_path = /etc/pki/vdsm" to /etc/vdsm/vdsm.conf, we can test vdsm mode now, thanks.
Verification of this bug is blocked by vdsm installation issue in rhel6.6, sent mail to obasan who is the vdsm Errata 18458 owner with Radek cc'd for help, after the issue got resolved, we will verify this bug ASAP.
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.
For information on the advisory, and where to find the updated
files, follow the link below.
If the solution does not work for you, open a new bug report.
http://rhn.redhat.com/errata/RHBA-2014-1513.html
Though this bug is fixed in RHEL6.6, in RHEVH6.5 and this bug is still exist. And now we are testing RHEVH6.5 and this bug bothers us, What should we do to deal with this bug?
Description of problem: During test the Rhel6.5 + Rhevm3.2(vdsm mode) against SAM1.3, after set the virt-who work under the VDSM Mode, virt-who cannot work. Version-Release number of selected component (if applicable): subscription-manager-1.9.7-1.el6.x86_64 python-rhsm-1.9.6-1.el6.x86_64 virt-who-0.8-9.el6.noarch katello-headpin-1.4.3.19-1.el6sam_splice.noarch candlepin-0.8.26-1.el6sam.noarch How reproducible: Always Steps to Reproduce: 1. In the host, Set the virt-who parameters in file /etc/sysconfig/virt-who to make virt-who working in VDSM mode: VIRTWHO_DEBUG=1 VIRTWHO_VDSM=1 VIRTWHO_INTERVAL=10 2. Restart service virt-who # service virt-who restart Stopping virt-who: [ OK ] Starting virt-who: [ OK ] 3. Restart vdsmd service # service vdsmd restart Shutting down vdsm daemon: vdsm watchdog stop [ OK ] vdsm stop [ OK ] vdsm: libvirt already configured for vdsm [ OK ] Starting iscsid: Starting up vdsm daemon: vdsm start [ OK ] 4. check the log file: # tail -f /var/log/rhsm/rhsm.log Actual results: 2013-10-09 15:43:48,010 [ERROR] @virt-who.py:184 - Unable to recover, retry in 10 seconds. 2013-10-09 15:43:58,020 [ERROR] @virt-who.py:181 - Unable to create connection: Traceback (most recent call last): File "/usr/share/virt-who/virt-who.py", line 178, in _send self.checkConnections() File "/usr/share/virt-who/virt-who.py", line 157, in checkConnections self.initVirt() File "/usr/share/virt-who/virt-who.py", line 96, in initVirt self.virt = VDSM(self.logger) File "/usr/share/virt-who/vdsm.py", line 45, in __init__ self._readConfig("/etc/vdsm/vdsm.conf") File "/usr/share/virt-who/vdsm.py", line 54, in _readConfig self.trust_store_path = parser.get("vars", "trust_store_path") File "/usr/lib64/python2.6/ConfigParser.py", line 541, in get raise NoOptionError(option, section) NoOptionError: No option 'trust_store_path' in section: 'vars' It hasn't sent the host/guest association to SAM server Expected results: virt-who should run normally under the VDSM mode, it should send the correct host/guest association to SAM server. Additional info: