Bug 1569404
Summary: | Delete a volumeattachment used by a Pod will cause errors | ||
---|---|---|---|
Product: | OpenShift Container Platform | Reporter: | Qin Ping <piqin> |
Component: | Storage | Assignee: | Jan Safranek <jsafrane> |
Status: | CLOSED CURRENTRELEASE | QA Contact: | Qin Ping <piqin> |
Severity: | high | Docs Contact: | |
Priority: | high | ||
Version: | 3.10.0 | CC: | aos-bugs, aos-storage-staff, bchilds, jsafrane, piqin |
Target Milestone: | --- | ||
Target Release: | 3.10.0 | ||
Hardware: | Unspecified | ||
OS: | Unspecified | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | No Doc Update | |
Doc Text: |
undefined
|
Story Points: | --- |
Clone Of: | Environment: | ||
Last Closed: | 2018-12-20 21:12:05 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
Qin Ping
2018-04-19 08:52:02 UTC
Qin, how did you install OpenShift on OpenStack? My installation in Jenkins failed with "Node start failed." Node logs shows this: 22933 server.go:233] failed to run Kubelet: failed to create kubelet: failed to get the addresses of the current instance from the cloud https://openshift-qe-jenkins.rhev-ci-vms.eng.rdu2.redhat.com/job/Launch%20Environment%20Flexy/35908/console There are several bugs in Kubernetes CSI implementation: - Attach/Detach controller does not recover when user deletes VolumeAttachment manually: https://github.com/kubernetes/kubernetes/pull/63295 - Attach/Detach controller does not report errors when attach fails: https://github.com/kubernetes/kubernetes/pull/63303 And there are some bugs in Cinder CSI driver itself: - CSI driver trusts OpenStack's DevicePath: https://github.com/kubernetes/cloud-provider-openstack/issues/150 Cinder driver is not much usable without fixing that. I should make that clearer, I fixed only the bugs in Kubernetes components: > - Attach/Detach controller does not recover when user deletes > VolumeAttachment manually: > https://github.com/kubernetes/kubernetes/pull/63295 > > - Attach/Detach controller does not report errors when attach fails: > https://github.com/kubernetes/kubernetes/pull/63303 I did not fix the driver itself, this is still open: > > - CSI driver trusts OpenStack's DevicePath: > https://github.com/kubernetes/cloud-provider-openstack/issues/150 > > > Cinder driver is not much usable without fixing that. What issue exactly are you hitting? Ah, I misunderstood CSI driver PR, I saw a comment said fixed, but did not notice it was been fixed in "internal" Cidner volume plugin. Qin, I checked the system you left for me and I've discovered another bug. I filled it as #1588453 so we can track its fix independently. Verified in openshift: oc v3.10.0-0.64.0 openshift v3.10.0-0.64.0 kubernetes v1.10.0+b81c8f8 csi-provisioner-0.2.0-2.el7.x86_64 # uname -a Linux qe-piqin-master-etcd-nfs-1 3.10.0-862.3.2.el7.x86_64 #1 SMP Tue May 15 18:22:15 EDT 2018 x86_64 x86_64 x86_64 GNU/Linux # cat /etc/redhat-release Red Hat Enterprise Linux Server release 7.5 (Maipo) |