)]}'
{"octavia/amphorae/backends/agent/api_server/server.py":[{"author":{"_account_id":11628,"name":"Michael Johnson","email":"johnsomor@gmail.com","username":"johnsom"},"change_message_id":"989f0d56c5bf94b2684dfc26e390a6006105441b","unresolved":false,"context_lines":[{"line_number":237,"context_line":""},{"line_number":238,"context_line":"            CONF.mutate_config_files()"},{"line_number":239,"context_line":"        except Exception as e:"},{"line_number":240,"context_line":"            LOG.error(\"Unable to update amphora-agent configuration: %s\", e)"},{"line_number":241,"context_line":"            return webob.Response(json\u003ddict("},{"line_number":242,"context_line":"                message\u003d\"Unable to update amphora-agent configuration.\","},{"line_number":243,"context_line":"                details\u003dstr(e)), status\u003d500)"}],"source_content_type":"text/x-python","patch_set":1,"id":"1f621f24_b7d47bea","line":240,"range":{"start_line":240,"start_character":74,"end_line":240,"end_character":75},"updated":"2020-11-12 19:14:28.000000000","message":"This should be str(e) for python3 as exceptions can not have an associated string representation. Using str() gives an empty string instead of raising another error.","commit_id":"e5f5808ffb8dec070d73cb1d71ec327cda810873"}],"octavia/amphorae/drivers/haproxy/rest_api_driver.py":[{"author":{"_account_id":11628,"name":"Michael Johnson","email":"johnsomor@gmail.com","username":"johnsom"},"change_message_id":"989f0d56c5bf94b2684dfc26e390a6006105441b","unresolved":false,"context_lines":[{"line_number":205,"context_line":"                except Exception as e:"},{"line_number":206,"context_line":"                    LOG.exception(\u0027Unable to update listener %s due to \u0027"},{"line_number":207,"context_line":"                                  \u0027\"%s\". Skipping this listener.\u0027,"},{"line_number":208,"context_line":"                                  listener.id, e)"},{"line_number":209,"context_line":"                    listener_repo \u003d repo.ListenerRepository()"},{"line_number":210,"context_line":"                    listener_repo.update(db_apis.get_session(), listener.id,"},{"line_number":211,"context_line":"                                         provisioning_status\u003dconsts.ERROR,"}],"source_content_type":"text/x-python","patch_set":1,"id":"1f621f24_7725c308","line":208,"range":{"start_line":208,"start_character":47,"end_line":208,"end_character":48},"updated":"2020-11-12 19:14:28.000000000","message":"This should be str(e) too. Not your fault, but should be.","commit_id":"e5f5808ffb8dec070d73cb1d71ec327cda810873"}],"octavia/cmd/house_keeping.py":[{"author":{"_account_id":11628,"name":"Michael Johnson","email":"johnsomor@gmail.com","username":"johnsom"},"change_message_id":"989f0d56c5bf94b2684dfc26e390a6006105441b","unresolved":false,"context_lines":[{"line_number":48,"context_line":"            spare_amp.spare_check()"},{"line_number":49,"context_line":"        except Exception as e:"},{"line_number":50,"context_line":"            LOG.debug(\u0027spare_amphora caught the following exception and \u0027"},{"line_number":51,"context_line":"                      \u0027is restarting: %s\u0027, e)"},{"line_number":52,"context_line":"        spare_amp_thread_event.wait(interval)"},{"line_number":53,"context_line":""},{"line_number":54,"context_line":""}],"source_content_type":"text/x-python","patch_set":1,"id":"1f621f24_97585f88","line":51,"range":{"start_line":51,"start_character":43,"end_line":51,"end_character":44},"updated":"2020-11-12 19:14:28.000000000","message":"str(e)","commit_id":"e5f5808ffb8dec070d73cb1d71ec327cda810873"},{"author":{"_account_id":11628,"name":"Michael Johnson","email":"johnsomor@gmail.com","username":"johnsom"},"change_message_id":"989f0d56c5bf94b2684dfc26e390a6006105441b","unresolved":false,"context_lines":[{"line_number":70,"context_line":"            db_cleanup.cleanup_load_balancers()"},{"line_number":71,"context_line":"        except Exception as e:"},{"line_number":72,"context_line":"            LOG.debug(\u0027db_cleanup caught the following exception and \u0027"},{"line_number":73,"context_line":"                      \u0027is restarting: %s\u0027, e)"},{"line_number":74,"context_line":"        db_cleanup_thread_event.wait(interval)"},{"line_number":75,"context_line":""},{"line_number":76,"context_line":""}],"source_content_type":"text/x-python","patch_set":1,"id":"1f621f24_17ca8f19","line":73,"range":{"start_line":73,"start_character":43,"end_line":73,"end_character":44},"updated":"2020-11-12 19:14:28.000000000","message":"str(e)","commit_id":"e5f5808ffb8dec070d73cb1d71ec327cda810873"},{"author":{"_account_id":11628,"name":"Michael Johnson","email":"johnsomor@gmail.com","username":"johnsom"},"change_message_id":"989f0d56c5bf94b2684dfc26e390a6006105441b","unresolved":false,"context_lines":[{"line_number":86,"context_line":"            cert_rotate.rotate()"},{"line_number":87,"context_line":"        except Exception as e:"},{"line_number":88,"context_line":"            LOG.debug(\u0027cert_rotation caught the following exception and \u0027"},{"line_number":89,"context_line":"                      \u0027is restarting: %s\u0027, e)"},{"line_number":90,"context_line":"        cert_rotate_thread_event.wait(interval)"},{"line_number":91,"context_line":""},{"line_number":92,"context_line":""}],"source_content_type":"text/x-python","patch_set":1,"id":"1f621f24_37d34bd7","line":89,"range":{"start_line":89,"start_character":43,"end_line":89,"end_character":45},"updated":"2020-11-12 19:14:28.000000000","message":"str(e)","commit_id":"e5f5808ffb8dec070d73cb1d71ec327cda810873"}],"octavia/controller/worker/v1/controller_worker.py":[{"author":{"_account_id":11628,"name":"Michael Johnson","email":"johnsomor@gmail.com","username":"johnsom"},"change_message_id":"989f0d56c5bf94b2684dfc26e390a6006105441b","unresolved":false,"context_lines":[{"line_number":110,"context_line":""},{"line_number":111,"context_line":"            return create_amp_tf.storage.fetch(\u0027amphora\u0027)"},{"line_number":112,"context_line":"        except Exception as e:"},{"line_number":113,"context_line":"            LOG.error(\u0027Failed to create an amphora due to: %s\u0027, e)"},{"line_number":114,"context_line":""},{"line_number":115,"context_line":"    def delete_amphora(self, amphora_id):"},{"line_number":116,"context_line":"        \"\"\"Deletes an existing Amphora."}],"source_content_type":"text/x-python","patch_set":1,"id":"1f621f24_97ddffe1","line":113,"range":{"start_line":113,"start_character":64,"end_line":113,"end_character":65},"updated":"2020-11-12 19:14:28.000000000","message":"str(e)","commit_id":"e5f5808ffb8dec070d73cb1d71ec327cda810873"},{"author":{"_account_id":11628,"name":"Michael Johnson","email":"johnsomor@gmail.com","username":"johnsom"},"change_message_id":"989f0d56c5bf94b2684dfc26e390a6006105441b","unresolved":false,"context_lines":[{"line_number":128,"context_line":"                delete_amp_tf.run()"},{"line_number":129,"context_line":"        except Exception as e:"},{"line_number":130,"context_line":"            LOG.error(\u0027Failed to delete a amphora %s due to: %s\u0027,"},{"line_number":131,"context_line":"                      amphora_id, e)"},{"line_number":132,"context_line":"            return"},{"line_number":133,"context_line":"        LOG.info(\u0027Finished deleting amphora %s.\u0027, amphora_id)"},{"line_number":134,"context_line":""}],"source_content_type":"text/x-python","patch_set":1,"id":"1f621f24_77d823ee","line":131,"range":{"start_line":131,"start_character":34,"end_line":131,"end_character":36},"updated":"2020-11-12 19:14:28.000000000","message":"str(e)","commit_id":"e5f5808ffb8dec070d73cb1d71ec327cda810873"}],"octavia/controller/worker/v1/tasks/database_tasks.py":[{"author":{"_account_id":11628,"name":"Michael Johnson","email":"johnsomor@gmail.com","username":"johnsom"},"change_message_id":"989f0d56c5bf94b2684dfc26e390a6006105441b","unresolved":false,"context_lines":[{"line_number":537,"context_line":"        except Exception as e:"},{"line_number":538,"context_line":"            LOG.error(\"Failed to get a spare amphora (AZ: %s) for \""},{"line_number":539,"context_line":"                      \"loadbalancer %s due to: %s\","},{"line_number":540,"context_line":"                      amp_az, loadbalancer_id, e)"},{"line_number":541,"context_line":"            return None"},{"line_number":542,"context_line":""},{"line_number":543,"context_line":"        if amp is None:"}],"source_content_type":"text/x-python","patch_set":1,"id":"1f621f24_b7de3bd7","line":540,"range":{"start_line":540,"start_character":47,"end_line":540,"end_character":48},"updated":"2020-11-12 19:14:28.000000000","message":"str(e)","commit_id":"e5f5808ffb8dec070d73cb1d71ec327cda810873"}],"octavia/controller/worker/v2/controller_worker.py":[{"author":{"_account_id":11628,"name":"Michael Johnson","email":"johnsomor@gmail.com","username":"johnsom"},"change_message_id":"989f0d56c5bf94b2684dfc26e390a6006105441b","unresolved":false,"context_lines":[{"line_number":128,"context_line":"                flow_utils.get_create_amphora_flow,"},{"line_number":129,"context_line":"                store\u003dstore, wait\u003dTrue)"},{"line_number":130,"context_line":"        except Exception as e:"},{"line_number":131,"context_line":"            LOG.error(\u0027Failed to create an amphora due to: %s\u0027, e)"},{"line_number":132,"context_line":""},{"line_number":133,"context_line":"    def delete_amphora(self, amphora_id):"},{"line_number":134,"context_line":"        \"\"\"Deletes an existing Amphora."}],"source_content_type":"text/x-python","patch_set":1,"id":"1f621f24_f7f55358","line":131,"range":{"start_line":131,"start_character":64,"end_line":131,"end_character":65},"updated":"2020-11-12 19:14:28.000000000","message":"str(e)","commit_id":"e5f5808ffb8dec070d73cb1d71ec327cda810873"},{"author":{"_account_id":11628,"name":"Michael Johnson","email":"johnsomor@gmail.com","username":"johnsom"},"change_message_id":"989f0d56c5bf94b2684dfc26e390a6006105441b","unresolved":false,"context_lines":[{"line_number":146,"context_line":"                store\u003dstore)"},{"line_number":147,"context_line":"        except Exception as e:"},{"line_number":148,"context_line":"            LOG.error(\u0027Failed to delete a amphora %s due to: %s\u0027,"},{"line_number":149,"context_line":"                      amphora_id, e)"},{"line_number":150,"context_line":"            return"},{"line_number":151,"context_line":"        LOG.info(\u0027Finished deleting amphora %s.\u0027, amphora_id)"},{"line_number":152,"context_line":""}],"source_content_type":"text/x-python","patch_set":1,"id":"1f621f24_37eceb8d","line":149,"range":{"start_line":149,"start_character":34,"end_line":149,"end_character":35},"updated":"2020-11-12 19:14:28.000000000","message":"str(e)","commit_id":"e5f5808ffb8dec070d73cb1d71ec327cda810873"}]}
