)]}'
{"id":"openstack%2Fpython-openstackclient~956769","triplet_id":"openstack%2Fpython-openstackclient~master~Ie92c4544e058f5c12c485595554c084772982a7b","project":"openstack/python-openstackclient","branch":"master","topic":"spec/set-size-on-upload","attention_set":{"9303":{"account":{"_account_id":9303,"name":"Abhishek Kekane","email":"akekane@redhat.com","username":"abhishekkekane"},"last_update":"2025-08-07 10:54:02.000000000","reason":"A robot voted negatively on a label"}},"removed_from_attention_set":{},"hashtags":[],"change_id":"Ie92c4544e058f5c12c485595554c084772982a7b","subject":"[DNM] Add support for passing image size to Glance API","status":"NEW","created":"2025-08-07 10:20:25.000000000","updated":"2025-08-07 10:54:02.000000000","submit_type":"MERGE_IF_NECESSARY","mergeable":false,"submittable":false,"total_comment_count":0,"unresolved_comment_count":0,"has_review_started":true,"meta_rev_id":"a3a25cc8a7ed5f976e3e05eb1adcf270bf31c359","_number":956769,"virtual_id_number":956769,"owner":{"_account_id":9303,"name":"Abhishek Kekane","email":"akekane@redhat.com","username":"abhishekkekane"},"actions":{},"labels":{"Verified":{"disliked":{"_account_id":22348,"name":"Zuul","username":"zuul","tags":["SERVICE_USER"]},"all":[{"tag":"autogenerated:zuul:check","value":-1,"date":"2025-08-07 10:54:02.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":{"all":[{"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":"","default_value":0,"optional":true},"Workflow":{"all":[{"_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":22348,"name":"Zuul","username":"zuul","tags":["SERVICE_USER"]}]},"pending_reviewers":{},"reviewer_updates":[{"updated":"2025-08-07 10:54:02.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"}],"messages":[{"id":"627f5e9d4a6efb5b743bf4b65e8f6f46aca0c390","tag":"autogenerated:gerrit:newPatchSet","author":{"_account_id":9303,"name":"Abhishek Kekane","email":"akekane@redhat.com","username":"abhishekkekane"},"date":"2025-08-07 10:20:25.000000000","message":"Uploaded patch set 1.","accounts_in_message":[],"_revision_number":1},{"id":"a3a25cc8a7ed5f976e3e05eb1adcf270bf31c359","tag":"autogenerated:zuul:check","author":{"_account_id":22348,"name":"Zuul","username":"zuul","tags":["SERVICE_USER"]},"date":"2025-08-07 10:54:02.000000000","message":"Patch Set 1: Verified-1\n\nBuild failed (check pipeline).  For information on how to proceed, see\nhttps://docs.opendev.org/opendev/infra-manual/latest/developers.html#automated-testing\nand https://docs.openstack.org/project-team-guide/testing.html#how-to-handle-test-failures\n\nhttps://zuul.opendev.org/t/openstack/buildset/f3034e0b58464ccaa7c3732e345d154f\n\n- openstackclient-check-plugins https://zuul.opendev.org/t/openstack/build/a5177668cd7c460a83f9cb54554a3d4c : FAILURE in 5m 22s (non-voting)\n- osc-tox-py310-tips https://zuul.opendev.org/t/openstack/build/4266403749ee42fe85cf0fba185c36ed : SUCCESS in 4m 19s\n- osc-tox-py313-tips https://zuul.opendev.org/t/openstack/build/7dcd5e769c104aba9cdd18b84c38e101 : SUCCESS in 7m 54s\n- openstack-tox-cover https://zuul.opendev.org/t/openstack/build/fb42954afb7e470fa1604d7d03faa467 : SUCCESS in 5m 15s\n- openstack-tox-pep8 https://zuul.opendev.org/t/openstack/build/0fa9ee091bba4b0899b0150c11283997 : SUCCESS in 3m 26s\n- openstack-tox-py310 https://zuul.opendev.org/t/openstack/build/6a6de8b730c64b38961971622c7a0448 : SUCCESS in 3m 42s\n- openstack-tox-py312 https://zuul.opendev.org/t/openstack/build/0c58dbf7783040deab751213b00c6471 : SUCCESS in 3m 54s\n- openstack-tox-py313 https://zuul.opendev.org/t/openstack/build/4a71775ec5fe498dba9bb83eb9314cc5 : SUCCESS in 5m 57s (non-voting)\n- openstack-tox-docs https://zuul.opendev.org/t/openstack/build/64c1df0bd6c2422885e2e29a75a7f3a1 : FAILURE in 5m 10s\n- build-openstack-releasenotes https://zuul.opendev.org/t/openstack/build/0bc8d6bc89eb487d85c6243708b628b4 : SUCCESS in 3m 40s\n- osc-build-image https://zuul.opendev.org/t/openstack/build/e29312ee9c394d3c849717621058d51b : SUCCESS in 5m 15s (non-voting)\n- osc-functional-devstack https://zuul.opendev.org/t/openstack/build/417a7b9782094f43848b138b679cd97a : POST_FAILURE in 26m 18s\n- osc-functional-devstack-tips https://zuul.opendev.org/t/openstack/build/2e6d7591afe94907b2fe2757d98bd5c7 : POST_FAILURE in 26m 20s","accounts_in_message":[],"_revision_number":1}],"current_revision_number":1,"current_revision":"ba481a5857b856561118bc4f83d9ddd22b791fe6","revisions":{"ba481a5857b856561118bc4f83d9ddd22b791fe6":{"kind":"REWORK","_number":1,"created":"2025-08-07 10:20:25.000000000","uploader":{"_account_id":9303,"name":"Abhishek Kekane","email":"akekane@redhat.com","username":"abhishekkekane"},"ref":"refs/changes/69/956769/1","fetch":{"anonymous http":{"url":"https://review.opendev.org/openstack/python-openstackclient","ref":"refs/changes/69/956769/1","commands":{"Checkout":"git fetch https://review.opendev.org/openstack/python-openstackclient refs/changes/69/956769/1 \u0026\u0026 git checkout FETCH_HEAD","Cherry Pick":"git fetch https://review.opendev.org/openstack/python-openstackclient refs/changes/69/956769/1 \u0026\u0026 git cherry-pick FETCH_HEAD","Format Patch":"git fetch https://review.opendev.org/openstack/python-openstackclient refs/changes/69/956769/1 \u0026\u0026 git format-patch -1 --stdout FETCH_HEAD","Pull":"git pull https://review.opendev.org/openstack/python-openstackclient refs/changes/69/956769/1"}}},"commit":{"parents":[{"commit":"46b25c7c0babbf9bfe7b64a5de87994364b46675","subject":"network: Add \u0027--project\u0027 to SG rule list command","web_links":[{"name":"gitea","tooltip":"Open in GitWeb","url":"https://opendev.org/openstack/python-openstackclient/commit/46b25c7c0babbf9bfe7b64a5de87994364b46675"}]}],"author":{"name":"Abhishek Kekane","email":"akekane@redhat.com","date":"2025-08-07 08:53:41.000000000","tz":330},"committer":{"name":"Abhishek Kekane","email":"akekane@redhat.com","date":"2025-08-07 09:54:29.000000000","tz":0},"subject":"[DNM] Add support for passing image size to Glance API","message":"[DNM] Add support for passing image size to Glance API\n\nThis commit adds support for passing image size to the Glance API during\nimage creation and staging operations. The changes include:\n\n- Add get_file_size() utility function consistent with python-glanceclient\n- Update CreateImage and StageImage commands to accept --size parameter\n- Add automatic size calculation when --size is not provided but --file is present\n- Use consistent file size calculation mechanism across all OpenStack tools\n- Pass size as x-openstack-image-size HTTP header to Glance API\n- Add comprehensive unit tests for get_file_size function and CLI commands\n- Update documentation with usage examples and technical details\n- Add releasenotes documenting the new feature\n\nThe implementation follows the same pattern as python-glanceclient for\nconsistency across OpenStack tools. The size parameter can be provided\nexplicitly or calculated automatically from files.\n\nAssisted-By: Cursor (claude-3.5-sonnet)\nChange-Id: Ie92c4544e058f5c12c485595554c084772982a7b\nSigned-off-by: Abhishek Kekane \u003cakekane@redhat.com\u003e\n","web_links":[{"name":"gitea","tooltip":"Open in GitWeb","url":"https://opendev.org/openstack/python-openstackclient/commit/ba481a5857b856561118bc4f83d9ddd22b791fe6"}],"resolve_conflicts_web_links":[{"name":"gitea","tooltip":"Open in GitWeb","url":"https://opendev.org/openstack/python-openstackclient/commit/ba481a5857b856561118bc4f83d9ddd22b791fe6"}]},"branch":"refs/heads/master"}},"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"},{"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":""}}}]}
