)]}'
{"/PATCHSET_LEVEL":[{"author":{"_account_id":9816,"name":"Takashi Kajinami","email":"kajinamit@oss.nttdata.com","username":"kajinamit"},"change_message_id":"7d8d3cf3766919f5aaec0875231e53bf85f1021f","unresolved":false,"context_lines":[],"source_content_type":"","patch_set":6,"id":"4e95082c_ccbd97dd","updated":"2022-03-16 09:13:20.000000000","message":"recheck","commit_id":"26367575993bf31e1a186db36d807bfa1d008e8c"},{"author":{"_account_id":9816,"name":"Takashi Kajinami","email":"kajinamit@oss.nttdata.com","username":"kajinamit"},"change_message_id":"6971fc4e35319e6dff9acb01c16fe6dabb734480","unresolved":false,"context_lines":[],"source_content_type":"","patch_set":6,"id":"c41d49e6_69b78264","updated":"2022-03-21 14:43:37.000000000","message":"recheck","commit_id":"26367575993bf31e1a186db36d807bfa1d008e8c"}],"copy_logs.sh":[{"author":{"_account_id":14985,"name":"Alex Schultz","email":"aschultz@next-development.com","username":"mwhahaha"},"change_message_id":"fccce43ca77fe25fc0ce91b15e40f875e4af4a44","unresolved":false,"context_lines":[{"line_number":274,"context_line":"if [ -d $LOG_DIR/keystone ]; then"},{"line_number":275,"context_line":"    source $LOG_DIR/openrc.txt"},{"line_number":276,"context_line":"    echo \"openstack endpoint list\" \u003e\u003e $LOG_DIR/openstack_resources/keystone.txt"},{"line_number":277,"context_line":"    openstack endpoint list \u003e\u003e $LOG_DIR/openstack_resources/keystone.txt"},{"line_number":278,"context_line":"    echo \"openstack service list\" \u003e\u003e $LOG_DIR/openstack_resources/keystone.txt"},{"line_number":279,"context_line":"    openstack service list \u003e\u003e $LOG_DIR/openstack_resources/keystone.txt"},{"line_number":280,"context_line":"    echo \"openstack project list\" \u003e\u003e $LOG_DIR/openstack_resources/keystone.txt"}],"source_content_type":"text/x-sh","patch_set":4,"id":"2d4d9dc7_2ba31911","line":277,"updated":"2022-03-11 00:07:07.000000000","message":"I found where I did it previously. https://review.opendev.org/c/openstack/tripleo-quickstart-extras/+/521146/3/roles/collect-logs/templates/get_host_info.sh.j2\n\nopenstack \u003c\u003c-EOC\n  command\n  command\n  command\nEOC\n\nThat\u0027ll run multiple commands and since you\u0027re outputting to the same log file, it\u0027ll work fine.","commit_id":"fac0f4c33f44728c67255f52e8ef1d3f70309d54"},{"author":{"_account_id":14985,"name":"Alex Schultz","email":"aschultz@next-development.com","username":"mwhahaha"},"change_message_id":"e1f2744b7fdd6df0f03a449ca8acd7c6de9e5556","unresolved":false,"context_lines":[{"line_number":274,"context_line":"if [ -d $LOG_DIR/keystone ]; then"},{"line_number":275,"context_line":"    source $LOG_DIR/openrc.txt"},{"line_number":276,"context_line":"    echo \"openstack endpoint list\" \u003e\u003e $LOG_DIR/openstack_resources/keystone.txt"},{"line_number":277,"context_line":"    openstack endpoint list \u003e\u003e $LOG_DIR/openstack_resources/keystone.txt"},{"line_number":278,"context_line":"    echo \"openstack service list\" \u003e\u003e $LOG_DIR/openstack_resources/keystone.txt"},{"line_number":279,"context_line":"    openstack service list \u003e\u003e $LOG_DIR/openstack_resources/keystone.txt"},{"line_number":280,"context_line":"    echo \"openstack project list\" \u003e\u003e $LOG_DIR/openstack_resources/keystone.txt"}],"source_content_type":"text/x-sh","patch_set":4,"id":"778935d5_9ea82835","line":277,"updated":"2022-03-10 23:50:25.000000000","message":"repeatedly calling openstack is likely very time consuming. Could we just get away with doing it once and piping in a bunch of commands? We used to do that in tripleo logs long ago. It\u0027s like a heredoc hack but its\u0027s way faster when invoking openstack multiple times.","commit_id":"fac0f4c33f44728c67255f52e8ef1d3f70309d54"},{"author":{"_account_id":9816,"name":"Takashi Kajinami","email":"kajinamit@oss.nttdata.com","username":"kajinamit"},"change_message_id":"f2182dee85ba6fad3a811aa879b8bc1e1b40be52","unresolved":false,"context_lines":[{"line_number":274,"context_line":"if [ -d $LOG_DIR/keystone ]; then"},{"line_number":275,"context_line":"    source $LOG_DIR/openrc.txt"},{"line_number":276,"context_line":"    echo \"openstack endpoint list\" \u003e\u003e $LOG_DIR/openstack_resources/keystone.txt"},{"line_number":277,"context_line":"    openstack endpoint list \u003e\u003e $LOG_DIR/openstack_resources/keystone.txt"},{"line_number":278,"context_line":"    echo \"openstack service list\" \u003e\u003e $LOG_DIR/openstack_resources/keystone.txt"},{"line_number":279,"context_line":"    openstack service list \u003e\u003e $LOG_DIR/openstack_resources/keystone.txt"},{"line_number":280,"context_line":"    echo \"openstack project list\" \u003e\u003e $LOG_DIR/openstack_resources/keystone.txt"}],"source_content_type":"text/x-sh","patch_set":4,"id":"12daa2b3_dc86a9b4","line":277,"in_reply_to":"2d4d9dc7_2ba31911","updated":"2022-03-13 16:29:04.000000000","message":"Thanks. I updated the implementation accordingly.\n\nNote to self: To enforce SRBAC we need to use the proper scope so it\u0027s likely we need to split each command to two, one with project scope and the other with system scope.","commit_id":"fac0f4c33f44728c67255f52e8ef1d3f70309d54"}]}
