)]}'
{"doc/source/strategies/zone_migration.rst":[{"author":{"_account_id":28006,"name":"teim-ci","display_name":"teim-ci","email":"ci@seanmooney.info","username":"ci-sean-mooney","status":"this is a third-party ci account run by sean-k-mooney on irc\nhosted at zuul.teim.app"},"tag":"autogenerated:zuul:automatic-ci","change_message_id":"6f7bc5a45b1af57dcf9f78f450dd4ae1342008bd","unresolved":false,"context_lines":[{"line_number":215,"context_line":"volume type, the volume is left in place."},{"line_number":216,"context_line":""},{"line_number":217,"context_line":".. note::"},{"line_number":218,"context_line":"   ``attached_only`` filters volumes with the instance selection of the"},{"line_number":219,"context_line":"   audit: a volume is selected only if one of the servers it is attached to"},{"line_number":220,"context_line":"   is in that selection, that is, an instance on one of the ``compute_nodes``"},{"line_number":221,"context_line":"   source nodes. Volumes attached to instances that stay out, and volumes"}],"source_content_type":"text/x-rst","patch_set":1,"id":"72a1cc1e_6cde26d1","line":218,"updated":"2026-11-27 20:41:04.000000000","message":"The new attached_only note in the strategy documentation glosses the audit\u0027s instance selection as \"an instance on one of the ``compute_nodes`` source nodes\". The selection is narrower than that: get_instances_by_node_name() drops instances flagged watcher_exclude (zone_migration.py:311-315), so an instance sitting on a source node but excluded by the audit scope is not part of the selection, and volumes attached only to it are skipped by an attached_only entry. The gloss therefore overstates which instances qualify.\n\n**Severity**: WARNING | **Confidence**: 0.82\n\n**Impact**: An operator using audit scope exclusions (for example, excluding a workload from the drain) would expect volumes attached to those excluded instances to be selected, because the instances sit on a compute_nodes source node; the audit instead leaves those volumes behind. The wrong expectation can surface as a misread efficacy plan or a support question about volumes that did not move. The rst nowhere mentions scope exclusions, so this gloss is the reader\u0027s only characterization of the selection.\n\n**Suggestion**:\nTighten the gloss to match the implementation, e.g. \"that is, an instance of the audit\u0027s instance selection: an instance on one of the ``compute_nodes`` source nodes that the audit scope does not exclude\", or simply reference the selection without the \"that is\" paraphrase.","commit_id":"794e2204f5713779946a0a5d55bc1d585ef52f11"}]}
