)]}'
{"/COMMIT_MSG":[{"author":{"_account_id":10135,"name":"Lee Yarwood","display_name":"Lee Yarwood","email":"lyarwood@redhat.com","username":"lyarwood"},"change_message_id":"abf65ee4e92fb5e822c4b72480e6cad164dbbd44","unresolved":false,"context_lines":[{"line_number":5,"context_line":"CommitDate: 2020-03-18 15:17:27 +0000"},{"line_number":6,"context_line":""},{"line_number":7,"context_line":"gate: Ensure n-cpu is stopped on the subnode during evacuation testing"},{"line_number":8,"context_line":""},{"line_number":9,"context_line":"Change-Id: I8af2ad741ca08c3d88efb9aa817c4d1470491a23"}],"source_content_type":"text/x-gerrit-commit-message","patch_set":1,"id":"1fa4df85_e72a6c2a","line":8,"updated":"2020-03-18 15:25:36.000000000","message":"bug #1813789","commit_id":"dc486bc509468f9faf4d2f17710c1062961c304a"}],"gate/test_evacuate.sh":[{"author":{"_account_id":10135,"name":"Lee Yarwood","display_name":"Lee Yarwood","email":"lyarwood@redhat.com","username":"lyarwood"},"change_message_id":"abf65ee4e92fb5e822c4b72480e6cad164dbbd44","unresolved":false,"context_lines":[{"line_number":54,"context_line":"--block-device id\u003d${image_id},source\u003dimage,dest\u003dvolume,size\u003d1,bootindex\u003d0,shutdown\u003dremove \\"},{"line_number":55,"context_line":"--nic net-id\u003d${network_id} --availability-zone nova:${subnode} evacuate-bfv-test"},{"line_number":56,"context_line":""},{"line_number":57,"context_line":"# Stop n-cpu but don\u0027t wait for the service to report as down, imitating the"},{"line_number":58,"context_line":"# host being fenced by an operator prior to being forced down."},{"line_number":59,"context_line":"echo \"Stopping n-cpu on subnode\""},{"line_number":60,"context_line":"$ANSIBLE secondary --become -f 5 -i \"$WORKSPACE/inventory\" -m shell -a \"systemctl stop devstack@n-cpu\""},{"line_number":61,"context_line":""},{"line_number":62,"context_line":"echo \"Forcing down the subnode so we can evacuate from it\""},{"line_number":63,"context_line":"openstack --os-compute-api-version 2.11 compute service set --down ${subnode} nova-compute"}],"source_content_type":"text/x-sh","patch_set":1,"id":"1fa4df85_072ea842","line":60,"range":{"start_line":57,"start_character":0,"end_line":60,"end_character":102},"updated":"2020-03-18 15:25:36.000000000","message":"I\u0027ll add a reference to the docs after this has been tested.\n\nhttps://docs.openstack.org/api-ref/compute/?expanded\u003dupdate-forced-down-detail#update-forced-down","commit_id":"dc486bc509468f9faf4d2f17710c1062961c304a"},{"author":{"_account_id":11604,"name":"sean mooney","email":"smooney@redhat.com","username":"sean-k-mooney"},"change_message_id":"af9d919a7a88e96b2b406acd33cecb936ad40c4a","unresolved":false,"context_lines":[{"line_number":54,"context_line":"--block-device id\u003d${image_id},source\u003dimage,dest\u003dvolume,size\u003d1,bootindex\u003d0,shutdown\u003dremove \\"},{"line_number":55,"context_line":"--nic net-id\u003d${network_id} --availability-zone nova:${subnode} evacuate-bfv-test"},{"line_number":56,"context_line":""},{"line_number":57,"context_line":"# Stop n-cpu but don\u0027t wait for the service to report as down, imitating the"},{"line_number":58,"context_line":"# host being fenced by an operator prior to being forced down."},{"line_number":59,"context_line":"echo \"Stopping n-cpu on subnode\""},{"line_number":60,"context_line":"$ANSIBLE secondary --become -f 5 -i \"$WORKSPACE/inventory\" -m shell -a \"systemctl stop devstack@n-cpu\""},{"line_number":61,"context_line":""},{"line_number":62,"context_line":"echo \"Forcing down the subnode so we can evacuate from it\""},{"line_number":63,"context_line":"openstack --os-compute-api-version 2.11 compute service set --down ${subnode} nova-compute"}],"source_content_type":"text/x-sh","patch_set":1,"id":"1fa4df85_27a404b9","line":60,"range":{"start_line":57,"start_character":0,"end_line":60,"end_character":102},"in_reply_to":"1fa4df85_072ea842","updated":"2020-03-18 15:35:15.000000000","message":"ya the doc reference would be nice but not critical. if you re spin by all means add it but this make sense to me.\n\nthat said you might wantto use the subnode group rahter then secondary to make it more generic incase we ever change this toplogy to have more the two nodes or change there names for some reason but this should work.","commit_id":"dc486bc509468f9faf4d2f17710c1062961c304a"},{"author":{"_account_id":11604,"name":"sean mooney","email":"smooney@redhat.com","username":"sean-k-mooney"},"change_message_id":"9c1416e9624772e22c94726bba6d42b617dfa569","unresolved":false,"context_lines":[{"line_number":58,"context_line":"# host being fenced by an operator prior to being forced down as per the docs:"},{"line_number":59,"context_line":"# https://docs.openstack.org/api-ref/compute/?expanded\u003dupdate-forced-down-detail#update-forced-down"},{"line_number":60,"context_line":"echo \"Stopping n-cpu on subnode\""},{"line_number":61,"context_line":"$ANSIBLE subnodes --become -f 5 -i \"$WORKSPACE/inventory\" -m shell -a \"systemctl stop devstack@n-cpu\""},{"line_number":62,"context_line":""},{"line_number":63,"context_line":"echo \"Forcing down the subnode so we can evacuate from it\""},{"line_number":64,"context_line":"openstack --os-compute-api-version 2.11 compute service set --down ${subnode} nova-compute"}],"source_content_type":"text/x-sh","patch_set":3,"id":"1fa4df85_0714689f","line":61,"range":{"start_line":61,"start_character":9,"end_line":61,"end_character":17},"updated":"2020-03-18 15:40:44.000000000","message":"sorry its subnode singualar\nhttps://github.com/openstack/devstack/blob/master/.zuul.yaml#L172\neven-though it can have multiple.","commit_id":"231cddd77dce70604896038cabb9975bf3cb9fc2"},{"author":{"_account_id":10135,"name":"Lee Yarwood","display_name":"Lee Yarwood","email":"lyarwood@redhat.com","username":"lyarwood"},"change_message_id":"e64577b74f276f2c0c5644a6ea9785506a3b4e1d","unresolved":false,"context_lines":[{"line_number":58,"context_line":"# host being fenced by an operator prior to being forced down as per the docs:"},{"line_number":59,"context_line":"# https://docs.openstack.org/api-ref/compute/?expanded\u003dupdate-forced-down-detail#update-forced-down"},{"line_number":60,"context_line":"echo \"Stopping n-cpu on subnode\""},{"line_number":61,"context_line":"$ANSIBLE subnodes --become -f 5 -i \"$WORKSPACE/inventory\" -m shell -a \"systemctl stop devstack@n-cpu\""},{"line_number":62,"context_line":""},{"line_number":63,"context_line":"echo \"Forcing down the subnode so we can evacuate from it\""},{"line_number":64,"context_line":"openstack --os-compute-api-version 2.11 compute service set --down ${subnode} nova-compute"}],"source_content_type":"text/x-sh","patch_set":3,"id":"1fa4df85_274f2493","line":61,"range":{"start_line":61,"start_character":9,"end_line":61,"end_character":17},"in_reply_to":"1fa4df85_0714689f","updated":"2020-03-18 15:54:41.000000000","message":"Are you sure? I thought the the ansible group was subnodes.\n\nhttps://zuul.opendev.org/t/openstack/build/5ba34518492141a5994f757e22c8a470/log/zuul-info/inventory.yaml","commit_id":"231cddd77dce70604896038cabb9975bf3cb9fc2"},{"author":{"_account_id":10135,"name":"Lee Yarwood","display_name":"Lee Yarwood","email":"lyarwood@redhat.com","username":"lyarwood"},"change_message_id":"a30ad963adf873d3dda8f0738781ead8dbecac7f","unresolved":false,"context_lines":[{"line_number":58,"context_line":"# host being fenced by an operator prior to being forced down as per the docs:"},{"line_number":59,"context_line":"# https://docs.openstack.org/api-ref/compute/?expanded\u003dupdate-forced-down-detail#update-forced-down"},{"line_number":60,"context_line":"echo \"Stopping n-cpu on subnode\""},{"line_number":61,"context_line":"$ANSIBLE subnodes --become -f 5 -i \"$WORKSPACE/inventory\" -m shell -a \"systemctl stop devstack@n-cpu\""},{"line_number":62,"context_line":""},{"line_number":63,"context_line":"echo \"Forcing down the subnode so we can evacuate from it\""},{"line_number":64,"context_line":"openstack --os-compute-api-version 2.11 compute service set --down ${subnode} nova-compute"}],"source_content_type":"text/x-sh","patch_set":3,"id":"1fa4df85_e73d8cdd","line":61,"range":{"start_line":61,"start_character":9,"end_line":61,"end_character":17},"in_reply_to":"1fa4df85_274f2493","updated":"2020-03-18 16:03:02.000000000","message":"As used by ceph.sh etc as well:\n\nhttps://github.com/lyarwood/nova/blob/231cddd77dce70604896038cabb9975bf3cb9fc2/gate/live_migration/hooks/ceph.sh#L10-L17","commit_id":"231cddd77dce70604896038cabb9975bf3cb9fc2"},{"author":{"_account_id":11604,"name":"sean mooney","email":"smooney@redhat.com","username":"sean-k-mooney"},"change_message_id":"26b7a0a87e4d8f49b45b5af27bbf871b17ceea7f","unresolved":false,"context_lines":[{"line_number":58,"context_line":"# host being fenced by an operator prior to being forced down as per the docs:"},{"line_number":59,"context_line":"# https://docs.openstack.org/api-ref/compute/?expanded\u003dupdate-forced-down-detail#update-forced-down"},{"line_number":60,"context_line":"echo \"Stopping n-cpu on subnode\""},{"line_number":61,"context_line":"$ANSIBLE subnodes --become -f 5 -i \"$WORKSPACE/inventory\" -m shell -a \"systemctl stop devstack@n-cpu\""},{"line_number":62,"context_line":""},{"line_number":63,"context_line":"echo \"Forcing down the subnode so we can evacuate from it\""},{"line_number":64,"context_line":"openstack --os-compute-api-version 2.11 compute service set --down ${subnode} nova-compute"}],"source_content_type":"text/x-sh","patch_set":3,"id":"1fa4df85_0a28ed83","line":61,"range":{"start_line":61,"start_character":9,"end_line":61,"end_character":17},"in_reply_to":"1fa4df85_274f2493","updated":"2020-03-18 16:00:02.000000000","message":"i guess based on https://zuul.opendev.org/t/openstack/build/5ba34518492141a5994f757e22c8a470/log/zuul-info/inventory.yaml#3\n\nit is.\ni wonder why this is different to what we set in the .zuul.yaml\n\nok let see if the ci like it then you seam to be correct.","commit_id":"231cddd77dce70604896038cabb9975bf3cb9fc2"},{"author":{"_account_id":10135,"name":"Lee Yarwood","display_name":"Lee Yarwood","email":"lyarwood@redhat.com","username":"lyarwood"},"change_message_id":"aef8c82f96a3b704eaa2817ec09adff909e3af6b","unresolved":false,"context_lines":[{"line_number":57,"context_line":"# Fence the subnode"},{"line_number":58,"context_line":"echo \"Stopping all services and guest domains on subnode\""},{"line_number":59,"context_line":"$ANSIBLE subnodes --become -f 5 -i \"$WORKSPACE/inventory\" -m shell -a \"systemctl stop devstack@*\""},{"line_number":60,"context_line":"$ANSIBLE subnodes --become -f 5 -i \"$WORKSPACE/inventory\" -m shell -a \"for domain in $(virsh list --all); do  virsh destroy $domain; done\""},{"line_number":61,"context_line":""},{"line_number":62,"context_line":"echo \"Forcing down the subnode so we can evacuate from it\""},{"line_number":63,"context_line":"openstack --os-compute-api-version 2.11 compute service set --down ${subnode} nova-compute"}],"source_content_type":"text/x-sh","patch_set":5,"id":"1fa4df85_db3dc5dd","line":60,"range":{"start_line":60,"start_character":85,"end_line":60,"end_character":104},"updated":"2020-03-18 19:38:25.000000000","message":"This is going to expand on the source node, I\u0027ll sort out a better way of doing this in the morning.","commit_id":"e7791f9473d7aa93b2847f14924ff222efadc4fb"},{"author":{"_account_id":11604,"name":"sean mooney","email":"smooney@redhat.com","username":"sean-k-mooney"},"change_message_id":"7663b39a529c20a1144824ef4324e78923075b69","unresolved":false,"context_lines":[{"line_number":57,"context_line":"# Fence the subnode"},{"line_number":58,"context_line":"echo \"Stopping all services and guest domains on subnode\""},{"line_number":59,"context_line":"$ANSIBLE subnodes --become -f 5 -i \"$WORKSPACE/inventory\" -m shell -a \"systemctl stop devstack@*\""},{"line_number":60,"context_line":"$ANSIBLE subnodes --become -f 5 -i \"$WORKSPACE/inventory\" -m shell -a \"for domain in $(virsh list --all); do  virsh destroy $domain; done\""},{"line_number":61,"context_line":""},{"line_number":62,"context_line":"echo \"Forcing down the subnode so we can evacuate from it\""},{"line_number":63,"context_line":"openstack --os-compute-api-version 2.11 compute service set --down ${subnode} nova-compute"}],"source_content_type":"text/x-sh","patch_set":5,"id":"1fa4df85_96d72450","line":60,"range":{"start_line":60,"start_character":85,"end_line":60,"end_character":104},"in_reply_to":"1fa4df85_db3dc5dd","updated":"2020-03-19 13:31:25.000000000","message":"ya i was wondering about that. if it need to be singel qutes to force that not to be expanded here.","commit_id":"e7791f9473d7aa93b2847f14924ff222efadc4fb"},{"author":{"_account_id":11604,"name":"sean mooney","email":"smooney@redhat.com","username":"sean-k-mooney"},"change_message_id":"7663b39a529c20a1144824ef4324e78923075b69","unresolved":false,"context_lines":[{"line_number":57,"context_line":"# Fence the subnode"},{"line_number":58,"context_line":"echo \"Stopping all services and guest domains on subnode\""},{"line_number":59,"context_line":"$ANSIBLE subnodes --become -f 5 -i \"$WORKSPACE/inventory\" -m shell -a \"systemctl stop devstack@*\""},{"line_number":60,"context_line":"$ANSIBLE subnodes --become -f 5 -i \"$WORKSPACE/inventory\" -m shell -a \"for domain in \\$(virsh list --all --name); do  virsh destroy \\$domain; done\""},{"line_number":61,"context_line":""},{"line_number":62,"context_line":"echo \"Forcing down the subnode so we can evacuate from it\""},{"line_number":63,"context_line":"openstack --os-compute-api-version 2.11 compute service set --down ${subnode} nova-compute"}],"source_content_type":"text/x-sh","patch_set":10,"id":"1fa4df85_0253e418","line":60,"range":{"start_line":60,"start_character":85,"end_line":60,"end_character":86},"updated":"2020-03-19 13:31:25.000000000","message":"it appears it did need to be escaped.\n\ni think that is fine the alternitive would have been to use since quotes \u0027 \u0027 instead of double quotes \" \"","commit_id":"b097959c1cbc9af1d90c7502286bc3e20972201f"}]}
