Note: This bug is displayed in read-only format because
the product is no longer active in Red Hat Bugzilla.
RHEL Engineering is moving the tracking of its product development work on RHEL 6 through RHEL 9 to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "RHEL project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs in the statuses "NEW", "ASSIGNED", and "POST" are being migrated throughout September 2023. Bugs of Red Hat partners with an assigned Engineering Partner Manager (EPM) are migrated in late September as per pre-agreed dates. Bugs against components "kernel", "kernel-rt", and "kpatch" are only migrated if still in "NEW" or "ASSIGNED". If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "RHEL project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/RHEL-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.
Description of problem:
When using virsh secret-list - if the secret types are cephx or iscsi,
then allow fetch/print of the usage information. Prior to the change
the following would print:
UUID Usage
-----------------------------------------------------------
1b40a534-8301-45d5-b1aa-11894ebb1735 Unused
a5ba3efe-6adf-4a6a-b243-f010a043e314 Unused
Steps to Reproduce:
1. Create a ceph or iscsi secret (see http://libvirt.org/formatsecret.html)
# cat ceph-secret.xml
<secret ephemeral='no' private='yes'>
<description>CEPH passphrase example</description>
<auth type='ceph' username='myname'/>
<usage type='ceph'>
<name>ceph_example</name>
</usage>
</secret>
# virsh secret-define ceph-secret.xml
Secret 1b40a534-8301-45d5-b1aa-11894ebb1735 created
#
2. virsh secret-list
3.
Expected results:
UUID Usage
-----------------------------------------------------------
1b40a534-8301-45d5-b1aa-11894ebb1735 ceph ceph_example
This request was resolved in Red Hat Enterprise Linux 7.0.
Contact your manager or support representative in case you have further questions about the request.
Couple of questions related to this defect:
1. Is the issue limited to only "virsh secret-list" command, where it is not reporting the correct Usage value of the secret-key or there is some functional issue?
2 Is the fix going to be back-ported to RHEL 6.5 ?
1. The issue was prior to the fix that the secret usage types cephx and iscsi were not printing and only the volume type was printed.
For a list of secret usage type's see: http://libvirt.org/formatsecret.html
2. RHEL7 only so far. There's been no request for RHEL6 backport.
Comment 9Hanns-Joachim Uhl
2014-10-24 08:33:46 UTC
(In reply to John Ferlan from comment #8)
> 1. The issue was prior to the fix that the secret usage types cephx and
> iscsi were not printing and only the volume type was printed.
>
> For a list of secret usage type's see: http://libvirt.org/formatsecret.html
>
> 2. RHEL7 only so far. There's been no request for RHEL6 backport.
.
fyi ... the RHEL6.5 bugzilla is now opened in RHBZ 1156327 - virsh secret-list does not list ceph and iscsi Usage information (libvirt) ...
Description of problem: When using virsh secret-list - if the secret types are cephx or iscsi, then allow fetch/print of the usage information. Prior to the change the following would print: UUID Usage ----------------------------------------------------------- 1b40a534-8301-45d5-b1aa-11894ebb1735 Unused a5ba3efe-6adf-4a6a-b243-f010a043e314 Unused Steps to Reproduce: 1. Create a ceph or iscsi secret (see http://libvirt.org/formatsecret.html) # cat ceph-secret.xml <secret ephemeral='no' private='yes'> <description>CEPH passphrase example</description> <auth type='ceph' username='myname'/> <usage type='ceph'> <name>ceph_example</name> </usage> </secret> # virsh secret-define ceph-secret.xml Secret 1b40a534-8301-45d5-b1aa-11894ebb1735 created # 2. virsh secret-list 3. Expected results: UUID Usage ----------------------------------------------------------- 1b40a534-8301-45d5-b1aa-11894ebb1735 ceph ceph_example