Accessing odf-console
with the ovs-multitenant
plug-in by
manually enabling global pod networking
In OpenShift Container Platform, when ovs-multitenant
plug-in is used for
software-defined networking (SDN), pods from different projects cannot send packets to or receive
packets from pods and services of a different project. By default, pods cannot communicate between
namespaces or projects because a project’s pod networking is not global.
To access odf-console, the Red Hat OpenShift console pod in the
openshift-console
namespace needs to connect with the Fusion Data Foundation odf-console in the
openshift-storage
namespace. This is possible only when you manually enable global
pod networking.
Issue
- When
ovs-multitenant
plug-in is used in the OpenShift Container Platform, theodf-console
plug-in fails with the following message:GET request for "odf-console" plugin failed: Get "https://odf-console-service.openshift-storage.svc.cluster.local:9001/locales/en/plugin__odf-console.json": context deadline exceeded (Client.Timeout exceeded while awaiting headers)
-
Make the pod networking for the Fusion Data Foundation project global:
oc adm pod-network make-projects-global openshift-storage