You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
oc logs -n openshift-selinux-policy-helper-operator selinux-k8s-e6ad77e62c72854d660ef353877959c6611df37c
Policy iptablestest-55fcc56c9d-p4dt8-main created!
Please load these modules using:
# semodule -i iptablestest-55fcc56c9d-p4dt8-main.cil /usr/share/udica/templates/base_container.cil
Restart the container with: "--security-opt label=type:iptablestest-55fcc56c9d-p4dt8-main.process" parameter
None
Traceback (most recent call last):
File "/usr/local/bin/selinuxk8s", line 11, in <module>
load_entry_point('selinux-k8s==0.1.0', 'console_scripts', 'selinuxk8s')()
File "/usr/local/lib/python3.7/site-packages/selinux_k8s-0.1.0-py3.7.egg/selinux_k8s/selinux_k8s.py", line 193, in main
File "/usr/local/lib/python3.7/site-packages/selinux_k8s-0.1.0-py3.7.egg/selinux_k8s/selinux_k8s.py", line 180, in main
File "/usr/local/lib/python3.7/site-packages/selinux_k8s-0.1.0-py3.7.egg/selinux_k8s/selinux_k8s.py", line 116, in create_policy_object
File "/usr/lib/python3.7/site-packages/kubernetes/client/apis/custom_objects_api.py", line 178, in create_namespaced_custom_object
(data) = self.create_namespaced_custom_object_with_http_info(group, version, namespace, plural, body, **kwargs)
File "/usr/lib/python3.7/site-packages/kubernetes/client/apis/custom_objects_api.py", line 277, in create_namespaced_custom_object_with_http_info
collection_formats=collection_formats)
File "/usr/lib/python3.7/site-packages/kubernetes/client/api_client.py", line 334, in call_api
_return_http_data_only, collection_formats, _preload_content, _request_timeout)
File "/usr/lib/python3.7/site-packages/kubernetes/client/api_client.py", line 168, in __call_api
_request_timeout=_request_timeout)
File "/usr/lib/python3.7/site-packages/kubernetes/client/api_client.py", line 377, in request
body=body)
File "/usr/lib/python3.7/site-packages/kubernetes/client/rest.py", line 266, in POST
body=body)
File "/usr/lib/python3.7/site-packages/kubernetes/client/rest.py", line 222, in request
raise ApiException(http_resp=r)
kubernetes.client.rest.ApiException: (404)
Reason: Not Found
HTTP response headers: HTTPHeaderDict({'Audit-Id': '3cb566f4-41b3-4742-8e5e-6ba19429f071', 'Cache-Control': 'no-cache, private', 'Content-Type': 'text/plain; charset=utf-8', 'X-Content-Type-Options': 'nosniff', 'X-Kubernetes-Pf-Flowschema-Uid': 'c9448a9b-e0fc-480b-9846-d0524310f083', 'X-Kubernetes-Pf-Prioritylevel-Uid': 'ec47e3d2-c3a3-46fa-9d85-9611f1a3a61f', 'Date': 'Tue, 10 Nov 2020 16:05:00 GMT', 'Content-Length': '19'})
HTTP response body: 404 page not found
Let me know if I can provide more information or try out a fix.
The text was updated successfully, but these errors were encountered:
Hi, thanks for the operator. I like the idea.
On OCP 4.6.1, I getting the following error:
Let me know if I can provide more information or try out a fix.
The text was updated successfully, but these errors were encountered: