EC2 credentials duplicated after a credential updated
Bug #1776221 reported by
Yuxin Wang
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack Identity (keystone) |
Expired
|
Undecided
|
Unassigned |
Bug Description
It's fine when creating a new ec2 credential if there's an existing one with the same blob. It raises 409 conflicts.
But it would allow me to update a credential with the same blob of another one.
Can reproduce this by using REST API and OpenStack Client.
REST API:
PATCH /v3/credentials
Client:
openstack credential set
[root@test ~]# rpm -qa | grep openstackclient
python-
python2-
Keystone version: 12.0.0
Token provider: fernet
Credential provider: fernet
MariaDB version10.1.20
Which APIs are you using to recreate this behavior? Are you using the REST APIs directly or are you using one of the clients?