Note: This bug is displayed in read-only format because
the product is no longer active in Red Hat Bugzilla.
Red Hat Satellite engineering is moving the tracking of its product development work on Satellite 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 "Satellite project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs will be migrated starting at the end of May. 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 "Satellite project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/SAT-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:
Feel free to consider this an RFE or BUG as applicable but I am reporting this as a bug here.
We have two Export buttons available in
Hosts --> Content Hosts page
( This works and exports the same data we can see in UI )
Hosts --> All Hosts page
( This one does not exports the same set of data as visible in UI )
Version-Release number of selected component (if applicable):
Satellite
6.13 ( Snap 9 )
6.12
6.11
6.10
How reproducible:
Easily
Steps to Reproduce:
1. Install a Satellite 6.13 ( or any other versions mentioned )
2. Go to Hosts --> All Hosts page and note down the column names.
3. Click on Export and Check the columns downloaded CSV file
4. Click on "Manage Columns" and make the following modifications before saving it.
** Unselect the Comment, Owner and RH Cloud options.
** Select the IPv4 Address inside Network category
5. Note the change in columns in the All Hosts page now.
6. Repeat Step 3
Actual results:
On Step 2:
Power Recommendations Name Operating system Model Owner Host group Last report Comment
On Step 3:
Name Operatingsystem Compute Resource Or Model Hostgroup Last Report
On Step 5:
Power Name IPv4 address Operating system Model Host group Last report
On Step 6:
Name Operatingsystem Compute Resource Or Model Hostgroup Last Report
Expected results:
Whatever Columns we can see for Hosts in "All Hosts" page, Those SHOULD BE exported in the CSV instead of only exporting a fixed set of data i.e.
Name Operatingsystem Compute Resource Or Model Hostgroup Last Report
Specifically when we give users the choice to customize what they want to see on that page via "Manage Columns", I am positive that users will try to export that data as well, and for that "Export" button needs to be able to fetch the expected data properly.
Additional info:
NA
Again, I won't argue with the automation, but the rh cloud changes are not merged yet.
Comment 12Lukáš Hellebrandt
2023-07-17 13:54:20 UTC
Verified with Sat 6.14.0 snap 7.0.
The exported CSV now contains the columns that are chosen to display in the WebUI. The column order doesn't match neither WebUI column order nor the Manage Columns checkboxes order (and these two don't match either) but that's just weird, not a bug IMO.
Also, I must disagree with OPs statement that in Content Hosts, the columns match. They don't. But that's out of scope of this BZ.
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.
For information on the advisory (Important: Satellite 6.14 security and bug fix update), and where to find the updated
files, follow the link below.
If the solution does not work for you, open a new bug report.
https://access.redhat.com/errata/RHSA-2023:6818
Description of problem: Feel free to consider this an RFE or BUG as applicable but I am reporting this as a bug here. We have two Export buttons available in Hosts --> Content Hosts page ( This works and exports the same data we can see in UI ) Hosts --> All Hosts page ( This one does not exports the same set of data as visible in UI ) Version-Release number of selected component (if applicable): Satellite 6.13 ( Snap 9 ) 6.12 6.11 6.10 How reproducible: Easily Steps to Reproduce: 1. Install a Satellite 6.13 ( or any other versions mentioned ) 2. Go to Hosts --> All Hosts page and note down the column names. 3. Click on Export and Check the columns downloaded CSV file 4. Click on "Manage Columns" and make the following modifications before saving it. ** Unselect the Comment, Owner and RH Cloud options. ** Select the IPv4 Address inside Network category 5. Note the change in columns in the All Hosts page now. 6. Repeat Step 3 Actual results: On Step 2: Power Recommendations Name Operating system Model Owner Host group Last report Comment On Step 3: Name Operatingsystem Compute Resource Or Model Hostgroup Last Report On Step 5: Power Name IPv4 address Operating system Model Host group Last report On Step 6: Name Operatingsystem Compute Resource Or Model Hostgroup Last Report Expected results: Whatever Columns we can see for Hosts in "All Hosts" page, Those SHOULD BE exported in the CSV instead of only exporting a fixed set of data i.e. Name Operatingsystem Compute Resource Or Model Hostgroup Last Report Specifically when we give users the choice to customize what they want to see on that page via "Manage Columns", I am positive that users will try to export that data as well, and for that "Export" button needs to be able to fetch the expected data properly. Additional info: NA