)]}'
{"id":"openstack%2Fpython-openstackclient~1012021","triplet_id":"openstack%2Fpython-openstackclient~master~If258c97d9a578b40a2dc19d3a82211e403f0deac","project":"openstack/python-openstackclient","branch":"master","topic":"write-only-credentials","hashtags":[],"change_id":"If258c97d9a578b40a2dc19d3a82211e403f0deac","subject":"Support write-only credential compatibility and allowed_consumers","status":"NEW","created":"2026-10-23 13:27:49.000000000","updated":"2026-10-23 23:17:58.000000000","submit_type":"MERGE_IF_NECESSARY","mergeable":true,"submittable":false,"total_comment_count":0,"unresolved_comment_count":0,"work_in_progress":true,"has_review_started":false,"meta_rev_id":"501bef397556fd598483034e61c24f6e9b8dda55","_number":1012021,"virtual_id_number":1012021,"owner":{"_account_id":14250,"name":"Grzegorz Grasza","email":"xek@redhat.com","username":"xek"},"actions":{},"labels":{"Verified":{"recommended":{"_account_id":22348,"name":"Zuul","username":"zuul","tags":["SERVICE_USER"]},"all":[{"tag":"autogenerated:zuul:check","value":1,"date":"2026-10-23 23:17:58.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":[{"_account_id":22348,"name":"Zuul","username":"zuul","tags":["SERVICE_USER"]}]},"reviewer_updates":[{"updated":"2026-10-23 14:52:21.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":"ada9a221a680f36a4a11693a57fbffa5f0c4779f","tag":"autogenerated:gerrit:newWipPatchSet","author":{"_account_id":14250,"name":"Grzegorz Grasza","email":"xek@redhat.com","username":"xek"},"date":"2026-10-23 13:27:49.000000000","message":"Uploaded patch set 1.","accounts_in_message":[],"_revision_number":1},{"id":"79c6deb4ffa8716dffc520bb1417b1147b7343f3","tag":"autogenerated:zuul:check","author":{"_account_id":22348,"name":"Zuul","username":"zuul","tags":["SERVICE_USER"]},"date":"2026-10-23 14:52:21.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/56785dd8bf124d8f8851ce22a93a8948\n\n- openstackclient-check-plugins https://zuul.opendev.org/t/openstack/build/f364343929374e9e925b4af51564e0e4 : SUCCESS in 7m 59s\n- osc-tox-py311-tips https://zuul.opendev.org/t/openstack/build/e36480d60720444dae63d0b1eadc6888 : FAILURE in 4m 47s\n- osc-tox-py314-tips https://zuul.opendev.org/t/openstack/build/6262dac7f2b046f8901f41a0536e0bc4 : FAILURE in 10m 13s\n- openstack-tox-cover https://zuul.opendev.org/t/openstack/build/34ceaf2d1a194eb28b195a8a4d688602 : SUCCESS in 5m 18s\n- openstack-tox-pep8 https://zuul.opendev.org/t/openstack/build/d8a478bafef94c038736235c1754cc0c : SUCCESS in 7m 04s\n- openstack-tox-py311 https://zuul.opendev.org/t/openstack/build/c8ff7ab5995c4a109f33fd7e7df37475 : SUCCESS in 4m 00s\n- openstack-tox-py314 https://zuul.opendev.org/t/openstack/build/a4d153c36d154a66a9a341b88786d36c : SUCCESS in 6m 45s\n- openstack-tox-py315 https://zuul.opendev.org/t/openstack/build/d0ecc80d2a604649b3b7be93ba2ceffc : SUCCESS in 7m 09s\n- openstack-tox-docs https://zuul.opendev.org/t/openstack/build/a58a9bd9baa64d71a11b32aee3eac6ac : SUCCESS in 6m 42s\n- build-openstack-releasenotes https://zuul.opendev.org/t/openstack/build/56170616be764a549f31f63b8329993f : SUCCESS in 9m 56s\n- osc-build-image https://zuul.opendev.org/t/openstack/build/c943c6ce15c4459592bc17eb18402e1c : FAILURE in 5m 06s (non-voting)\n- osc-functional-devstack https://zuul.opendev.org/t/openstack/build/71c4e4c5fb4e4414add12f29c26adaaf : SUCCESS in 1h 14m 25s\n- osc-functional-devstack-tips https://zuul.opendev.org/t/openstack/build/8b308dccaed0435480bc717d579abb24 : SUCCESS in 1h 17m 40s\n- osc-functional-devstack-cyborg https://zuul.opendev.org/t/openstack/build/8fb0be9581644c2d8dd54bed6af9c796 : SUCCESS in 35m 27s","accounts_in_message":[],"_revision_number":1},{"id":"1ababf216a782b14bcf8e8a78570690c6a136f9f","tag":"autogenerated:gerrit:newWipPatchSet","author":{"_account_id":14250,"name":"Grzegorz Grasza","email":"xek@redhat.com","username":"xek"},"date":"2026-10-23 21:54:31.000000000","message":"Uploaded patch set 2.\n\nOutdated Votes:\n* Verified-1 (copy condition: \"NEVER\")\n","accounts_in_message":[],"_revision_number":2},{"id":"501bef397556fd598483034e61c24f6e9b8dda55","tag":"autogenerated:zuul:check","author":{"_account_id":22348,"name":"Zuul","username":"zuul","tags":["SERVICE_USER"]},"date":"2026-10-23 23:17:58.000000000","message":"Patch Set 2: Verified+1\n\nBuild succeeded (check pipeline).\nhttps://zuul.opendev.org/t/openstack/buildset/db8badcc8e8147689d4ddb27713f91ad\n\n- openstackclient-check-plugins https://zuul.opendev.org/t/openstack/build/2cc56eb5d3c14dd09206f0404550acfd : SUCCESS in 5m 34s\n- osc-tox-py311-tips https://zuul.opendev.org/t/openstack/build/52c0acc74e0146888e6167298fd95c40 : SUCCESS in 4m 21s\n- osc-tox-py314-tips https://zuul.opendev.org/t/openstack/build/5337b1688d0a4abab2633d4fbbf106ea : SUCCESS in 7m 22s\n- openstack-tox-cover https://zuul.opendev.org/t/openstack/build/7c80f00a28734e2f9a5285ebb795663e : SUCCESS in 6m 57s\n- openstack-tox-pep8 https://zuul.opendev.org/t/openstack/build/369f5400419e467e96d07f25395333cc : SUCCESS in 4m 56s\n- openstack-tox-py311 https://zuul.opendev.org/t/openstack/build/5a489cd6201a47c28653ec56e356aef6 : SUCCESS in 3m 46s\n- openstack-tox-py314 https://zuul.opendev.org/t/openstack/build/5678eeae33cc4525ac9471f3fed07955 : SUCCESS in 5m 43s\n- openstack-tox-py315 https://zuul.opendev.org/t/openstack/build/e2cf3c1949a04304b19ad8c37ddd044d : SUCCESS in 6m 36s\n- openstack-tox-docs https://zuul.opendev.org/t/openstack/build/7baa4eb2f6cf41819e37547f26d7a64e : SUCCESS in 6m 26s\n- build-openstack-releasenotes https://zuul.opendev.org/t/openstack/build/4568870385314cf9ad9fc0b684396714 : SUCCESS in 10m 30s\n- osc-build-image https://zuul.opendev.org/t/openstack/build/97e726e1f00b427284702ede44739937 : FAILURE in 6m 38s (non-voting)\n- osc-functional-devstack https://zuul.opendev.org/t/openstack/build/fbdb278a29a8456f934ed874278f5e58 : SUCCESS in 1h 17m 22s\n- osc-functional-devstack-tips https://zuul.opendev.org/t/openstack/build/5169616066154012b1392e3ccf6cceba : SUCCESS in 1h 06m 38s\n- osc-functional-devstack-cyborg https://zuul.opendev.org/t/openstack/build/1c0df745c77249a1b84d60b8b3207e44 : SUCCESS in 20m 46s","accounts_in_message":[],"_revision_number":2}],"current_revision_number":2,"current_revision":"d250bb293e0671a0e2c87dd6b5aa1014c3b03c23","revisions":{"6a28e84978196d3b8d6a2513d50b02762e33d29c":{"kind":"REWORK","_number":1,"created":"2026-10-23 13:27:49.000000000","uploader":{"_account_id":14250,"name":"Grzegorz Grasza","email":"xek@redhat.com","username":"xek"},"ref":"refs/changes/21/1012021/1","fetch":{"anonymous http":{"url":"https://review.opendev.org/openstack/python-openstackclient","ref":"refs/changes/21/1012021/1","commands":{"Checkout":"git fetch https://review.opendev.org/openstack/python-openstackclient refs/changes/21/1012021/1 \u0026\u0026 git checkout FETCH_HEAD","Cherry Pick":"git fetch https://review.opendev.org/openstack/python-openstackclient refs/changes/21/1012021/1 \u0026\u0026 git cherry-pick FETCH_HEAD","Format Patch":"git fetch https://review.opendev.org/openstack/python-openstackclient refs/changes/21/1012021/1 \u0026\u0026 git format-patch -1 --stdout FETCH_HEAD","Pull":"git pull https://review.opendev.org/openstack/python-openstackclient refs/changes/21/1012021/1"}}},"commit":{"parents":[{"commit":"afadefaa2231436a165f0c4a0e21d9d0cd41e0fd","subject":"Fix the block storage v3 index to say v3 instead of v2","web_links":[{"name":"gitea","tooltip":"Open in GitWeb","url":"https://opendev.org/openstack/python-openstackclient/commit/afadefaa2231436a165f0c4a0e21d9d0cd41e0fd"}]}],"author":{"name":"Grzegorz Grasza","email":"xek@redhat.com","date":"2026-10-22 14:15:42.000000000","tz":120},"committer":{"name":"Grzegorz Grasza","email":"xek@redhat.com","date":"2026-10-22 14:15:42.000000000","tz":120},"subject":"Support write-only credential compatibility and allowed_consumers","message":"Support write-only credential compatibility and allowed_consumers\n\nAdd --allowed-consumer option (repeatable, choices: s3, heat-cfn,\nec2-token) to \u0027openstack ec2 credentials create\u0027 and \u0027openstack\ncredential create\u0027 to support explicit consumer restrictions on new\ncredentials per spec 1010380. Preserve omitted None legacy default when\nthe option is omitted.\n\nAdd fail-closed capability guards when --allowed-consumer is explicitly\nprovided: verify descriptor presence on openstacksdk Credential and\nparameter support on python-keystoneclient EC2Manager.create, raising\nCommandError with zero CREATE calls if client libraries lack consumer\nsupport.\n\nDocument write-only credentials contract (spec 1011634) where secrets\nand blobs are returned once on creation and omitted on reads. PATCH\nupdates in write-only mode propagate HTTP 405 Method Not Allowed without\nretries, requiring rotation through replacement and deletion.\n\nDepends-On: Ib6ceb307ca940d2d5985af70b0f02fc1ea307525\nDepends-On: I5cf11e6f7f6ae8c66be680330c98dc029c13e0dd\nRelated-Bug: #2119646\nAssisted-by: Gemini 3.8 Flash\nChange-Id: If258c97d9a578b40a2dc19d3a82211e403f0deac\nSigned-off-by: Grzegorz Grasza \u003cxek@redhat.com\u003e\n","web_links":[{"name":"gitea","tooltip":"Open in GitWeb","url":"https://opendev.org/openstack/python-openstackclient/commit/6a28e84978196d3b8d6a2513d50b02762e33d29c"}],"resolve_conflicts_web_links":[{"name":"gitea","tooltip":"Open in GitWeb","url":"https://opendev.org/openstack/python-openstackclient/commit/6a28e84978196d3b8d6a2513d50b02762e33d29c"}]},"branch":"refs/heads/master"},"d250bb293e0671a0e2c87dd6b5aa1014c3b03c23":{"kind":"REWORK","_number":2,"created":"2026-10-23 21:54:31.000000000","uploader":{"_account_id":14250,"name":"Grzegorz Grasza","email":"xek@redhat.com","username":"xek"},"ref":"refs/changes/21/1012021/2","fetch":{"anonymous http":{"url":"https://review.opendev.org/openstack/python-openstackclient","ref":"refs/changes/21/1012021/2","commands":{"Checkout":"git fetch https://review.opendev.org/openstack/python-openstackclient refs/changes/21/1012021/2 \u0026\u0026 git checkout FETCH_HEAD","Cherry Pick":"git fetch https://review.opendev.org/openstack/python-openstackclient refs/changes/21/1012021/2 \u0026\u0026 git cherry-pick FETCH_HEAD","Format Patch":"git fetch https://review.opendev.org/openstack/python-openstackclient refs/changes/21/1012021/2 \u0026\u0026 git format-patch -1 --stdout FETCH_HEAD","Pull":"git pull https://review.opendev.org/openstack/python-openstackclient refs/changes/21/1012021/2"}}},"commit":{"parents":[{"commit":"afadefaa2231436a165f0c4a0e21d9d0cd41e0fd","subject":"Fix the block storage v3 index to say v3 instead of v2","web_links":[{"name":"gitea","tooltip":"Open in GitWeb","url":"https://opendev.org/openstack/python-openstackclient/commit/afadefaa2231436a165f0c4a0e21d9d0cd41e0fd"}]}],"author":{"name":"Grzegorz Grasza","email":"xek@redhat.com","date":"2026-10-22 14:15:42.000000000","tz":120},"committer":{"name":"Grzegorz Grasza","email":"xek@redhat.com","date":"2026-10-23 21:54:12.000000000","tz":120},"subject":"Support write-only credential compatibility and allowed_consumers","message":"Support write-only credential compatibility and allowed_consumers\n\nAdd --allowed-consumer option (repeatable, choices: s3, heat-cfn,\nec2-token) to \u0027openstack ec2 credentials create\u0027 and \u0027openstack\ncredential create\u0027 to support explicit consumer restrictions on new\ncredentials per spec 1010380. Preserve omitted None legacy default when\nthe option is omitted.\n\nAdd fail-closed capability guards when --allowed-consumer is explicitly\nprovided: verify descriptor presence on openstacksdk Credential and\nparameter support on python-keystoneclient EC2Manager.create, raising\nCommandError with zero CREATE calls if client libraries lack consumer\nsupport.\n\nDocument write-only credentials contract (spec 1011634) where secrets\nand blobs are returned once on creation and omitted on reads. PATCH\nupdates in write-only mode propagate HTTP 405 Method Not Allowed without\nretries, requiring rotation through replacement and deletion.\n\nDepends-On: Ib6ceb307ca940d2d5985af70b0f02fc1ea307525\nDepends-On: I5cf11e6f7f6ae8c66be680330c98dc029c13e0dd\nRelated-Bug: #2119646\nAssisted-by: Gemini 3.8 Flash\nAssisted-by: DeepSeek-V4.1-Flash\nChange-Id: If258c97d9a578b40a2dc19d3a82211e403f0deac\nSigned-off-by: Grzegorz Grasza \u003cxek@redhat.com\u003e\n","web_links":[{"name":"gitea","tooltip":"Open in GitWeb","url":"https://opendev.org/openstack/python-openstackclient/commit/d250bb293e0671a0e2c87dd6b5aa1014c3b03c23"}],"resolve_conflicts_web_links":[{"name":"gitea","tooltip":"Open in GitWeb","url":"https://opendev.org/openstack/python-openstackclient/commit/d250bb293e0671a0e2c87dd6b5aa1014c3b03c23"}]},"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":""}}}]}
