Bug 1777713
Summary: | Repository info does not show assigned http_proxy details using hammer CLI | ||
---|---|---|---|
Product: | Red Hat Satellite | Reporter: | vijsingh |
Component: | Repositories | Assignee: | Chris Roberts <chrobert> |
Status: | CLOSED ERRATA | QA Contact: | Jameer Pathan <jpathan> |
Severity: | high | Docs Contact: | |
Priority: | unspecified | ||
Version: | 6.7.0 | CC: | chrobert, egolov, jpathan, pcreech, sghai, zhunting |
Target Milestone: | 6.7.0 | Keywords: | Triaged |
Target Release: | Unused | ||
Hardware: | Unspecified | ||
OS: | Unspecified | ||
Whiteboard: | |||
Fixed In Version: | tfm-rubygem-hammer_cli_katello-0.20.2.2-1 | Doc Type: | If docs needed, set a value |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2020-04-14 13:27:30 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: | 1774324 |
Description
vijsingh
2019-11-28 06:53:40 UTC
Upstream bug assigned to chrobert Upstream bug assigned to chrobert FailedQA - Satellite 6.7.0 snap 9 Test Steps: - Create Products with repositories. - Assign Http proxy to products/repositories. Observation: - "hammer repository info" commands shows "Http Proxy Policy" in products section instead of showing it in Http Proxy section. Actual Result: hammer> repository info --id 48 ID: 48 Name: repo1 Label: repo1 Organization: Default Organization Red Hat Repository: no Content Type: yum Mirror on Sync: yes URL: https://oijdofs Publish Via HTTP: yes Published At: http://hostname.example.com/pulp/repos/Default_Organization/Library/custom/pro1/repo1/ Relative Path: Default_Organization/Library/custom/pro1/repo1 Download Policy: on_demand Http Proxy: ID: 5 Name: proxy5 Product: ID: 62 Name: pro1 Http Proxy Policy: use_selected_http_proxy GPG Key: Sync: Status: Not Synced Created: 2020/01/21 05:20:13 Updated: 2020/01/21 06:33:29 Content Counts: Packages: 0 Source RPMS: 0 Package Groups: 0 Errata: 0 Module Streams: 0 Expected result: hammer> repository info --id 48 ID: 48 Name: repo1 Label: repo1 Organization: Default Organization Red Hat Repository: no Content Type: yum Mirror on Sync: yes URL: https://oijdofs Publish Via HTTP: yes Published At: http://hostname.example.com/pulp/repos/Default_Organization/Library/custom/pro1/repo1/ Relative Path: Default_Organization/Library/custom/pro1/repo1 Download Policy: on_demand Http Proxy: ID: 5 Name: proxy5 Http Proxy Policy: use_selected_http_proxy Product: ID: 62 Name: pro1 GPG Key: Sync: Status: Not Synced Created: 2020/01/21 05:20:13 Updated: 2020/01/21 06:33:29 Content Counts: Packages: 0 Source RPMS: 0 Package Groups: 0 Errata: 0 Module Streams: 0 Additional info: - When repository uses global proxy then Http Proxy's Id is not shown in repository info command. hammer> repository info --id 55 ID: 55 Name: Repo1_Proxy Label: Repo1_Proxy Organization: Default Organization Red Hat Repository: no Content Type: yum Mirror on Sync: yes URL: Publish Via HTTP: yes Published At: http://hostname.example.com/pulp/repos/Default_Organization/Library/custom/Prod_proxy1/Repo1_Proxy/ Relative Path: Default_Organization/Library/custom/Prod_proxy1/Repo1_Proxy Download Policy: on_demand Http Proxy: Name: proxy1 Product: ID: 65 Name: Prod_proxy1 Http Proxy Policy: global_default_http_proxy GPG Key: Sync: Status: Not Synced Created: 2020/01/21 07:16:13 Updated: 2020/01/21 07:16:14 Content Counts: Packages: 0 Source RPMS: 0 Package Groups: 0 Errata: 0 Module Streams: 0 Moving this bug to POST for triage into Satellite 6 since the upstream issue https://projects.theforeman.org/issues/28177 has been resolved. Verified Verified with: - Satellite 6.7.0 snap 11 Test Steps: - Create Products with repositories. - Assign Http proxy to products/repositories. Observation: - "hammer repository info" command now shows "Http Proxy Policy" in Http Proxy section. hammer> repository create --name repo1 --product pro1 --organization-id 1 --url "https://test.com" --content-type "yum" --http-proxy-policy "use_selected_http_proxy" --http-proxy-id 1 Repository created. hammer> repository info --name repo1 --product pro1 --organization-id 1 ID: 1 Name: repo1 Label: repo1 Organization: Default Organization Red Hat Repository: no Content Type: yum Mirror on Sync: yes URL: https://test.com Publish Via HTTP: yes Published At: http://hostname.example.com/pulp/repos/Default_Organization/Library/custom/pro1/repo1/ Relative Path: Default_Organization/Library/custom/pro1/repo1 Download Policy: immediate HTTP Proxy: ID: 1 Name: proxy1 HTTP Proxy Policy: use_selected_http_proxy Product: ID: 1 Name: pro1 GPG Key: Sync: Status: Not Synced Created: 2020/02/10 09:48:24 Updated: 2020/02/10 09:48:26 Content Counts: Packages: 0 Source RPMS: 0 Package Groups: 0 Errata: 0 Module Streams: 0 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-2020:1454 |