)]}'
{"id":"openstack%2Fpython-manilaclient~940179","triplet_id":"openstack%2Fpython-manilaclient~master~I1defbeed87306107739c4e8b2736deca20c0e813","project":"openstack/python-manilaclient","branch":"master","topic":"bug-2068631","attention_set":{"18816":{"account":{"_account_id":18816,"name":"Maurice Escher","display_name":"carthaca","email":"maurice.escher@sap.com","username":"mapocace"},"last_update":"2025-01-31 23:30:06.000000000","reason":"\u003cGERRIT_ACCOUNT_36521\u003e replied on the change","reason_account":{"_account_id":36521,"name":"Chandrakanth Renduchintala","display_name":"Chandra R","email":"vnr.chandrakanth@gmail.com","username":"crenduchintala88"}},"36521":{"account":{"_account_id":36521,"name":"Chandrakanth Renduchintala","display_name":"Chandra R","email":"vnr.chandrakanth@gmail.com","username":"crenduchintala88"},"last_update":"2025-02-26 22:20:34.000000000","reason":"\u003cGERRIT_ACCOUNT_29632\u003e replied on the change","reason_account":{"_account_id":29632,"name":"Carlos Eduardo","email":"ces.eduardo98@gmail.com","username":"silvacarlos"}}},"removed_from_attention_set":{},"hashtags":[],"change_id":"I1defbeed87306107739c4e8b2736deca20c0e813","subject":"Fix: Handle share server migration progress retrieval for deleted source servers","status":"NEW","created":"2025-01-25 03:03:23.000000000","updated":"2025-02-26 22:20:34.000000000","submit_type":"MERGE_IF_NECESSARY","mergeable":false,"submittable":false,"total_comment_count":1,"unresolved_comment_count":0,"has_review_started":true,"meta_rev_id":"b0ca77416ed8098f66005228864e1ef409cab8cf","_number":940179,"virtual_id_number":940179,"owner":{"_account_id":36521,"name":"Chandrakanth Renduchintala","display_name":"Chandra R","email":"vnr.chandrakanth@gmail.com","username":"crenduchintala88"},"actions":{},"labels":{"Verified":{"recommended":{"_account_id":22348,"name":"Zuul","username":"zuul","tags":["SERVICE_USER"]},"all":[{"_account_id":29632,"name":"Carlos Eduardo","email":"ces.eduardo98@gmail.com","username":"silvacarlos"},{"_account_id":18816,"name":"Maurice Escher","display_name":"carthaca","email":"maurice.escher@sap.com","username":"mapocace"},{"tag":"autogenerated:zuul:check","value":1,"date":"2025-01-25 04:16:51.000000000","permitted_voting_range":{"min":-2,"max":2},"_account_id":22348,"name":"Zuul","username":"zuul","tags":["SERVICE_USER"]}],"values":{"-2":"Fails","-1":"Doesn\u0027t seem to work"," 0":"No score","+1":"Works for me","+2":"Verified"},"description":"","value":1,"default_value":0,"optional":true},"Code-Review":{"disliked":{"_account_id":29632,"name":"Carlos Eduardo","email":"ces.eduardo98@gmail.com","username":"silvacarlos"},"all":[{"value":-1,"date":"2025-02-26 22:20:34.000000000","permitted_voting_range":{"min":-2,"max":2},"_account_id":29632,"name":"Carlos Eduardo","email":"ces.eduardo98@gmail.com","username":"silvacarlos"},{"value":0,"permitted_voting_range":{"min":-2,"max":2},"_account_id":18816,"name":"Maurice Escher","display_name":"carthaca","email":"maurice.escher@sap.com","username":"mapocace"},{"value":0,"permitted_voting_range":{"min":-1,"max":1},"_account_id":22348,"name":"Zuul","username":"zuul","tags":["SERVICE_USER"]}],"values":{"-2":"Do not merge","-1":"This patch needs further work before it can be merged"," 0":"No score","+1":"Looks good to me, but someone else must approve","+2":"Looks good to me (core reviewer)"},"description":"","value":-1,"default_value":0,"optional":true},"Workflow":{"all":[{"value":0,"permitted_voting_range":{"min":-1,"max":1},"_account_id":29632,"name":"Carlos Eduardo","email":"ces.eduardo98@gmail.com","username":"silvacarlos"},{"value":0,"permitted_voting_range":{"min":-1,"max":1},"_account_id":18816,"name":"Maurice Escher","display_name":"carthaca","email":"maurice.escher@sap.com","username":"mapocace"},{"_account_id":22348,"name":"Zuul","username":"zuul","tags":["SERVICE_USER"]}],"values":{"-1":"Work in progress"," 0":"Ready for reviews","+1":"Approved"},"description":"","default_value":0,"optional":true}},"removable_reviewers":[],"reviewers":{"REVIEWER":[{"_account_id":18816,"name":"Maurice Escher","display_name":"carthaca","email":"maurice.escher@sap.com","username":"mapocace"},{"_account_id":22348,"name":"Zuul","username":"zuul","tags":["SERVICE_USER"]},{"_account_id":29632,"name":"Carlos Eduardo","email":"ces.eduardo98@gmail.com","username":"silvacarlos"}]},"pending_reviewers":{},"reviewer_updates":[{"updated":"2025-01-25 04:16:51.000000000","updated_by":{"_account_id":22348,"name":"Zuul","username":"zuul","tags":["SERVICE_USER"]},"reviewer":{"_account_id":22348,"name":"Zuul","username":"zuul","tags":["SERVICE_USER"]},"state":"REVIEWER"},{"updated":"2025-01-31 23:30:06.000000000","updated_by":{"_account_id":36521,"name":"Chandrakanth Renduchintala","display_name":"Chandra R","email":"vnr.chandrakanth@gmail.com","username":"crenduchintala88"},"reviewer":{"_account_id":18816,"name":"Maurice Escher","display_name":"carthaca","email":"maurice.escher@sap.com","username":"mapocace"},"state":"REVIEWER"},{"updated":"2025-02-26 22:20:34.000000000","updated_by":{"_account_id":29632,"name":"Carlos Eduardo","email":"ces.eduardo98@gmail.com","username":"silvacarlos"},"reviewer":{"_account_id":29632,"name":"Carlos Eduardo","email":"ces.eduardo98@gmail.com","username":"silvacarlos"},"state":"REVIEWER"}],"messages":[{"id":"ed2cd574e21a9a4c1c2d0ef8eff1dafdebbd0dc1","tag":"autogenerated:gerrit:newPatchSet","author":{"_account_id":36521,"name":"Chandrakanth Renduchintala","display_name":"Chandra R","email":"vnr.chandrakanth@gmail.com","username":"crenduchintala88"},"date":"2025-01-25 03:03:23.000000000","message":"Uploaded patch set 1.","accounts_in_message":[],"_revision_number":1},{"id":"c4c3c888d930ea1558dd56177f3e12eac46196ce","tag":"autogenerated:gerrit:newPatchSet","author":{"_account_id":36521,"name":"Chandrakanth Renduchintala","display_name":"Chandra R","email":"vnr.chandrakanth@gmail.com","username":"crenduchintala88"},"date":"2025-01-25 03:07:15.000000000","message":"Patch Set 2: Commit message was updated.","accounts_in_message":[],"_revision_number":2},{"id":"f1ef5610e4617194e6a01a124bb2dc2d7d71b44e","tag":"autogenerated:gerrit:newPatchSet","author":{"_account_id":36521,"name":"Chandrakanth Renduchintala","display_name":"Chandra R","email":"vnr.chandrakanth@gmail.com","username":"crenduchintala88"},"date":"2025-01-25 03:09:07.000000000","message":"Patch Set 3: Commit message was updated.","accounts_in_message":[],"_revision_number":3},{"id":"d69e521282e49f1efa473c45f4488d71feae2b88","tag":"autogenerated:zuul:check","author":{"_account_id":22348,"name":"Zuul","username":"zuul","tags":["SERVICE_USER"]},"date":"2025-01-25 04:16:51.000000000","message":"Patch Set 3: Verified+1\n\nBuild succeeded (check pipeline).\nhttps://zuul.opendev.org/t/openstack/buildset/05ae2bc3a17c4950b32c8b674170e74b\n\n- openstack-tox-docs https://zuul.opendev.org/t/openstack/build/149bbf8fe800408bb22a42dcb97a04ef : SUCCESS in 6m 46s\n- openstack-tox-cover https://zuul.opendev.org/t/openstack/build/0ee1e66ae9944e939339035c02baf4b8 : SUCCESS in 6m 01s\n- openstack-tox-pep8 https://zuul.opendev.org/t/openstack/build/2971bcf2f78f4d5bb6626afd0981536e : SUCCESS in 3m 19s\n- openstack-tox-py39 https://zuul.opendev.org/t/openstack/build/bcb74bcb6b924800ad9da41e92a68a1a : SUCCESS in 4m 56s\n- openstack-tox-py312 https://zuul.opendev.org/t/openstack/build/4a4e4f637c514cc09cc0b7a3df872836 : SUCCESS in 6m 46s\n- python-manilaclient-functional https://zuul.opendev.org/t/openstack/build/79f1e332005b4a618ebb6c80162ef335 : SUCCESS in 51m 16s\n- python-manilaclient-tox-bandit https://zuul.opendev.org/t/openstack/build/baec6dd0d278475b9a86f4049d1b6156 : SUCCESS in 4m 50s\n- manila-rally-ss https://zuul.opendev.org/t/openstack/build/218647e8f6694d7796043804eb5c04ba : FAILURE in 8m 24s (non-voting)\n- python-manilaclient-functional-fips https://zuul.opendev.org/t/openstack/build/b9f51aa2b19d40d4af2aa6b74bf429ef : SUCCESS in 1h 07m 07s (non-voting)\n- manila-rally-no-ss https://zuul.opendev.org/t/openstack/build/fd88ecdad9f3457384583a4594c1c01e : FAILURE in 8m 43s (non-voting)","accounts_in_message":[],"_revision_number":3},{"id":"2b359fbe9dfca082f597b663e7c6ce4d8e71473b","tag":"autogenerated:gerrit:setTopic","author":{"_account_id":36521,"name":"Chandrakanth Renduchintala","display_name":"Chandra R","email":"vnr.chandrakanth@gmail.com","username":"crenduchintala88"},"date":"2025-01-31 23:41:21.000000000","message":"Topic bug/2068732 removed","accounts_in_message":[],"_revision_number":3},{"id":"f80e17cdd1fb8db368e78afacb4d47802a9da3c9","tag":"autogenerated:gerrit:setTopic","author":{"_account_id":36521,"name":"Chandrakanth Renduchintala","display_name":"Chandra R","email":"vnr.chandrakanth@gmail.com","username":"crenduchintala88"},"date":"2025-01-31 23:41:46.000000000","message":"Topic set to bug-2068631","accounts_in_message":[],"_revision_number":3},{"id":"b0ca77416ed8098f66005228864e1ef409cab8cf","author":{"_account_id":29632,"name":"Carlos Eduardo","email":"ces.eduardo98@gmail.com","username":"silvacarlos"},"date":"2025-02-26 22:20:34.000000000","message":"Patch Set 3: Code-Review-1\n\n(1 comment)","accounts_in_message":[],"_revision_number":3}],"current_revision_number":3,"current_revision":"d8d544578dac7bfa9e1d3561dea4b282e14d727a","revisions":{"5161d226f2677139589a5fa586e91f415ddd0ff2":{"kind":"REWORK","_number":1,"created":"2025-01-25 03:03:23.000000000","uploader":{"_account_id":36521,"name":"Chandrakanth Renduchintala","display_name":"Chandra R","email":"vnr.chandrakanth@gmail.com","username":"crenduchintala88"},"ref":"refs/changes/79/940179/1","fetch":{"anonymous http":{"url":"https://review.opendev.org/openstack/python-manilaclient","ref":"refs/changes/79/940179/1","commands":{"Checkout":"git fetch https://review.opendev.org/openstack/python-manilaclient refs/changes/79/940179/1 \u0026\u0026 git checkout FETCH_HEAD","Cherry Pick":"git fetch https://review.opendev.org/openstack/python-manilaclient refs/changes/79/940179/1 \u0026\u0026 git cherry-pick FETCH_HEAD","Format Patch":"git fetch https://review.opendev.org/openstack/python-manilaclient refs/changes/79/940179/1 \u0026\u0026 git format-patch -1 --stdout FETCH_HEAD","Pull":"git pull https://review.opendev.org/openstack/python-manilaclient refs/changes/79/940179/1"}}},"commit":{"parents":[{"commit":"31e7ad97414434c27d29120b6d5505f699eb04f0","subject":"reno: Update master for unmaintained/2023.1","web_links":[{"name":"gitea","tooltip":"Open in GitWeb","url":"https://opendev.org/openstack/python-manilaclient/commit/31e7ad97414434c27d29120b6d5505f699eb04f0"}]}],"author":{"name":"crenduchintala88","email":"vnr.chandrakanth@gmail.com","date":"2025-01-25 02:59:24.000000000","tz":-300},"committer":{"name":"crenduchintala88","email":"vnr.chandrakanth@gmail.com","date":"2025-01-25 02:59:24.000000000","tz":-300},"subject":"Fix: Handle share server migration progress retrieval for deleted source servers","message":"Fix: Handle share server migration progress retrieval for deleted source servers\n\nThe `share server migration show` command currently fails to retrieve migration\nprogress for deleted source share servers. When the source share server (e.g., ID-OF-A)\nis deleted after migration to a destination server (e.g., ID-OF-B), attempting to\nexecute `share server migration show ID-OF-A` results in an error:\n\n\"No shareserver with a name or ID of \u0027ID-OF-A\u0027 exists.\"\n\nThis is because the operation tries to fetch the deleted source server before showing\nthe migration progress. However, the API supports retrieving migration progress directly\nvia the `migration_get_progress` endpoint without requiring the source server to exist.\n\nThis patch fixes the issue by adding a fallback mechanism that directly queries the API\nto retrieve migration progress for deleted source share servers. This approach ensures\nthat users can retrieve details like `total_progress`, `task_state`, and\n`destination_share_server_id` without encountering the error.\n\nExample API response for a deleted source server:\n{ \"total_progress\": 100, \"task_state\": \"migration_success\", \"destination_share_server_id\": \"ID-OF-B\" }\n\nThis change improves user experience when tracking migrations and aligns the client\nbehavior with the API capabilities.\n\nCloses-Bug: #2068631\nChange-Id: I1defbeed87306107739c4e8b2736deca20c0e813\n","web_links":[{"name":"gitea","tooltip":"Open in GitWeb","url":"https://opendev.org/openstack/python-manilaclient/commit/5161d226f2677139589a5fa586e91f415ddd0ff2"}],"resolve_conflicts_web_links":[{"name":"gitea","tooltip":"Open in GitWeb","url":"https://opendev.org/openstack/python-manilaclient/commit/5161d226f2677139589a5fa586e91f415ddd0ff2"}]},"branch":"refs/heads/master"},"63d32690df787c7de19b61fc1601cf09a093c1eb":{"kind":"NO_CODE_CHANGE","_number":2,"created":"2025-01-25 03:07:15.000000000","uploader":{"_account_id":36521,"name":"Chandrakanth Renduchintala","display_name":"Chandra R","email":"vnr.chandrakanth@gmail.com","username":"crenduchintala88"},"ref":"refs/changes/79/940179/2","fetch":{"anonymous http":{"url":"https://review.opendev.org/openstack/python-manilaclient","ref":"refs/changes/79/940179/2","commands":{"Checkout":"git fetch https://review.opendev.org/openstack/python-manilaclient refs/changes/79/940179/2 \u0026\u0026 git checkout FETCH_HEAD","Cherry Pick":"git fetch https://review.opendev.org/openstack/python-manilaclient refs/changes/79/940179/2 \u0026\u0026 git cherry-pick FETCH_HEAD","Format Patch":"git fetch https://review.opendev.org/openstack/python-manilaclient refs/changes/79/940179/2 \u0026\u0026 git format-patch -1 --stdout FETCH_HEAD","Pull":"git pull https://review.opendev.org/openstack/python-manilaclient refs/changes/79/940179/2"}}},"commit":{"parents":[{"commit":"31e7ad97414434c27d29120b6d5505f699eb04f0","subject":"reno: Update master for unmaintained/2023.1","web_links":[{"name":"gitea","tooltip":"Open in GitWeb","url":"https://opendev.org/openstack/python-manilaclient/commit/31e7ad97414434c27d29120b6d5505f699eb04f0"}]}],"author":{"name":"crenduchintala88","email":"vnr.chandrakanth@gmail.com","date":"2025-01-25 02:59:24.000000000","tz":-300},"committer":{"name":"Chandrakanth Renduchintala","email":"vnr.chandrakanth@gmail.com","date":"2025-01-25 03:07:15.000000000","tz":0},"subject":"Fix: Handle share server migration progress retrieval for deleted source servers","message":"Fix: Handle share server migration progress retrieval for deleted source servers\n\n\nCloses-Bug: #2068631\nChange-Id: I1defbeed87306107739c4e8b2736deca20c0e813\n","web_links":[{"name":"gitea","tooltip":"Open in GitWeb","url":"https://opendev.org/openstack/python-manilaclient/commit/63d32690df787c7de19b61fc1601cf09a093c1eb"}],"resolve_conflicts_web_links":[{"name":"gitea","tooltip":"Open in GitWeb","url":"https://opendev.org/openstack/python-manilaclient/commit/63d32690df787c7de19b61fc1601cf09a093c1eb"}]},"branch":"refs/heads/master","description":"Edit commit message"},"d8d544578dac7bfa9e1d3561dea4b282e14d727a":{"kind":"NO_CODE_CHANGE","_number":3,"created":"2025-01-25 03:09:07.000000000","uploader":{"_account_id":36521,"name":"Chandrakanth Renduchintala","display_name":"Chandra R","email":"vnr.chandrakanth@gmail.com","username":"crenduchintala88"},"ref":"refs/changes/79/940179/3","fetch":{"anonymous http":{"url":"https://review.opendev.org/openstack/python-manilaclient","ref":"refs/changes/79/940179/3","commands":{"Checkout":"git fetch https://review.opendev.org/openstack/python-manilaclient refs/changes/79/940179/3 \u0026\u0026 git checkout FETCH_HEAD","Cherry Pick":"git fetch https://review.opendev.org/openstack/python-manilaclient refs/changes/79/940179/3 \u0026\u0026 git cherry-pick FETCH_HEAD","Format Patch":"git fetch https://review.opendev.org/openstack/python-manilaclient refs/changes/79/940179/3 \u0026\u0026 git format-patch -1 --stdout FETCH_HEAD","Pull":"git pull https://review.opendev.org/openstack/python-manilaclient refs/changes/79/940179/3"}}},"commit":{"parents":[{"commit":"31e7ad97414434c27d29120b6d5505f699eb04f0","subject":"reno: Update master for unmaintained/2023.1","web_links":[{"name":"gitea","tooltip":"Open in GitWeb","url":"https://opendev.org/openstack/python-manilaclient/commit/31e7ad97414434c27d29120b6d5505f699eb04f0"}]}],"author":{"name":"crenduchintala88","email":"vnr.chandrakanth@gmail.com","date":"2025-01-25 02:59:24.000000000","tz":-300},"committer":{"name":"Chandrakanth Renduchintala","email":"vnr.chandrakanth@gmail.com","date":"2025-01-25 03:09:07.000000000","tz":0},"subject":"Fix: Handle share server migration progress retrieval for deleted source servers","message":"Fix: Handle share server migration progress retrieval for deleted source servers\n\nFixes share server migration show failing for deleted source servers by adding a fallback to directly query the API for migration progress.\n\nUsers can now retrieve total_progress, task_state, and destination_share_server_id without errors. Aligns client behavior with API capabilities.\n\nCloses-Bug: #2068631\nChange-Id: I1defbeed87306107739c4e8b2736deca20c0e813\n","web_links":[{"name":"gitea","tooltip":"Open in GitWeb","url":"https://opendev.org/openstack/python-manilaclient/commit/d8d544578dac7bfa9e1d3561dea4b282e14d727a"}],"resolve_conflicts_web_links":[{"name":"gitea","tooltip":"Open in GitWeb","url":"https://opendev.org/openstack/python-manilaclient/commit/d8d544578dac7bfa9e1d3561dea4b282e14d727a"}]},"branch":"refs/heads/master","description":"Edit commit message"}},"requirements":[],"submit_records":[{"rule_name":"gerrit~DefaultSubmitRule","status":"OK","labels":[{"label":"Verified","status":"MAY","applied_by":{"_account_id":22348,"name":"Zuul","username":"zuul","tags":["SERVICE_USER"]}},{"label":"Code-Review","status":"MAY","applied_by":{"_account_id":29632,"name":"Carlos Eduardo","email":"ces.eduardo98@gmail.com","username":"silvacarlos"}},{"label":"Workflow","status":"MAY"}]}],"submit_requirements":[{"name":"Verified","description":"Verified in gate by CI","status":"UNSATISFIED","is_legacy":false,"submittability_expression_result":{"expression":"label:Verified\u003dMAX AND -label:Verified\u003dMIN","fulfilled":false,"status":"FAIL","passing_atoms":[],"failing_atoms":["label:Verified\u003dMAX","label:Verified\u003dMIN"],"atom_explanations":{"label:Verified\u003dMAX":"","label:Verified\u003dMIN":""}}},{"name":"Code-Review","description":"Code reviewed by core reviewer","status":"UNSATISFIED","is_legacy":false,"submittability_expression_result":{"expression":"label:Code-Review\u003dMAX AND -label:Code-Review\u003dMIN","fulfilled":false,"status":"FAIL","passing_atoms":[],"failing_atoms":["label:Code-Review\u003dMAX","label:Code-Review\u003dMIN"],"atom_explanations":{"label:Code-Review\u003dMAX":"","label:Code-Review\u003dMIN":""}}},{"name":"Workflow","description":"Approved for gate by core reviewer","status":"UNSATISFIED","is_legacy":false,"submittability_expression_result":{"expression":"label:Workflow\u003dMAX AND -label:Workflow\u003dMIN","fulfilled":false,"status":"FAIL","passing_atoms":[],"failing_atoms":["label:Workflow\u003dMAX","label:Workflow\u003dMIN"],"atom_explanations":{"label:Workflow\u003dMAX":"","label:Workflow\u003dMIN":""}}}]}
