Skip to content

identity: credentials Update test sends only blob - #4015

Merged
winiciusallan merged 1 commit into
gophercloud:v2from
shiftstack:fix-keystone-tests-v2
Sep 16, 2026
Merged

winiciusallan merged 1 commit into
gophercloud:v2from
shiftstack:fix-keystone-tests-v2

Conversation

@mandre

@mandre mandre commented Sep 16, 2026

Copy link
Copy Markdown
Contributor

Keystone 2026.2 [1] restricts PATCH /v3/credentials/{id} to accept only the blob field. The project_id, type, and user_id fields are now immutable after creation.

Update unit and acceptance tests to only send blob in the update request, matching the new Keystone schema. The SDK's UpdateOpts already uses omitempty on all fields, so no code change is needed — users who only set Blob will correctly send a valid request to both old and new Keystone versions.

[1] https://review.opendev.org/c/openstack/keystone/+/1002330

Manual backport of #4013

Keystone 2026.2 [1] restricts PATCH /v3/credentials/{id} to accept
only the blob field. The project_id, type, and user_id fields are now
immutable after creation.

Update unit and acceptance tests to only send blob in the update
request, matching the new Keystone schema. The SDK's UpdateOpts already
uses omitempty on all fields, so no code change is needed — users who
only set Blob will correctly send a valid request to both old and new
Keystone versions.

[1] https://review.opendev.org/c/openstack/keystone/+/1002330
@github-actions github-actions Bot added v2 This PR targets v2 edit:identity This PR updates identity code semver:patch No API change labels Sep 16, 2026
@coveralls

Copy link
Copy Markdown

Coverage Status

coverage: 64.032%. remained the same — shiftstack:fix-keystone-tests-v2 into gophercloud:v2

@winiciusallan
winiciusallan merged commit 7d4d3c5 into gophercloud:v2 Sep 16, 2026
15 checks passed
@winiciusallan
winiciusallan deleted the fix-keystone-tests-v2 branch September 16, 2026 14:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

edit:identity This PR updates identity code semver:patch No API change v2 This PR targets v2

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants