Skip to content

TestEC2AuthMethod test fails due to keystone changes #3555

@mandre

Description

@mandre

What happened?

The functional-basic job started failing on all branches:

=== FAIL: internal/acceptance/openstack TestEC2AuthMethod (0.49s)
    tools.go:84: {
          "id": "gAAAAABpFTYcNmxkUEsJskvwQv031WXBbmotymVfWEf3EDInbW2cJxsTF4MIrAGDL5p0XjrMDnj_VQN701ZD5vl_dsI-KqZHzKhTVNP6hxfYZXKkSK_-e-h6fLb6_L0zxKXtxK9xBSz4hzKC2KK7UNjprh7vkJothZK2Z4NlbGRp42nbRKjFiSA",
          "expires_at": "2025-11-13T02:36:28Z"
        }
    tools.go:84: {
          "domain": {
            "id": "default",
            "name": "Default"
          },
          "id": "f3b5dcef81a444519e6796fac90604a8",
          "name": "admin"
        }
    tools.go:84: {
          "domain": {
            "id": "default",
            "name": "Default"
          },
          "id": "c6db0f8986c4499a98736b4f12c46377",
          "name": "admin"
        }
    tools.go:84: {
          "id": "3d3367228f9c7665266604462ec60029bcd83ad89614021a80b2eb879c572510",
          "blob": "{\"access\":\"181920\",\"secret\":\"secretKey\"}",
          "user_id": "f3b5dcef81a444519e6796fac90604a8",
          "type": "ec2",
          "project_id": "c6db0f8986c4499a98736b4f12c46377",
          "links": {
            "self": "http://10.1.0.215/identity/v3/credentials/3d3367228f9c7665266604462ec60029bcd83ad89614021a80b2eb879c572510"
          }
        }
    client_test.go:106: Failure in client_test.go, line 106: unexpected error "Expected HTTP response code [200] when accessing [POST http://10.1.0.215/identity/v3/ec2tokens], but got 401 instead: {\"error\":{\"code\":401,\"message\":\"The request you have made requires authentication.\",\"title\":\"Unauthorized\"}}"

This is caused by a recent change in keystone that now requires authentication.

Version

v2 (current)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions