-
Bug
-
Resolution: Done
-
Normal
-
6.15.0
-
0
-
False
-
-
False
-
CLOSED
-
1,300
-
Phoenix - Content
-
-
-
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
- 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/4Unknown macro: {"id"}
- 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
- 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
- hammer http-proxy info --name test
Id: 3
Name: test
Username:
URL: https://test.com:3434
Organizations:
Default Organization
- 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:
1.
|
[DEV] http proxy can not display on satellite WEB UI |
|
Closed | |
Unassigned |