{"action":"created","issue":{"url":"https://api.github.com/repos/xcat2/xcat-core/issues/5416","repository_url":"https://api.github.com/repos/xcat2/xcat-core","labels_url":"https://api.github.com/repos/xcat2/xcat-core/issues/5416/labels{/name}","comments_url":"https://api.github.com/repos/xcat2/xcat-core/issues/5416/comments","events_url":"https://api.github.com/repos/xcat2/xcat-core/issues/5416/events","html_url":"https://github.com/xcat2/xcat-core/pull/5416","id":342982299,"node_id":"MDExOlB1bGxSZXF1ZXN0MjAyNzUzMjU5","number":5416,"title":"put a delay of 3 seconds to untar the firmware file for rflash -d","user":{"login":"bybai","id":6743951,"node_id":"MDQ6VXNlcjY3NDM5NTE=","avatar_url":"https://avatars2.githubusercontent.com/u/6743951?v=4","gravatar_id":"","url":"https://api.github.com/users/bybai","html_url":"https://github.com/bybai","followers_url":"https://api.github.com/users/bybai/followers","following_url":"https://api.github.com/users/bybai/following{/other_user}","gists_url":"https://api.github.com/users/bybai/gists{/gist_id}","starred_url":"https://api.github.com/users/bybai/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bybai/subscriptions","organizations_url":"https://api.github.com/users/bybai/orgs","repos_url":"https://api.github.com/users/bybai/repos","events_url":"https://api.github.com/users/bybai/events{/privacy}","received_events_url":"https://api.github.com/users/bybai/received_events","type":"User","site_admin":false},"labels":[{"id":310576581,"node_id":"MDU6TGFiZWwzMTA1NzY1ODE=","url":"https://api.github.com/repos/xcat2/xcat-core/labels/component:hw_control","name":"component:hw_control","color":"fbca04","default":false}],"state":"open","locked":false,"assignee":{"login":"gurevichmark","id":16106630,"node_id":"MDQ6VXNlcjE2MTA2NjMw","avatar_url":"https://avatars1.githubusercontent.com/u/16106630?v=4","gravatar_id":"","url":"https://api.github.com/users/gurevichmark","html_url":"https://github.com/gurevichmark","followers_url":"https://api.github.com/users/gurevichmark/followers","following_url":"https://api.github.com/users/gurevichmark/following{/other_user}","gists_url":"https://api.github.com/users/gurevichmark/gists{/gist_id}","starred_url":"https://api.github.com/users/gurevichmark/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gurevichmark/subscriptions","organizations_url":"https://api.github.com/users/gurevichmark/orgs","repos_url":"https://api.github.com/users/gurevichmark/repos","events_url":"https://api.github.com/users/gurevichmark/events{/privacy}","received_events_url":"https://api.github.com/users/gurevichmark/received_events","type":"User","site_admin":false},"assignees":[{"login":"gurevichmark","id":16106630,"node_id":"MDQ6VXNlcjE2MTA2NjMw","avatar_url":"https://avatars1.githubusercontent.com/u/16106630?v=4","gravatar_id":"","url":"https://api.github.com/users/gurevichmark","html_url":"https://github.com/gurevichmark","followers_url":"https://api.github.com/users/gurevichmark/followers","following_url":"https://api.github.com/users/gurevichmark/following{/other_user}","gists_url":"https://api.github.com/users/gurevichmark/gists{/gist_id}","starred_url":"https://api.github.com/users/gurevichmark/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gurevichmark/subscriptions","organizations_url":"https://api.github.com/users/gurevichmark/orgs","repos_url":"https://api.github.com/users/gurevichmark/repos","events_url":"https://api.github.com/users/gurevichmark/events{/privacy}","received_events_url":"https://api.github.com/users/gurevichmark/received_events","type":"User","site_admin":false}],"milestone":{"url":"https://api.github.com/repos/xcat2/xcat-core/milestones/40","html_url":"https://github.com/xcat2/xcat-core/milestone/40","labels_url":"https://api.github.com/repos/xcat2/xcat-core/milestones/40/labels","id":3371699,"node_id":"MDk6TWlsZXN0b25lMzM3MTY5OQ==","number":40,"title":"2.14.3","description":"","creator":{"login":"zet809","id":8222144,"node_id":"MDQ6VXNlcjgyMjIxNDQ=","avatar_url":"https://avatars2.githubusercontent.com/u/8222144?v=4","gravatar_id":"","url":"https://api.github.com/users/zet809","html_url":"https://github.com/zet809","followers_url":"https://api.github.com/users/zet809/followers","following_url":"https://api.github.com/users/zet809/following{/other_user}","gists_url":"https://api.github.com/users/zet809/gists{/gist_id}","starred_url":"https://api.github.com/users/zet809/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/zet809/subscriptions","organizations_url":"https://api.github.com/users/zet809/orgs","repos_url":"https://api.github.com/users/zet809/repos","events_url":"https://api.github.com/users/zet809/events{/privacy}","received_events_url":"https://api.github.com/users/zet809/received_events","type":"User","site_admin":false},"open_issues":63,"closed_issues":20,"state":"open","created_at":"2018-05-24T09:30:29Z","updated_at":"2018-07-23T01:30:36Z","due_on":"2018-08-24T07:00:00Z","closed_at":null},"comments":1,"created_at":"2018-07-20T05:56:05Z","updated_at":"2018-07-23T02:35:53Z","closed_at":null,"author_association":"CONTRIBUTOR","pull_request":{"url":"https://api.github.com/repos/xcat2/xcat-core/pulls/5416","html_url":"https://github.com/xcat2/xcat-core/pull/5416","diff_url":"https://github.com/xcat2/xcat-core/pull/5416.diff","patch_url":"https://github.com/xcat2/xcat-core/pull/5416.patch"},"body":"for #5399 \r\nafter rflash -d, I do not find \"Unable to read the manifest file\" from reventlog\r\nThe positive function works well:\r\n```\r\n]# rflash mid05tor12cn15 -d /mnt/xcat/iso/firmware/op910/910.1827.20180712b_1742Fx-r10\r\nFri Jul 20 01:17:23 2018 OpenBMC: [openbmc_debug_perl]\r\nAttempting to upload /mnt/xcat/iso/firmware/op910/910.1827.20180712b_1742Fx-r10/obmc-witherspoon-ibm-v2.0.ubi.mtd.tar and /mnt/xcat/iso/firmware/op910/910.1827.20180712b_1742Fx-r10/witherspoon.pnor.squashfs.tar, please wait...\r\nFri Jul 20 01:17:24 2018 mid05tor12cn15: [openbmc_debug_perl] curl -k -c cjar -H \"Content-Type: application/json\" -d '{ \"data\": [\"root\", \"xxxxxx\"] }' https://172.11.139.15/login\r\nFri Jul 20 01:17:25 2018 mid05tor12cn15: [openbmc_debug_perl] login_response 200 OK\r\nmid05tor12cn15: LATER Exited from upload with RC=0\r\nFri Jul 20 01:17:25 2018 mid05tor12cn15: [openbmc_debug_perl] RFLASH_FILE_UPLOAD_RESPONSE: CMD: curl -b /tmp/_xcat_cjar.mid05tor12cn15 -k -H 'Content-Type: application/octet-stream' -X PUT -T /mnt/xcat/iso/firmware/op910/910.1827.20180712b_1742Fx-r10/obmc-witherspoon-ibm-v2.0.ubi.mtd.tar https://172.11.139.15/upload/image/\r\nFri Jul 20 01:17:41 2018 mid05tor12cn15: [openbmc_debug_perl] RFLASH_FILE_UPLOAD_RESPONSE: CMD: curl -b /tmp/_xcat_cjar.mid05tor12cn15 -k -H 'Content-Type: application/octet-stream' -X PUT -T /mnt/xcat/iso/firmware/op910/910.1827.20180712b_1742Fx-r10/witherspoon.pnor.squashfs.tar https://172.11.139.15/upload/image/\r\nmid05tor12cn15: Exited from upload with RC=0\r\nFri Jul 20 01:18:01 2018 mid05tor12cn15: [openbmc_debug_perl] curl -k -b cjar -X GET -H \"Content-Type: application/json\" https://172.11.139.15/xyz/openbmc_project/software/enumerate\r\nFri Jul 20 01:18:03 2018 mid05tor12cn15: [openbmc_debug_perl] rflash_update_check_id_response 200 OK\r\nFri Jul 20 01:18:03 2018 mid05tor12cn15: [openbmc_debug_perl] CHECK_ID_RESPONSE: Looking for software ID: ibm-v2.0-0-r46-0-gbed584c IBM-witherspoon-ibm-OP9_v1.19_1.179...\r\nFri Jul 20 01:18:03 2018 mid05tor12cn15: [openbmc_debug_perl] CHECK_ID_RESPONSE: key_url=/xyz/openbmc_project/software/d8368f51 version=IBM-witherspoon-ibm-OP9_v1.19_1.172\r\nFri Jul 20 01:18:03 2018 mid05tor12cn15: [openbmc_debug_perl] CHECK_ID_RESPONSE: key_url=/xyz/openbmc_project/software/4255b1b5 version=IBM-witherspoon-ibm-OP9_v1.19_1.179\r\nmid05tor12cn15: Firmware upload successful. Attempting to activate firmware: IBM-witherspoon-ibm-OP9_v1.19_1.179 (ID: 4255b1b5)\r\nFri Jul 20 01:18:03 2018 mid05tor12cn15: [openbmc_debug_perl] CHECK_ID_RESPONSE: key_url=/xyz/openbmc_project/software/376af621 version=ibm-v2.1-438-g0030304-r15-0-g19832d3\r\nFri Jul 20 01:18:03 2018 mid05tor12cn15: [openbmc_debug_perl] CHECK_ID_RESPONSE: key_url=/xyz/openbmc_project/software/b04fff27 version=ibm-v2.0-0-r46-0-gbed584c\r\nmid05tor12cn15: Firmware upload successful. Attempting to activate firmware: ibm-v2.0-0-r46-0-gbed584c (ID: b04fff27)\r\nFri Jul 20 01:18:03 2018 mid05tor12cn15: [openbmc_debug_perl] curl -k -b cjar -X PUT -H \"Content-Type: application/json\" -d '{\"data\":\"xyz.openbmc_project.Software.Activation.RequestedActivations.Active\"}' https://172.11.139.15/xyz/openbmc_project/software/b04fff27/attr/RequestedActivation\r\nFri Jul 20 01:18:05 2018 mid05tor12cn15: [openbmc_debug_perl] rflash_update_activate_response 200 OK\r\nFri Jul 20 01:18:05 2018 mid05tor12cn15: [openbmc_debug_perl] curl -k -b cjar -X PUT -H \"Content-Type: application/json\" -d '{\"data\":\"xyz.openbmc_project.Software.Activation.RequestedActivations.Active\"}' https://172.11.139.15/xyz/openbmc_project/software/4255b1b5/attr/RequestedActivation\r\nFri Jul 20 01:18:06 2018 mid05tor12cn15: [openbmc_debug_perl] rflash_update_host_activate_response 200 OK\r\nFri Jul 20 01:18:06 2018 mid05tor12cn15: [openbmc_debug_perl] curl -k -b cjar -X GET -H \"Content-Type: application/json\" https://172.11.139.15/xyz/openbmc_project/software/enumerate\r\nFri Jul 20 01:18:07 2018 mid05tor12cn15: [openbmc_debug_perl] rflash_update_check_state_response 200 OK\r\nmid05tor12cn15: Firmware IBM-witherspoon-ibm-OP9_v1.19_1.179 activation successful.\r\nmid05tor12cn15: Firmware ibm-v2.0-0-r46-0-gbed584c activation successful.\r\nFri Jul 20 01:18:08 2018 mid05tor12cn15: [openbmc_debug_perl] curl -k -b cjar -X PUT -H \"Content-Type: application/json\" -d '{\"data\":\"xyz.openbmc_project.State.BMC.Transition.Reboot\"}' https://172.11.139.15/xyz/openbmc_project/state/bmc0/attr/RequestedBMCTransition\r\nFri Jul 20 01:18:09 2018 mid05tor12cn15: [openbmc_debug_perl] rpower_reset_response 200 OK\r\nmid05tor12cn15: BMC reboot\r\nFri Jul 20 01:18:24 2018 mid05tor12cn15: [openbmc_debug_perl] curl -k -b cjar -X GET -H \"Content-Type: application/json\" https://172.11.139.15/xyz/openbmc_project/state/enumerate\r\nFri Jul 20 01:18:26 2018 mid05tor12cn15: [openbmc_debug_perl] rpower_bmc_status_response 503 Service Unavailable\r\nmid05tor12cn15: Retry BMC state, wait for 15 seconds ...\r\nFri Jul 20 01:18:41 2018 mid05tor12cn15: [openbmc_debug_perl] curl -k -b cjar -X GET -H \"Content-Type: application/json\" https://172.11.139.15/xyz/openbmc_project/state/enumerate\r\nFri Jul 20 01:20:13 2018 mid05tor12cn15: [openbmc_debug_perl] rpower_bmc_status_response 503 Service Unavailable\r\nmid05tor12cn15: Retry BMC state, wait for 15 seconds ...\r\nFri Jul 20 01:20:28 2018 mid05tor12cn15: [openbmc_debug_perl] curl -k -b cjar -X GET -H \"Content-Type: application/json\" https://172.11.139.15/xyz/openbmc_project/state/enumerate\r\nFri Jul 20 01:21:01 2018 mid05tor12cn15: [openbmc_debug_perl] rpower_bmc_status_response 404 Not Found\r\nmid05tor12cn15: Retry BMC state, wait for 15 seconds ...\r\nFri Jul 20 01:21:16 2018 mid05tor12cn15: [openbmc_debug_perl] curl -k -c cjar -H \"Content-Type: application/json\" -d '{ \"data\": [\"root\", \"xxxxxx\"] }' https://172.11.139.15/login\r\nFri Jul 20 01:21:17 2018 mid05tor12cn15: [openbmc_debug_perl] login_response_general 200 OK\r\nFri Jul 20 01:21:17 2018 mid05tor12cn15: [openbmc_debug_perl] curl -k -b cjar -X GET -H \"Content-Type: application/json\" https://172.11.139.15/xyz/openbmc_project/state/enumerate\r\nFri Jul 20 01:21:17 2018 mid05tor12cn15: [openbmc_debug_perl] rpower_bmc_status_response 200 OK\r\nFri Jul 20 01:21:32 2018 mid05tor12cn15: [openbmc_debug_perl] curl -k -b cjar -X GET -H \"Content-Type: application/json\" https://172.11.139.15/xyz/openbmc_project/state/enumerate\r\nFri Jul 20 01:21:39 2018 mid05tor12cn15: [openbmc_debug_perl] rpower_bmc_status_response 200 OK\r\nFri Jul 20 01:21:54 2018 mid05tor12cn15: [openbmc_debug_perl] curl -k -b cjar -X GET -H \"Content-Type: application/json\" https://172.11.139.15/xyz/openbmc_project/state/enumerate\r\nFri Jul 20 01:21:59 2018 mid05tor12cn15: [openbmc_debug_perl] rpower_bmc_status_response 200 OK\r\nmid05tor12cn15: BMC Ready\r\nFri Jul 20 01:21:59 2018 mid05tor12cn15: [openbmc_debug_perl] curl -k -b cjar -X PUT -H \"Content-Type: application/json\" -d '{\"data\":\"xyz.openbmc_project.State.Chassis.Transition.Off\"}' https://172.11.139.15/xyz/openbmc_project/state/chassis0/attr/RequestedPowerTransition\r\nFri Jul 20 01:22:03 2018 mid05tor12cn15: [openbmc_debug_perl] rpower_off_response 200 OK\r\nFri Jul 20 01:22:03 2018 mid05tor12cn15: [openbmc_debug_perl] curl -k -b cjar -X GET -H \"Content-Type: application/json\" https://172.11.139.15/xyz/openbmc_project/state/enumerate\r\nFri Jul 20 01:22:11 2018 mid05tor12cn15: [openbmc_debug_perl] rpower_check_response 200 OK\r\nFri Jul 20 01:22:11 2018 mid05tor12cn15: [openbmc_debug_perl] curl -k -b cjar -X PUT -H \"Content-Type: application/json\" -d '{\"data\":\"xyz.openbmc_project.State.Host.Transition.On\"}' https://172.11.139.15/xyz/openbmc_project/state/host0/attr/RequestedHostTransition\r\nFri Jul 20 01:22:13 2018 mid05tor12cn15: [openbmc_debug_perl] rpower_on_response 200 OK\r\nmid05tor12cn15: reset\r\n```"},"comment":{"url":"https://api.github.com/repos/xcat2/xcat-core/issues/comments/406922396","html_url":"https://github.com/xcat2/xcat-core/pull/5416#issuecomment-406922396","issue_url":"https://api.github.com/repos/xcat2/xcat-core/issues/5416","id":406922396,"node_id":"MDEyOklzc3VlQ29tbWVudDQwNjkyMjM5Ng==","user":{"login":"bybai","id":6743951,"node_id":"MDQ6VXNlcjY3NDM5NTE=","avatar_url":"https://avatars2.githubusercontent.com/u/6743951?v=4","gravatar_id":"","url":"https://api.github.com/users/bybai","html_url":"https://github.com/bybai","followers_url":"https://api.github.com/users/bybai/followers","following_url":"https://api.github.com/users/bybai/following{/other_user}","gists_url":"https://api.github.com/users/bybai/gists{/gist_id}","starred_url":"https://api.github.com/users/bybai/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bybai/subscriptions","organizations_url":"https://api.github.com/users/bybai/orgs","repos_url":"https://api.github.com/users/bybai/repos","events_url":"https://api.github.com/users/bybai/events{/privacy}","received_events_url":"https://api.github.com/users/bybai/received_events","type":"User","site_admin":false},"created_at":"2018-07-23T02:35:53Z","updated_at":"2018-07-23T02:35:53Z","author_association":"CONTRIBUTOR","body":"@gurevichmark , I polished the comments, thanks."}}
{"actor":{"display_login":"bybai"}}