)]}'
{"/COMMIT_MSG":[{"author":{"_account_id":9926,"name":"John Kung","email":"john.kung@windriver.com","username":"jkung"},"change_message_id":"2740f4f425dadc69e2de0427fcb75b06e468f8cd","unresolved":true,"context_lines":[{"line_number":4,"context_line":"Commit:     Junfeng (Shawn) Li \u003cjunfeng.li@windriver.com\u003e"},{"line_number":5,"context_line":"CommitDate: 2022-06-09 18:35:58 -0400"},{"line_number":6,"context_line":""},{"line_number":7,"context_line":"Summary: Prevent a new host to be added to simplex"},{"line_number":8,"context_line":""},{"line_number":9,"context_line":"    Details: Added a condtion check to prevent a host from being added to a simplex"},{"line_number":10,"context_line":""}],"source_content_type":"text/x-gerrit-commit-message","patch_set":1,"id":"12a40f65_b4161968","line":7,"range":{"start_line":7,"start_character":0,"end_line":7,"end_character":9},"updated":"2022-06-13 15:51:53.000000000","message":"\u0027Summary: \u0027 is not required\nand Indentation of lines below is not required either.","commit_id":"7a11f7feda60135a9d4ed131737cce6035ed977e"},{"author":{"_account_id":34895,"name":"Junfeng Li","display_name":"Junfeng (Shawn) Li","email":"junfeng.li@windriver.com","username":"junfeng-li"},"change_message_id":"838a4e8b85fc384df33f6c5d267df01ceb2837af","unresolved":false,"context_lines":[{"line_number":4,"context_line":"Commit:     Junfeng (Shawn) Li \u003cjunfeng.li@windriver.com\u003e"},{"line_number":5,"context_line":"CommitDate: 2022-06-09 18:35:58 -0400"},{"line_number":6,"context_line":""},{"line_number":7,"context_line":"Summary: Prevent a new host to be added to simplex"},{"line_number":8,"context_line":""},{"line_number":9,"context_line":"    Details: Added a condtion check to prevent a host from being added to a simplex"},{"line_number":10,"context_line":""}],"source_content_type":"text/x-gerrit-commit-message","patch_set":1,"id":"549c0be6_ca75aeda","line":7,"range":{"start_line":7,"start_character":0,"end_line":7,"end_character":9},"in_reply_to":"12a40f65_b4161968","updated":"2022-06-22 13:46:26.000000000","message":"Done","commit_id":"7a11f7feda60135a9d4ed131737cce6035ed977e"},{"author":{"_account_id":9926,"name":"John Kung","email":"john.kung@windriver.com","username":"jkung"},"change_message_id":"b16f044df0e732f475c1f6d3fa9fc730a7be83a2","unresolved":false,"context_lines":[{"line_number":4,"context_line":"Commit:     Junfeng (Shawn) Li \u003cjunfeng.li@windriver.com\u003e"},{"line_number":5,"context_line":"CommitDate: 2022-06-09 18:35:58 -0400"},{"line_number":6,"context_line":""},{"line_number":7,"context_line":"Summary: Prevent a new host to be added to simplex"},{"line_number":8,"context_line":""},{"line_number":9,"context_line":"    Details: Added a condtion check to prevent a host from being added to a simplex"},{"line_number":10,"context_line":""}],"source_content_type":"text/x-gerrit-commit-message","patch_set":1,"id":"9acfc099_6210ca20","line":7,"range":{"start_line":7,"start_character":0,"end_line":7,"end_character":9},"in_reply_to":"12a40f65_b4161968","updated":"2022-06-20 13:11:57.000000000","message":"Done","commit_id":"7a11f7feda60135a9d4ed131737cce6035ed977e"},{"author":{"_account_id":9926,"name":"John Kung","email":"john.kung@windriver.com","username":"jkung"},"change_message_id":"8992ee69fb65c6e693dac813306d5c75513ee988","unresolved":true,"context_lines":[{"line_number":6,"context_line":""},{"line_number":7,"context_line":"Summary: Prevent a new host to be added to simplex"},{"line_number":8,"context_line":""},{"line_number":9,"context_line":"    Details: Added a condtion check to prevent a host from being added to a simplex"},{"line_number":10,"context_line":""},{"line_number":11,"context_line":"    Partial-Bug: 1978134"},{"line_number":12,"context_line":""}],"source_content_type":"text/x-gerrit-commit-message","patch_set":1,"id":"8565378e_a95a3cfa","line":9,"range":{"start_line":9,"start_character":21,"end_line":9,"end_character":29},"updated":"2022-06-13 15:50:25.000000000","message":"condition","commit_id":"7a11f7feda60135a9d4ed131737cce6035ed977e"},{"author":{"_account_id":34895,"name":"Junfeng Li","display_name":"Junfeng (Shawn) Li","email":"junfeng.li@windriver.com","username":"junfeng-li"},"change_message_id":"838a4e8b85fc384df33f6c5d267df01ceb2837af","unresolved":false,"context_lines":[{"line_number":6,"context_line":""},{"line_number":7,"context_line":"Summary: Prevent a new host to be added to simplex"},{"line_number":8,"context_line":""},{"line_number":9,"context_line":"    Details: Added a condtion check to prevent a host from being added to a simplex"},{"line_number":10,"context_line":""},{"line_number":11,"context_line":"    Partial-Bug: 1978134"},{"line_number":12,"context_line":""}],"source_content_type":"text/x-gerrit-commit-message","patch_set":1,"id":"758e50f3_00d95b31","line":9,"range":{"start_line":9,"start_character":21,"end_line":9,"end_character":29},"in_reply_to":"8565378e_a95a3cfa","updated":"2022-06-22 13:46:26.000000000","message":"Done","commit_id":"7a11f7feda60135a9d4ed131737cce6035ed977e"},{"author":{"_account_id":9926,"name":"John Kung","email":"john.kung@windriver.com","username":"jkung"},"change_message_id":"b16f044df0e732f475c1f6d3fa9fc730a7be83a2","unresolved":false,"context_lines":[{"line_number":6,"context_line":""},{"line_number":7,"context_line":"Summary: Prevent a new host to be added to simplex"},{"line_number":8,"context_line":""},{"line_number":9,"context_line":"    Details: Added a condtion check to prevent a host from being added to a simplex"},{"line_number":10,"context_line":""},{"line_number":11,"context_line":"    Partial-Bug: 1978134"},{"line_number":12,"context_line":""}],"source_content_type":"text/x-gerrit-commit-message","patch_set":1,"id":"aae756ad_ea4d319f","line":9,"range":{"start_line":9,"start_character":21,"end_line":9,"end_character":29},"in_reply_to":"8565378e_a95a3cfa","updated":"2022-06-20 13:11:57.000000000","message":"Done","commit_id":"7a11f7feda60135a9d4ed131737cce6035ed977e"},{"author":{"_account_id":9926,"name":"John Kung","email":"john.kung@windriver.com","username":"jkung"},"change_message_id":"8992ee69fb65c6e693dac813306d5c75513ee988","unresolved":true,"context_lines":[{"line_number":8,"context_line":""},{"line_number":9,"context_line":"    Details: Added a condtion check to prevent a host from being added to a simplex"},{"line_number":10,"context_line":""},{"line_number":11,"context_line":"    Partial-Bug: 1978134"},{"line_number":12,"context_line":""},{"line_number":13,"context_line":"    Test Plan: Patched local simplex system and ran reproduced steps"},{"line_number":14,"context_line":""}],"source_content_type":"text/x-gerrit-commit-message","patch_set":1,"id":"105e61dc_de153a36","line":11,"range":{"start_line":11,"start_character":4,"end_line":11,"end_character":15},"updated":"2022-06-13 15:50:25.000000000","message":"There should be another change to allow the host-delete of a non \u0027controller-0\u0027 hostname from simplex in api/controllers/v1/host.py::delete().  Tox unit tests should be extended for that case as well in sysinv/tests/api/test_host.py","commit_id":"7a11f7feda60135a9d4ed131737cce6035ed977e"},{"author":{"_account_id":34895,"name":"Junfeng Li","display_name":"Junfeng (Shawn) Li","email":"junfeng.li@windriver.com","username":"junfeng-li"},"change_message_id":"838a4e8b85fc384df33f6c5d267df01ceb2837af","unresolved":false,"context_lines":[{"line_number":8,"context_line":""},{"line_number":9,"context_line":"    Details: Added a condtion check to prevent a host from being added to a simplex"},{"line_number":10,"context_line":""},{"line_number":11,"context_line":"    Partial-Bug: 1978134"},{"line_number":12,"context_line":""},{"line_number":13,"context_line":"    Test Plan: Patched local simplex system and ran reproduced steps"},{"line_number":14,"context_line":""}],"source_content_type":"text/x-gerrit-commit-message","patch_set":1,"id":"1b505282_1c7b9343","line":11,"range":{"start_line":11,"start_character":4,"end_line":11,"end_character":15},"in_reply_to":"105e61dc_de153a36","updated":"2022-06-22 13:46:26.000000000","message":"Done","commit_id":"7a11f7feda60135a9d4ed131737cce6035ed977e"},{"author":{"_account_id":9926,"name":"John Kung","email":"john.kung@windriver.com","username":"jkung"},"change_message_id":"b16f044df0e732f475c1f6d3fa9fc730a7be83a2","unresolved":false,"context_lines":[{"line_number":8,"context_line":""},{"line_number":9,"context_line":"    Details: Added a condtion check to prevent a host from being added to a simplex"},{"line_number":10,"context_line":""},{"line_number":11,"context_line":"    Partial-Bug: 1978134"},{"line_number":12,"context_line":""},{"line_number":13,"context_line":"    Test Plan: Patched local simplex system and ran reproduced steps"},{"line_number":14,"context_line":""}],"source_content_type":"text/x-gerrit-commit-message","patch_set":1,"id":"b2ec78d5_83230bac","line":11,"range":{"start_line":11,"start_character":4,"end_line":11,"end_character":15},"in_reply_to":"105e61dc_de153a36","updated":"2022-06-20 13:11:57.000000000","message":"Done","commit_id":"7a11f7feda60135a9d4ed131737cce6035ed977e"},{"author":{"_account_id":9926,"name":"John Kung","email":"john.kung@windriver.com","username":"jkung"},"change_message_id":"8992ee69fb65c6e693dac813306d5c75513ee988","unresolved":true,"context_lines":[{"line_number":10,"context_line":""},{"line_number":11,"context_line":"    Partial-Bug: 1978134"},{"line_number":12,"context_line":""},{"line_number":13,"context_line":"    Test Plan: Patched local simplex system and ran reproduced steps"},{"line_number":14,"context_line":""},{"line_number":15,"context_line":"    Signed-off-by: Junfeng Li \u003cjunfeng.li@windriver.com\u003e"},{"line_number":16,"context_line":""}],"source_content_type":"text/x-gerrit-commit-message","patch_set":1,"id":"c9c8ff22_ef84e7a8","line":13,"updated":"2022-06-13 15:50:25.000000000","message":"SX to DX Migration is not affected","commit_id":"7a11f7feda60135a9d4ed131737cce6035ed977e"},{"author":{"_account_id":9926,"name":"John Kung","email":"john.kung@windriver.com","username":"jkung"},"change_message_id":"b16f044df0e732f475c1f6d3fa9fc730a7be83a2","unresolved":false,"context_lines":[{"line_number":10,"context_line":""},{"line_number":11,"context_line":"    Partial-Bug: 1978134"},{"line_number":12,"context_line":""},{"line_number":13,"context_line":"    Test Plan: Patched local simplex system and ran reproduced steps"},{"line_number":14,"context_line":""},{"line_number":15,"context_line":"    Signed-off-by: Junfeng Li \u003cjunfeng.li@windriver.com\u003e"},{"line_number":16,"context_line":""}],"source_content_type":"text/x-gerrit-commit-message","patch_set":1,"id":"2f1bf628_ca4208e8","line":13,"in_reply_to":"c9c8ff22_ef84e7a8","updated":"2022-06-20 13:11:57.000000000","message":"Done","commit_id":"7a11f7feda60135a9d4ed131737cce6035ed977e"},{"author":{"_account_id":34895,"name":"Junfeng Li","display_name":"Junfeng (Shawn) Li","email":"junfeng.li@windriver.com","username":"junfeng-li"},"change_message_id":"838a4e8b85fc384df33f6c5d267df01ceb2837af","unresolved":false,"context_lines":[{"line_number":10,"context_line":""},{"line_number":11,"context_line":"    Partial-Bug: 1978134"},{"line_number":12,"context_line":""},{"line_number":13,"context_line":"    Test Plan: Patched local simplex system and ran reproduced steps"},{"line_number":14,"context_line":""},{"line_number":15,"context_line":"    Signed-off-by: Junfeng Li \u003cjunfeng.li@windriver.com\u003e"},{"line_number":16,"context_line":""}],"source_content_type":"text/x-gerrit-commit-message","patch_set":1,"id":"b906d093_b8e8269d","line":13,"in_reply_to":"c9c8ff22_ef84e7a8","updated":"2022-06-22 13:46:26.000000000","message":"Done","commit_id":"7a11f7feda60135a9d4ed131737cce6035ed977e"},{"author":{"_account_id":9926,"name":"John Kung","email":"john.kung@windriver.com","username":"jkung"},"change_message_id":"f93e6e69823757baf8c71b82c98bcff04d61ba98","unresolved":true,"context_lines":[{"line_number":7,"context_line":"Prevent a new host to be added to simplex"},{"line_number":8,"context_line":""},{"line_number":9,"context_line":"Details: Added a condition check to prevent a host from being added to a simplex"},{"line_number":10,"context_line":""},{"line_number":11,"context_line":"Closes-Bug: 1978134"},{"line_number":12,"context_line":""},{"line_number":13,"context_line":"Test Plan:"}],"source_content_type":"text/x-gerrit-commit-message","patch_set":4,"id":"265ddf6c_a58da477","line":10,"updated":"2022-06-15 16:05:21.000000000","message":"commit message should be updated with the delete() update to allow delete in AIO-SX of hosts other than controller-0","commit_id":"e972a20625f5f9a24d0078c3c786f28b55c6f6a2"},{"author":{"_account_id":34895,"name":"Junfeng Li","display_name":"Junfeng (Shawn) Li","email":"junfeng.li@windriver.com","username":"junfeng-li"},"change_message_id":"838a4e8b85fc384df33f6c5d267df01ceb2837af","unresolved":false,"context_lines":[{"line_number":7,"context_line":"Prevent a new host to be added to simplex"},{"line_number":8,"context_line":""},{"line_number":9,"context_line":"Details: Added a condition check to prevent a host from being added to a simplex"},{"line_number":10,"context_line":""},{"line_number":11,"context_line":"Closes-Bug: 1978134"},{"line_number":12,"context_line":""},{"line_number":13,"context_line":"Test Plan:"}],"source_content_type":"text/x-gerrit-commit-message","patch_set":4,"id":"2ab52cdb_a6e3b2d9","line":10,"in_reply_to":"265ddf6c_a58da477","updated":"2022-06-22 13:46:26.000000000","message":"Done","commit_id":"e972a20625f5f9a24d0078c3c786f28b55c6f6a2"},{"author":{"_account_id":9926,"name":"John Kung","email":"john.kung@windriver.com","username":"jkung"},"change_message_id":"b16f044df0e732f475c1f6d3fa9fc730a7be83a2","unresolved":false,"context_lines":[{"line_number":7,"context_line":"Prevent a new host to be added to simplex"},{"line_number":8,"context_line":""},{"line_number":9,"context_line":"Details: Added a condition check to prevent a host from being added to a simplex"},{"line_number":10,"context_line":""},{"line_number":11,"context_line":"Closes-Bug: 1978134"},{"line_number":12,"context_line":""},{"line_number":13,"context_line":"Test Plan:"}],"source_content_type":"text/x-gerrit-commit-message","patch_set":4,"id":"8c83f8b9_cccfa9a6","line":10,"in_reply_to":"265ddf6c_a58da477","updated":"2022-06-20 13:11:57.000000000","message":"Done","commit_id":"e972a20625f5f9a24d0078c3c786f28b55c6f6a2"},{"author":{"_account_id":9926,"name":"John Kung","email":"john.kung@windriver.com","username":"jkung"},"change_message_id":"04d3b30897aa9e7998a94513134c55a1db12d31d","unresolved":true,"context_lines":[{"line_number":11,"context_line":"Closes-Bug: 1978134"},{"line_number":12,"context_line":""},{"line_number":13,"context_line":"Test Plan:"},{"line_number":14,"context_line":""},{"line_number":15,"context_line":"PASS: Patched local simplex system and ran reproduced steps"},{"line_number":16,"context_line":"PASS: Migration from SX to DX"},{"line_number":17,"context_line":""}],"source_content_type":"text/x-gerrit-commit-message","patch_set":4,"id":"b80c2a3a_227bcc90","line":14,"updated":"2022-06-15 16:06:14.000000000","message":"testcase for host-delete in AIO-SX for non controller-0 host","commit_id":"e972a20625f5f9a24d0078c3c786f28b55c6f6a2"},{"author":{"_account_id":34895,"name":"Junfeng Li","display_name":"Junfeng (Shawn) Li","email":"junfeng.li@windriver.com","username":"junfeng-li"},"change_message_id":"838a4e8b85fc384df33f6c5d267df01ceb2837af","unresolved":false,"context_lines":[{"line_number":11,"context_line":"Closes-Bug: 1978134"},{"line_number":12,"context_line":""},{"line_number":13,"context_line":"Test Plan:"},{"line_number":14,"context_line":""},{"line_number":15,"context_line":"PASS: Patched local simplex system and ran reproduced steps"},{"line_number":16,"context_line":"PASS: Migration from SX to DX"},{"line_number":17,"context_line":""}],"source_content_type":"text/x-gerrit-commit-message","patch_set":4,"id":"824c2a51_5c4bf667","line":14,"in_reply_to":"b80c2a3a_227bcc90","updated":"2022-06-22 13:46:26.000000000","message":"Done","commit_id":"e972a20625f5f9a24d0078c3c786f28b55c6f6a2"},{"author":{"_account_id":9926,"name":"John Kung","email":"john.kung@windriver.com","username":"jkung"},"change_message_id":"b16f044df0e732f475c1f6d3fa9fc730a7be83a2","unresolved":false,"context_lines":[{"line_number":11,"context_line":"Closes-Bug: 1978134"},{"line_number":12,"context_line":""},{"line_number":13,"context_line":"Test Plan:"},{"line_number":14,"context_line":""},{"line_number":15,"context_line":"PASS: Patched local simplex system and ran reproduced steps"},{"line_number":16,"context_line":"PASS: Migration from SX to DX"},{"line_number":17,"context_line":""}],"source_content_type":"text/x-gerrit-commit-message","patch_set":4,"id":"cb7e458f_31c32ad5","line":14,"in_reply_to":"b80c2a3a_227bcc90","updated":"2022-06-20 13:11:57.000000000","message":"Done","commit_id":"e972a20625f5f9a24d0078c3c786f28b55c6f6a2"},{"author":{"_account_id":9926,"name":"John Kung","email":"john.kung@windriver.com","username":"jkung"},"change_message_id":"c7759d5d985eb7b2443308d3d101618c42a7ce32","unresolved":true,"context_lines":[{"line_number":4,"context_line":"Commit:     Junfeng (Shawn) Li \u003cjunfeng.li@windriver.com\u003e"},{"line_number":5,"context_line":"CommitDate: 2022-06-15 13:25:55 -0400"},{"line_number":6,"context_line":""},{"line_number":7,"context_line":"Prevent a new host to be added to simplex"},{"line_number":8,"context_line":""},{"line_number":9,"context_line":"Details: 1. Added a condition check to prevent a host from being added to a simplex."},{"line_number":10,"context_line":"         2. Updated host delete() to allow hosts to be deleted if it is not controller-0 in SX"}],"source_content_type":"text/x-gerrit-commit-message","patch_set":5,"id":"33990c29_087852d0","line":7,"range":{"start_line":7,"start_character":34,"end_line":7,"end_character":41},"updated":"2022-06-15 19:49:54.000000000","message":"nit: AIO-SX","commit_id":"f36d5cb773a7ddb0feea78d4f98de6a894f36713"},{"author":{"_account_id":34895,"name":"Junfeng Li","display_name":"Junfeng (Shawn) Li","email":"junfeng.li@windriver.com","username":"junfeng-li"},"change_message_id":"838a4e8b85fc384df33f6c5d267df01ceb2837af","unresolved":false,"context_lines":[{"line_number":4,"context_line":"Commit:     Junfeng (Shawn) Li \u003cjunfeng.li@windriver.com\u003e"},{"line_number":5,"context_line":"CommitDate: 2022-06-15 13:25:55 -0400"},{"line_number":6,"context_line":""},{"line_number":7,"context_line":"Prevent a new host to be added to simplex"},{"line_number":8,"context_line":""},{"line_number":9,"context_line":"Details: 1. Added a condition check to prevent a host from being added to a simplex."},{"line_number":10,"context_line":"         2. Updated host delete() to allow hosts to be deleted if it is not controller-0 in SX"}],"source_content_type":"text/x-gerrit-commit-message","patch_set":5,"id":"224323ab_551e7bfb","line":7,"range":{"start_line":7,"start_character":34,"end_line":7,"end_character":41},"in_reply_to":"33990c29_087852d0","updated":"2022-06-22 13:46:26.000000000","message":"Done","commit_id":"f36d5cb773a7ddb0feea78d4f98de6a894f36713"},{"author":{"_account_id":9926,"name":"John Kung","email":"john.kung@windriver.com","username":"jkung"},"change_message_id":"b16f044df0e732f475c1f6d3fa9fc730a7be83a2","unresolved":false,"context_lines":[{"line_number":4,"context_line":"Commit:     Junfeng (Shawn) Li \u003cjunfeng.li@windriver.com\u003e"},{"line_number":5,"context_line":"CommitDate: 2022-06-15 13:25:55 -0400"},{"line_number":6,"context_line":""},{"line_number":7,"context_line":"Prevent a new host to be added to simplex"},{"line_number":8,"context_line":""},{"line_number":9,"context_line":"Details: 1. Added a condition check to prevent a host from being added to a simplex."},{"line_number":10,"context_line":"         2. Updated host delete() to allow hosts to be deleted if it is not controller-0 in SX"}],"source_content_type":"text/x-gerrit-commit-message","patch_set":5,"id":"6b3ecbd9_9c4ed38e","line":7,"range":{"start_line":7,"start_character":34,"end_line":7,"end_character":41},"in_reply_to":"33990c29_087852d0","updated":"2022-06-20 13:11:57.000000000","message":"Done","commit_id":"f36d5cb773a7ddb0feea78d4f98de6a894f36713"},{"author":{"_account_id":9926,"name":"John Kung","email":"john.kung@windriver.com","username":"jkung"},"change_message_id":"c7759d5d985eb7b2443308d3d101618c42a7ce32","unresolved":true,"context_lines":[{"line_number":6,"context_line":""},{"line_number":7,"context_line":"Prevent a new host to be added to simplex"},{"line_number":8,"context_line":""},{"line_number":9,"context_line":"Details: 1. Added a condition check to prevent a host from being added to a simplex."},{"line_number":10,"context_line":"         2. Updated host delete() to allow hosts to be deleted if it is not controller-0 in SX"},{"line_number":11,"context_line":""},{"line_number":12,"context_line":"Closes-Bug: 1978134"}],"source_content_type":"text/x-gerrit-commit-message","patch_set":5,"id":"c94cd12d_927ebc54","line":9,"range":{"start_line":9,"start_character":76,"end_line":9,"end_character":83},"updated":"2022-06-15 19:49:54.000000000","message":"AIO-SX","commit_id":"f36d5cb773a7ddb0feea78d4f98de6a894f36713"},{"author":{"_account_id":9926,"name":"John Kung","email":"john.kung@windriver.com","username":"jkung"},"change_message_id":"b16f044df0e732f475c1f6d3fa9fc730a7be83a2","unresolved":false,"context_lines":[{"line_number":6,"context_line":""},{"line_number":7,"context_line":"Prevent a new host to be added to simplex"},{"line_number":8,"context_line":""},{"line_number":9,"context_line":"Details: 1. Added a condition check to prevent a host from being added to a simplex."},{"line_number":10,"context_line":"         2. Updated host delete() to allow hosts to be deleted if it is not controller-0 in SX"},{"line_number":11,"context_line":""},{"line_number":12,"context_line":"Closes-Bug: 1978134"}],"source_content_type":"text/x-gerrit-commit-message","patch_set":5,"id":"c34c2188_65b9c682","line":9,"range":{"start_line":9,"start_character":76,"end_line":9,"end_character":83},"in_reply_to":"c94cd12d_927ebc54","updated":"2022-06-20 13:11:57.000000000","message":"Done","commit_id":"f36d5cb773a7ddb0feea78d4f98de6a894f36713"},{"author":{"_account_id":34895,"name":"Junfeng Li","display_name":"Junfeng (Shawn) Li","email":"junfeng.li@windriver.com","username":"junfeng-li"},"change_message_id":"838a4e8b85fc384df33f6c5d267df01ceb2837af","unresolved":false,"context_lines":[{"line_number":6,"context_line":""},{"line_number":7,"context_line":"Prevent a new host to be added to simplex"},{"line_number":8,"context_line":""},{"line_number":9,"context_line":"Details: 1. Added a condition check to prevent a host from being added to a simplex."},{"line_number":10,"context_line":"         2. Updated host delete() to allow hosts to be deleted if it is not controller-0 in SX"},{"line_number":11,"context_line":""},{"line_number":12,"context_line":"Closes-Bug: 1978134"}],"source_content_type":"text/x-gerrit-commit-message","patch_set":5,"id":"eb5af1d5_52206938","line":9,"range":{"start_line":9,"start_character":76,"end_line":9,"end_character":83},"in_reply_to":"c94cd12d_927ebc54","updated":"2022-06-22 13:46:26.000000000","message":"Done","commit_id":"f36d5cb773a7ddb0feea78d4f98de6a894f36713"},{"author":{"_account_id":9926,"name":"John Kung","email":"john.kung@windriver.com","username":"jkung"},"change_message_id":"c7759d5d985eb7b2443308d3d101618c42a7ce32","unresolved":true,"context_lines":[{"line_number":7,"context_line":"Prevent a new host to be added to simplex"},{"line_number":8,"context_line":""},{"line_number":9,"context_line":"Details: 1. Added a condition check to prevent a host from being added to a simplex."},{"line_number":10,"context_line":"         2. Updated host delete() to allow hosts to be deleted if it is not controller-0 in SX"},{"line_number":11,"context_line":""},{"line_number":12,"context_line":"Closes-Bug: 1978134"},{"line_number":13,"context_line":""}],"source_content_type":"text/x-gerrit-commit-message","patch_set":5,"id":"9f4b7941_54916d3b","line":10,"range":{"start_line":10,"start_character":92,"end_line":10,"end_character":94},"updated":"2022-06-15 19:49:54.000000000","message":"AIO-SX","commit_id":"f36d5cb773a7ddb0feea78d4f98de6a894f36713"},{"author":{"_account_id":34895,"name":"Junfeng Li","display_name":"Junfeng (Shawn) Li","email":"junfeng.li@windriver.com","username":"junfeng-li"},"change_message_id":"838a4e8b85fc384df33f6c5d267df01ceb2837af","unresolved":false,"context_lines":[{"line_number":7,"context_line":"Prevent a new host to be added to simplex"},{"line_number":8,"context_line":""},{"line_number":9,"context_line":"Details: 1. Added a condition check to prevent a host from being added to a simplex."},{"line_number":10,"context_line":"         2. Updated host delete() to allow hosts to be deleted if it is not controller-0 in SX"},{"line_number":11,"context_line":""},{"line_number":12,"context_line":"Closes-Bug: 1978134"},{"line_number":13,"context_line":""}],"source_content_type":"text/x-gerrit-commit-message","patch_set":5,"id":"b7c6c51f_76f73d37","line":10,"range":{"start_line":10,"start_character":92,"end_line":10,"end_character":94},"in_reply_to":"9f4b7941_54916d3b","updated":"2022-06-22 13:46:26.000000000","message":"Done","commit_id":"f36d5cb773a7ddb0feea78d4f98de6a894f36713"},{"author":{"_account_id":9926,"name":"John Kung","email":"john.kung@windriver.com","username":"jkung"},"change_message_id":"b16f044df0e732f475c1f6d3fa9fc730a7be83a2","unresolved":false,"context_lines":[{"line_number":7,"context_line":"Prevent a new host to be added to simplex"},{"line_number":8,"context_line":""},{"line_number":9,"context_line":"Details: 1. Added a condition check to prevent a host from being added to a simplex."},{"line_number":10,"context_line":"         2. Updated host delete() to allow hosts to be deleted if it is not controller-0 in SX"},{"line_number":11,"context_line":""},{"line_number":12,"context_line":"Closes-Bug: 1978134"},{"line_number":13,"context_line":""}],"source_content_type":"text/x-gerrit-commit-message","patch_set":5,"id":"c9dc5eda_9f7a2386","line":10,"range":{"start_line":10,"start_character":92,"end_line":10,"end_character":94},"in_reply_to":"9f4b7941_54916d3b","updated":"2022-06-20 13:11:57.000000000","message":"Done","commit_id":"f36d5cb773a7ddb0feea78d4f98de6a894f36713"},{"author":{"_account_id":9926,"name":"John Kung","email":"john.kung@windriver.com","username":"jkung"},"change_message_id":"c7759d5d985eb7b2443308d3d101618c42a7ce32","unresolved":true,"context_lines":[{"line_number":12,"context_line":"Closes-Bug: 1978134"},{"line_number":13,"context_line":""},{"line_number":14,"context_line":"Test Plan:"},{"line_number":15,"context_line":"PASS: Unit test cases against non controller-0  host deletion"},{"line_number":16,"context_line":"PASS: Patched local simplex system and ran reproduced steps"},{"line_number":17,"context_line":"PASS: Migration from SX to DX"},{"line_number":18,"context_line":""}],"source_content_type":"text/x-gerrit-commit-message","patch_set":5,"id":"c5b0f8a9_0fe315b1","line":15,"range":{"start_line":15,"start_character":46,"end_line":15,"end_character":48},"updated":"2022-06-15 19:49:54.000000000","message":"AIO-SX","commit_id":"f36d5cb773a7ddb0feea78d4f98de6a894f36713"},{"author":{"_account_id":9926,"name":"John Kung","email":"john.kung@windriver.com","username":"jkung"},"change_message_id":"b16f044df0e732f475c1f6d3fa9fc730a7be83a2","unresolved":false,"context_lines":[{"line_number":12,"context_line":"Closes-Bug: 1978134"},{"line_number":13,"context_line":""},{"line_number":14,"context_line":"Test Plan:"},{"line_number":15,"context_line":"PASS: Unit test cases against non controller-0  host deletion"},{"line_number":16,"context_line":"PASS: Patched local simplex system and ran reproduced steps"},{"line_number":17,"context_line":"PASS: Migration from SX to DX"},{"line_number":18,"context_line":""}],"source_content_type":"text/x-gerrit-commit-message","patch_set":5,"id":"aa4d3058_91108839","line":15,"range":{"start_line":15,"start_character":46,"end_line":15,"end_character":48},"in_reply_to":"c5b0f8a9_0fe315b1","updated":"2022-06-20 13:11:57.000000000","message":"Done","commit_id":"f36d5cb773a7ddb0feea78d4f98de6a894f36713"},{"author":{"_account_id":34895,"name":"Junfeng Li","display_name":"Junfeng (Shawn) Li","email":"junfeng.li@windriver.com","username":"junfeng-li"},"change_message_id":"838a4e8b85fc384df33f6c5d267df01ceb2837af","unresolved":false,"context_lines":[{"line_number":12,"context_line":"Closes-Bug: 1978134"},{"line_number":13,"context_line":""},{"line_number":14,"context_line":"Test Plan:"},{"line_number":15,"context_line":"PASS: Unit test cases against non controller-0  host deletion"},{"line_number":16,"context_line":"PASS: Patched local simplex system and ran reproduced steps"},{"line_number":17,"context_line":"PASS: Migration from SX to DX"},{"line_number":18,"context_line":""}],"source_content_type":"text/x-gerrit-commit-message","patch_set":5,"id":"b9987731_559e0524","line":15,"range":{"start_line":15,"start_character":46,"end_line":15,"end_character":48},"in_reply_to":"c5b0f8a9_0fe315b1","updated":"2022-06-22 13:46:26.000000000","message":"Done","commit_id":"f36d5cb773a7ddb0feea78d4f98de6a894f36713"}],"/PATCHSET_LEVEL":[{"author":{"_account_id":8768,"name":"Chris Friesen","email":"chris.friesen@windriver.com","username":"cbf123"},"change_message_id":"ed97294f9a84b272a935092693ba2b4e63fb08a8","unresolved":false,"context_lines":[],"source_content_type":"","patch_set":8,"id":"a515c845_3e36e8a8","updated":"2022-06-21 20:09:46.000000000","message":"Error message needs updating, otherwise looks good.","commit_id":"bc744b539c1f01fd8cb1f291b6792af5b532ba7b"},{"author":{"_account_id":9926,"name":"John Kung","email":"john.kung@windriver.com","username":"jkung"},"change_message_id":"21734b65b9fe7e686311f44d32e7f0f170687084","unresolved":false,"context_lines":[],"source_content_type":"","patch_set":8,"id":"a537ec45_123ded36","updated":"2022-06-21 22:50:06.000000000","message":"as per reviewer comments, recommend a minor update to the error message otherwise lgtm","commit_id":"bc744b539c1f01fd8cb1f291b6792af5b532ba7b"},{"author":{"_account_id":9926,"name":"John Kung","email":"john.kung@windriver.com","username":"jkung"},"change_message_id":"d9e0f6c9eb2062060160f9060d925091aa10ea9a","unresolved":false,"context_lines":[],"source_content_type":"","patch_set":8,"id":"dcb2d4e8_9dbc65a0","updated":"2022-06-16 17:50:52.000000000","message":"lgtm","commit_id":"bc744b539c1f01fd8cb1f291b6792af5b532ba7b"},{"author":{"_account_id":34895,"name":"Junfeng Li","display_name":"Junfeng (Shawn) Li","email":"junfeng.li@windriver.com","username":"junfeng-li"},"change_message_id":"838a4e8b85fc384df33f6c5d267df01ceb2837af","unresolved":false,"context_lines":[],"source_content_type":"","patch_set":9,"id":"f019c50a_34d2e507","updated":"2022-06-22 13:46:26.000000000","message":"recheck","commit_id":"e7ff06b9230f15114b4ef10bbb4a27de9174e6d6"},{"author":{"_account_id":9926,"name":"John Kung","email":"john.kung@windriver.com","username":"jkung"},"change_message_id":"8d6cec1497d4e61e1a2e7196e99d3577edee0752","unresolved":false,"context_lines":[],"source_content_type":"","patch_set":13,"id":"e0ce0538_18830d29","updated":"2022-06-22 17:43:34.000000000","message":"lgtm","commit_id":"693a85bad13b353f2aee227b473e553db0cc6151"}],"sysinv/sysinv/sysinv/sysinv/api/controllers/v1/host.py":[{"author":{"_account_id":28466,"name":"Bin Qian","email":"bin.qian@windriver.com","username":"bqian"},"change_message_id":"72e658d7ced32e421840de947cb0ee892757aff5","unresolved":true,"context_lines":[{"line_number":2427,"context_line":"        if (utils.get_system_mode() \u003d\u003d constants.SYSTEM_MODE_SIMPLEX and"},{"line_number":2428,"context_line":"                  ihost[\u0027hostname\u0027] \u003d\u003d constants.CONTROLLER_0_HOSTNAME):"},{"line_number":2429,"context_line":"            raise wsme.exc.ClientSideError(_("},{"line_number":2430,"context_line":"                \"Deleting a host on a simplex system is not allowed.\"))"},{"line_number":2431,"context_line":""},{"line_number":2432,"context_line":"        if ihost[\u0027administrative\u0027] \u003d\u003d constants.ADMIN_UNLOCKED:"},{"line_number":2433,"context_line":"            if ihost.hostname is None:"}],"source_content_type":"text/x-python","patch_set":8,"id":"d022f50a_b3ae8823","line":2430,"range":{"start_line":2430,"start_character":17,"end_line":2430,"end_character":67},"updated":"2022-06-21 18:43:28.000000000","message":"the error message should be changed to \"Deleting controller-0 on a simplex system is not allowed\"","commit_id":"bc744b539c1f01fd8cb1f291b6792af5b532ba7b"},{"author":{"_account_id":34895,"name":"Junfeng Li","display_name":"Junfeng (Shawn) Li","email":"junfeng.li@windriver.com","username":"junfeng-li"},"change_message_id":"838a4e8b85fc384df33f6c5d267df01ceb2837af","unresolved":false,"context_lines":[{"line_number":2427,"context_line":"        if (utils.get_system_mode() \u003d\u003d constants.SYSTEM_MODE_SIMPLEX and"},{"line_number":2428,"context_line":"                  ihost[\u0027hostname\u0027] \u003d\u003d constants.CONTROLLER_0_HOSTNAME):"},{"line_number":2429,"context_line":"            raise wsme.exc.ClientSideError(_("},{"line_number":2430,"context_line":"                \"Deleting a host on a simplex system is not allowed.\"))"},{"line_number":2431,"context_line":""},{"line_number":2432,"context_line":"        if ihost[\u0027administrative\u0027] \u003d\u003d constants.ADMIN_UNLOCKED:"},{"line_number":2433,"context_line":"            if ihost.hostname is None:"}],"source_content_type":"text/x-python","patch_set":8,"id":"a115051b_4ab17a4b","line":2430,"range":{"start_line":2430,"start_character":17,"end_line":2430,"end_character":67},"in_reply_to":"236a95cf_1162745d","updated":"2022-06-22 13:46:26.000000000","message":"Done","commit_id":"bc744b539c1f01fd8cb1f291b6792af5b532ba7b"},{"author":{"_account_id":8768,"name":"Chris Friesen","email":"chris.friesen@windriver.com","username":"cbf123"},"change_message_id":"ed97294f9a84b272a935092693ba2b4e63fb08a8","unresolved":true,"context_lines":[{"line_number":2427,"context_line":"        if (utils.get_system_mode() \u003d\u003d constants.SYSTEM_MODE_SIMPLEX and"},{"line_number":2428,"context_line":"                  ihost[\u0027hostname\u0027] \u003d\u003d constants.CONTROLLER_0_HOSTNAME):"},{"line_number":2429,"context_line":"            raise wsme.exc.ClientSideError(_("},{"line_number":2430,"context_line":"                \"Deleting a host on a simplex system is not allowed.\"))"},{"line_number":2431,"context_line":""},{"line_number":2432,"context_line":"        if ihost[\u0027administrative\u0027] \u003d\u003d constants.ADMIN_UNLOCKED:"},{"line_number":2433,"context_line":"            if ihost.hostname is None:"}],"source_content_type":"text/x-python","patch_set":8,"id":"236a95cf_1162745d","line":2430,"range":{"start_line":2430,"start_character":17,"end_line":2430,"end_character":67},"in_reply_to":"d022f50a_b3ae8823","updated":"2022-06-21 20:09:46.000000000","message":"Agree with Bin, assuming we want to allow cleanup from previously adding a host.","commit_id":"bc744b539c1f01fd8cb1f291b6792af5b532ba7b"},{"author":{"_account_id":9926,"name":"John Kung","email":"john.kung@windriver.com","username":"jkung"},"change_message_id":"6e1e0bca5fcc2c6b21d83824f69ee1dce9f09df5","unresolved":true,"context_lines":[{"line_number":2427,"context_line":"        if (utils.get_system_mode() \u003d\u003d constants.SYSTEM_MODE_SIMPLEX and"},{"line_number":2428,"context_line":"                  ihost[\u0027hostname\u0027] \u003d\u003d constants.CONTROLLER_0_HOSTNAME):"},{"line_number":2429,"context_line":"            raise wsme.exc.ClientSideError(_("},{"line_number":2430,"context_line":"                \"Deleting the controller-0 on a simplex system is not allowed.\"))"},{"line_number":2431,"context_line":""},{"line_number":2432,"context_line":"        if ihost[\u0027administrative\u0027] \u003d\u003d constants.ADMIN_UNLOCKED:"},{"line_number":2433,"context_line":"            if ihost.hostname is None:"}],"source_content_type":"text/x-python","patch_set":12,"id":"f4c8626b_69c0a669","line":2430,"range":{"start_line":2430,"start_character":26,"end_line":2430,"end_character":30},"updated":"2022-06-22 16:10:30.000000000","message":"nit: \u0027the\u0027 article isnt needed","commit_id":"db464b4650c30d9f62821c249547754ddbe59f52"},{"author":{"_account_id":34895,"name":"Junfeng Li","display_name":"Junfeng (Shawn) Li","email":"junfeng.li@windriver.com","username":"junfeng-li"},"change_message_id":"0dfcceed1c6af156e551b08a6f05204d9043a15e","unresolved":false,"context_lines":[{"line_number":2427,"context_line":"        if (utils.get_system_mode() \u003d\u003d constants.SYSTEM_MODE_SIMPLEX and"},{"line_number":2428,"context_line":"                  ihost[\u0027hostname\u0027] \u003d\u003d constants.CONTROLLER_0_HOSTNAME):"},{"line_number":2429,"context_line":"            raise wsme.exc.ClientSideError(_("},{"line_number":2430,"context_line":"                \"Deleting the controller-0 on a simplex system is not allowed.\"))"},{"line_number":2431,"context_line":""},{"line_number":2432,"context_line":"        if ihost[\u0027administrative\u0027] \u003d\u003d constants.ADMIN_UNLOCKED:"},{"line_number":2433,"context_line":"            if ihost.hostname is None:"}],"source_content_type":"text/x-python","patch_set":12,"id":"a4e5c2f3_b3c92ad8","line":2430,"range":{"start_line":2430,"start_character":26,"end_line":2430,"end_character":30},"in_reply_to":"f4c8626b_69c0a669","updated":"2022-06-22 17:12:48.000000000","message":"Done","commit_id":"db464b4650c30d9f62821c249547754ddbe59f52"}],"sysinv/sysinv/sysinv/sysinv/conductor/manager.py":[{"author":{"_account_id":9926,"name":"John Kung","email":"john.kung@windriver.com","username":"jkung"},"change_message_id":"a23683cd85f0f2c38489df42f4c5ae1519665071","unresolved":true,"context_lines":[{"line_number":809,"context_line":""},{"line_number":810,"context_line":"        # Not allow adding a new host to simplex system"},{"line_number":811,"context_line":"        is_simplex_host \u003d self.dbapi.isystem_get_one().system_mode \u003d\u003d constants.SYSTEM_MODE_SIMPLEX"},{"line_number":812,"context_line":"        if \u0027pxeboot\u0027 \u003d\u003d first_tag and not is_simplex_host:"},{"line_number":813,"context_line":"            mgmt_network \u003d self.dbapi.network_get_by_type("},{"line_number":814,"context_line":"                constants.NETWORK_TYPE_MGMT)"},{"line_number":815,"context_line":"            if not mgmt_network.dynamic:"}],"source_content_type":"text/x-python","patch_set":6,"id":"9ad547e3_bbafdbab","line":812,"range":{"start_line":812,"start_character":42,"end_line":812,"end_character":57},"updated":"2022-06-16 13:55:03.000000000","message":"this should reference cutils.is_aio_simplex_system(self.dbapi) ; so line above isnt needed.\n\nOtherwise, review lgtm","commit_id":"6779e9537a4a49b42b12c08131ae46a18740bef9"},{"author":{"_account_id":34895,"name":"Junfeng Li","display_name":"Junfeng (Shawn) Li","email":"junfeng.li@windriver.com","username":"junfeng-li"},"change_message_id":"838a4e8b85fc384df33f6c5d267df01ceb2837af","unresolved":false,"context_lines":[{"line_number":809,"context_line":""},{"line_number":810,"context_line":"        # Not allow adding a new host to simplex system"},{"line_number":811,"context_line":"        is_simplex_host \u003d self.dbapi.isystem_get_one().system_mode \u003d\u003d constants.SYSTEM_MODE_SIMPLEX"},{"line_number":812,"context_line":"        if \u0027pxeboot\u0027 \u003d\u003d first_tag and not is_simplex_host:"},{"line_number":813,"context_line":"            mgmt_network \u003d self.dbapi.network_get_by_type("},{"line_number":814,"context_line":"                constants.NETWORK_TYPE_MGMT)"},{"line_number":815,"context_line":"            if not mgmt_network.dynamic:"}],"source_content_type":"text/x-python","patch_set":6,"id":"645d2110_2c6288b2","line":812,"range":{"start_line":812,"start_character":42,"end_line":812,"end_character":57},"in_reply_to":"9ad547e3_bbafdbab","updated":"2022-06-22 13:46:26.000000000","message":"Done","commit_id":"6779e9537a4a49b42b12c08131ae46a18740bef9"},{"author":{"_account_id":9926,"name":"John Kung","email":"john.kung@windriver.com","username":"jkung"},"change_message_id":"b16f044df0e732f475c1f6d3fa9fc730a7be83a2","unresolved":false,"context_lines":[{"line_number":809,"context_line":""},{"line_number":810,"context_line":"        # Not allow adding a new host to simplex system"},{"line_number":811,"context_line":"        is_simplex_host \u003d self.dbapi.isystem_get_one().system_mode \u003d\u003d constants.SYSTEM_MODE_SIMPLEX"},{"line_number":812,"context_line":"        if \u0027pxeboot\u0027 \u003d\u003d first_tag and not is_simplex_host:"},{"line_number":813,"context_line":"            mgmt_network \u003d self.dbapi.network_get_by_type("},{"line_number":814,"context_line":"                constants.NETWORK_TYPE_MGMT)"},{"line_number":815,"context_line":"            if not mgmt_network.dynamic:"}],"source_content_type":"text/x-python","patch_set":6,"id":"8f17c840_94d7a333","line":812,"range":{"start_line":812,"start_character":42,"end_line":812,"end_character":57},"in_reply_to":"9ad547e3_bbafdbab","updated":"2022-06-20 13:11:57.000000000","message":"Done","commit_id":"6779e9537a4a49b42b12c08131ae46a18740bef9"},{"author":{"_account_id":9926,"name":"John Kung","email":"john.kung@windriver.com","username":"jkung"},"change_message_id":"080c1b744055d123461eb472b63980ea17f7772d","unresolved":true,"context_lines":[{"line_number":808,"context_line":"        first_tag \u003d tags.split()[0]"},{"line_number":809,"context_line":""},{"line_number":810,"context_line":"        # Not allow adding a new host to simplex system"},{"line_number":811,"context_line":"        is_simplex_host \u003d cutils.is_aio_simplex_system(self.dbapi)"},{"line_number":812,"context_line":"        if \u0027pxeboot\u0027 \u003d\u003d first_tag and not is_simplex_host:"},{"line_number":813,"context_line":"            mgmt_network \u003d self.dbapi.network_get_by_type("},{"line_number":814,"context_line":"                constants.NETWORK_TYPE_MGMT)"}],"source_content_type":"text/x-python","patch_set":7,"id":"c8f384f5_0164e4b7","line":811,"range":{"start_line":811,"start_character":8,"end_line":811,"end_character":24},"updated":"2022-06-16 15:52:02.000000000","message":"cutils.is_aio_simplex_system() would be more accurate ; so variable \u0027is_simplex_host\u0027 isnt needed.","commit_id":"609b1a7757622837e6ca76e2dc24ac68b63c2f79"},{"author":{"_account_id":9926,"name":"John Kung","email":"john.kung@windriver.com","username":"jkung"},"change_message_id":"b16f044df0e732f475c1f6d3fa9fc730a7be83a2","unresolved":false,"context_lines":[{"line_number":808,"context_line":"        first_tag \u003d tags.split()[0]"},{"line_number":809,"context_line":""},{"line_number":810,"context_line":"        # Not allow adding a new host to simplex system"},{"line_number":811,"context_line":"        is_simplex_host \u003d cutils.is_aio_simplex_system(self.dbapi)"},{"line_number":812,"context_line":"        if \u0027pxeboot\u0027 \u003d\u003d first_tag and not is_simplex_host:"},{"line_number":813,"context_line":"            mgmt_network \u003d self.dbapi.network_get_by_type("},{"line_number":814,"context_line":"                constants.NETWORK_TYPE_MGMT)"}],"source_content_type":"text/x-python","patch_set":7,"id":"1d9dfbea_10b97991","line":811,"range":{"start_line":811,"start_character":8,"end_line":811,"end_character":24},"in_reply_to":"c8f384f5_0164e4b7","updated":"2022-06-20 13:11:57.000000000","message":"Done","commit_id":"609b1a7757622837e6ca76e2dc24ac68b63c2f79"},{"author":{"_account_id":34895,"name":"Junfeng Li","display_name":"Junfeng (Shawn) Li","email":"junfeng.li@windriver.com","username":"junfeng-li"},"change_message_id":"838a4e8b85fc384df33f6c5d267df01ceb2837af","unresolved":false,"context_lines":[{"line_number":808,"context_line":"        first_tag \u003d tags.split()[0]"},{"line_number":809,"context_line":""},{"line_number":810,"context_line":"        # Not allow adding a new host to simplex system"},{"line_number":811,"context_line":"        is_simplex_host \u003d cutils.is_aio_simplex_system(self.dbapi)"},{"line_number":812,"context_line":"        if \u0027pxeboot\u0027 \u003d\u003d first_tag and not is_simplex_host:"},{"line_number":813,"context_line":"            mgmt_network \u003d self.dbapi.network_get_by_type("},{"line_number":814,"context_line":"                constants.NETWORK_TYPE_MGMT)"}],"source_content_type":"text/x-python","patch_set":7,"id":"e98d1a45_f538f7ac","line":811,"range":{"start_line":811,"start_character":8,"end_line":811,"end_character":24},"in_reply_to":"c8f384f5_0164e4b7","updated":"2022-06-22 13:46:26.000000000","message":"Done","commit_id":"609b1a7757622837e6ca76e2dc24ac68b63c2f79"}],"sysinv/sysinv/sysinv/sysinv/tests/api/test_host.py":[{"author":{"_account_id":9926,"name":"John Kung","email":"john.kung@windriver.com","username":"jkung"},"change_message_id":"63bd08ec01edcd345c6211aa7b4f40c7ebd8bc22","unresolved":true,"context_lines":[{"line_number":1630,"context_line":"        self.assertEqual(response.content_type, \u0027application/json\u0027)"},{"line_number":1631,"context_line":"        self.assertEqual(http_client.BAD_REQUEST, response.status_int)"},{"line_number":1632,"context_line":"        self.assertTrue(response.json[\u0027error_message\u0027])"},{"line_number":1633,"context_line":"        self.assertIn(\"Deleting a host on a simplex system is not allowed.\", response.json[\u0027error_message\u0027])"},{"line_number":1634,"context_line":""},{"line_number":1635,"context_line":""},{"line_number":1636,"context_line":"class TestDelete(TestHost):"}],"source_content_type":"text/x-python","patch_set":10,"id":"e4a6e491_5d96958d","line":1633,"updated":"2022-06-22 14:08:02.000000000","message":"this will also need update to align with the corresponding change in raised exception.\n\nnit: line should be split due to line length","commit_id":"56d07836f3c19b9027c83df85937d03de5d876dc"},{"author":{"_account_id":34895,"name":"Junfeng Li","display_name":"Junfeng (Shawn) Li","email":"junfeng.li@windriver.com","username":"junfeng-li"},"change_message_id":"9b8fb368c81a99c5e95df63f1b7adb309c0c3464","unresolved":false,"context_lines":[{"line_number":1630,"context_line":"        self.assertEqual(response.content_type, \u0027application/json\u0027)"},{"line_number":1631,"context_line":"        self.assertEqual(http_client.BAD_REQUEST, response.status_int)"},{"line_number":1632,"context_line":"        self.assertTrue(response.json[\u0027error_message\u0027])"},{"line_number":1633,"context_line":"        self.assertIn(\"Deleting a host on a simplex system is not allowed.\", response.json[\u0027error_message\u0027])"},{"line_number":1634,"context_line":""},{"line_number":1635,"context_line":""},{"line_number":1636,"context_line":"class TestDelete(TestHost):"}],"source_content_type":"text/x-python","patch_set":10,"id":"6b69443a_78d1c67f","line":1633,"in_reply_to":"e4a6e491_5d96958d","updated":"2022-06-22 15:13:26.000000000","message":"Done","commit_id":"56d07836f3c19b9027c83df85937d03de5d876dc"}]}
