{"action":"created","issue":{"url":"https://api.github.com/repos/kubernetes/kubernetes/issues/62480","repository_url":"https://api.github.com/repos/kubernetes/kubernetes","labels_url":"https://api.github.com/repos/kubernetes/kubernetes/issues/62480/labels{/name}","comments_url":"https://api.github.com/repos/kubernetes/kubernetes/issues/62480/comments","events_url":"https://api.github.com/repos/kubernetes/kubernetes/issues/62480/events","html_url":"https://github.com/kubernetes/kubernetes/issues/62480","id":313825769,"node_id":"MDU6SXNzdWUzMTM4MjU3Njk=","number":62480,"title":"Pods with PVCs take a long time to start","user":{"login":"afong94","id":5715687,"node_id":"MDQ6VXNlcjU3MTU2ODc=","avatar_url":"https://avatars0.githubusercontent.com/u/5715687?v=4","gravatar_id":"","url":"https://api.github.com/users/afong94","html_url":"https://github.com/afong94","followers_url":"https://api.github.com/users/afong94/followers","following_url":"https://api.github.com/users/afong94/following{/other_user}","gists_url":"https://api.github.com/users/afong94/gists{/gist_id}","starred_url":"https://api.github.com/users/afong94/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/afong94/subscriptions","organizations_url":"https://api.github.com/users/afong94/orgs","repos_url":"https://api.github.com/users/afong94/repos","events_url":"https://api.github.com/users/afong94/events{/privacy}","received_events_url":"https://api.github.com/users/afong94/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":874113778,"node_id":"MDU6TGFiZWw4NzQxMTM3Nzg=","url":"https://api.github.com/repos/kubernetes/kubernetes/labels/sig/vmware","name":"sig/vmware","color":"d2b48c","default":false}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":4,"created_at":"2018-04-12T17:47:09Z","updated_at":"2018-07-16T15:22:12Z","closed_at":null,"author_association":"NONE","body":"/kind bug\r\n\r\n\r\n**What happened**:\r\nUpon deploying a workload with uses PVCs on vSphere, it takes about 4-5 minutes for each pod to be created.\r\n\r\n**What you expected to happen**:\r\nPersistent volumes should not take as long to mount\r\n\r\n**How to reproduce it (as minimally and precisely as possible)**:\r\nDeploy a vsphere storage class, e.g.\r\n```\r\nkind: StorageClass\r\napiVersion: storage.k8s.io/v1\r\nmetadata:\r\n  name: ci-storage\r\nprovisioner: kubernetes.io/vsphere-volume\r\nparameters:\r\n  diskformat: zeroedthick\r\n```\r\n\r\nDeploy a statefulset workload that uses this storage class, e.g. \r\n```\r\napiVersion: apps/v1beta1\r\nkind: StatefulSet\r\nmetadata:\r\n  name: sample-statefulset\r\nspec:\r\n  serviceName: \"pv-ex-svc\"\r\n  replicas: 3\r\n  template:\r\n    metadata:\r\n      labels:\r\n        app: pv-ex\r\n    spec:\r\n      terminationGracePeriodSeconds: 10\r\n      containers:\r\n      - name: pv-ex\r\n        image: pcfkubo/persistent-example\r\n        ports:\r\n        - containerPort: 3000\r\n        volumeMounts:\r\n        - name: www\r\n          mountPath: /usr/share/pv-ex\r\n        env:\r\n        - name: LOG_FILE\r\n          value: /usr/share/pv-ex/log.txt\r\n  updateStrategy:\r\n    type: RollingUpdate\r\n  volumeClaimTemplates:\r\n  - metadata:\r\n      name: www\r\n    spec:\r\n      accessModes: [ \"ReadWriteOnce\" ]\r\n      storageClassName: ci-storage\r\n      resources:\r\n        requests:\r\n          storage: 1Gi\r\n```\r\n\r\n**Anything else we need to know?**: The slowness is observed on both thick and thin provisioned storage-class definitions.\r\n\r\n**Environment**:\r\n- Kubernetes version (use `kubectl version`): 1.9.2\r\n- Cloud provider or hardware configuration: vsphere\r\n- OS (e.g. from /etc/os-release): ubuntu 14.04\r\n- Kernel (e.g. `uname -a`):\r\n- Install tools:\r\n- Others:\r\n\r\n/sig vmware\r\n"},"comment":{"url":"https://api.github.com/repos/kubernetes/kubernetes/issues/comments/405284295","html_url":"https://github.com/kubernetes/kubernetes/issues/62480#issuecomment-405284295","issue_url":"https://api.github.com/repos/kubernetes/kubernetes/issues/62480","id":405284295,"node_id":"MDEyOklzc3VlQ29tbWVudDQwNTI4NDI5NQ==","user":{"login":"fejta-bot","id":30488982,"node_id":"MDQ6VXNlcjMwNDg4OTgy","avatar_url":"https://avatars1.githubusercontent.com/u/30488982?v=4","gravatar_id":"","url":"https://api.github.com/users/fejta-bot","html_url":"https://github.com/fejta-bot","followers_url":"https://api.github.com/users/fejta-bot/followers","following_url":"https://api.github.com/users/fejta-bot/following{/other_user}","gists_url":"https://api.github.com/users/fejta-bot/gists{/gist_id}","starred_url":"https://api.github.com/users/fejta-bot/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/fejta-bot/subscriptions","organizations_url":"https://api.github.com/users/fejta-bot/orgs","repos_url":"https://api.github.com/users/fejta-bot/repos","events_url":"https://api.github.com/users/fejta-bot/events{/privacy}","received_events_url":"https://api.github.com/users/fejta-bot/received_events","type":"User","site_admin":false},"created_at":"2018-07-16T15:22:12Z","updated_at":"2018-07-16T15:22:12Z","author_association":"NONE","body":"Issues go stale after 90d of inactivity.\nMark the issue as fresh with `/remove-lifecycle stale`.\nStale issues rot after an additional 30d of inactivity and eventually close.\n\nIf this issue is safe to close now please do so with `/close`.\n\nSend feedback to sig-testing, kubernetes/test-infra and/or [fejta](https://github.com/fejta).\n/lifecycle stale"}}
{"actor":{"display_login":"fejta-bot"}}