Bug 1455194

Summary: "Create Cobbler System Record" ignores RHN proxy
Product: Red Hat Satellite 5 Reporter: Martin Korbel <mkorbel>
Component: ProvisioningAssignee: Jan Dobes <jdobes>
Status: CLOSED DEFERRED QA Contact: Red Hat Satellite QA List <satqe-list>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 570CC: tlestach
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2018-04-10 08:42:26 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: 1450940    

Description Martin Korbel 2017-05-24 12:39:58 UTC
Description of problem:
When we provisioning machine by PXE ("Create Cobbler System Record"), we can not use RHN proxy server.

Version-Release number of selected component (if applicable):
Sat5.7, Sat5.8

How reproducible:
100%

Steps to Reproduce:
1. We have got Sat5.7 with a kickstart profile
2. We schedule a re-provisioning of machine through RHN proxy 
3. Press button "Create Cobbler System Record" > "Continue"
4. Open url http://<sat_fqdn>/cblr/svc/op/ks/system/<name_client_profile>:1

Actual results:
...
skipx
repo --name=rhn-tools-rhel-x86_64-server-7 --baseurl=http://<sat_fqdn>/ks/dist/child/rhn-tools-rhel-x86_64-server-7/ks-rhel-x86_64-server-7-7.3
autopart --type=lvm
...

Expected results:

...
skipx
repo --name=rhn-tools-rhel-x86_64-server-7 --baseurl=http://<proxy_fqdn>/ks/dist/child/rhn-tools-rhel-x86_64-server-7/ks-rhel-x86_64-server-7-7.3
autopart --type=lvm
...
Additional info:

Comment 1 Tomas Lestach 2017-05-24 17:07:09 UTC
I think you can chose to kickstart through the proxy in a separate step you're skipping in your steps. I think, what you describe is expected.

Comment 2 Martin Korbel 2017-05-25 07:58:34 UTC
What I know, the place, where we can enable the proxy for provisioning is only one "Provisioning" > "Kickstart" > "Schedule" (https://<fqdn>/rhn/systems/details/kickstart/ScheduleWizard.do?sid=1000010001).

On this page, we can choose RHN Proxy server and submit the form with three variants/buttons. Two of them accept RHN Proxy setuping and "Create Cobbler System Record" ignores this parameter.

I think that the situation when we can not enable/setup RHN proxy for kickstart profile is defect as well, but there is situation clear. 
In other hand, we don't have any information about weird behavior of "Create Cobbler System Record" button. We can explicite select RHN Proxy, but if you press this button  the option is ignored.

Comment 4 Tomas Lestach 2018-04-10 08:42:26 UTC
We have re-reviewed this bug, as part of an ongoing effort to improve Satellite/Proxy feature and bug updates, review and backlog.

This is a low priority bug and has no currently open customer cases. While this bug may still valid, we do not see it being implemented prior to the EOL of the Satellite 5.x product. As such, this is being CLOSED DEFERRED.