)]}'
{"heat/engine/resources/openstack/octavia/loadbalancer.py":[{"author":{"_account_id":9542,"name":"Pavlo Shchelokovskyy","email":"pshchelokovskyy@mirantis.com","username":"pshchelo"},"change_message_id":"af9cf7916038b7e8e765299b026d8991431a95e9","unresolved":true,"context_lines":[{"line_number":155,"context_line":"            props[\u0027project_id\u0027] \u003d props.pop(\u0027tenant_id\u0027)"},{"line_number":156,"context_line":"        return props"},{"line_number":157,"context_line":""},{"line_number":158,"context_line":"    @tenacity.retry("},{"line_number":159,"context_line":"        stop\u003dtenacity.stop_after_attempt(3),"},{"line_number":160,"context_line":"        retry\u003dtenacity.retry_if_exception_message(match\u003d\"Project busy\"),"},{"line_number":161,"context_line":"        wait\u003dtenacity.wait_random(max\u003d5),"}],"source_content_type":"text/x-python","patch_set":1,"id":"9d3ae981_62951e9f","line":158,"updated":"2021-06-01 16:43:51.000000000","message":"I\u0027d rather see this implemented in the client plugin\n\nso that the handle_create here would look like\n\n  lb \u003d self.client_plugin().create_load_balancer(properties)\n\nwhat\u0027s more, heat already retries on some specific errors - see action_retry_limit config option and e.g. this exception handling in Resource.create\nhttps://opendev.org/openstack/heat/src/commit/a8f8528d1ea1952cf76bd09fd27cbd65a978af65/heat/engine/resource.py#L1264-L1265\n\nso it would be enough to raise a proper error from that client plugin method to let Heat retry the creation.","commit_id":"713d792cf2047854e2779312ca58b9b3e25f95a2"}]}
