[Bug 1800175] Re: cannot update value for an existing kv
Ryan Beisner
1800175 at bugs.launchpad.net
Fri Oct 26 15:55:35 UTC 2018
ubuntu at juju-b7ad6b-beisner-4:/etc$ snap info vault
name: vault
summary: Vault is a tool for securely accessing secrets.
publisher: Snapcrafters
contact: https://github.com/snapcrafters/vault/issues
license: unset
description: |
A modern system requires access to a multitude of secrets: database
credentials, API keys for external services, credentials for service-oriented
architecture communication, etc. Understanding who is accessing what secrets
is already very difficult and platform-specific. Adding on key rolling,
secure storage, and detailed audit logs is almost impossible without a custom
solution. This is where Vault steps in.
This snap is maintained by the Snapcrafters community, and is not necessarily endorsed or
officially maintained by the upstream developers.
commands:
- vault
snap-id: bIb4p4yWWjyZdo2EU64whkZhw9QYYsMH
tracking: stable
refresh-date: 2 days ago, at 14:40 UTC
channels:
stable: 0.11.3 (1062) 55MB -
candidate: ↑
beta: 0.11.3 (1062) 55MB -
edge: 1.0.0-beta1 (1116) 149MB -
installed: 0.11.3 (1062) 55MB -
---
ubuntu at juju-b7ad6b-beisner-0:~$ apt-cache policy barbican-common
barbican-common:
Installed: 1:7.0.0-0ubuntu3~ubuntu18.04.1~ppa201810241636
Candidate: 1:7.0.0-0ubuntu3~ubuntu18.04.1~ppa201810241636
Version table:
*** 1:7.0.0-0ubuntu3~ubuntu18.04.1~ppa201810241636 500
500 http://ppa.launchpad.net/corey.bryant/bionic-rocky/ubuntu bionic/main amd64 Packages
100 /var/lib/dpkg/status
1:7.0.0-0ubuntu2~cloud0 500
500 http://ubuntu-cloud.archive.canonical.com/ubuntu bionic-proposed/rocky/main amd64 Packages
1:6.0.0-0ubuntu1 500
500 http://nova.clouds.archive.ubuntu.com/ubuntu bionic/main amd64 Packages
** Summary changed:
- cannot update value for an existing kv
+ cannot update value for an existing kv - Conflict: Secret already has data, cannot modify i
--
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