Skip to content

Tempest test_credentials (EC2-style /v3/credentials) fails despite CRUD being implemented #1044

Description

@gtema

Evidence: tempest identity compatibility run on PR #998 (skaffold verify -m tempest). tempest.api.identity.admin.v3.test_credentials.CredentialsTestJSON.test_credentials_create_get_update_delete fails against keystone-rs (passes against keystone-py).

Unlike the other gaps tracked under #938, /v3/credentials (EC2-style access/secret credential storage) is already implemented end-to-end in keystone-rs (crates/keystone/src/api/v3/credential/{create,show,update,delete,list}.rs, crates/core/src/credential/service.rs, per ADR 0019), so this is a regression/bug, not a coverage gap.

Two tempest.lib.exceptions.InvalidHttpSuccessCode ("The success code is different than the expected one") were observed among the run's failures overall, which is a plausible fit here (e.g. a create/update endpoint returning the wrong 2xx code) but isn't confirmed to belong to this test specifically.

Next step: reproduce in isolation for a small, complete trace:

skaffold verify -m tempest -a build.artifacts -v debug
# or locally against a running keystone-rs:
TEMPEST_REGEX='test_credentials\.CredentialsTestJSON' <run tools/tempest/run-tempest.sh manually>

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    Projects

    Status
    Backlog

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions