Bug 1774325

Summary: No options available to create/list/update http_proxy using hammer CLI
Product: Red Hat Satellite Reporter: vijsingh
Component: HammerAssignee: Chris Roberts <chrobert>
Status: CLOSED ERRATA QA Contact: Jameer Pathan <jpathan>
Severity: medium Docs Contact:
Priority: unspecified    
Version: 6.7.0CC: apatel, egolov, kgaikwad, mbacovsk, mshira, ofedoren, rabajaj
Target Milestone: 6.7.0Keywords: Triaged
Target Release: Unused   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: tfm-rubygem-hammer_cli_foreman-0.19.2 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2020-04-14 15:54:09 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: 1779642, 1779671    
Bug Blocks: 1774324    

Description vijsingh 2019-11-20 02:54:37 UTC
Description of problem:

No options available to create/list/update http_proxy using hammer CLI

Version-Release number of selected component (if applicable):

Satellite 6.7.0 snap 2.0

How reproducible:

Always

Steps to Reproduce:

Unable to create/list/update http_proxy using hammer CLI.

Expected results:

Should be able to create/list/update http_proxy using hammer CLI.

Additional info:

Comment 3 Bryan Kearney 2019-11-21 19:03:14 UTC
Moving this bug to POST for triage into Satellite 6 since the upstream issue https://projects.theforeman.org/issues/28176 has been resolved.

Comment 5 Jameer Pathan 2020-01-21 09:10:21 UTC
Verified:

Verified with:

- Satellite 6.7.0 snap 9
- tfm-rubygem-hammer_cli_foreman-0.19.6.2-1.el7sat.noarch

Test steps:
- Create/List/Update/Delete http-proxy using Hammer CLI.

Observations:
- Able to Create/List/Update/Delete Http proxy using Hammer CLI.

hammer> http-proxy create --name proxy6 --url https://proxy6 --username admin --password pass --organization-id 3 --location-id 4
Http proxy created.
hammer> http-proxy list
---|---------------
ID | NAME          
---|---------------
1  | proxy1        
2  | proxy2        
3  | proxy3        
5  | proxy5        
4  | updated_proxy4
6  | proxy6        
---|---------------
hammer> http-proxy info --id 6
Id:            6
Name:          proxy6
Username:      admin
URL:           https://proxy6
Locations:     
    loc1
Organizations: 
    org1

hammer> http-proxy update --id 6 --name updated_proxy6 --organization-ids 1,3
Http proxy updated.

hammer> http-proxy delete --id 6
Http proxy deleted.

Comment 8 errata-xmlrpc 2020-04-14 15:54:09 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/RHBA-2020:1455