Bug 2169854

Summary: [RFE] Handling of multiple proxies for different virt-who configurations where virt-who is deployed on a single machine
Product: Red Hat Satellite Reporter: Jayant Bhatia <jbhatia>
Component: Virt-who Configure PluginAssignee: satellite6-bugs <satellite6-bugs>
Status: NEW --- QA Contact: yanpliu <yanpliu>
Severity: medium Docs Contact:
Priority: medium    
Version: 6.13.0CC: chrobert, nmoumoul, yuefliu
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: 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:

Description Jayant Bhatia 2023-02-14 19:55:09 UTC
Description of problem:

Navigate to Satellite WebUI -> Infrastructure -> HTTP Proxies -> New HTTP Proxy and create 2 proxy (say 'test_proxy_1' and 'test_proxy_2' where both of these are 2 different proxies ).

Navigate to Satellite WebUI -> Infrastructure -> Virt-who Configurations -> Create Config. Select 'Hypervisor Type' as 'VMware vSphere / vCenter (esx)' and fill all the respective mandatory fields accordingly.

Create 2 Virt-who Configurations here (say 'virt-who_config_1' and 'virt-who_config_2'). Requirement here is 'virt-who_config_1' should use the 'test_proxy_1' and 'virt-who_config_2' should use the 'test_proxy_2'



Expected results: The proxy entry should not be added in /etc/virt-who.conf file, but it should be only added to /etc/virt-who.d/virt-who-config-x.conf file. Because there could be a scenario where user would like to use proxy only for one config and not for all config or where a user would like to use different proxies for different virt-who configuration. Proxy added in /etc/virt-who.conf file will make it effective for all present virt-who configs.


Version-Release number of selected component (if applicable): satellite-6.13.0-4.el8sat.noarch


Additional info: Currently the workaround is, if a user want to run different virt-who endpoints with different proxies, user need to have different instances of virt-who.

Comment 2 Rehana 2023-04-06 10:17:03 UTC
*** Bug 2181960 has been marked as a duplicate of this bug. ***

Comment 3 Nikos Moumoulidis 2023-07-20 15:14:07 UTC
This isn't related to Candlepin. It would have to be fixed first in virt-who itself (see 2181960) and after that, the Virt-Who configure plugin.
Thus moving component