Bug 1668893
Summary: | 3.9 Clarification on KUBE_MAX_PD_VOLS for OpenShift/OpenStack Integration | ||
---|---|---|---|
Product: | OpenShift Container Platform | Reporter: | Hemant Kumar <hekumar> |
Component: | Storage | Assignee: | Hemant Kumar <hekumar> |
Status: | CLOSED ERRATA | QA Contact: | Liang Xia <lxia> |
Severity: | unspecified | Docs Contact: | |
Priority: | unspecified | ||
Version: | 3.9.0 | CC: | agogala, aos-bugs, aos-storage-staff, hekumar |
Target Milestone: | --- | ||
Target Release: | 3.9.z | ||
Hardware: | Unspecified | ||
OS: | Unspecified | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | If docs needed, set a value | |
Doc Text: | Story Points: | --- | |
Clone Of: | 1659442 | Environment: | |
Last Closed: | 2019-02-20 08:46:56 UTC | Type: | --- |
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: | 1659442, 1669543, 1669544 | ||
Bug Blocks: |
Comment 4
Liang Xia
2019-02-12 06:25:21 UTC
QE tried again on version v3.9.69 with below steps, 1. Update the node and leave only one to schedulable status. # oc adm manage-node --schedulable xxx # oc get nodes NAME STATUS ROLES AGE VERSION qe-lxia-39-master-etcd-nfs-1 Ready,SchedulingDisabled master 17m v1.9.1+a0ce1bc657 qe-lxia-39-node-registry-router-1 Ready compute 17m v1.9.1+a0ce1bc657 2. Enable predicate via scheduler.json # grep -i cinder /etc/origin/master/scheduler.json -A4 -B4 { "name": "MaxAzureDiskVolumeCount" }, { "name": "MaxCinderVolumeCount" }, { "name": "MatchInterPodAffinity" }, 3. Set KUBE_MAX_PD_VOLS=3 # grep -i vol /etc/sysconfig/atomic-openshift-master-controllers KUBE_MAX_PD_VOLS=3 4. Restart api and controller service. 5. Create 4 pvc/pod. # oc get pods mypod{1..4} NAME READY STATUS RESTARTS AGE mypod1 1/1 Running 0 7m mypod2 1/1 Running 0 6m mypod3 1/1 Running 0 6m mypod4 0/1 Pending 0 5m # oc describe pod mypod4 Name: mypod4 Namespace: default Node: <none> Labels: <none> Annotations: openshift.io/scc=anyuid Status: Pending IP: Containers: dynamic: Image: aosqe/hello-openshift Port: 80/TCP Environment: <none> Mounts: /mnt/ocp_pv from dynamic (rw) /var/run/secrets/kubernetes.io/serviceaccount from default-token-l9mpz (ro) Conditions: Type Status PodScheduled False Volumes: dynamic: Type: PersistentVolumeClaim (a reference to a PersistentVolumeClaim in the same namespace) ClaimName: mypvc4 ReadOnly: false default-token-l9mpz: Type: Secret (a volume populated by a Secret) SecretName: default-token-l9mpz Optional: false QoS Class: BestEffort Node-Selectors: <none> Tolerations: <none> Events: Type Reason Age From Message ---- ------ ---- ---- ------- Warning FailedScheduling 14s (x22 over 5m) default-scheduler 0/2 nodes are available: 1 MaxVolumeCount, 1 NodeUnschedulable. 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:0331 |