{"action":"created","issue":{"url":"https://api.github.com/repos/kubernetes/kubernetes/issues/64226","repository_url":"https://api.github.com/repos/kubernetes/kubernetes","labels_url":"https://api.github.com/repos/kubernetes/kubernetes/issues/64226/labels{/name}","comments_url":"https://api.github.com/repos/kubernetes/kubernetes/issues/64226/comments","events_url":"https://api.github.com/repos/kubernetes/kubernetes/issues/64226/events","html_url":"https://github.com/kubernetes/kubernetes/pull/64226","id":325859110,"node_id":"MDExOlB1bGxSZXF1ZXN0MTkwMDkzNjM4","number":64226,"title":"Populate NodeAffinity on top of labels for cloud based PersistentVolumes","user":{"login":"ddebroy","id":22652369,"node_id":"MDQ6VXNlcjIyNjUyMzY5","avatar_url":"https://avatars2.githubusercontent.com/u/22652369?v=4","gravatar_id":"","url":"https://api.github.com/users/ddebroy","html_url":"https://github.com/ddebroy","followers_url":"https://api.github.com/users/ddebroy/followers","following_url":"https://api.github.com/users/ddebroy/following{/other_user}","gists_url":"https://api.github.com/users/ddebroy/gists{/gist_id}","starred_url":"https://api.github.com/users/ddebroy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ddebroy/subscriptions","organizations_url":"https://api.github.com/users/ddebroy/orgs","repos_url":"https://api.github.com/users/ddebroy/repos","events_url":"https://api.github.com/users/ddebroy/events{/privacy}","received_events_url":"https://api.github.com/users/ddebroy/received_events","type":"User","site_admin":false},"labels":[{"id":477397086,"node_id":"MDU6TGFiZWw0NzczOTcwODY=","url":"https://api.github.com/repos/kubernetes/kubernetes/labels/cncf-cla:%20yes","name":"cncf-cla: yes","color":"bfe5bf","default":false},{"id":349530249,"node_id":"MDU6TGFiZWwzNDk1MzAyNDk=","url":"https://api.github.com/repos/kubernetes/kubernetes/labels/release-note-none","name":"release-note-none","color":"c2e0c6","default":false},{"id":169428334,"node_id":"MDU6TGFiZWwxNjk0MjgzMzQ=","url":"https://api.github.com/repos/kubernetes/kubernetes/labels/sig/storage","name":"sig/storage","color":"d2b48c","default":false},{"id":253450978,"node_id":"MDU6TGFiZWwyNTM0NTA5Nzg=","url":"https://api.github.com/repos/kubernetes/kubernetes/labels/size/L","name":"size/L","color":"ee9900","default":false}],"state":"open","locked":false,"assignee":{"login":"msau42","id":24448061,"node_id":"MDQ6VXNlcjI0NDQ4MDYx","avatar_url":"https://avatars3.githubusercontent.com/u/24448061?v=4","gravatar_id":"","url":"https://api.github.com/users/msau42","html_url":"https://github.com/msau42","followers_url":"https://api.github.com/users/msau42/followers","following_url":"https://api.github.com/users/msau42/following{/other_user}","gists_url":"https://api.github.com/users/msau42/gists{/gist_id}","starred_url":"https://api.github.com/users/msau42/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/msau42/subscriptions","organizations_url":"https://api.github.com/users/msau42/orgs","repos_url":"https://api.github.com/users/msau42/repos","events_url":"https://api.github.com/users/msau42/events{/privacy}","received_events_url":"https://api.github.com/users/msau42/received_events","type":"User","site_admin":false},"assignees":[{"login":"verult","id":1689416,"node_id":"MDQ6VXNlcjE2ODk0MTY=","avatar_url":"https://avatars1.githubusercontent.com/u/1689416?v=4","gravatar_id":"","url":"https://api.github.com/users/verult","html_url":"https://github.com/verult","followers_url":"https://api.github.com/users/verult/followers","following_url":"https://api.github.com/users/verult/following{/other_user}","gists_url":"https://api.github.com/users/verult/gists{/gist_id}","starred_url":"https://api.github.com/users/verult/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/verult/subscriptions","organizations_url":"https://api.github.com/users/verult/orgs","repos_url":"https://api.github.com/users/verult/repos","events_url":"https://api.github.com/users/verult/events{/privacy}","received_events_url":"https://api.github.com/users/verult/received_events","type":"User","site_admin":false},{"login":"msau42","id":24448061,"node_id":"MDQ6VXNlcjI0NDQ4MDYx","avatar_url":"https://avatars3.githubusercontent.com/u/24448061?v=4","gravatar_id":"","url":"https://api.github.com/users/msau42","html_url":"https://github.com/msau42","followers_url":"https://api.github.com/users/msau42/followers","following_url":"https://api.github.com/users/msau42/following{/other_user}","gists_url":"https://api.github.com/users/msau42/gists{/gist_id}","starred_url":"https://api.github.com/users/msau42/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/msau42/subscriptions","organizations_url":"https://api.github.com/users/msau42/orgs","repos_url":"https://api.github.com/users/msau42/repos","events_url":"https://api.github.com/users/msau42/events{/privacy}","received_events_url":"https://api.github.com/users/msau42/received_events","type":"User","site_admin":false}],"milestone":null,"comments":5,"created_at":"2018-05-23T20:22:04Z","updated_at":"2018-06-04T08:15:15Z","closed_at":null,"author_association":"NONE","pull_request":{"url":"https://api.github.com/repos/kubernetes/kubernetes/pulls/64226","html_url":"https://github.com/kubernetes/kubernetes/pull/64226","diff_url":"https://github.com/kubernetes/kubernetes/pull/64226.diff","patch_url":"https://github.com/kubernetes/kubernetes/pull/64226.patch"},"body":"**What this PR does / why we need it**:\r\n\r\nThis PR populates the NodeAffinity field (on top of the existing labels) for PVs backed by cloud providers like EC2 EBS and GCE PD.\r\n\r\n**Special notes for your reviewer**:\r\nRelated to https://github.com/kubernetes/kubernetes/pull/63232\r\n\r\nSample `describe pv` output for EBS with node affinity field populated:\r\n```\r\nkubectl describe pv pv0001\r\nName:              pv0001\r\nLabels:            failure-domain.beta.kubernetes.io/region=us-west-2\r\n                   failure-domain.beta.kubernetes.io/zone=us-west-2a\r\nAnnotations:       <none>\r\nFinalizers:        [kubernetes.io/pv-protection]\r\nStorageClass:      \r\nStatus:            Available\r\nClaim:             \r\nReclaim Policy:    Retain\r\nAccess Modes:      RWO\r\nCapacity:          5Gi\r\nNode Affinity:     \r\n  Required Terms:  \r\n    Term 0:        failure-domain.beta.kubernetes.io/zone in [us-west-2a]\r\n                   failure-domain.beta.kubernetes.io/region in [us-west-2]\r\nMessage:           \r\nSource:\r\n    Type:       AWSElasticBlockStore (a Persistent Disk resource in AWS)\r\n    VolumeID:   vol-00cf03a068c62cbe6\r\n    FSType:     ext4\r\n    Partition:  0\r\n    ReadOnly:   false\r\nEvents:         <none>\r\n```\r\n\r\n/sig storage\r\n/assign @msau42\r\n\r\n**Release note**:\r\n```NONE```"},"comment":{"url":"https://api.github.com/repos/kubernetes/kubernetes/issues/comments/394271341","html_url":"https://github.com/kubernetes/kubernetes/pull/64226#issuecomment-394271341","issue_url":"https://api.github.com/repos/kubernetes/kubernetes/issues/64226","id":394271341,"node_id":"MDEyOklzc3VlQ29tbWVudDM5NDI3MTM0MQ==","user":{"login":"k8s-ci-robot","id":20407524,"node_id":"MDQ6VXNlcjIwNDA3NTI0","avatar_url":"https://avatars0.githubusercontent.com/u/20407524?v=4","gravatar_id":"","url":"https://api.github.com/users/k8s-ci-robot","html_url":"https://github.com/k8s-ci-robot","followers_url":"https://api.github.com/users/k8s-ci-robot/followers","following_url":"https://api.github.com/users/k8s-ci-robot/following{/other_user}","gists_url":"https://api.github.com/users/k8s-ci-robot/gists{/gist_id}","starred_url":"https://api.github.com/users/k8s-ci-robot/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/k8s-ci-robot/subscriptions","organizations_url":"https://api.github.com/users/k8s-ci-robot/orgs","repos_url":"https://api.github.com/users/k8s-ci-robot/repos","events_url":"https://api.github.com/users/k8s-ci-robot/events{/privacy}","received_events_url":"https://api.github.com/users/k8s-ci-robot/received_events","type":"User","site_admin":false},"created_at":"2018-06-04T08:15:15Z","updated_at":"2018-06-04T08:15:15Z","author_association":"COLLABORATOR","body":"@ddebroy: The following tests **failed**, say `/retest` to rerun them all:\n\nTest name | Commit | Details | Rerun command\n--- | --- | --- | ---\npull-kubernetes-e2e-gce | 803806fa5c37dee55fff9045c223bf3e900c43ca | [link](https://k8s-gubernator.appspot.com/build/kubernetes-jenkins/pr-logs/pull/64226/pull-kubernetes-e2e-gce/37399/) | `/test pull-kubernetes-e2e-gce`\npull-kubernetes-verify | 803806fa5c37dee55fff9045c223bf3e900c43ca | [link](https://k8s-gubernator.appspot.com/build/kubernetes-jenkins/pr-logs/pull/64226/pull-kubernetes-verify/92404/) | `/test pull-kubernetes-verify`\npull-kubernetes-e2e-gce-device-plugin-gpu | 8ed3c6bbd7bfa57a4ec12130ae369965db2952bd | [link](https://k8s-gubernator.appspot.com/build/kubernetes-jenkins/pr-logs/pull/64226/pull-kubernetes-e2e-gce-device-plugin-gpu/35370/) | `/test pull-kubernetes-e2e-gce-device-plugin-gpu`\npull-kubernetes-bazel-build | 8ed3c6bbd7bfa57a4ec12130ae369965db2952bd | [link](https://k8s-gubernator.appspot.com/build/kubernetes-jenkins/pr-logs/pull/64226/pull-kubernetes-bazel-build/45708/) | `/test pull-kubernetes-bazel-build`\n\n[Full PR test history](https://k8s-gubernator.appspot.com/pr/64226). [Your PR dashboard](https://k8s-gubernator.appspot.com/pr/ddebroy). Please help us cut down on flakes by [linking to](https://git.k8s.io/community/contributors/devel/flaky-tests.md#filing-issues-for-flaky-tests) an [open issue](https://github.com/kubernetes/kubernetes/issues?q=is:issue+is:open) when you hit one in your PR.\n\n<details>\n\nInstructions for interacting with me using PR comments are available [here](https://git.k8s.io/community/contributors/guide/pull-requests.md).  If you have questions or suggestions related to my behavior, please file an issue against the [kubernetes/test-infra](https://github.com/kubernetes/test-infra/issues/new?title=Prow%20issue:) repository. I understand the commands that are listed [here](https://go.k8s.io/bot-commands).\n</details>\n<!-- test report -->"}}
{"actor":{"display_login":"k8s-ci-robot"}}