Bug 1523153
| Summary: | Cannot start atomic-openshift-node when using networkpolicy plugin | ||
|---|---|---|---|
| Product: | OpenShift Container Platform | Reporter: | Meng Bo <bmeng> |
| Component: | Networking | Assignee: | Casey Callendrello <cdc> |
| Networking sub component: | openshift-sdn | QA Contact: | zhaozhanqi <zzhao> |
| Status: | CLOSED CURRENTRELEASE | Docs Contact: | |
| Severity: | high | ||
| Priority: | high | CC: | aos-bugs, danw, erich, wjiang, wmeng, xtian |
| Version: | 3.8.0 | ||
| Target Milestone: | --- | ||
| Target Release: | 3.8.0 | ||
| 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: | 2019-12-05 21:50:30 UTC | 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
Meng Bo
2017-12-07 10:20:58 UTC
Weibin: Can you please reproduce this, thanks! @Ben @weibin The bug is quite easy to be recreated. The node start will fail directly once the env setup. I suspect that the recent api changes cause this. Since there are lots of api changes in the 3.8 branch. FYI
# oc policy who-can list networkpolicies
Namespace: default
Verb: list
Resource: networkpolicies.extensions
Users: system:admin
system:kube-controller-manager
system:serviceaccount:default:router
system:serviceaccount:kube-service-catalog:default
system:serviceaccount:kube-system:generic-garbage-collector
system:serviceaccount:kube-system:namespace-controller
system:serviceaccount:kube-system:resourcequota-controller
system:serviceaccount:management-infra:management-admin
system:serviceaccount:openshift-ansible-service-broker:asb
system:serviceaccount:openshift-infra:template-instance-controller
Groups: system:cluster-admins
system:cluster-readers
system:masters
system:nodes
# oc policy who-can list networkpolicies.networking.k8s.io
Namespace: default
Verb: list
Resource: networkpolicies.networking.k8s.io
Users: system:admin
system:kube-controller-manager
system:serviceaccount:default:router
system:serviceaccount:kube-system:generic-garbage-collector
system:serviceaccount:kube-system:namespace-controller
system:serviceaccount:kube-system:resourcequota-controller
system:serviceaccount:management-infra:management-admin
Groups: system:cluster-admins
system:cluster-readers
system:masters
# openssl x509 -in /etc/origin/node/system\:node\:ip-172-18-3-251.ec2.internal.crt -noout -subject
subject= /O=system:nodes/CN=system:node:ip-172-18-3-251.ec2.internal
# openshift version
openshift v3.8.11
kubernetes v1.8.1+0d5291c
etcd 3.2.8
https://github.com/kubernetes/kubernetes/pull/39164 according to https://github.com/kubernetes/kubernetes/blob/master/CHANGELOG-1.8.md cc @danw https://github.com/openshift/origin/commit/364615da6cf024eeb3190e531c3314667d9d8caa Seems the changes above causes the issue. Fixed by https://github.com/openshift/origin/pull/17549 which should merge soon Checked on v3.9.0-0.11.0.0, the node can be started normally when using networkpolicy plugin. |