Bug 1432316 - Cannot enable "rhel-7-server-rhvh-4*" repo since /etc/pki/product-default/328.pem has wrong tag: rhvh, rhvh-4-1
Summary: Cannot enable "rhel-7-server-rhvh-4*" repo since /etc/pki/product-default/328...
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Enterprise Virtualization Manager
Classification: Red Hat
Component: ovirt-node-ng
Version: 4.1.0
Hardware: Unspecified
OS: Unspecified
unspecified
urgent
Target Milestone: ovirt-4.1.1
: ---
Assignee: Yuval Turgeman
QA Contact: Wei Wang
URL:
Whiteboard:
Depends On:
Blocks: 1405912
TreeView+ depends on / blocked
 
Reported: 2017-03-15 05:33 UTC by Wei Wang
Modified: 2019-04-28 13:32 UTC (History)
12 users (show)

Fixed In Version: redhat-release-virtualization-host-4.1-0.13.el7
Doc Type: No Doc Update
Doc Text:
undefined
Clone Of:
Environment:
Last Closed: 2017-04-20 19:04:17 UTC
oVirt Team: Node
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)
log files (293.72 KB, application/x-gzip)
2017-03-15 05:33 UTC, Wei Wang
no flags Details
pem (2.10 KB, text/x-vhdl)
2017-03-15 05:33 UTC, Wei Wang
no flags Details


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHEA-2017:1114 0 normal SHIPPED_LIVE redhat-virtualization-host bug fix and enhancement update 2017-04-20 22:57:46 UTC

Description Wei Wang 2017-03-15 05:33:10 UTC
Created attachment 1263177 [details]
log files

Description of problem:
Cannot enable "rhel-7-server-rhvh-4*" repo since /etc/pki/product-default/328.pem has wrong tag: rhvh,rhvh-4-1

Version-Release number of selected component (if applicable):
redhat-virtualization-host-4.1-0.20170309.0
subscription-manager-1.17.15-1.el7.x86_64
yum-3.4.3-150.el7.noarch


How reproducible:
100%


Steps to Reproduce:
1. Install RHVH 4.1
2. Subscription manager register and attach to cdn rhvh channel
3. yum search dropwatch/systemtap/vim-enhanced
4. subscription-manager repos --list-enabled
5. subscription-manager repos --enable=rhel-7-server-rhvh-4*
6. Check the /etc/pki/product-default/328.pem

Actual results:
After step 3, yum search fail, no matches found
After step 4,
[root@dhcp-10-157 ~]# subscription-manager repos --list-enabled
There were no available repositories matching the specified criteria.

After step 5,
[root@dhcp-10-157 ~]# subscription-manager repos --enable=rhel-7-server-rhvh-4*
Error: 'rhel-7-server-rhvh-4*' does not match a valid repository ID. Use "subscription-manager repos --list" to see valid repositories.

After step 6, product tag is rhvh,rhvh-4-1


Expected results:
After step 3, yum search successfully
After step 4, rhel-7-server-rhvh-4* repos should be listed
After step 5, rhel-7-server-rhvh-4* repos should be enabled successfully.
After step 6, product tag should be rhvh,rhvh-4



Additional info:

Comment 1 Wei Wang 2017-03-15 05:33:40 UTC
Created attachment 1263178 [details]
pem

Comment 2 Wei Wang 2017-03-15 05:46:50 UTC
For checking the tag in certification, we use the CLI rct
# rct cc xxx.pem
then you can get the tag info

Comment 3 Wei Wang 2017-03-15 07:25:39 UTC
The bug doesn't occur with redhat-virtualization-host-4.1-20170202.0, so add "Regression" keyword.

Comment 4 Yuval Turgeman 2017-03-15 07:59:21 UTC
(In reply to Wei Wang from comment #3)
> The bug doesn't occur with redhat-virtualization-host-4.1-20170202.0, so add
> "Regression" keyword.

the certificate was updated in 4.1 after bug 1419483 was reported

Comment 6 Ryan Barry 2017-03-15 12:43:09 UTC
Joey, can this be fixed from the channels, or do we need another cert?

Comment 14 Wei Wang 2017-04-05 02:57:53 UTC
According to comment #10, change status to VERIFIED.

Comment 15 errata-xmlrpc 2017-04-20 19:04:17 UTC
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.

https://access.redhat.com/errata/RHEA-2017:1114


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