{"action":"created","issue":{"url":"https://api.github.com/repos/RackHD/on-taskgraph/issues/28","labels_url":"https://api.github.com/repos/RackHD/on-taskgraph/issues/28/labels{/name}","comments_url":"https://api.github.com/repos/RackHD/on-taskgraph/issues/28/comments","events_url":"https://api.github.com/repos/RackHD/on-taskgraph/issues/28/events","html_url":"https://github.com/RackHD/on-taskgraph/pull/28","id":117390475,"number":28,"title":"Add workflow to clear drive partition","user":{"login":"yyscamper","id":511378,"avatar_url":"https://avatars.githubusercontent.com/u/511378?v=3","gravatar_id":"","url":"https://api.github.com/users/yyscamper","html_url":"https://github.com/yyscamper","followers_url":"https://api.github.com/users/yyscamper/followers","following_url":"https://api.github.com/users/yyscamper/following{/other_user}","gists_url":"https://api.github.com/users/yyscamper/gists{/gist_id}","starred_url":"https://api.github.com/users/yyscamper/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/yyscamper/subscriptions","organizations_url":"https://api.github.com/users/yyscamper/orgs","repos_url":"https://api.github.com/users/yyscamper/repos","events_url":"https://api.github.com/users/yyscamper/events{/privacy}","received_events_url":"https://api.github.com/users/yyscamper/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-11-17T16:19:52Z","updated_at":"2015-11-18T01:33:48Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/RackHD/on-taskgraph/pulls/28","html_url":"https://github.com/RackHD/on-taskgraph/pull/28","diff_url":"https://github.com/RackHD/on-taskgraph/pull/28.diff","patch_url":"https://github.com/RackHD/on-taskgraph/pull/28.patch"},"body":"This PR is to implement a workflow to clear all partition for target drives.\r\n\r\nIt is a sub-feature of ORFS-97 [Extend base OS and workflow to configure RAID array prior to bootstrap](https://hardware.corp.emc.com/display/CI/Extend+base+OS+and+workflow+to+configure+RAID+array+prior+to+bootstrap).\r\n\r\nThis workflow will be eventually embedded in OS bootstrap workflow, as we found some error when install ESXi and Redhat alternately, if the drive partition is corrupted, the ESXi installation will fail, so we have to manually reset the drive config. So if this workflow is inserted, we can avoid such manual work.\r\n\r\nThe drive partition operation will depend on a tool named \"parted\", @iceiilin opened another PR (https://github.com/RackHD/on-imagebuilder/pull/7) to include this tool in our micorkernel.\r\n\r\n@RackHD/corecommitters @iceiilin @WangWinson @pengz1 @sunnyqianzhang @zyoung51 \r\n\r\nThe dependent PRs: \r\n - https://github.com/RackHD/on-imagebuilder/pull/7\r\n - https://github.com/RackHD/on-tasks/pull/71\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/RackHD/on-taskgraph/issues/comments/157568865","html_url":"https://github.com/RackHD/on-taskgraph/pull/28#issuecomment-157568865","issue_url":"https://api.github.com/repos/RackHD/on-taskgraph/issues/28","id":157568865,"user":{"login":"benbp","id":1020379,"avatar_url":"https://avatars.githubusercontent.com/u/1020379?v=3","gravatar_id":"","url":"https://api.github.com/users/benbp","html_url":"https://github.com/benbp","followers_url":"https://api.github.com/users/benbp/followers","following_url":"https://api.github.com/users/benbp/following{/other_user}","gists_url":"https://api.github.com/users/benbp/gists{/gist_id}","starred_url":"https://api.github.com/users/benbp/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/benbp/subscriptions","organizations_url":"https://api.github.com/users/benbp/orgs","repos_url":"https://api.github.com/users/benbp/repos","events_url":"https://api.github.com/users/benbp/events{/privacy}","received_events_url":"https://api.github.com/users/benbp/received_events","type":"User","site_admin":false},"created_at":"2015-11-18T01:33:48Z","updated_at":"2015-11-18T01:33:48Z","body":":+1: "}}