)]}'
{"nova/scheduler/client/report.py":[{"author":{"_account_id":6873,"name":"Matt Riedemann","email":"mriedem.os@gmail.com","username":"mriedem"},"change_message_id":"6c7aa024f99e86d8d683b3f8a3f846921c7fff6b","unresolved":false,"context_lines":[{"line_number":1086,"context_line":"            # Get the existing allocations for the instance against all"},{"line_number":1087,"context_line":"            # resource providers."},{"line_number":1088,"context_line":"            current_allocations \u003d self._get_allocations_for_instance("},{"line_number":1089,"context_line":"                None, instance_uuid)"},{"line_number":1090,"context_line":"            # Check to make sure our resource provider is in the current"},{"line_number":1091,"context_line":"            # allocations otherwise we could be racing with another provider"},{"line_number":1092,"context_line":"            # like during a migrate operation."}],"source_content_type":"text/x-python","patch_set":1,"id":"ff346bd7_1abe85b3","line":1089,"range":{"start_line":1089,"start_character":22,"end_line":1089,"end_character":35},"updated":"2017-07-27 21:27:25.000000000","message":"crap this has to be an instance object","commit_id":"4f674ffd773ce90b13680a2c72495b02f46ba3ed"},{"author":{"_account_id":6873,"name":"Matt Riedemann","email":"mriedem.os@gmail.com","username":"mriedem"},"change_message_id":"43d5520f876224759929811624e1009721c0db2a","unresolved":false,"context_lines":[{"line_number":1097,"context_line":"                return"},{"line_number":1098,"context_line":""},{"line_number":1099,"context_line":"            # OK so rp_uuid is in the current allocations, but are there more?"},{"line_number":1100,"context_line":"            if len(current_allocations) \u003e 1:"},{"line_number":1101,"context_line":"                # This is possibly not a problem with a shared provider, like"},{"line_number":1102,"context_line":"                # for shared storage between two compute nodes, but it could"},{"line_number":1103,"context_line":"                # be a problem if there is another compute node provider in"}],"source_content_type":"text/x-python","patch_set":1,"id":"ff346bd7_7dafce7c","line":1100,"range":{"start_line":1100,"start_character":12,"end_line":1100,"end_character":44},"updated":"2017-07-27 20:37:03.000000000","message":"We could remove this. If current_allocations is 1 then the only key is rp_uuid and we won\u0027t hit the warning below.","commit_id":"4f674ffd773ce90b13680a2c72495b02f46ba3ed"},{"author":{"_account_id":6873,"name":"Matt Riedemann","email":"mriedem.os@gmail.com","username":"mriedem"},"change_message_id":"483b04e6e529ad182a03b609d719af1fd85b676f","unresolved":false,"context_lines":[{"line_number":1110,"context_line":"                    if fields.ResourceClass.VCPU in resources:"},{"line_number":1111,"context_line":"                        # OK we found a VCPU allocation against a different"},{"line_number":1112,"context_line":"                        # resource provider, so let\u0027s give a warning."},{"line_number":1113,"context_line":"                        LOG.warning(\u0027Removing allocations for instance \u0027"},{"line_number":1114,"context_line":"                                    \u0027which are currently against more \u0027"},{"line_number":1115,"context_line":"                                    \u0027than one compute node resource \u0027"},{"line_number":1116,"context_line":"                                    \u0027provider. Current allocations: %s\u0027,"}],"source_content_type":"text/x-python","patch_set":2,"id":"ff346bd7_005972fc","line":1113,"updated":"2017-07-27 22:29:29.000000000","message":"Confirmation of seeing this in the live migration job:\n\nhttp://logs.openstack.org/87/488187/2/check/gate-tempest-dsvm-multinode-live-migration-ubuntu-xenial/107a810/logs/subnode-2/screen-n-cpu.txt.gz#_Jul_27_22_21_14_766229\n\nRemoving allocations for instance which are currently against more than one compute node resource provider. Current allocations: {u\u002713b1e5e0-66ef-4533-9a07-b1a3220d6b00\u0027: {u\u0027generation\u0027: 8, u\u0027resources\u0027: {u\u0027VCPU\u0027: 1, u\u0027MEMORY_MB\u0027: 64}}, u\u00277aa9619d-db83-4da9-b822-f4d66e7143f8\u0027: {u\u0027generation\u0027: 6, u\u0027resources\u0027: {u\u0027VCPU\u0027: 1, u\u0027MEMORY_MB\u0027: 64}}}","commit_id":"c45a129504b97e0e95b083abcf20e0be5376266c"}]}
