Bug 1655239
Summary: | Could not enable redhat repository using hammer cli | ||
---|---|---|---|
Product: | Red Hat Satellite | Reporter: | Nikhil Kathole <nkathole> |
Component: | Repositories | Assignee: | Andrew Kofink <akofink> |
Status: | CLOSED ERRATA | QA Contact: | Nikhil Kathole <nkathole> |
Severity: | high | Docs Contact: | |
Priority: | unspecified | ||
Version: | 6.5.0 | CC: | dlezzoum, egolov, jhutar, nkathole, paji, vijsingh, zhunting |
Target Milestone: | 6.5.0 | Keywords: | PrioBumpQA, Regression, Triaged |
Target Release: | Unused | ||
Hardware: | Unspecified | ||
OS: | Unspecified | ||
Whiteboard: | |||
Fixed In Version: | tfm-rubygem-hammer_cli_katello-0.16.0.2-1 | Doc Type: | If docs needed, set a value |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2019-05-14 12:39:19 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: |
Description
Nikhil Kathole
2018-12-01 19:25:41 UTC
*** Bug 1655970 has been marked as a duplicate of this bug. *** I am unable to reproduce this on my instance Question for for Nikhil I see that while your hammer call asked for -> "Red Hat Enterprise Linux 7 Server (Kickstart)" hammer repository-set enable --name="Red Hat Enterprise Linux 7 Server (Kickstart)" --basearch="x86_64" --releasever="7.5" --product "Red Hat Enterprise Linux Server" --organization-id="1" I see that the error showed up for "Red Hat Enterprise Linux 7 Server (RPMs)" 2018-12-01T14:24:25 [I|app|] Started GET "/katello/api/repository_sets?name=Red+Hat+Enterprise+Linux+7+Server+%28RPMs%29" for IP at 2018-12-01 14:24:25 -0500 Wondering the log pasted corresponded to this hammer call. Can you also provide us the output of hammer -vd repository-set enable --name="Red Hat Enterprise Linux 7 Server (Kickstart)" --basearch="x86_64" --releasever="7.5" --product "Red Hat Enterprise Linux Server" --organization-id="1" If you have the machine where this is reproducible that would be great too. Created redmine issue https://projects.theforeman.org/issues/25628 from this bug Verified: @Satellite 6.5.0 Snap 12.0 Steps: +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ [root@satellite6 ~]# rpm -qa satellite katello foreman pulp-server tfm-rubygem-hammer_cli_foreman tfm-rubygem-hammer_cli_foreman-0.15.1-1.el7sat.noarch pulp-server-2.18.0-0.1.rc.el7sat.noarch foreman-1.20.1.7-1.el7sat.noarch satellite-6.5.0-5.beta.el7sat.noarch katello-3.10.0-0.6.rc1.el7sat.noarch [root@satellite6 ~]# hammer repository-set enable --name="Red Hat Enterprise Linux 7 Server (Kickstart)" --basearch="x86_64" --releasever="7.5" --product "Red Hat Enterprise Linux Server" --organization-id="1" Repository enabled. [root@satellite6 ~]# hammer repository-set list --enabled yes --organization-id="1" -----|-----------|---------------------------------------------- ID | TYPE | NAME -----|-----------|---------------------------------------------- 2455 | kickstart | Red Hat Enterprise Linux 7 Server (Kickstart) -----|-----------|---------------------------------------------- [root@satellite6 ~]# hammer repository-set disable --name="Red Hat Enterprise Linux 7 Server (Kickstart)" --basearch="x86_64" --releasever="7.5" --product "Red Hat Enterprise Linux Server" --organization-id="1" Repository disabled. [root@satellite6 ~]# hammer repository-set list --enabled yes --organization-id="1" ---|------|----- ID | TYPE | NAME ---|------|----- [root@satellite6 ~]# +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Observation: - Able to enable the repository using hammer repository-set. - Able to disable the repository using hammer repository-set. 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/RHSA-2019:1222 |