{"action":"opened","issue":{"url":"https://api.github.com/repos/kata-containers/runtime/issues/346","repository_url":"https://api.github.com/repos/kata-containers/runtime","labels_url":"https://api.github.com/repos/kata-containers/runtime/issues/346/labels{/name}","comments_url":"https://api.github.com/repos/kata-containers/runtime/issues/346/comments","events_url":"https://api.github.com/repos/kata-containers/runtime/issues/346/events","html_url":"https://github.com/kata-containers/runtime/issues/346","id":327486350,"number":346,"title":"Potential race condition when updating container resources","user":{"login":"sboeuf","id":22890413,"avatar_url":"https://avatars3.githubusercontent.com/u/22890413?v=4","gravatar_id":"","url":"https://api.github.com/users/sboeuf","html_url":"https://github.com/sboeuf","followers_url":"https://api.github.com/users/sboeuf/followers","following_url":"https://api.github.com/users/sboeuf/following{/other_user}","gists_url":"https://api.github.com/users/sboeuf/gists{/gist_id}","starred_url":"https://api.github.com/users/sboeuf/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sboeuf/subscriptions","organizations_url":"https://api.github.com/users/sboeuf/orgs","repos_url":"https://api.github.com/users/sboeuf/repos","events_url":"https://api.github.com/users/sboeuf/events{/privacy}","received_events_url":"https://api.github.com/users/sboeuf/received_events","type":"User","site_admin":false},"labels":[{"id":872081501,"url":"https://api.github.com/repos/kata-containers/runtime/labels/P2","name":"P2","color":"d93f0b","default":false}],"state":"open","locked":false,"assignee":{"login":"devimc","id":13009432,"avatar_url":"https://avatars0.githubusercontent.com/u/13009432?v=4","gravatar_id":"","url":"https://api.github.com/users/devimc","html_url":"https://github.com/devimc","followers_url":"https://api.github.com/users/devimc/followers","following_url":"https://api.github.com/users/devimc/following{/other_user}","gists_url":"https://api.github.com/users/devimc/gists{/gist_id}","starred_url":"https://api.github.com/users/devimc/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/devimc/subscriptions","organizations_url":"https://api.github.com/users/devimc/orgs","repos_url":"https://api.github.com/users/devimc/repos","events_url":"https://api.github.com/users/devimc/events{/privacy}","received_events_url":"https://api.github.com/users/devimc/received_events","type":"User","site_admin":false},"assignees":[{"login":"devimc","id":13009432,"avatar_url":"https://avatars0.githubusercontent.com/u/13009432?v=4","gravatar_id":"","url":"https://api.github.com/users/devimc","html_url":"https://github.com/devimc","followers_url":"https://api.github.com/users/devimc/followers","following_url":"https://api.github.com/users/devimc/following{/other_user}","gists_url":"https://api.github.com/users/devimc/gists{/gist_id}","starred_url":"https://api.github.com/users/devimc/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/devimc/subscriptions","organizations_url":"https://api.github.com/users/devimc/orgs","repos_url":"https://api.github.com/users/devimc/repos","events_url":"https://api.github.com/users/devimc/events{/privacy}","received_events_url":"https://api.github.com/users/devimc/received_events","type":"User","site_admin":false}],"milestone":null,"comments":0,"created_at":"2018-05-29T21:02:00Z","updated_at":"2018-05-29T21:02:00Z","closed_at":null,"author_association":"CONTRIBUTOR","body":"The code path updating container resources eventually stores the modifications. This means we have to make sure the pod is RW locked when this function is called. https://github.com/kata-containers/runtime/blob/1.0.0/virtcontainers/api.go#L618 should be simply updated with a RW lock."}}
{"actor":{"display_login":"sboeuf"}}