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.
Bug 2064575 - RHST - getattachment command fails when trying to download multiple attachments
Summary: RHST - getattachment command fails when trying to download multiple attachments
Alias: None
Product: Red Hat Enterprise Linux 8
Classification: Red Hat
Component: redhat-support-tool
Version: 8.6
Hardware: Unspecified
OS: Unspecified
Target Milestone: rc
: ---
Assignee: Pranita Ghole
QA Contact: Miroslav Hradílek
Jana Heves
Depends On:
TreeView+ depends on / blocked
Reported: 2022-03-16 08:02 UTC by Pranita Ghole
Modified: 2023-09-16 07:30 UTC (History)
5 users (show)

Fixed In Version: redhat-support-tool-0.13.1-1.el8
Doc Type: Known Issue
Doc Text:
.The `getattachment` command fails to download multiple attachments at once The `redhat-support-tool` command offers the `getattachment` subcommand for downloading attachments. However, `getattachment` is currently only able to download a single attachment and fails to download multiple attachments. As a workaround, you can download multiple attachments one by one by passing the case number and UUID for each attachment in the `getattachment` subcommand.
Clone Of:
Last Closed: 2023-09-16 07:28:45 UTC
Type: Bug
Target Upstream Version:

Attachments (Terms of Use)

System ID Private Priority Status Summary Last Updated
Red Hat Issue Tracker RHELPLAN-115709 0 None None None 2022-03-16 08:15:25 UTC

Description Pranita Ghole 2022-03-16 08:02:31 UTC
Description of problem:
The getattachment command successfully downloads single attachment but fails when tries to download multiple attachments.

Version-Release number of selected component (if applicable):

How reproducible:

Steps to Reproduce:
1. Hit the getattachment command with "-a" option

Actual results:
Fails with following log

2022-02-16 08:04:30,340 - redhat_support_tool.helpers.launchhelper - ERROR - Failed to get the download link of the attachment
Traceback (most recent call last):
  File "/usr/lib/python3.6/site-packages/redhat_support_tool/helpers/launchhelper.py", line 106, in run
    return cls.non_interactive_action()
  File "/usr/lib/python3.6/site-packages/redhat_support_tool/plugins/get_attachment.py", line 249, in non_interactive_action
  File "/usr/lib/python3.6/site-packages/redhat_support_tool/plugins/get_attachment.py", line 301, in _downloadall
    self.downloaduuid(attach.get_uuid(), fileName, attachmentLength)
  File "/usr/lib/python3.6/site-packages/redhat_support_tool/plugins/get_attachment.py", line 354, in downloaduuid
  File "/usr/lib/python3.6/site-packages/redhat_support_lib/infrastructure/brokers.py", line 594, in get
    raise Exception("Failed to get the download link of the attachment")
Exception: Failed to get the download link of the attachment

Expected results:
Multiple attachments should get downloaded.

Additional info:

Comment 17 RHEL Program Management 2023-09-16 07:28:45 UTC
After evaluating this issue, there are no plans to address it further or fix it in an upcoming release.  Therefore, it is being closed.  If plans change such that this issue will be fixed in an upcoming release, then the bug can be reopened.

Note You need to log in before you can comment on or make changes to this bug.