Bug 1261981
| Summary: | kube-apiserver init failing to start when spawned 3 in parallel | |||
|---|---|---|---|---|
| Product: | Red Hat Enterprise Linux 7 | Reporter: | Jaroslav Henner <jhenner> | |
| Component: | kubernetes | Assignee: | Jan Chaloupka <jchaloup> | |
| Status: | CLOSED WONTFIX | QA Contact: | atomic-bugs <atomic-bugs> | |
| Severity: | high | Docs Contact: | ||
| Priority: | high | |||
| Version: | 7.1 | CC: | ccoleman, cww, dsafford, eparis, jeder, mmcgrath, rhowe | |
| Target Milestone: | rc | Keywords: | Extras | |
| Target Release: | --- | |||
| Hardware: | Unspecified | |||
| OS: | Unspecified | |||
| Whiteboard: | ||||
| Fixed In Version: | Doc Type: | Bug Fix | ||
| Doc Text: | Story Points: | --- | ||
| Clone Of: | ||||
| : | 1301217 (view as bug list) | Environment: | ||
| Last Closed: | 2020-12-15 07:36:39 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: | ||||
| Bug Depends On: | ||||
| Bug Blocks: | 1203710, 1298318 | |||
|
Description
Jaroslav Henner
2015-09-10 14:33:49 UTC
I have forgot to note that apparently the fact that the subsequent start
attempt succeeds is hiding the original error message (the systemctl status kube-apiserver). One have to search the logs for that:
- hide quoted text -
> aa.bb.cc.dd] out: Sep 09 19:14:39 ci-cluster-fa3cb6cf-1.novalocal systemd[1]: Starting Kubernetes API Server...
> [aa.bb.cc.dd] out: Sep 09 19:14:39 ci-cluster-fa3cb6cf-1.novalocal kube-apiserver[10834]: I0909 19:14:39.823584 10834 plugins.go:69] No cloud provider specified.
> [aa.bb.cc.dd] out: Sep 09 19:14:39 ci-cluster-fa3cb6cf-1.novalocal kube-apiserver[10834]: I0909 19:14:39.823830 10834 master.go:273] Node port range unspecified. Defaulting to 30000-32767.
> [aa.bb.cc.dd] out: Sep 09 19:14:39 ci-cluster-fa3cb6cf-1.novalocal kube-apiserver[10834]: I0909 19:14:39.824090 10834 master.go:295] Will report 172.16.80.8 as public IP address.
> [aa.bb.cc.dd] out: Sep 09 19:14:39 ci-cluster-fa3cb6cf-1.novalocal kube-apiserver[10834]: [restful] 2015/09/09 19:14:39 log.go:30: [restful/swagger] listing is available at https://172.16.80.8:6443/swaggerapi/
> [aa.bb.cc.dd] out: Sep 09 19:14:39 ci-cluster-fa3cb6cf-1.novalocal kube-apiserver[10834]: [restful] 2015/09/09 19:14:39 log.go:30: [restful/swagger] https://172.16.80.8:6443/swaggerui/ is mapped to folder /swagger-ui/
> [aa.bb.cc.dd] out: Sep 09 19:14:39 ci-cluster-fa3cb6cf-1.novalocal kube-apiserver[10834]: E0909 19:14:39.853735 10834 reflector.go:136] Failed to list *api.ResourceQuota: Get http://0.0.0.0:8080/api/v1/resourcequotas: dial tcp 0.0.0.0:8080: connection refused
> [aa.bb.cc.dd] out: Sep 09 19:14:39 ci-cluster-fa3cb6cf-1.novalocal kube-apiserver[10834]: E0909 19:14:39.853846 10834 reflector.go:136] Failed to list *api.LimitRange: Get http://0.0.0.0:8080/api/v1/limitranges: dial tcp 0.0.0.0:8080: connection refused
> [aa.bb.cc.dd] out: Sep 09 19:14:39 ci-cluster-fa3cb6cf-1.novalocal kube-apiserver[10834]: E0909 19:14:39.853904 10834 reflector.go:136] Failed to list *api.Namespace: Get http://0.0.0.0:8080/api/v1/namespaces: dial tcp 0.0.0.0:8080: connection refused
> [aa.bb.cc.dd] out: Sep 09 19:14:39 ci-cluster-fa3cb6cf-1.novalocal kube-apiserver[10834]: E0909 19:14:39.853971 10834 reflector.go:136] Failed to list *api.Namespace: Get http://0.0.0.0:8080/api/v1/namespaces: dial tcp 0.0.0.0:8080: connection refused
> [aa.bb.cc.dd] out: Sep 09 19:14:40 ci-cluster-fa3cb6cf-1.novalocal kube-apiserver[10834]: I0909 19:14:40.239197 10834 server.go:441] Serving securely on 0.0.0.0:6443
> [aa.bb.cc.dd] out: Sep 09 19:14:40 ci-cluster-fa3cb6cf-1.novalocal kube-apiserver[10834]: I0909 19:14:40.239230 10834 server.go:483] Serving insecurely on 0.0.0.0:8080
> [aa.bb.cc.dd] out: Sep 09 19:14:40 ci-cluster-fa3cb6cf-1.novalocal kube-apiserver[10834]: E0909 19:14:40.631190 10834 repair.go:52] unable to persist the updated port allocations: servicenodeportallocation "" cannot be updated: the provided resource version does not match
> [aa.bb.cc.dd] out: Sep 09 19:14:40 ci-cluster-fa3cb6cf-1.novalocal kube-apiserver[10834]: E0909 19:14:40.784381 10834 repair.go:67] unable to persist the updated service IP allocations: serviceipallocation "" cannot be updated: the provided resource version does not match
> [aa.bb.cc.dd] out:
Some restart attempts are showing only one of the "unable to persist" messages
I see this on a standalone openshift 3.0.2 environment that uses the built-in etcd (single node) deployment. Noted this upstream issue: https://github.com/kubernetes/kubernetes/issues/9450 We need to confirm this is still a bug in openshift 3.1... Similar issue seen in 3.1 HA setup. Error message is a little different Dec 30 13:16:42 master3.example.com atomic-openshift-master-api[59189]: F1230 13:16:42.932154 59189 controller.go:83] Unable to perform initial IP allocation check: unable to persist the updated service IP allocations: serviceipallocation "" cannot be updated: the provided resource version does not match https://bugzilla.redhat.com/show_bug.cgi?id=1294513 Upstream issue: https://github.com/kubernetes/kubernetes/issues/19848 Supporting PR: https://github.com/kubernetes/kubernetes/pull/16067 Once 16067 is merged, we can implement a fix for this bug. American Express says they are now blocked by this bug. I set the "Customer Escalation" flag. Upstream fix: https://github.com/kubernetes/kubernetes/pull/20007 The fix is not shipped in kubernetes for 7.2.2 so the state should be at most POST. Still, it will not do any harm to apply the patch and include this issue for 7.2.3. What do you think Andy? Let's apply it for 7.2.3 This bug was accidentally moved from POST to MODIFIED via an error in automation, please see mmccune with any questions After evaluating this issue, there are no plans to address it further or fix it in an upcoming release. Therefore, it is being closed. If plans change such that this issue will be fixed in an upcoming release, then the bug can be reopened. |