)]}'
{"gate/test_evacuate.sh":[{"author":{"_account_id":11604,"name":"sean mooney","email":"smooney@redhat.com","username":"sean-k-mooney"},"change_message_id":"3d80e25c4aae75822b7588de29e46eec1eb76f2f","unresolved":false,"context_lines":[{"line_number":72,"context_line":"        echo \"Timed out waiting for subnode compute service to be disabled\""},{"line_number":73,"context_line":"        exit 5"},{"line_number":74,"context_line":"    fi"},{"line_number":75,"context_line":"    status\u003d$(openstack compute service list --host ${local_hostname} --service nova-compute -f value -c Status)"},{"line_number":76,"context_line":"done"},{"line_number":77,"context_line":""},{"line_number":78,"context_line":"echo \"Stopping libvirt on the localhost before evacuating to trigger failure\""}],"source_content_type":"text/x-sh","patch_set":1,"id":"9f560f44_7b45a5b3","line":75,"range":{"start_line":75,"start_character":51,"end_line":75,"end_character":69},"updated":"2020-09-10 17:39:57.000000000","message":"i didnt even have time to -1 :)","commit_id":"1fb896c83fbe45e31f9091d7854c9cacab8fbda1"},{"author":{"_account_id":11604,"name":"sean mooney","email":"smooney@redhat.com","username":"sean-k-mooney"},"change_message_id":"3d80e25c4aae75822b7588de29e46eec1eb76f2f","unresolved":false,"context_lines":[{"line_number":84,"context_line":"# would filter out this host and we\u0027d get NoValidHost. Normally forcing a host"},{"line_number":85,"context_line":"# during evacuate and bypassing the scheduler is a very bad idea, but we\u0027re"},{"line_number":86,"context_line":"# doing a negative test here."},{"line_number":87,"context_line":""},{"line_number":88,"context_line":"function evacuate_and_wait_for_error() {"},{"line_number":89,"context_line":"    local server\u003d\"$1\""},{"line_number":90,"context_line":""}],"source_content_type":"text/x-sh","patch_set":1,"id":"9f560f44_3b6ded31","line":87,"updated":"2020-09-10 17:39:57.000000000","message":"nit i would proably put it here so that we stop libvirt in parallel","commit_id":"1fb896c83fbe45e31f9091d7854c9cacab8fbda1"},{"author":{"_account_id":11604,"name":"sean mooney","email":"smooney@redhat.com","username":"sean-k-mooney"},"change_message_id":"3d80e25c4aae75822b7588de29e46eec1eb76f2f","unresolved":false,"context_lines":[{"line_number":113,"context_line":"sudo systemctl start libvirt-bin"},{"line_number":114,"context_line":"sleep 10"},{"line_number":115,"context_line":""},{"line_number":116,"context_line":"# Wait for the compute service to be enabled."},{"line_number":117,"context_line":"count\u003d0"},{"line_number":118,"context_line":"status\u003d$(openstack compute service list --host ${local_hostname} --service nova-compute -f value -c Status)"},{"line_number":119,"context_line":"while [ \"${status}\" !\u003d \"enabled\" ]"},{"line_number":120,"context_line":"do"},{"line_number":121,"context_line":"    sleep 1"},{"line_number":122,"context_line":"    count\u003d$((count+1))"},{"line_number":123,"context_line":"    if [ ${count} -eq 30 ]; then"},{"line_number":124,"context_line":"        echo \"Timed out waiting for local compute service to be enabled\""},{"line_number":125,"context_line":"        exit 5"},{"line_number":126,"context_line":"    fi"},{"line_number":127,"context_line":"    status\u003d$(openstack compute service list --host ${local_hostname} --service nova-compute -f value -c Status)"},{"line_number":128,"context_line":"done"},{"line_number":129,"context_line":""},{"line_number":130,"context_line":"function evacuate_and_wait_for_active() {"},{"line_number":131,"context_line":"    local server\u003d\"$1\""}],"source_content_type":"text/x-sh","patch_set":1,"id":"9f560f44_5b6ee12b","line":128,"range":{"start_line":116,"start_character":0,"end_line":128,"end_character":4},"updated":"2020-09-10 17:39:57.000000000","message":"hehe i like how we are waiting for it to be enabled already.","commit_id":"1fb896c83fbe45e31f9091d7854c9cacab8fbda1"}]}
