{"action":"opened","issue":{"url":"https://api.github.com/repos/kubernetes/kubernetes/issues/44610","repository_url":"https://api.github.com/repos/kubernetes/kubernetes","labels_url":"https://api.github.com/repos/kubernetes/kubernetes/issues/44610/labels{/name}","comments_url":"https://api.github.com/repos/kubernetes/kubernetes/issues/44610/comments","events_url":"https://api.github.com/repos/kubernetes/kubernetes/issues/44610/events","html_url":"https://github.com/kubernetes/kubernetes/issues/44610","id":222403939,"number":44610,"title":"k8s does not deleting pv within pvc","user":{"login":"pkutishch","id":21333666,"avatar_url":"https://avatars2.githubusercontent.com/u/21333666?v=3","gravatar_id":"","url":"https://api.github.com/users/pkutishch","html_url":"https://github.com/pkutishch","followers_url":"https://api.github.com/users/pkutishch/followers","following_url":"https://api.github.com/users/pkutishch/following{/other_user}","gists_url":"https://api.github.com/users/pkutishch/gists{/gist_id}","starred_url":"https://api.github.com/users/pkutishch/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pkutishch/subscriptions","organizations_url":"https://api.github.com/users/pkutishch/orgs","repos_url":"https://api.github.com/users/pkutishch/repos","events_url":"https://api.github.com/users/pkutishch/events{/privacy}","received_events_url":"https://api.github.com/users/pkutishch/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2017-04-18T12:42:21Z","updated_at":"2017-04-18T12:42:21Z","closed_at":null,"body":"<!-- Thanks for filing an issue! Before hitting the button, please answer these questions.-->\r\n\r\n**Is this a request for help?** (If yes, you should use our troubleshooting guide and community support channels, see http://kubernetes.io/docs/troubleshooting/.):\r\n\r\n\r\n**What keywords did you search in Kubernetes issues before filing this one?** (If you have found any duplicates, you should instead reply there.):\r\n\r\n---\r\n\r\n**Is this a BUG REPORT or FEATURE REQUEST?** (choose one):\r\n\r\n<!--\r\nIf this is a BUG REPORT, please:\r\n  - Fill in as much of the template below as you can.  If you leave out\r\n    information, we can't help you as well.\r\n\r\nIf this is a FEATURE REQUEST, please:\r\n  - Describe *in detail* the feature/behavior/change you'd like to see.\r\n\r\nIn both cases, be ready for followup questions, and please respond in a timely\r\nmanner.  If we can't reproduce a bug or think a feature already exists, we\r\nmight close your issue.  If we're wrong, PLEASE feel free to reopen it and\r\nexplain why.\r\n-->\r\n\r\n**Kubernetes version** (use `kubectl version`):\r\nClient Version: version.Info{Major:\"1\", Minor:\"6+\", GitVersion:\"v1.6.0-beta.3\", GitCommit:\"0cd5ed469508e6dfc807ee6681561c845828917e\", GitTreeState:\"clean\", BuildDate:\"2017-03-11T04:20:22Z\", GoVersion:\"go1.7.5\", Compiler:\"gc\", Platform:\"linux/amd64\"}\r\nServer Version: version.Info{Major:\"1\", Minor:\"6\", GitVersion:\"v1.6.0\", GitCommit:\"fff5156092b56e6bd60fff75aad4dc9de6b6ef37\", GitTreeState:\"clean\", BuildDate:\"2017-03-28T16:24:30Z\", GoVersion:\"go1.7.5\", Compiler:\"gc\", Platform:\"linux/amd64\"}\r\n\r\n**Environment**:\r\n- **Bare-metal**:\r\n- **OS** (e.g. from /etc/os-release):\r\nNAME=\"Container Linux by CoreOS\"\r\nID=coreos\r\nVERSION=1325.2.0\r\nVERSION_ID=1325.2.0\r\nBUILD_ID=2017-02-28-2239\r\nPRETTY_NAME=\"Container Linux by CoreOS 1325.2.0 (Ladybug)\"\r\nANSI_COLOR=\"38;5;75\"\r\nHOME_URL=\"https://coreos.com/\"\r\nBUG_REPORT_URL=\"https://github.com/coreos/bugs/issues\"\r\n- **Kernel** (e.g. `uname -a`):\r\nLinux server29 4.9.9-coreos-r1 #1 SMP Tue Feb 28 22:27:48 UTC 2017 x86_64 Intel(R) Xeon(R) CPU E5-2620 v2 @ 2.10GHz GenuineIntel GNU/Linux\r\n- **Install tools**:\r\nhyperkube\r\n- **Others**:\r\n\r\n\r\n**What happened**:\r\nWhen you run\r\nkubectl delete pvc <name>, PVC is going to be removed and PV appears in \"Failed\" state with reason\r\n\r\nMessage:\tVolume has no class annotation\r\n\r\n\r\n**What you expected to happen**:\r\nAs before i tested this functionality in 1.4\r\nPV should be removed and volume should be deleted from GlusterFS/Heketi as well. \r\n\r\n**How to reproduce it** (as minimally and precisely as possible):\r\nCreate storageclass for your glusterfs deployment. \r\nfor example:\r\napiVersion: storage.k8s.io/v1\r\nkind: StorageClass\r\nmetadata:\r\n  name: slow\r\nprovisioner: kubernetes.io/glusterfs\r\nparameters:\r\n  resturl: \"http://127.0.0.1:8081\"\r\n  clusterid: \"630372ccdc720a92c681fb928f27b53f\"\r\n\r\nSubmit pvc: \r\nkind: PersistentVolumeClaim\r\napiVersion: v1\r\nmetadata:\r\n  name: myclaim\r\n  annotations:\r\n    volume.beta.kubernetes.io/storage-class: \"slow\"\r\nspec:\r\n  accessModes:\r\n    - ReadWriteMany\r\n  resources:\r\n    requests:\r\n      storage: 10Gi\r\n\r\nand then remove it using kubectl delete pvc myclaim \r\n\r\n"}}
{"actor":{"display_login":"pkutishch"}}