Bug 1381567

Summary: [RFE] Create a foreman_hooks smart proxy plugin
Product: Red Hat Satellite Reporter: Sean O'Keeffe <sokeeffe>
Component: UncategorizedAssignee: Lukas Zapletal <lzap>
Status: CLOSED WONTFIX QA Contact:
Severity: medium Docs Contact:
Priority: medium    
Version: 6.2.0CC: b.prins, jcallaha
Target Milestone: UnspecifiedKeywords: FutureFeature
Target Release: Unused   
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-09-04 19:10:44 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:

Description Sean O'Keeffe 2016-10-04 12:53:01 UTC
It would be great to be able to run custom scripts on a smart proxy as well, this is particularly useful in environments where clients that cannot connect directly to the foreman server.

E.g. you have a hook that when you create a host it connects to the servers iLO to configure it first. If the foreman server cannot connect directly to the iLO this useless, running the script from the smart proxy would be a better solution, especially in situations where you have proxies all over the world.

Comment 1 Bryan Kearney 2016-10-04 14:21:41 UTC
Upstream bug component is Uncategorized

Comment 3 David Caplan 2016-10-04 17:26:47 UTC
Can this be accomplished with changes to networking behavior, effectively directing Satellite Server to host communications through the Capsule. It seems like a better solution than adding more complexity to the Capsule.

Comment 4 Sean O'Keeffe 2016-10-04 18:28:38 UTC
The other options we have come up with are:
- use a http proxy (squid)
- use port forwarding 
- use SSH tunnel
- copy script to Capsule & and get the hook to run it on the capsule via a something like: "ssh user.com "./path/to/script <args>"

The first 3 options are obviously less secure and I really don't like them. Option 3 could work I guess

Comment 6 Bryan Kearney 2018-09-04 18:58:57 UTC
Thank you for your interest in Satellite 6. We have evaluated this request, and we do not expect this to be implemented in the product in the foreseeable future. We are therefore closing this out as WONTFIX. If you have any concerns about this, please feel free to contact Rich Jerrido or Bryan Kearney. Thank you.

Comment 7 Bryan Kearney 2018-09-04 19:10:44 UTC
Thank you for your interest in Satellite 6. We have evaluated this request, and we do not expect this to be implemented in the product in the foreseeable future. We are therefore closing this out as WONTFIX. If you have any concerns about this, please feel free to contact Rich Jerrido or Bryan Kearney. Thank you.