{"action":"created","issue":{"url":"https://api.github.com/repos/kubernetes/kubernetes/issues/65706","repository_url":"https://api.github.com/repos/kubernetes/kubernetes","labels_url":"https://api.github.com/repos/kubernetes/kubernetes/issues/65706/labels{/name}","comments_url":"https://api.github.com/repos/kubernetes/kubernetes/issues/65706/comments","events_url":"https://api.github.com/repos/kubernetes/kubernetes/issues/65706/events","html_url":"https://github.com/kubernetes/kubernetes/issues/65706","id":337506842,"node_id":"MDU6SXNzdWUzMzc1MDY4NDI=","number":65706,"title":"the status of volumeClaimTemplates was pending even if the pvc was created already","user":{"login":"hchenxa","id":10266685,"node_id":"MDQ6VXNlcjEwMjY2Njg1","avatar_url":"https://avatars0.githubusercontent.com/u/10266685?v=4","gravatar_id":"","url":"https://api.github.com/users/hchenxa","html_url":"https://github.com/hchenxa","followers_url":"https://api.github.com/users/hchenxa/followers","following_url":"https://api.github.com/users/hchenxa/following{/other_user}","gists_url":"https://api.github.com/users/hchenxa/gists{/gist_id}","starred_url":"https://api.github.com/users/hchenxa/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hchenxa/subscriptions","organizations_url":"https://api.github.com/users/hchenxa/orgs","repos_url":"https://api.github.com/users/hchenxa/repos","events_url":"https://api.github.com/users/hchenxa/events{/privacy}","received_events_url":"https://api.github.com/users/hchenxa/received_events","type":"User","site_admin":false},"labels":[{"id":105146071,"node_id":"MDU6TGFiZWwxMDUxNDYwNzE=","url":"https://api.github.com/repos/kubernetes/kubernetes/labels/kind/bug","name":"kind/bug","color":"e11d21","default":false},{"id":778118402,"node_id":"MDU6TGFiZWw3NzgxMTg0MDI=","url":"https://api.github.com/repos/kubernetes/kubernetes/labels/lifecycle/rotten","name":"lifecycle/rotten","color":"604460","default":false},{"id":404091735,"node_id":"MDU6TGFiZWw0MDQwOTE3MzU=","url":"https://api.github.com/repos/kubernetes/kubernetes/labels/sig/apps","name":"sig/apps","color":"d2b48c","default":false}],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":8,"created_at":"2018-07-02T12:55:47Z","updated_at":"2019-07-17T13:55:57Z","closed_at":"2018-12-05T19:43:53Z","author_association":"MEMBER","body":"<!-- This form is for bug reports and feature requests ONLY!\r\n\r\nIf you're looking for help check [Stack Overflow](https://stackoverflow.com/questions/tagged/kubernetes) and the [troubleshooting guide](https://kubernetes.io/docs/tasks/debug-application-cluster/troubleshooting/).\r\n\r\nIf the matter is security related, please disclose it privately via https://kubernetes.io/security/.\r\n-->\r\n\r\n**Is this a BUG REPORT or FEATURE REQUEST?**:\r\n\r\n> Uncomment only one, leave it on its own line:\r\n>\r\n/kind bug\r\n> /kind feature\r\n\r\n\r\n**What happened**:\r\nI create a statefulset with volumeClaimTemplates defined, after the statefulset finish creation, check the status of volumeClaimTemplates, find it's still pending like below:\r\n```\r\n  volumeClaimTemplates:\r\n  - metadata:\r\n      creationTimestamp: null\r\n      name: mongodbdir\r\n    spec:\r\n      accessModes:\r\n      - ReadWriteOnce\r\n      resources:\r\n        requests:\r\n          storage: 20Gi\r\n      storageClassName: mongodb-storage\r\n    status:\r\n      phase: Pending\r\n```\r\n\r\nbut actually, the pvc have created:\r\n```\r\nroot@hchenxa-1:~# kubectl  get pvc -n kube-system  | grep mongodb-storage\r\nmongodbdir-icp-mongodb-0        Bound     mongodb-9.111.255.15             20Gi       RWO            mongodb-storage            4d\r\nmongodbdir-icp-mongodb-1        Bound     mongodb-9.111.255.131            20Gi       RWO            mongodb-storage            4d\r\nmongodbdir-icp-mongodb-2        Bound     mongodb-9.111.255.45             20Gi       RWO            mongodb-storage            4d\r\n```\r\n\r\n**What you expected to happen**:\r\n\r\n**How to reproduce it (as minimally and precisely as possible)**:\r\n\r\n**Anything else we need to know?**:\r\n\r\n**Environment**:\r\n- Kubernetes version (use `kubectl version`): 1.10.0\r\n- Cloud provider or hardware configuration:\r\n- OS (e.g. from /etc/os-release): ubuntu 16.04\r\n- Kernel (e.g. `uname -a`):\r\n- Install tools:\r\n- Others:\r\n"},"comment":{"url":"https://api.github.com/repos/kubernetes/kubernetes/issues/comments/512265326","html_url":"https://github.com/kubernetes/kubernetes/issues/65706#issuecomment-512265326","issue_url":"https://api.github.com/repos/kubernetes/kubernetes/issues/65706","id":512265326,"node_id":"MDEyOklzc3VlQ29tbWVudDUxMjI2NTMyNg==","user":{"login":"jglick","id":154109,"node_id":"MDQ6VXNlcjE1NDEwOQ==","avatar_url":"https://avatars1.githubusercontent.com/u/154109?v=4","gravatar_id":"","url":"https://api.github.com/users/jglick","html_url":"https://github.com/jglick","followers_url":"https://api.github.com/users/jglick/followers","following_url":"https://api.github.com/users/jglick/following{/other_user}","gists_url":"https://api.github.com/users/jglick/gists{/gist_id}","starred_url":"https://api.github.com/users/jglick/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jglick/subscriptions","organizations_url":"https://api.github.com/users/jglick/orgs","repos_url":"https://api.github.com/users/jglick/repos","events_url":"https://api.github.com/users/jglick/events{/privacy}","received_events_url":"https://api.github.com/users/jglick/received_events","type":"User","site_admin":false},"created_at":"2019-07-17T13:55:57Z","updated_at":"2019-07-17T13:55:57Z","author_association":"NONE","body":"/remove-lifecycle rotten"}}
{"actor":{"display_login":"jglick"}}