)]}'
{"nova/scheduler/filter_scheduler.py":[{"author":{"_account_id":7040,"name":"GuoHui LIu","email":"liuguohui@gmail.com","username":"guohliu"},"change_message_id":"81b9339af8097c10098d4c8cd01a3f9f6e23ed78","unresolved":false,"context_lines":[{"line_number":267,"context_line":"        if (force_hosts_len \u003e 0 and retry_hosts_len \u003e 0"},{"line_number":268,"context_line":"                 and force_hosts_len \u003d\u003d retry_hosts_len):"},{"line_number":269,"context_line":"            msg \u003d (_(\u0027VM creation failed on all of the force hosts \u0027"},{"line_number":270,"context_line":"                   \u0027%s\u0027) % force_hosts_list)"},{"line_number":271,"context_line":"            raise exception.NoValidHost(reason\u003dmsg)"},{"line_number":272,"context_line":"        filter_properties[\u0027retry\u0027] \u003d retry"},{"line_number":273,"context_line":""}],"source_content_type":"text/x-python","patch_set":2,"id":"AAAATH%2F%2Fmvs%3D","line":270,"updated":"2013-10-13 09:52:17.000000000","message":"why not LOG msg here?","commit_id":"d7f4278960df5ed64f2bbdc2a1d1ab5cd2beb258"},{"author":{"_account_id":7494,"name":"Guangya Liu","email":"gyliu513@gmail.com","username":"JayLau"},"change_message_id":"d3f3c180e59d7ff2fa1f569af03a8b62fe21b504","unresolved":false,"context_lines":[{"line_number":267,"context_line":"        if (force_hosts_len \u003e 0 and retry_hosts_len \u003e 0"},{"line_number":268,"context_line":"                 and force_hosts_len \u003d\u003d retry_hosts_len):"},{"line_number":269,"context_line":"            msg \u003d (_(\u0027VM creation failed on all of the force hosts \u0027"},{"line_number":270,"context_line":"                   \u0027%s\u0027) % force_hosts_list)"},{"line_number":271,"context_line":"            raise exception.NoValidHost(reason\u003dmsg)"},{"line_number":272,"context_line":"        filter_properties[\u0027retry\u0027] \u003d retry"},{"line_number":273,"context_line":""}],"source_content_type":"text/x-python","patch_set":2,"id":"AAAATH%2F%2Fmvg%3D","line":270,"in_reply_to":"AAAATH%2F%2Fmvs%3D","updated":"2013-10-13 10:00:48.000000000","message":"Thanks Guo Hui. Once exception was thrown here, scheduler/manager.py will catch exception and log warning message in scheduler/utils.py:set_vm_state_and_notify()\n\ndef set_vm_state_and_notify(context, service, method, updates, ex,\n                            request_spec, db):\n    \"\"\"changes VM state and notifies.\"\"\"\n    LOG.warning(_(\"Failed to %(service)s_%(method)s: %(ex)s\"),\n                {\u0027service\u0027: service, \u0027method\u0027: method, \u0027ex\u0027: ex})","commit_id":"d7f4278960df5ed64f2bbdc2a1d1ab5cd2beb258"}]}
