Azure / OpenShift

Azure Red Hat OpenShift
https://docs.microsoft.com/azure/openshift/intro-openshift
MIT License
110 stars 36 forks source link

Single Node Openshift on Azure 4.11.43 #312

Open whoiscnu opened 11 months ago

whoiscnu commented 11 months ago

It is observed when Azure Single VM with OpenShift is shutdown from Portal, the network interface is disconnected and upon start can not connect to the VM.

Is there a guideline to validate and fix the Netowrk Loadblancing policies , NIC, Public IP configurations for Openshift on Azure?

whoiscnu commented 11 months ago

Error snippet:

After upgrading to 4.11.43, see the issue when the server is shutdown from azure portal.

[root@ocpbootnode azureuser]# oc get nodes NAME STATUS ROLES AGE VERSION ocpdev-fhsqk-master-0 NotReady master,worker 152d v1.24.14+38b1413 [root@ocpbootnode azureuser]# oc adm must-gather [must-gather ] OUT the server is currently unable to handle the request (get imagestreams.image.openshift.io must-gather) [must-gather ] OUT [must-gather ] OUT Using must-gather plug-in image: registry.redhat.io/openshift4/ose-must-gather:latest When opening a support case, bugzilla, or issue please include the following summary data along with any other requested information. ClusterID: 7468f289-8b26-4c81-90f4-3482f78997fb ClusterVersion: Stable at "4.11.43" ClusterOperators: All healthy and stable

[must-gather ] OUT namespace/openshift-must-gather-x6g66 created [must-gather ] OUT clusterrolebinding.rbac.authorization.k8s.io/must-gather-zlfbl created W0807 10:05:25.052688 7494 warnings.go:70] would violate PodSecurity "restricted:latest": allowPrivilegeEscalation != false (containers "gather", "copy" must set securityContext.allowPrivilegeEscalation=false), unrestricted capabilities (containers "gather", "copy" must set securityContext.capabilities.drop=["ALL"]), runAsNonRoot != true (pod or containers "gather", "copy" must set securityContext.runAsNonRoot=true), seccompProfile (pod or containers "gather", "copy" must set securityContext.seccompProfile.type to "RuntimeDefault" or "Localhost") [must-gather ] OUT pod for plug-in image registry.redhat.io/openshift4/ose-must-gather:latest created

[root@ocpbootnode azureuser]# export KUBECONFIG=/var/openshiftinstallation/ocptest/auth/kubeconfig [root@ocpbootnode azureuser]# [root@ocpbootnode azureuser]# oc get nodes NAME STATUS ROLES AGE VERSION ocpdev-fhsqk-master-0 NotReady master,worker 152d v1.24.14+38b1413 [root@ocpbootnode azureuser]# oc adm must-gather [must-gather ] OUT the server is currently unable to handle the request (get imagestreams.image.openshift.io must-gather) [must-gather ] OUT [must-gather ] OUT Using must-gather plug-in image: registry.redhat.io/openshift4/ose-must-gather:latest When opening a support case, bugzilla, or issue please include the following summary data along with any other requested information. ClusterID: 7468f289-8b26-4c81-90f4-3482f78997fb ClusterVersion: Stable at "4.11.43" ClusterOperators: All healthy and stable

I0807 09:01:52.394267 6702 request.go:668] Waited for 1.158553198s due to client-side throttling, not priority and fairness, request: GET:https://api.ocpdev.maximocertus.com:6443/apis/postgres-operator.crunchydata.com/v1beta1?timeout=32s I0807 09:02:02.426280 6702 request.go:668] Waited for 4.959625014s due to client-side throttling, not priority and fairness, request: GET:https://api.ocpdev.maximocertus.com:6443/apis/build.openshift.io/v1?timeout=32s I0807 09:02:12.443180 6702 request.go:668] Waited for 1.776970837s due to client-side throttling, not priority and fairness, request: GET:https://api.ocpdev.maximocertus.com:6443/apis/truststore-mgr.ibm.com/v1?timeout=32s I0807 09:02:22.443206 6702 request.go:668] Waited for 1.377513725s due to client-side throttling, not priority and fairness, request: GET:https://api.ocpdev.maximocertus.com:6443/apis/project.openshift.io/v1?timeout=32s I0807 09:02:32.456200 6702 request.go:668] Waited for 8.575083694s due to client-side throttling, not priority and fairness, request: GET:https://api.ocpdev.maximocertus.com:6443/apis/imageregistry.operator.openshift.io/v1?timeout=32s I0807 09:02:42.470703 6702 request.go:668] Waited for 5.365514102s due to client-side throttling, not priority and fairness, request: GET:https://api.ocpdev.maximocertus.com:6443/apis/addons.mas.ibm.com/v1?timeout=32s I0807 09:02:52.484341 6702 request.go:668] Waited for 2.18160356s due to client-side throttling, not priority and fairness, request: GET:https://api.ocpdev.maximocertus.com:6443/apis/triggers.tekton.dev/v1beta1?timeout=32s I0807 09:03:02.485023 6702 request.go:668] Waited for 1.779628643s due to client-side throttling, not priority and fairness, request: GET:https://api.ocpdev.maximocertus.com:6443/apis/route.openshift.io/v1?timeout=32s Gathering data for ns/openshift-config... Gathering data for ns/openshift-config-managed... I0807 09:03:17.171766 6702 request.go:668] Waited for 1.158639741s due to client-side throttling, not priority and fairness, request: GET:https://api.ocpdev.maximocertus.com:6443/apis/oauth.openshift.io/v1?timeout=32s Gathering data for ns/openshift-authentication... I0807 09:03:28.768502 6702 request.go:668] Waited for 1.161366304s due to client-side throttling, not priority and fairness, request: GET:https://api.ocpdev.maximocertus.com:6443/apis/oauth.openshift.io/v1?timeout=32s Gathering data for ns/openshift-authentication-operator... I0807 09:03:40.226332 6702 request.go:668] Waited for 1.152167107s due to client-side throttling, not priority and fairness, request: GET:https://api.ocpdev.maximocertus.com:6443/apis/oauth.openshift.io/v1?timeout=32s Gathering data for ns/openshift-ingress... I0807 09:03:51.664027 6702 request.go:668] Waited for 1.18683985s due to client-side throttling, not priority and fairness, request: GET:https://api.ocpdev.maximocertus.com:6443/apis/oauth.openshift.io/v1?timeout=32s Gathering data for ns/openshift-oauth-apiserver... I0807 09:04:03.088766 6702 request.go:668] Waited for 1.124409712s due to client-side throttling, not priority and fairness, request: GET:https://api.ocpdev.maximocertus.com:6443/apis/oauth.openshift.io/v1?timeout=32s Gathering data for ns/openshift-machine-api... I0807 09:04:14.598819 6702 request.go:668] Waited for 1.174471285s due to client-side throttling, not priority and fairness, request: GET:https://api.ocpdev.maximocertus.com:6443/apis/oauth.openshift.io/v1?timeout=32s I0807 09:04:25.398448 6702 request.go:668] Waited for 1.162687646s due to client-side throttling, not priority and fairness, request: GET:https://api.ocpdev.maximocertus.com:6443/apis/autoscaling.openshift.io/v1beta1?timeout=32s I0807 09:04:35.798502 6702 request.go:668] Waited for 1.182417171s due to client-side throttling, not priority and fairness, request: GET:https://api.ocpdev.maximocertus.com:6443/apis/oauth.openshift.io/v1?timeout=32s I0807 09:04:45.917582 6702 request.go:668] Waited for 8.333162205s due to client-side throttling, not priority and fairness, request: GET:https://api.ocpdev.maximocertus.com:6443/apis/operator.ibm.com/v1?timeout=32s I0807 09:04:56.037882 6702 request.go:668] Waited for 5.150826554s due to client-side throttling, not priority and fairness, request: GET:https://api.ocpdev.maximocertus.com:6443/apis/core.strimzi.io/v1beta2?timeout=32s I0807 09:05:06.152110 6702 request.go:668] Waited for 1.953183974s due to client-side throttling, not priority and fairness, request: GET:https://api.ocpdev.maximocertus.com:6443/apis/imageregistry.operator.openshift.io/v1?timeout=32s I0807 09:05:16.352154 6702 request.go:668] Waited for 1.78496835s due to client-side throttling, not priority and fairness, request: GET:https://api.ocpdev.maximocertus.com:6443/apis/route.openshift.io/v1?timeout=32s I0807 09:05:26.467619 6702 request.go:668] Waited for 8.972131186s due to client-side throttling, not priority and fairness, request: GET:https://api.ocpdev.maximocertus.com:6443/apis/resolution.tekton.dev/v1beta1?timeout=32s I0807 09:05:36.571287 6702 request.go:668] Waited for 5.738387513s due to client-side throttling, not priority and fairness, request: GET:https://api.ocpdev.maximocertus.com:6443/apis/core.ibmevents.ibm.com/v1beta2?timeout=32s Gathering data for ns/openshift-cloud-controller-manager-operator... I0807 09:05:46.723536 6702 request.go:668] Waited for 1.761907816s due to client-side throttling, not priority and fairness, request: GET:https://api.ocpdev.maximocertus.com:6443/apis/route.openshift.io/v1?timeout=32s Gathering data for ns/openshift-cloud-controller-manager... I0807 09:05:57.382951 6702 request.go:668] Waited for 1.160707544s due to client-side throttling, not priority and fairness, request: GET:https://api.ocpdev.maximocertus.com:6443/apis/oauth.openshift.io/v1?timeout=32s I0807 09:06:07.757738 6702 request.go:668] Waited for 1.157828482s due to client-side throttling, not priority and fairness, request: GET:https://api.ocpdev.maximocertus.com:6443/apis/compliance.openshift.io/v1alpha1?timeout=32s I0807 09:06:18.156990 6702 request.go:668] Waited for 1.166780374s due to client-side throttling, not priority and fairness, request: GET:https://api.ocpdev.maximocertus.com:6443/apis/oauth.openshift.io/v1?timeout=32s Gathering data for ns/openshift-cloud-credential-operator... I0807 09:06:28.318553 6702 request.go:668] Waited for 2.384842156s due to client-side throttling, not priority and fairness, request: GET:https://api.ocpdev.maximocertus.com:6443/apis/user.openshift.io/v1?timeout=32s I0807 09:06:38.372865 6702 request.go:668] Waited for 7.356235398s due to client-side throttling, not priority and fairness, request: GET:https://api.ocpdev.maximocertus.com:6443/apis/core.strimzi.io/v1beta2?timeout=32s I0807 09:06:48.388962 6702 request.go:668] Waited for 4.179963072s due to client-side throttling, not priority and fairness, request: GET:https://api.ocpdev.maximocertus.com:6443/apis/ibmevents.ibm.com/v1beta2?timeout=32s

jboutaud commented 11 months ago

Hello, Thanks for reaching out. For Azure Red Hat OpenShift, we do not support single node openshift. Are you deploying self managed Openshift? If so, I recommend you open a support case with Red Hat to help troubleshoot the issue(s).

Thanks, Jerome

jboutaud commented 9 months ago

If you need more details on this, please comment back up on the issue.

jboutaud commented 9 months ago

We do not plan to introduce single node Openshift