)]}'
{"/COMMIT_MSG":[{"author":{"_account_id":6618,"name":"Ruby Loo","email":"opensrloo@gmail.com","username":"rloo"},"change_message_id":"1c095601226d60b788bd49ebc2a95495ec8f7703","unresolved":false,"context_lines":[{"line_number":7,"context_line":"Fix swiftclient creation"},{"line_number":8,"context_line":""},{"line_number":9,"context_line":"somewhere along the way we lost most of swiftclient options in a belief"},{"line_number":10,"context_line":"that those are handled by the keystoneauth session passes to"},{"line_number":11,"context_line":"swiftclient."},{"line_number":12,"context_line":""},{"line_number":13,"context_line":"In fact though, swiftclient only uses the session to get itself an"}],"source_content_type":"text/x-gerrit-commit-message","patch_set":29,"id":"ff82abbf_d8d4a74a","line":10,"updated":"2017-11-28 19:51:50.000000000","message":"nit s/passes/passed/","commit_id":"20494e36084052524af2d2e8adf8db658a1239e8"},{"author":{"_account_id":11655,"name":"Julia Kreger","email":"juliaashleykreger@gmail.com","username":"jkreger","status":"Flying to the moon with a Jetpack!"},"change_message_id":"7d0ef8ea27d8cc89ce417ab875143557228cede8","unresolved":false,"context_lines":[{"line_number":8,"context_line":""},{"line_number":9,"context_line":"somewhere along the way we lost most of swiftclient options in a belief"},{"line_number":10,"context_line":"that those are handled by the keystoneauth session passes to"},{"line_number":11,"context_line":"swiftclient."},{"line_number":12,"context_line":""},{"line_number":13,"context_line":"In fact though, swiftclient only uses the session to get itself an"},{"line_number":14,"context_line":"endpoint and a token, but is has no SessionClient, and does not use that"}],"source_content_type":"text/x-gerrit-commit-message","patch_set":29,"id":"ff82abbf_abbf275f","line":11,"updated":"2017-11-27 23:17:54.000000000","message":"\\o/","commit_id":"20494e36084052524af2d2e8adf8db658a1239e8"},{"author":{"_account_id":6618,"name":"Ruby Loo","email":"opensrloo@gmail.com","username":"rloo"},"change_message_id":"1c095601226d60b788bd49ebc2a95495ec8f7703","unresolved":false,"context_lines":[{"line_number":11,"context_line":"swiftclient."},{"line_number":12,"context_line":""},{"line_number":13,"context_line":"In fact though, swiftclient only uses the session to get itself an"},{"line_number":14,"context_line":"endpoint and a token, but is has no SessionClient, and does not use that"},{"line_number":15,"context_line":"passed in session to make further requests to swift itself."},{"line_number":16,"context_line":""},{"line_number":17,"context_line":"This patch restores all the logic that we had to decompose the session"}],"source_content_type":"text/x-gerrit-commit-message","patch_set":29,"id":"ff82abbf_58c897a4","line":14,"updated":"2017-11-28 19:51:50.000000000","message":"nit s/is has/it has/","commit_id":"20494e36084052524af2d2e8adf8db658a1239e8"},{"author":{"_account_id":6618,"name":"Ruby Loo","email":"opensrloo@gmail.com","username":"rloo"},"change_message_id":"1c095601226d60b788bd49ebc2a95495ec8f7703","unresolved":false,"context_lines":[{"line_number":16,"context_line":""},{"line_number":17,"context_line":"This patch restores all the logic that we had to decompose the session"},{"line_number":18,"context_line":"object loaded from config to options that are passed to swiftclient"},{"line_number":19,"context_line":"explicitly."},{"line_number":20,"context_line":""},{"line_number":21,"context_line":"Change-Id: I08f382aa9d2ad22f7dbd65f7b54a8dd0a765ba44"},{"line_number":22,"context_line":"Partial-Bug: #1699547"}],"source_content_type":"text/x-gerrit-commit-message","patch_set":29,"id":"ff82abbf_d83907a4","line":19,"updated":"2017-11-28 19:51:50.000000000","message":"this sounds like a bug -- it was something that worked in ironic, but doesn\u0027t work now, that you\u0027re fixing so it works again? Or did it never work?","commit_id":"20494e36084052524af2d2e8adf8db658a1239e8"},{"author":{"_account_id":9542,"name":"Pavlo Shchelokovskyy","email":"pshchelokovskyy@mirantis.com","username":"pshchelo"},"change_message_id":"93b98186d5864516774db839d9e9e1bdd7f69aa7","unresolved":false,"context_lines":[{"line_number":16,"context_line":""},{"line_number":17,"context_line":"This patch restores all the logic that we had to decompose the session"},{"line_number":18,"context_line":"object loaded from config to options that are passed to swiftclient"},{"line_number":19,"context_line":"explicitly."},{"line_number":20,"context_line":""},{"line_number":21,"context_line":"Change-Id: I08f382aa9d2ad22f7dbd65f7b54a8dd0a765ba44"},{"line_number":22,"context_line":"Partial-Bug: #1699547"}],"source_content_type":"text/x-gerrit-commit-message","patch_set":29,"id":"df87a7cf_6b7d241b","line":19,"in_reply_to":"ff82abbf_a455edfb","updated":"2017-12-04 14:13:02.000000000","message":"reported as https://bugs.launchpad.net/ironic/+bug/1736158","commit_id":"20494e36084052524af2d2e8adf8db658a1239e8"},{"author":{"_account_id":9542,"name":"Pavlo Shchelokovskyy","email":"pshchelokovskyy@mirantis.com","username":"pshchelo"},"change_message_id":"fd5eb5a503d46c938eb5d44880860427a31ab24b","unresolved":false,"context_lines":[{"line_number":16,"context_line":""},{"line_number":17,"context_line":"This patch restores all the logic that we had to decompose the session"},{"line_number":18,"context_line":"object loaded from config to options that are passed to swiftclient"},{"line_number":19,"context_line":"explicitly."},{"line_number":20,"context_line":""},{"line_number":21,"context_line":"Change-Id: I08f382aa9d2ad22f7dbd65f7b54a8dd0a765ba44"},{"line_number":22,"context_line":"Partial-Bug: #1699547"}],"source_content_type":"text/x-gerrit-commit-message","patch_set":29,"id":"ff82abbf_a455edfb","line":19,"in_reply_to":"ff82abbf_d83907a4","updated":"2017-11-29 07:34:48.000000000","message":"it was not reported, but AFAIU it is broken ATM - you won\u0027t be able to use the SwiftAPI object when swift API is under SSL with a custom CA - the client will successfully fetch a token, but will not be able to access swift API itself due to missing knowledge of where to get that custom cert (or if it should ignore it altogether, as default to \u0027insecure\u0027 is False).\n\nIt was working before, and it appears it was in fact my commit that broke that [0] :) Before we were doing exactly what we are reverting to now - deconstructing SSL-related options from loaded session back to explicit options to pass to swiftclient:\n\n[0] https://github.com/openstack/ironic/commit/5b10a82bf6b0cb3e7b4762d7f5022882b22d96f6#diff-2957f2b0b2c2d465611b08a7a097bfcfL54","commit_id":"20494e36084052524af2d2e8adf8db658a1239e8"}],"ironic/common/swift.py":[{"author":{"_account_id":9542,"name":"Pavlo Shchelokovskyy","email":"pshchelokovskyy@mirantis.com","username":"pshchelo"},"change_message_id":"eb30ffe9d2c2f4dfdfefcc926b76c34574fb44f8","unresolved":false,"context_lines":[{"line_number":47,"context_line":"         with swift are missing."},{"line_number":48,"context_line":"        \"\"\""},{"line_number":49,"context_line":"        params \u003d {\u0027retries\u0027: CONF.swift.swift_max_retries}"},{"line_number":50,"context_line":"        if CONF.deploy.object_store_endpoint_type \u003d\u003d \u0027radosgw\u0027:"},{"line_number":51,"context_line":"            params \u003d {\u0027authurl\u0027: CONF.swift.auth_url,"},{"line_number":52,"context_line":"                      \u0027user\u0027: CONF.swift.username,"},{"line_number":53,"context_line":"                      \u0027key\u0027: CONF.swift.password}"},{"line_number":54,"context_line":"        else:"},{"line_number":55,"context_line":"            # NOTE(aNuposic): Session will be initiated only when connection"},{"line_number":56,"context_line":"            # with swift is initialized. Since v3.2.0 swiftclient supports"}],"source_content_type":"text/x-python","patch_set":2,"id":"5f201791_78cbd452","line":53,"range":{"start_line":50,"start_character":0,"end_line":53,"end_character":49},"updated":"2017-11-01 10:12:17.000000000","message":"not actually sure why we need special handling of RadosGW.. doesn\u0027t it support standard keystone tokens?","commit_id":"4b80e9ade51fbcd698ab8f5d46331b10c7a2a4b7"},{"author":{"_account_id":9542,"name":"Pavlo Shchelokovskyy","email":"pshchelokovskyy@mirantis.com","username":"pshchelo"},"change_message_id":"a9ae31dfbe1412953a8dc6130de372fc9275551e","unresolved":false,"context_lines":[{"line_number":46,"context_line":"         with swift are missing."},{"line_number":47,"context_line":"        \"\"\""},{"line_number":48,"context_line":"        params \u003d {}"},{"line_number":49,"context_line":"        if CONF.deploy.object_store_endpoint_type \u003d\u003d \u0027radosgw\u0027:"},{"line_number":50,"context_line":"            params \u003d {\u0027authurl\u0027: CONF.swift.auth_url,"},{"line_number":51,"context_line":"                      \u0027user\u0027: CONF.swift.username,"},{"line_number":52,"context_line":"                      \u0027key\u0027: CONF.swift.password}"},{"line_number":53,"context_line":"        else:"},{"line_number":54,"context_line":"            # NOTE(aNuposic): Session will be initiated only when connection"},{"line_number":55,"context_line":"            # with swift is initialized. Since v3.2.0 swiftclient supports"}],"source_content_type":"text/x-python","patch_set":5,"id":"3f1d235d_71354ff7","side":"PARENT","line":52,"range":{"start_line":49,"start_character":0,"end_line":52,"end_character":49},"updated":"2017-06-29 10:20:22.000000000","message":"do we really need such distinction between swift and radosgw?","commit_id":"62b3efe774fd4a1f231afdac19da6bfa11c8cea3"},{"author":{"_account_id":10206,"name":"Madhuri Kumari","email":"madhuri.kumari@intel.com","username":"Madhuri"},"change_message_id":"c55a9b78cf4357521462e305ad10928b5b90f7af","unresolved":false,"context_lines":[{"line_number":59,"context_line":"            # (adapter-based) SessionClient, and uses the passed in session"},{"line_number":60,"context_line":"            # only to resolve endpoint and get a token,"},{"line_number":61,"context_line":"            # but not to make further requests to Swift itself."},{"line_number":62,"context_line":"            # Thus we need to deconstruct back all the adapter- and"},{"line_number":63,"context_line":"            # session-related args as loaded by keystoneauth from config"},{"line_number":64,"context_line":"            # to pass them to the client explicitly."},{"line_number":65,"context_line":"            # TODO(pas-ha) re-write this when swiftclient is brought on par"}],"source_content_type":"text/x-python","patch_set":7,"id":"3f1d235d_24950541","line":62,"range":{"start_line":62,"start_character":62,"end_line":62,"end_character":63},"updated":"2017-07-03 09:11:16.000000000","message":"Can be removed?","commit_id":"83511772a023f6d04894581082dd38c37314838e"},{"author":{"_account_id":24828,"name":"Kaifeng Wang","email":"kaifeng.w@gmail.com","username":"wangkf"},"change_message_id":"c5165bd6c814503646f39eaa8b2e8ef343701029","unresolved":false,"context_lines":[{"line_number":62,"context_line":"            # Thus we need to deconstruct back all the adapter- and"},{"line_number":63,"context_line":"            # session-related args as loaded by keystoneauth from config"},{"line_number":64,"context_line":"            # to pass them to the client explicitly."},{"line_number":65,"context_line":"            # TODO(pas-ha) re-write this when swiftclient is brought on par"},{"line_number":66,"context_line":"            # with other OS clients re auth plugins, sessions and adapters"},{"line_number":67,"context_line":"            # support."},{"line_number":68,"context_line":"            session \u003d _get_swift_session()"}],"source_content_type":"text/x-python","patch_set":7,"id":"3f1d235d_3d84010c","line":65,"range":{"start_line":65,"start_character":72,"end_line":65,"end_character":75},"updated":"2017-07-03 03:19:33.000000000","message":"parity","commit_id":"83511772a023f6d04894581082dd38c37314838e"},{"author":{"_account_id":9542,"name":"Pavlo Shchelokovskyy","email":"pshchelokovskyy@mirantis.com","username":"pshchelo"},"change_message_id":"400dbff49908e6876ef688b49703bea0cbae5ab9","unresolved":false,"context_lines":[{"line_number":62,"context_line":"            # Thus we need to deconstruct back all the adapter- and"},{"line_number":63,"context_line":"            # session-related args as loaded by keystoneauth from config"},{"line_number":64,"context_line":"            # to pass them to the client explicitly."},{"line_number":65,"context_line":"            # TODO(pas-ha) re-write this when swiftclient is brought on par"},{"line_number":66,"context_line":"            # with other OS clients re auth plugins, sessions and adapters"},{"line_number":67,"context_line":"            # support."},{"line_number":68,"context_line":"            session \u003d _get_swift_session()"}],"source_content_type":"text/x-python","patch_set":7,"id":"3f1d235d_987c40ec","line":65,"range":{"start_line":65,"start_character":72,"end_line":65,"end_character":75},"in_reply_to":"3f1d235d_3d84010c","updated":"2017-07-03 07:19:40.000000000","message":"not really :) http://idioms.thefreedictionary.com/on+par","commit_id":"83511772a023f6d04894581082dd38c37314838e"},{"author":{"_account_id":12356,"name":"Vladyslav Drok","email":"vdrok@mirantis.com","username":"vdrok"},"change_message_id":"15dae435bc7f8702aaa7229d4dd9ea1bc14438da","unresolved":false,"context_lines":[{"line_number":64,"context_line":"            # to pass them to the client explicitly."},{"line_number":65,"context_line":"            # TODO(pas-ha) re-write this when swiftclient is brought on par"},{"line_number":66,"context_line":"            # with other OS clients re auth plugins, sessions and adapters"},{"line_number":67,"context_line":"            # support."},{"line_number":68,"context_line":"            session \u003d _get_swift_session()"},{"line_number":69,"context_line":"            params \u003d {\u0027session\u0027: session}"},{"line_number":70,"context_line":"            adapter \u003d keystone.get_adapter(\u0027swift\u0027, session\u003dsession)"}],"source_content_type":"text/x-python","patch_set":12,"id":"df3967d1_e5431941","line":67,"updated":"2017-08-04 15:57:12.000000000","message":":( We might need to add a reno regarding this stuff","commit_id":"d2f4059b42a446f42e99253766b987c0a670a711"},{"author":{"_account_id":9542,"name":"Pavlo Shchelokovskyy","email":"pshchelokovskyy@mirantis.com","username":"pshchelo"},"change_message_id":"50116e8bb7f9b8f7d0ab195ca5ba8106995cd8a2","unresolved":false,"context_lines":[{"line_number":64,"context_line":"            # to pass them to the client explicitly."},{"line_number":65,"context_line":"            # TODO(pas-ha) re-write this when swiftclient is brought on par"},{"line_number":66,"context_line":"            # with other OS clients re auth plugins, sessions and adapters"},{"line_number":67,"context_line":"            # support."},{"line_number":68,"context_line":"            session \u003d _get_swift_session()"},{"line_number":69,"context_line":"            params \u003d {\u0027session\u0027: session}"},{"line_number":70,"context_line":"            adapter \u003d keystone.get_adapter(\u0027swift\u0027, session\u003dsession)"}],"source_content_type":"text/x-python","patch_set":12,"id":"bf3e73b7_6cc5868e","line":67,"in_reply_to":"df3967d1_e5431941","updated":"2017-08-07 07:34:26.000000000","message":"indeed, it should be added to \"fixes\". will do","commit_id":"d2f4059b42a446f42e99253766b987c0a670a711"},{"author":{"_account_id":11655,"name":"Julia Kreger","email":"juliaashleykreger@gmail.com","username":"jkreger","status":"Flying to the moon with a Jetpack!"},"change_message_id":"af88f765c26d8ed1c9dc17aa47967f521de670a5","unresolved":false,"context_lines":[{"line_number":48,"context_line":"        \"\"\""},{"line_number":49,"context_line":"        params \u003d {\u0027retries\u0027: CONF.swift.swift_max_retries}"},{"line_number":50,"context_line":"        if CONF.deploy.object_store_endpoint_type \u003d\u003d \u0027radosgw\u0027:"},{"line_number":51,"context_line":"            params \u003d {\u0027authurl\u0027: CONF.swift.auth_url,"},{"line_number":52,"context_line":"                      \u0027user\u0027: CONF.swift.username,"},{"line_number":53,"context_line":"                      \u0027key\u0027: CONF.swift.password}"},{"line_number":54,"context_line":"        else:"}],"source_content_type":"text/x-python","patch_set":28,"id":"ff82abbf_dcdad7e7","line":51,"updated":"2017-11-22 15:38:54.000000000","message":"Shouldn\u0027t this just append to the existing parameters?","commit_id":"b6162a05165183e4a685c4bd67eb195a35ead53c"},{"author":{"_account_id":9542,"name":"Pavlo Shchelokovskyy","email":"pshchelokovskyy@mirantis.com","username":"pshchelo"},"change_message_id":"186ce0269e6697ed93485b77aab94a226fb78ac4","unresolved":false,"context_lines":[{"line_number":48,"context_line":"        \"\"\""},{"line_number":49,"context_line":"        params \u003d {\u0027retries\u0027: CONF.swift.swift_max_retries}"},{"line_number":50,"context_line":"        if CONF.deploy.object_store_endpoint_type \u003d\u003d \u0027radosgw\u0027:"},{"line_number":51,"context_line":"            params \u003d {\u0027authurl\u0027: CONF.swift.auth_url,"},{"line_number":52,"context_line":"                      \u0027user\u0027: CONF.swift.username,"},{"line_number":53,"context_line":"                      \u0027key\u0027: CONF.swift.password}"},{"line_number":54,"context_line":"        else:"}],"source_content_type":"text/x-python","patch_set":28,"id":"ff82abbf_e787e60e","line":51,"in_reply_to":"ff82abbf_dcdad7e7","updated":"2017-11-23 13:51:35.000000000","message":"Done","commit_id":"b6162a05165183e4a685c4bd67eb195a35ead53c"},{"author":{"_account_id":11655,"name":"Julia Kreger","email":"juliaashleykreger@gmail.com","username":"jkreger","status":"Flying to the moon with a Jetpack!"},"change_message_id":"af88f765c26d8ed1c9dc17aa47967f521de670a5","unresolved":false,"context_lines":[{"line_number":67,"context_line":"            # support."},{"line_number":68,"context_line":"            # TODO(pas-ha) pass the context here and use token from context"},{"line_number":69,"context_line":"            # with service auth"},{"line_number":70,"context_line":"            params \u003d {}"},{"line_number":71,"context_line":"            params[\u0027session\u0027] \u003d session \u003d _get_swift_session()"},{"line_number":72,"context_line":"            adapter \u003d keystone.get_adapter(\u0027swift\u0027, session\u003dsession)"},{"line_number":73,"context_line":"            params[\u0027os_options\u0027] \u003d {"}],"source_content_type":"text/x-python","patch_set":28,"id":"ff82abbf_bcdfd3d4","line":70,"updated":"2017-11-22 15:38:54.000000000","message":"Should we be resetting the param set on line 49 here?","commit_id":"b6162a05165183e4a685c4bd67eb195a35ead53c"},{"author":{"_account_id":9542,"name":"Pavlo Shchelokovskyy","email":"pshchelokovskyy@mirantis.com","username":"pshchelo"},"change_message_id":"186ce0269e6697ed93485b77aab94a226fb78ac4","unresolved":false,"context_lines":[{"line_number":67,"context_line":"            # support."},{"line_number":68,"context_line":"            # TODO(pas-ha) pass the context here and use token from context"},{"line_number":69,"context_line":"            # with service auth"},{"line_number":70,"context_line":"            params \u003d {}"},{"line_number":71,"context_line":"            params[\u0027session\u0027] \u003d session \u003d _get_swift_session()"},{"line_number":72,"context_line":"            adapter \u003d keystone.get_adapter(\u0027swift\u0027, session\u003dsession)"},{"line_number":73,"context_line":"            params[\u0027os_options\u0027] \u003d {"}],"source_content_type":"text/x-python","patch_set":28,"id":"ff82abbf_877e1a17","line":70,"in_reply_to":"ff82abbf_bcdfd3d4","updated":"2017-11-23 13:51:35.000000000","message":"Done","commit_id":"b6162a05165183e4a685c4bd67eb195a35ead53c"},{"author":{"_account_id":11655,"name":"Julia Kreger","email":"juliaashleykreger@gmail.com","username":"jkreger","status":"Flying to the moon with a Jetpack!"},"change_message_id":"7d0ef8ea27d8cc89ce417ab875143557228cede8","unresolved":false,"context_lines":[{"line_number":52,"context_line":"                           \u0027user\u0027: CONF.swift.username,"},{"line_number":53,"context_line":"                           \u0027key\u0027: CONF.swift.password})"},{"line_number":54,"context_line":"        else:"},{"line_number":55,"context_line":"            # NOTE(aNuposic): Session will be initiated only when connection"},{"line_number":56,"context_line":"            # with swift is initialized. Since v3.2.0 swiftclient supports"},{"line_number":57,"context_line":"            # instantiating the API client from keystoneauth session."},{"line_number":58,"context_line":"            # NOTE(pas-ha) swiftclient still (as of 3.3.0) does not use"},{"line_number":59,"context_line":"            # (adapter-based) SessionClient, and uses the passed in session"},{"line_number":60,"context_line":"            # only to resolve endpoint and get a token,"}],"source_content_type":"text/x-python","patch_set":29,"id":"ff82abbf_7654a6fe","line":57,"range":{"start_line":55,"start_character":12,"end_line":57,"end_character":69},"updated":"2017-11-27 23:17:54.000000000","message":"This... doesn\u0027t seem to align with the commit message? Does it make sense to retain?","commit_id":"20494e36084052524af2d2e8adf8db658a1239e8"},{"author":{"_account_id":9542,"name":"Pavlo Shchelokovskyy","email":"pshchelokovskyy@mirantis.com","username":"pshchelo"},"change_message_id":"fd5eb5a503d46c938eb5d44880860427a31ab24b","unresolved":false,"context_lines":[{"line_number":52,"context_line":"                           \u0027user\u0027: CONF.swift.username,"},{"line_number":53,"context_line":"                           \u0027key\u0027: CONF.swift.password})"},{"line_number":54,"context_line":"        else:"},{"line_number":55,"context_line":"            # NOTE(aNuposic): Session will be initiated only when connection"},{"line_number":56,"context_line":"            # with swift is initialized. Since v3.2.0 swiftclient supports"},{"line_number":57,"context_line":"            # instantiating the API client from keystoneauth session."},{"line_number":58,"context_line":"            # NOTE(pas-ha) swiftclient still (as of 3.3.0) does not use"},{"line_number":59,"context_line":"            # (adapter-based) SessionClient, and uses the passed in session"},{"line_number":60,"context_line":"            # only to resolve endpoint and get a token,"}],"source_content_type":"text/x-python","patch_set":29,"id":"ff82abbf_497afcb9","line":57,"range":{"start_line":55,"start_character":12,"end_line":57,"end_character":69},"in_reply_to":"ff82abbf_7654a6fe","updated":"2017-11-29 07:34:48.000000000","message":"yeah, it is not correct in fact. Will remove.","commit_id":"20494e36084052524af2d2e8adf8db658a1239e8"},{"author":{"_account_id":11655,"name":"Julia Kreger","email":"juliaashleykreger@gmail.com","username":"jkreger","status":"Flying to the moon with a Jetpack!"},"change_message_id":"7d0ef8ea27d8cc89ce417ab875143557228cede8","unresolved":false,"context_lines":[{"line_number":55,"context_line":"            # NOTE(aNuposic): Session will be initiated only when connection"},{"line_number":56,"context_line":"            # with swift is initialized. Since v3.2.0 swiftclient supports"},{"line_number":57,"context_line":"            # instantiating the API client from keystoneauth session."},{"line_number":58,"context_line":"            # NOTE(pas-ha) swiftclient still (as of 3.3.0) does not use"},{"line_number":59,"context_line":"            # (adapter-based) SessionClient, and uses the passed in session"},{"line_number":60,"context_line":"            # only to resolve endpoint and get a token,"},{"line_number":61,"context_line":"            # but not to make further requests to Swift itself."},{"line_number":62,"context_line":"            # Thus we need to deconstruct back all the adapter- and"}],"source_content_type":"text/x-python","patch_set":29,"id":"ff82abbf_eb7d2fb2","line":59,"range":{"start_line":58,"start_character":26,"end_line":59,"end_character":43},"updated":"2017-11-27 23:17:54.000000000","message":"Is there an open bug for this? If so, we should note it in-line.","commit_id":"20494e36084052524af2d2e8adf8db658a1239e8"},{"author":{"_account_id":9542,"name":"Pavlo Shchelokovskyy","email":"pshchelokovskyy@mirantis.com","username":"pshchelo"},"change_message_id":"a282e32498e66fb5a59e48c7d02bd5d6b3a5d601","unresolved":false,"context_lines":[{"line_number":55,"context_line":"            # NOTE(aNuposic): Session will be initiated only when connection"},{"line_number":56,"context_line":"            # with swift is initialized. Since v3.2.0 swiftclient supports"},{"line_number":57,"context_line":"            # instantiating the API client from keystoneauth session."},{"line_number":58,"context_line":"            # NOTE(pas-ha) swiftclient still (as of 3.3.0) does not use"},{"line_number":59,"context_line":"            # (adapter-based) SessionClient, and uses the passed in session"},{"line_number":60,"context_line":"            # only to resolve endpoint and get a token,"},{"line_number":61,"context_line":"            # but not to make further requests to Swift itself."},{"line_number":62,"context_line":"            # Thus we need to deconstruct back all the adapter- and"}],"source_content_type":"text/x-python","patch_set":29,"id":"df87a7cf_504571b2","line":59,"range":{"start_line":58,"start_character":26,"end_line":59,"end_character":43},"in_reply_to":"ff82abbf_a96b88ee","updated":"2017-12-04 13:46:35.000000000","message":"I have filed a bug https://bugs.launchpad.net/python-swiftclient/+bug/1736135","commit_id":"20494e36084052524af2d2e8adf8db658a1239e8"},{"author":{"_account_id":9542,"name":"Pavlo Shchelokovskyy","email":"pshchelokovskyy@mirantis.com","username":"pshchelo"},"change_message_id":"fd5eb5a503d46c938eb5d44880860427a31ab24b","unresolved":false,"context_lines":[{"line_number":55,"context_line":"            # NOTE(aNuposic): Session will be initiated only when connection"},{"line_number":56,"context_line":"            # with swift is initialized. Since v3.2.0 swiftclient supports"},{"line_number":57,"context_line":"            # instantiating the API client from keystoneauth session."},{"line_number":58,"context_line":"            # NOTE(pas-ha) swiftclient still (as of 3.3.0) does not use"},{"line_number":59,"context_line":"            # (adapter-based) SessionClient, and uses the passed in session"},{"line_number":60,"context_line":"            # only to resolve endpoint and get a token,"},{"line_number":61,"context_line":"            # but not to make further requests to Swift itself."},{"line_number":62,"context_line":"            # Thus we need to deconstruct back all the adapter- and"}],"source_content_type":"text/x-python","patch_set":29,"id":"ff82abbf_a96b88ee","line":59,"range":{"start_line":58,"start_character":26,"end_line":59,"end_character":43},"in_reply_to":"ff82abbf_eb7d2fb2","updated":"2017-11-29 07:34:48.000000000","message":"No, there\u0027s no open bug. Not sure if we call this a bug even. It is just the way swiftclient is implemented. Swift always was a black sheep of OpenStack IMO re how code is organized.\n\nBut I could file a bug suggesting them to also check the passed-in session for SSL options and use them when explicitly passed options are missing/are default.","commit_id":"20494e36084052524af2d2e8adf8db658a1239e8"}],"ironic/tests/unit/common/test_swift.py":[{"author":{"_account_id":6618,"name":"Ruby Loo","email":"opensrloo@gmail.com","username":"rloo"},"change_message_id":"b63aa98843e9ff781f0b1553ad79000d3c68e7dc","unresolved":false,"context_lines":[{"line_number":55,"context_line":"            cert\u003d\u0027spam\u0027,"},{"line_number":56,"context_line":"            cert_key\u003d\u0027ham\u0027,"},{"line_number":57,"context_line":"            os_options\u003d{\u0027object_storage_url\u0027: \u0027http://example.com/objects\u0027}"},{"line_number":58,"context_line":"        )"},{"line_number":59,"context_line":""},{"line_number":60,"context_line":"    def test___init___radosgw(self, connection_mock, swift_session_mock):"},{"line_number":61,"context_line":"        \"\"\"Check if client is properly initialized with radosgw\"\"\""}],"source_content_type":"text/x-python","patch_set":30,"id":"df87a7cf_96f0accb","line":58,"updated":"2017-12-05 16:47:36.000000000","message":"i think the only thing not being tested, are the diff values for session.verify (True, some string) but I\u0027m fine if they aren\u0027t tested.","commit_id":"82290e55ed1844390f4718622390d7310e37bb7c"}],"releasenotes/notes/fix-swift-ssl-options-d93d653dcd404960.yaml":[{"author":{"_account_id":11655,"name":"Julia Kreger","email":"juliaashleykreger@gmail.com","username":"jkreger","status":"Flying to the moon with a Jetpack!"},"change_message_id":"af88f765c26d8ed1c9dc17aa47967f521de670a5","unresolved":false,"context_lines":[{"line_number":2,"context_line":"fixes:"},{"line_number":3,"context_line":"  - |"},{"line_number":4,"context_line":"    Fixed ignoring of SSL-related configuration options when performing API"},{"line_number":5,"context_line":"    requests to Swift."},{"line_number":6,"context_line":"    Now all such options are deconstructed from session loaded from"},{"line_number":7,"context_line":"    configuartion file and are passed to the swiftclient explicitly."}],"source_content_type":"text/x-yaml","patch_set":28,"id":"ff82abbf_3ca2e34c","line":5,"updated":"2017-11-22 15:38:54.000000000","message":"Looking at the code, it seems like it was just the ability to make it insecure was broken. Is that correct?","commit_id":"b6162a05165183e4a685c4bd67eb195a35ead53c"},{"author":{"_account_id":6618,"name":"Ruby Loo","email":"opensrloo@gmail.com","username":"rloo"},"change_message_id":"1c095601226d60b788bd49ebc2a95495ec8f7703","unresolved":false,"context_lines":[{"line_number":2,"context_line":"fixes:"},{"line_number":3,"context_line":"  - |"},{"line_number":4,"context_line":"    Fixed ignoring of SSL-related configuration options when performing API"},{"line_number":5,"context_line":"    requests to Swift."},{"line_number":6,"context_line":"    Now all such options are deconstructed from session loaded from"},{"line_number":7,"context_line":"    configuartion file and are passed to the swiftclient explicitly."}],"source_content_type":"text/x-yaml","patch_set":28,"id":"ff82abbf_58e977e3","line":5,"in_reply_to":"ff82abbf_07820d50","updated":"2017-11-28 19:51:50.000000000","message":"Pavlo -- is the bug then, that if configured to use Swift behind SSL, it would fail? the swiftclient would always return failure and things wouldn\u0027t work in ironic? If so, that warrants a bug and we should be explicit about this in the release note. (wondering if it should be a sep patch from the rest of this work, but at this point, leave it all in this patch.)","commit_id":"b6162a05165183e4a685c4bd67eb195a35ead53c"},{"author":{"_account_id":9542,"name":"Pavlo Shchelokovskyy","email":"pshchelokovskyy@mirantis.com","username":"pshchelo"},"change_message_id":"186ce0269e6697ed93485b77aab94a226fb78ac4","unresolved":false,"context_lines":[{"line_number":2,"context_line":"fixes:"},{"line_number":3,"context_line":"  - |"},{"line_number":4,"context_line":"    Fixed ignoring of SSL-related configuration options when performing API"},{"line_number":5,"context_line":"    requests to Swift."},{"line_number":6,"context_line":"    Now all such options are deconstructed from session loaded from"},{"line_number":7,"context_line":"    configuartion file and are passed to the swiftclient explicitly."}],"source_content_type":"text/x-yaml","patch_set":28,"id":"ff82abbf_07820d50","line":5,"in_reply_to":"ff82abbf_3ca2e34c","updated":"2017-11-23 13:51:35.000000000","message":"no. as I explained in the comments, although swiftclient accepts a ksa Session (which encapsulates those SSL-related options), it uses it only for fetching a token form keystone, and further requests to Swift itself do not use this passed in session.\n\nThus one was effectively not able to contact Swift deployed behind SSL (with self-signed certs or with required client certs) as swiftclient was not using any of the options we thought we passed to it as part of a Session - it appears one has to pass them explicitly for them to have any effect.","commit_id":"b6162a05165183e4a685c4bd67eb195a35ead53c"},{"author":{"_account_id":6618,"name":"Ruby Loo","email":"opensrloo@gmail.com","username":"rloo"},"change_message_id":"1c095601226d60b788bd49ebc2a95495ec8f7703","unresolved":false,"context_lines":[{"line_number":1,"context_line":"---"},{"line_number":2,"context_line":"fixes:"},{"line_number":3,"context_line":"  - |"},{"line_number":4,"context_line":"    Fixed ignoring of SSL-related configuration options when performing API"},{"line_number":5,"context_line":"    requests to Swift."},{"line_number":6,"context_line":"    Now all such options are deconstructed from session loaded from"},{"line_number":7,"context_line":"    configuartion file and are passed to the swiftclient explicitly."}],"source_content_type":"text/x-yaml","patch_set":29,"id":"ff82abbf_3617e5a6","line":4,"updated":"2017-11-28 19:51:50.000000000","message":"nit s/Fixed/Fixes the/\n\nWhat was broken by the \u0027ignoring\u0027. What were the actual behaviour then, when we ignored them?\n\nI wonder if we want to open another bug to track this particular issue, in case someone encounters it.\n\nDid we always ignore them, or did we break it at some point?","commit_id":"20494e36084052524af2d2e8adf8db658a1239e8"},{"author":{"_account_id":9542,"name":"Pavlo Shchelokovskyy","email":"pshchelokovskyy@mirantis.com","username":"pshchelo"},"change_message_id":"93b98186d5864516774db839d9e9e1bdd7f69aa7","unresolved":false,"context_lines":[{"line_number":1,"context_line":"---"},{"line_number":2,"context_line":"fixes:"},{"line_number":3,"context_line":"  - |"},{"line_number":4,"context_line":"    Fixed ignoring of SSL-related configuration options when performing API"},{"line_number":5,"context_line":"    requests to Swift."},{"line_number":6,"context_line":"    Now all such options are deconstructed from session loaded from"},{"line_number":7,"context_line":"    configuartion file and are passed to the swiftclient explicitly."}],"source_content_type":"text/x-yaml","patch_set":29,"id":"df87a7cf_eb893426","line":4,"in_reply_to":"ff82abbf_3617e5a6","updated":"2017-12-04 14:13:02.000000000","message":"reported as https://bugs.launchpad.net/ironic/+bug/1736158\n\nwill add to the commit message","commit_id":"20494e36084052524af2d2e8adf8db658a1239e8"},{"author":{"_account_id":6618,"name":"Ruby Loo","email":"opensrloo@gmail.com","username":"rloo"},"change_message_id":"1c095601226d60b788bd49ebc2a95495ec8f7703","unresolved":false,"context_lines":[{"line_number":4,"context_line":"    Fixed ignoring of SSL-related configuration options when performing API"},{"line_number":5,"context_line":"    requests to Swift."},{"line_number":6,"context_line":"    Now all such options are deconstructed from session loaded from"},{"line_number":7,"context_line":"    configuartion file and are passed to the swiftclient explicitly."}],"source_content_type":"text/x-yaml","patch_set":29,"id":"ff82abbf_7848fb2b","line":7,"updated":"2017-11-28 19:51:50.000000000","message":"s/configuartion/configuration/","commit_id":"20494e36084052524af2d2e8adf8db658a1239e8"},{"author":{"_account_id":6618,"name":"Ruby Loo","email":"opensrloo@gmail.com","username":"rloo"},"change_message_id":"b63aa98843e9ff781f0b1553ad79000d3c68e7dc","unresolved":false,"context_lines":[{"line_number":2,"context_line":"fixes:"},{"line_number":3,"context_line":"  - |"},{"line_number":4,"context_line":"    Fixes a bug when SSL-related options in ``[swift]`` section of ironic"},{"line_number":5,"context_line":"    configuration file were ignored when performing API requests to Swift."}],"source_content_type":"text/x-yaml","patch_set":30,"id":"df87a7cf_56d2245e","line":5,"updated":"2017-12-05 16:47:36.000000000","message":"nit, would be good to add a link to the bug https://launchpad.net/bugs/1736158 because it gives more info as to what happens when those configs are ignored. wondering if we want to actually mention here, what it means that they are ignored, but then I\u0027d have to review it...","commit_id":"82290e55ed1844390f4718622390d7310e37bb7c"}]}
