Uploaded image for project: 'Satellite'
  1. Satellite
  2. SAT-22164

http proxy can not display on satellite WEB UI

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Normal Normal
    • 6.15.0
    • 6.15.0
    • HTTP Proxy
    • Sprint 127
    • Moderate
    • No

      Description of problem:
      when create a http_proxy by API or by CLI, the http_proxy can list by the api and cli, but it can not display on satellite web UI

      Version-Release number of selected component (if applicable):
      Satellite6.15 snapshot 4.0
      katello-4.11.0-1.el8sat.noarch

      How reproducible:
      100%

      Steps to Reproduce:
      1.Create http proxy by api

      1. curl --insecure -H "accept:application/json,version=2" -H "content-type:application/json" -X POST -d '
        Unknown macro: {"name"}

        ' -k -u admin:admin https://satellite.example.com:443/api/v2/http_proxies/

        {"id":4,"name":"testapi","url":"https://testapi.com:3434","username":null,"password":null,"cacert":null}

        2.List the http proxy by API and hammer CLI, can list it
        [root@dell-per740-68-vm-07 ~]# curl -X GET -k -u admin:admin https://satellite.example.com:443/api/v2/http_proxies/4

        Unknown macro: {"id"}
      1. hammer http-proxy info --name testapi
        Id: 4
        Name: testapi
        Username:
        URL: https://testapi.com:3434
        Organizations:
        Default Organization

      3. search it by Satellite http proxy UI , go to Infrastructure->HTTP Proxies
      search the http proxy, there is no http proxy for "testapi"

      4. Create http proxy by hammer CLI

      1. hammer http-proxy create --name test --url https://test.com:3434 --organization-id 1
        Http proxy created.

      5.list the http proxy by API and Hammer CLI

      1. hammer http-proxy info --name test
        Id: 3
        Name: test
        Username:
        URL: https://test.com:3434
        Organizations:
        Default Organization
      1. curl -X GET -k -u admin:admin https://satellite.example.com:443/api/v2/http_proxies/3
        Unknown macro: {"id"}

      6. search it by Satellite http proxy UI , go to Infrastructure->HTTP Proxies
      search the http proxy, there is no http proxy for "testapi"

      Actual results:

      Expected results:

      Additional info:

            jira-bugzilla-migration RH Bugzilla Integration
            jira-bugzilla-migration RH Bugzilla Integration
            RH Bugzilla Integration RH Bugzilla Integration
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: