Bug 1659442
| Summary: | 3.11 Clarification on KUBE_MAX_PD_VOLS for OpenShift/OpenStack Integration | |||
|---|---|---|---|---|
| Product: | OpenShift Container Platform | Reporter: | Christian Stark <cstark> | |
| Component: | Storage | Assignee: | Hemant Kumar <hekumar> | |
| Status: | CLOSED ERRATA | QA Contact: | Chao Yang <chaoyang> | |
| Severity: | unspecified | Docs Contact: | ||
| Priority: | unspecified | |||
| Version: | 3.11.0 | CC: | aos-bugs, aos-storage-staff, bchilds, dageoffr, dapark, erich, wsun | |
| Target Milestone: | --- | Keywords: | NeedsTestCase | |
| Target Release: | 3.11.z | |||
| Hardware: | Unspecified | |||
| OS: | Unspecified | |||
| Whiteboard: | ||||
| Fixed In Version: | Doc Type: | If docs needed, set a value | ||
| Doc Text: | Story Points: | --- | ||
| Clone Of: | ||||
| : | 1668893 1669543 (view as bug list) | Environment: | ||
| Last Closed: | 2019-04-11 05:38:23 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: | 1668893, 1669543, 1669544 | |||
|
Description
Christian Stark
2018-12-14 12:00:42 UTC
oops sorry for incorrect link to 3.11 PR - https://github.com/openshift/origin/pull/22024 This is passed oc v3.11.96 kubernetes v1.11.0+d4cacc0 features: Basic-Auth GSSAPI Kerberos SPNEGO Server https://qe-chaoyang-master-etcd-nfs-1:8443 openshift v3.11.96 kubernetes v1.11.0+d4cacc0 1.Prepare the openshift env on openstack 2.[root@qe-chaoyang-master-etcd-nfs-1 sysconfig]# grep -ri max /etc/origin/master/scheduler.json "name": "MaxEBSVolumeCount" "name": "MaxGCEPDVolumeCount" "name": "MaxCinderVolumeCount" "name": "MaxAzureDiskVolumeCount" 3. grep -ri max /etc/origin/master/master.env export KUBE_MAX_PD_VOLS=3 4.Restart api and controller service master-restart api master-restart controllers 5.Create pods [root@qe-chaoyang-master-etcd-nfs-1 sysconfig]# oc get pods NAME READY STATUS RESTARTS AGE mypod1 1/1 Running 0 41m mypod2 1/1 Running 0 40m mypod3 1/1 Running 0 39m mypod4 0/1 Pending 0 15s 6.[root@qe-chaoyang-master-etcd-nfs-1 sysconfig]# oc describe pods mypod4 Name: mypod4 Namespace: test Priority: 0 PriorityClassName: <none> Node: <none> Labels: name=frontendhttp Annotations: openshift.io/scc=anyuid Status: Pending IP: Containers: myfrontend: Image: jhou/hello-openshift Port: 80/TCP Host Port: 0/TCP Environment: <none> Mounts: /tmp from aws (rw) /var/run/secrets/kubernetes.io/serviceaccount from default-token-4xf88 (ro) Conditions: Type Status PodScheduled False Volumes: aws: Type: PersistentVolumeClaim (a reference to a PersistentVolumeClaim in the same namespace) ClaimName: ebsc4 ReadOnly: false default-token-4xf88: Type: Secret (a volume populated by a Secret) SecretName: default-token-4xf88 Optional: false QoS Class: BestEffort Node-Selectors: node-role.kubernetes.io/compute=true Tolerations: <none> Events: Type Reason Age From Message ---- ------ ---- ---- ------- Warning FailedScheduling 3m (x25 over 4m) default-scheduler 0/4 nodes are available: 1 node(s) exceed max volume count, 1 node(s) were unschedulable, 2 node(s) didn't match node selector. Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory, and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. https://access.redhat.com/errata/RHBA-2019:0636 |