Bug 1099016
| Summary: | GPG key retrieval failed on client when Installing a package from custom repo. | ||
|---|---|---|---|
| Product: | Red Hat Satellite | Reporter: | Sachin Ghai <sghai> |
| Component: | Content Management | Assignee: | Brad Buckingham <bbuckingham> |
| Status: | CLOSED CURRENTRELEASE | QA Contact: | Sachin Ghai <sghai> |
| Severity: | medium | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | 6.0.3 | CC: | bbuckingham, jmontleo, mmccune |
| Target Milestone: | Unspecified | Keywords: | Triaged |
| Target Release: | Unused | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| URL: | http://projects.theforeman.org/issues/6204 | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | Bug Fix | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2014-07-02 14:06:59 UTC | Type: | Bug |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
| Embargoed: | |||
| Bug Depends On: | |||
| Bug Blocks: | 1022462 | ||
|
Description
Sachin Ghai
2014-05-19 10:39:16 UTC
Since this issue was entered in Red Hat Bugzilla, the release flag has been set to ? to ensure that it is properly evaluated for this release. Created redmine issue http://projects.theforeman.org/issues/6204 from this bug proposed fix in: https://github.com/Katello/katello/pull/4263 Verified with sat6 beta snap10. gpgkey is auto retrieved on installing package on client. [root@shost yum.repos.d]# yum repolist Loaded plugins: package_upload, product-id, security, subscription-manager This system is receiving updates from Red Hat Subscription Management. ACME_Corporation_fake_zoo | 2.1 kB 00:00 ACME_Corporation_fake_zoo/primary | 3.7 kB 00:00 ACME_Corporation_fake_zoo 32/32 repo id repo name status ACME_Corporation_fake_zoo zoo 32 repolist: 32 [root@shost yum.repos.d]# cat redhat.repo # # Certificate-Based Repositories # Managed by (rhsm) subscription-manager # # If this file is empty and this system is subscribed consider # a "yum repolist" to refresh available repos # [ACME_Corporation_fake_zoo] name = zoo baseurl = https://dhcp207-55.lab.eng.pnq.redhat.com/pulp/repos/ACME_Corporation/Library/custom/fake/zoo enabled = 1 gpgcheck = 1 gpgkey = https://dhcp207-55.lab.eng.pnq.redhat.com/katello/api/repositories/11/gpg_key_content sslverify = 1 sslcacert = /etc/rhsm/ca/candlepin-local.pem sslclientkey = /etc/pki/entitlement/752459387118277068-key.pem sslclientcert = /etc/pki/entitlement/752459387118277068.pem [root@shost yum.repos.d]# yum install cow Loaded plugins: package_upload, product-id, security, subscription-manager This system is receiving updates from Red Hat Subscription Management. ACME_Corporation_fake_zoo | 2.1 kB 00:00 Setting up Install Process Resolving Dependencies --> Running transaction check ---> Package cow.noarch 0:2.2-3 will be installed --> Finished Dependency Resolution Dependencies Resolved ====================================================================================================================================================== Package Arch Version Repository Size ====================================================================================================================================================== Installing: cow noarch 2.2-3 ACME_Corporation_fake_zoo 2.4 k Transaction Summary ====================================================================================================================================================== Install 1 Package(s) Total download size: 2.4 k Installed size: 42 Is this ok [y/N]: y Downloading Packages: cow-2.2-3.noarch.rpm | 2.4 kB 00:00 warning: rpmts_HdrFromFdno: Header V3 RSA/SHA1 Signature, key ID f78fb195: NOKEY Retrieving key from https://dhcp207-55.lab.eng.pnq.redhat.com/katello/api/repositories/11/gpg_key_content Importing GPG key 0xF78FB195: Userid: "Dummy Packages Generator <admin.com>" From : https://dhcp207-55.lab.eng.pnq.redhat.com/katello/api/repositories/11/gpg_key_content Is this ok [y/N]: y Running rpm_check_debug Running Transaction Test Transaction Test Succeeded Running Transaction Installing : cow-2.2-3.noarch 1/1 Uploading Package Profile Verifying : cow-2.2-3.noarch 1/1 Installed: cow.noarch 0:2.2-3 Complete! [root@shost yum.repos.d]# This was delivered with 6.0.3, which is the Satellite 6 Beta. |