Feature #10423
closedDrop smart-proxy from the image and replace with own process
Description
We use smart-proxy and it's BMC shell provider to do reboots, but we no longer can leverage that as we need to extend this API with new parameters (kernel, image, kickstart URL). This is a chance to get rid of proxy and just write small process Foreman Discovery can talk to directly
Updated by Lukas Zapletal over 9 years ago
- Related to Tracker #10294: PXEless discovery feature added
Updated by Lukas Zapletal over 9 years ago
API we need to implement: Reboot, Refresh Facts.
Updated by Ohad Levy over 9 years ago
can I ask why? do you mean you want to switch to a new agent or to a discovery specific proxy plugin?
Updated by Lukas Zapletal over 9 years ago
My thinking is that the BMC shell provider is a hacky and we would like to evolve the API into something bigger (firmware updates etc). We can do the same with simple Sinatra based process which frees our hands in this regard. Drawback: Facter API, but that's a tiny one.
Updated by Ohad Levy over 9 years ago
Lukas Zapletal wrote:
My thinking is that the BMC shell provider is a hacky and we would like to evolve the API into something bigger (firmware updates etc). We can do the same with simple Sinatra based process which frees our hands in this regard. Drawback: Facter API, but that's a tiny one.
TBH: I think we need to evaluate the whole scope of what the proxy provides, I would not be that quick to drop it, nor i think it introduce any problem to discovery, I assume its easy to develop a discovery specific plugin and leverage the proxy.