Bug 2225413

Summary: Cannot Connect to Openshift Virtualization via the Compute Resource "KubeVirt"
Product: Red Hat Satellite Reporter: Wolfgang Marx <wmarx>
Component: Compute Resources - CNVAssignee: satellite6-bugs <satellite6-bugs>
Status: NEW --- QA Contact: Satellite QE Team <sat-qe-bz-list>
Severity: high Docs Contact:
Priority: unspecified    
Version: 6.13.2   
Target Milestone: Unspecified   
Target Release: Unused   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: ---
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 Wolfgang Marx 2023-07-25 09:36:19 UTC
Description of problem:
We have to take care of ELinux Permissions manually- This sould be done with installing installing/enabling the ComputeResource "Kubevirt/CNV"

Following steps should be integrated in installing/enabling the KubeVirt Plugin:
Search the Audit Log Files for the Group ID “foreman” and generate a Module Package.
You can also write that module yourself - but this method is just easy and unstructured;)
# ausearch -gi foreman --raw | audit2allow -M myforeman

Install the Module:
# semodule -i myforeman.pp


Version-Release number of selected component (if applicable):
Satellite Version 6.13.1 / 6.13.2 || Openshift-V Operator Version 6.12.4

How reproducible:
Enable hte KubeVirt Plugin in Satellite and try connect to Satellite - you will fail becausse of missing SELinux Permissions.


Actual results:
You cannot connect to an Openshift Virtualization Env.

Expected results:
You should connect to an Openshift Virtualization Env. out-of-the-box.