{"action":"created","issue":{"url":"https://api.github.com/repos/kubevirt/kubevirt/issues/1218","repository_url":"https://api.github.com/repos/kubevirt/kubevirt","labels_url":"https://api.github.com/repos/kubevirt/kubevirt/issues/1218/labels{/name}","comments_url":"https://api.github.com/repos/kubevirt/kubevirt/issues/1218/comments","events_url":"https://api.github.com/repos/kubevirt/kubevirt/issues/1218/events","html_url":"https://github.com/kubevirt/kubevirt/issues/1218","id":335382977,"node_id":"MDU6SXNzdWUzMzUzODI5Nzc=","number":1218,"title":"Local Volume provisioner ignoring storage size ","user":{"login":"vatsalparekh","id":6758282,"node_id":"MDQ6VXNlcjY3NTgyODI=","avatar_url":"https://avatars3.githubusercontent.com/u/6758282?v=4","gravatar_id":"","url":"https://api.github.com/users/vatsalparekh","html_url":"https://github.com/vatsalparekh","followers_url":"https://api.github.com/users/vatsalparekh/followers","following_url":"https://api.github.com/users/vatsalparekh/following{/other_user}","gists_url":"https://api.github.com/users/vatsalparekh/gists{/gist_id}","starred_url":"https://api.github.com/users/vatsalparekh/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/vatsalparekh/subscriptions","organizations_url":"https://api.github.com/users/vatsalparekh/orgs","repos_url":"https://api.github.com/users/vatsalparekh/repos","events_url":"https://api.github.com/users/vatsalparekh/events{/privacy}","received_events_url":"https://api.github.com/users/vatsalparekh/received_events","type":"User","site_admin":false},"labels":[{"id":502265365,"node_id":"MDU6TGFiZWw1MDIyNjUzNjU=","url":"https://api.github.com/repos/kubevirt/kubevirt/labels/kind/bug","name":"kind/bug","color":"ee0701","default":false},{"id":695685299,"node_id":"MDU6TGFiZWw2OTU2ODUyOTk=","url":"https://api.github.com/repos/kubevirt/kubevirt/labels/topic/storage","name":"topic/storage","color":"c5def5","default":false}],"state":"open","locked":false,"assignee":{"login":"aglitke","id":333311,"node_id":"MDQ6VXNlcjMzMzMxMQ==","avatar_url":"https://avatars2.githubusercontent.com/u/333311?v=4","gravatar_id":"","url":"https://api.github.com/users/aglitke","html_url":"https://github.com/aglitke","followers_url":"https://api.github.com/users/aglitke/followers","following_url":"https://api.github.com/users/aglitke/following{/other_user}","gists_url":"https://api.github.com/users/aglitke/gists{/gist_id}","starred_url":"https://api.github.com/users/aglitke/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/aglitke/subscriptions","organizations_url":"https://api.github.com/users/aglitke/orgs","repos_url":"https://api.github.com/users/aglitke/repos","events_url":"https://api.github.com/users/aglitke/events{/privacy}","received_events_url":"https://api.github.com/users/aglitke/received_events","type":"User","site_admin":false},"assignees":[{"login":"aglitke","id":333311,"node_id":"MDQ6VXNlcjMzMzMxMQ==","avatar_url":"https://avatars2.githubusercontent.com/u/333311?v=4","gravatar_id":"","url":"https://api.github.com/users/aglitke","html_url":"https://github.com/aglitke","followers_url":"https://api.github.com/users/aglitke/followers","following_url":"https://api.github.com/users/aglitke/following{/other_user}","gists_url":"https://api.github.com/users/aglitke/gists{/gist_id}","starred_url":"https://api.github.com/users/aglitke/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/aglitke/subscriptions","organizations_url":"https://api.github.com/users/aglitke/orgs","repos_url":"https://api.github.com/users/aglitke/repos","events_url":"https://api.github.com/users/aglitke/events{/privacy}","received_events_url":"https://api.github.com/users/aglitke/received_events","type":"User","site_admin":false}],"milestone":null,"comments":2,"created_at":"2018-06-25T12:20:50Z","updated_at":"2018-07-23T14:55:23Z","closed_at":null,"author_association":"MEMBER","body":"**Bug**\r\n/kind bug\r\n\r\n\r\n**What happened**:\r\nThe PVC created using CDI (using Local Volumes PV) are ignoring the size we pass in pvc spec, it just takes size equals to size of pv, which again is size of the disk for each pv\r\nSo I can see 5 PV and PVC of 39G, where the disk size of the node itself if 39G\r\nthis might be issue with local volume provisioner, but this affects the our workflow where VMs can virtually write more then which was allocated\r\n"},"comment":{"url":"https://api.github.com/repos/kubevirt/kubevirt/issues/comments/407086883","html_url":"https://github.com/kubevirt/kubevirt/issues/1218#issuecomment-407086883","issue_url":"https://api.github.com/repos/kubevirt/kubevirt/issues/1218","id":407086883,"node_id":"MDEyOklzc3VlQ29tbWVudDQwNzA4Njg4Mw==","user":{"login":"awels","id":4523502,"node_id":"MDQ6VXNlcjQ1MjM1MDI=","avatar_url":"https://avatars3.githubusercontent.com/u/4523502?v=4","gravatar_id":"","url":"https://api.github.com/users/awels","html_url":"https://github.com/awels","followers_url":"https://api.github.com/users/awels/followers","following_url":"https://api.github.com/users/awels/following{/other_user}","gists_url":"https://api.github.com/users/awels/gists{/gist_id}","starred_url":"https://api.github.com/users/awels/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/awels/subscriptions","organizations_url":"https://api.github.com/users/awels/orgs","repos_url":"https://api.github.com/users/awels/repos","events_url":"https://api.github.com/users/awels/events{/privacy}","received_events_url":"https://api.github.com/users/awels/received_events","type":"User","site_admin":false},"created_at":"2018-07-23T14:55:23Z","updated_at":"2018-07-23T14:55:23Z","author_association":"CONTRIBUTOR","body":"So this is behaving as expected, When you define a PV you specify the size of the PV. This is the total available space in the PV. PVCs map onto a PV one to one. So now if you make a PVC, and specify a size, kubernetes will look for PVs that can satisfy the request, and bind the PVC to the PV that satisfies the request. So this means the size you get can be larger than the size request if no PVs that match exactly are available.\r\n\r\nTake this example:\r\nI create 2 PVs, one is 5G, and one is 10G, then I create a PVC requesting 6G, I will get the second PV because its the only one that satisfies the request. But if I request a PVC with 5G, I will get the first PV since that one can satisfy the request. In either case I will get either 5G or 10G depending on which one satisfies the request."}}
{"actor":{"display_login":"awels"}}