{"action":"created","issue":{"url":"https://api.github.com/repos/retr0h/cookbook-parted/issues/20","labels_url":"https://api.github.com/repos/retr0h/cookbook-parted/issues/20/labels{/name}","comments_url":"https://api.github.com/repos/retr0h/cookbook-parted/issues/20/comments","events_url":"https://api.github.com/repos/retr0h/cookbook-parted/issues/20/events","html_url":"https://github.com/retr0h/cookbook-parted/issues/20","id":38920082,"number":20,"title":"Warning message causes failure","user":{"login":"keviny22","id":3271530,"avatar_url":"https://avatars.githubusercontent.com/u/3271530?v=3","gravatar_id":"","url":"https://api.github.com/users/keviny22","html_url":"https://github.com/keviny22","followers_url":"https://api.github.com/users/keviny22/followers","following_url":"https://api.github.com/users/keviny22/following{/other_user}","gists_url":"https://api.github.com/users/keviny22/gists{/gist_id}","starred_url":"https://api.github.com/users/keviny22/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/keviny22/subscriptions","organizations_url":"https://api.github.com/users/keviny22/orgs","repos_url":"https://api.github.com/users/keviny22/repos","events_url":"https://api.github.com/users/keviny22/events{/privacy}","received_events_url":"https://api.github.com/users/keviny22/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2014-07-28T18:48:06Z","updated_at":"2015-08-18T17:30:44Z","closed_at":"2015-08-18T17:30:44Z","body":"Working on RHEL6u5, in some cases when calling resource that issues the parted command, if the command returns the below warning then fails the chef run. The only way i think we could work through this is to set `returns [0,1]` in the provider.  @retr0h what do you think about that approach?\r\n\r\n```WARNING: the kernel failed to re-read the partition table on /dev/xvdj (Device or resource busy).  As a result, it may not reflect all of your changes until after reboot.```  "},"comment":{"url":"https://api.github.com/repos/retr0h/cookbook-parted/issues/comments/132289351","html_url":"https://github.com/retr0h/cookbook-parted/issues/20#issuecomment-132289351","issue_url":"https://api.github.com/repos/retr0h/cookbook-parted/issues/20","id":132289351,"user":{"login":"retr0h","id":9895,"avatar_url":"https://avatars.githubusercontent.com/u/9895?v=3","gravatar_id":"","url":"https://api.github.com/users/retr0h","html_url":"https://github.com/retr0h","followers_url":"https://api.github.com/users/retr0h/followers","following_url":"https://api.github.com/users/retr0h/following{/other_user}","gists_url":"https://api.github.com/users/retr0h/gists{/gist_id}","starred_url":"https://api.github.com/users/retr0h/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/retr0h/subscriptions","organizations_url":"https://api.github.com/users/retr0h/orgs","repos_url":"https://api.github.com/users/retr0h/repos","events_url":"https://api.github.com/users/retr0h/events{/privacy}","received_events_url":"https://api.github.com/users/retr0h/received_events","type":"User","site_admin":false},"created_at":"2015-08-18T17:30:44Z","updated_at":"2015-08-18T17:30:44Z","body":"Closing, no updates."}}