)]}'
{"nova/compute/resource_tracker.py":[{"author":{"_account_id":5754,"name":"Alex Xu","email":"hejie.xu@intel.com","username":"xuhj"},"change_message_id":"550a072e0604f770f4c39914f1af889d494e25fd","unresolved":false,"context_lines":[{"line_number":477,"context_line":"        # Get resources assigned to migrations"},{"line_number":478,"context_line":"        for mig in self.tracked_migrations.values():"},{"line_number":479,"context_line":"            mig_ctx \u003d mig.instance.migration_context"},{"line_number":480,"context_line":"            # We might have a migration whose instance hasn\u0027t arrived here yet."},{"line_number":481,"context_line":"            # Ignore it."},{"line_number":482,"context_line":"            if not mig_ctx:"},{"line_number":483,"context_line":"                continue"},{"line_number":484,"context_line":"            if mig.source_compute \u003d\u003d self.host and \u0027old_resources\u0027 in mig_ctx:"}],"source_content_type":"text/x-python","patch_set":5,"id":"3fa7e38b_b425ba0c","line":481,"range":{"start_line":480,"start_character":11,"end_line":481,"end_character":24},"updated":"2019-10-22 07:41:19.000000000","message":"it is more about instance.migration_context being dropped when the code reach here.\n\nFrom the log, we can see there is post_live_migration executed in the middle of update_available_resource, then the None type exception raise at line 486. \n\nStart tracking the incoming migration https://zuul.opendev.org/t/openstack/build/2b10b4a240b84245bcee3366db93951d/log/logs/screen-n-cpu.txt.gz#6153\n\n\nThen post live migration\nhttps://zuul.opendev.org/t/openstack/build/2b10b4a240b84245bcee3366db93951d/log/logs/screen-n-cpu.txt.gz#6158\n\nThen we get error\nhttps://zuul.opendev.org/t/openstack/build/2b10b4a240b84245bcee3366db93951d/log/logs/screen-n-cpu.txt.gz#6171","commit_id":"80385a22ee480a4c9775148d4729ab5d9c52e76d"}]}
