Skip to content

identity: credentials Update test sends only blob - #4013

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

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

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

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 the edit:identity This PR updates identity code label Sep 16, 2026
@github-actions github-actions Bot added semver:patch No API change backport-v2 This PR will be backported to v2 labels Sep 16, 2026
@coveralls

Copy link
Copy Markdown

Coverage Status

coverage: 63.594%. remained the same — shiftstack:fix-keystone-tests into gophercloud:main

@winiciusallan
winiciusallan added this pull request to the merge queue Sep 16, 2026
Merged via the queue into gophercloud:main with commit d575108 Sep 16, 2026
73 checks passed
@winiciusallan
winiciusallan deleted the fix-keystone-tests branch September 16, 2026 12:58
@github-actions

Copy link
Copy Markdown

Failed to backport PR to v2 branch. See logs for details.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

backport-v2 This PR will be backported to v2 edit:identity This PR updates identity code semver:patch No API change

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants