_undefine_virsh_secret assumes only one secret exists
Bug #1920063 reported by
Eric Harney
This bug affects 2 people
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
devstack-plugin-ceph |
New
|
Undecided
|
Unassigned |
Bug Description
This code assumes that "virsh secret-list" only returns one secret.
If an encrypted volume has been attached to an instance, this will return a secret for that volume as well.
This makes this command not work because it will call something like:
virsh secret-undefine secret-1 secret-2
which is invalid.
tags: | added: secret virsh |
To post a comment you must log in.