Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.

Bug 1432316

Summary: Cannot enable "rhel-7-server-rhvh-4*" repo since /etc/pki/product-default/328.pem has wrong tag: rhvh, rhvh-4-1
Product: Red Hat Enterprise Virtualization Manager Reporter: Wei Wang <weiwang>
Component: ovirt-node-ngAssignee: Yuval Turgeman <yturgema>
Status: CLOSED ERRATA QA Contact: Wei Wang <weiwang>
Severity: urgent Docs Contact:
Priority: unspecified    
Version: 4.1.0CC: bugs, cshao, dfediuck, huzhao, jboggs, leiwang, qiyuan, rbarry, weiwang, yaniwang, ycui, yturgema
Target Milestone: ovirt-4.1.1Keywords: Regression
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: redhat-release-virtualization-host-4.1-0.13.el7 Doc Type: No Doc Update
Doc Text:
undefined
Story Points: ---
Clone Of: Environment:
Last Closed: 2017-04-20 19:04:17 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: Node RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 1405912    
Attachments:
Description Flags
log files
none
pem none

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