[Bug 1800175] [NEW] when updating value for an existing kv - Conflict: Secret already has data, cannot modify it

Ryan Beisner 1800175 at bugs.launchpad.net
Fri Oct 26 15:52:42 UTC 2018


Public bug reported:

(clients) 1 ubuntu at beisner-bastion:~/demo$ openstack secret store --name kv_bucket_001
+---------------+-----------------------------------------------------------------------+
| Field         | Value                                                                 |
+---------------+-----------------------------------------------------------------------+
| Secret href   | http://10.5.0.11:9312/v1/secrets/dfe00045-6adb-4839-9e39-5902a7c966aa |
| Name          | kv_bucket_001                                                         |
| Created       | None                                                                  |
| Status        | None                                                                  |
| Content types | None                                                                  |
| Algorithm     | aes                                                                   |
| Bit length    | 256                                                                   |
| Secret type   | opaque                                                                |
| Mode          | cbc                                                                   |
| Expiration    | None                                                                  |
+---------------+-----------------------------------------------------------------------+
(clients) ubuntu at beisner-bastion:~/demo$ openstack secret update http://10.5.0.11:9312/v1/secrets/dfe00045-6adb-4839-9e39-5902a7c966aa "Hello!"
(clients) ubuntu at beisner-bastion:~/demo$ openstack secret get -d http://10.5.0.11:9312/v1/secrets/dfe00045-6adb-4839-9e39-5902a7c966aa --format value
Hello!

(clients) ubuntu at beisner-bastion:~/demo$ openstack secret update http://10.5.0.11:9312/v1/secrets/dfe00045-6adb-4839-9e39-5902a7c966aa "Goodbye!"
4xx Client error: Conflict: Secret already has data, cannot modify it.
Conflict: Secret already has data, cannot modify it.

** Affects: charm-barbican-vault
     Importance: Undecided
         Status: New

** Affects: barbican (Ubuntu)
     Importance: Undecided
         Status: New


** Tags: uosci

** Also affects: barbican (Ubuntu)
   Importance: Undecided
       Status: New

-- 
You received this bug notification because you are a member of Ubuntu
OpenStack, which is subscribed to barbican in Ubuntu.
https://bugs.launchpad.net/bugs/1800175

Title:
  when updating value for an existing kv - Conflict: Secret already has
  data, cannot modify it

Status in OpenStack Barbican-Vault Charm:
  New
Status in barbican package in Ubuntu:
  New

Bug description:
  (clients) 1 ubuntu at beisner-bastion:~/demo$ openstack secret store --name kv_bucket_001
  +---------------+-----------------------------------------------------------------------+
  | Field         | Value                                                                 |
  +---------------+-----------------------------------------------------------------------+
  | Secret href   | http://10.5.0.11:9312/v1/secrets/dfe00045-6adb-4839-9e39-5902a7c966aa |
  | Name          | kv_bucket_001                                                         |
  | Created       | None                                                                  |
  | Status        | None                                                                  |
  | Content types | None                                                                  |
  | Algorithm     | aes                                                                   |
  | Bit length    | 256                                                                   |
  | Secret type   | opaque                                                                |
  | Mode          | cbc                                                                   |
  | Expiration    | None                                                                  |
  +---------------+-----------------------------------------------------------------------+
  (clients) ubuntu at beisner-bastion:~/demo$ openstack secret update http://10.5.0.11:9312/v1/secrets/dfe00045-6adb-4839-9e39-5902a7c966aa "Hello!"
  (clients) ubuntu at beisner-bastion:~/demo$ openstack secret get -d http://10.5.0.11:9312/v1/secrets/dfe00045-6adb-4839-9e39-5902a7c966aa --format value
  Hello!

  (clients) ubuntu at beisner-bastion:~/demo$ openstack secret update http://10.5.0.11:9312/v1/secrets/dfe00045-6adb-4839-9e39-5902a7c966aa "Goodbye!"
  4xx Client error: Conflict: Secret already has data, cannot modify it.
  Conflict: Secret already has data, cannot modify it.

To manage notifications about this bug go to:
https://bugs.launchpad.net/charm-barbican-vault/+bug/1800175/+subscriptions



More information about the Ubuntu-openstack-bugs mailing list