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 2148509 - [RHEL-8] ValueError: not enough values to unpack (expected 2, got 1)
Summary: [RHEL-8] ValueError: not enough values to unpack (expected 2, got 1)
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Enterprise Linux 8
Classification: Red Hat
Component: oscap-anaconda-addon
Version: 8.8
Hardware: Unspecified
OS: Unspecified
unspecified
medium
Target Milestone: rc
: ---
Assignee: Matěj Týč
QA Contact: Release Test Team
URL:
Whiteboard:
Depends On:
Blocks: 2129764
TreeView+ depends on / blocked
 
Reported: 2022-11-25 17:32 UTC by Jan Stodola
Modified: 2023-05-16 09:55 UTC (History)
3 users (show)

Fixed In Version: oscap-anaconda-addon-1.2.1-11.el8
Doc Type: No Doc Update
Doc Text:
Clone Of:
Environment:
Last Closed: 2023-05-16 08:36:35 UTC
Type: Bug
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Issue Tracker RHELPLAN-140527 0 None None None 2022-11-25 18:01:23 UTC
Red Hat Issue Tracker RTT-5079 0 None None None 2022-12-20 10:44:10 UTC
Red Hat Issue Tracker RTT-5080 0 None None None 2022-12-20 10:44:13 UTC
Red Hat Product Errata RHBA-2023:2828 0 None None None 2023-05-16 08:36:42 UTC

Description Jan Stodola 2022-11-25 17:32:58 UTC
This bug was initially created as a copy of Bug #2148508

I am copying this bug because: 
The same problem exists on RHEL-8 with oscap-anaconda-addon-1.2.1-10.el8.


Description of problem:
The installation fails with a traceback when "http" is entered into the field for fetching content from an external source:

anaconda 34.25.2.2 exception report
Traceback (most recent call first):
  File "/usr/share/anaconda/addons/org_fedora_oscap/content_discovery.py", line 91, in content_uri
    scheme, path = uri.split("://", 1)
  File "/usr/share/anaconda/addons/org_fedora_oscap/content_discovery.py", line 104, in fetch_content
    self.content_uri = self._addon_data.content_url
  File "/usr/share/anaconda/addons/org_fedora_oscap/gui/spokes/oscap.py", line 407, in _fetch_data_and_initialize
    thread_name = self.content_bringer.fetch_content(
  File "/usr/share/anaconda/addons/org_fedora_oscap/gui/spokes/oscap.py", line 1202, in on_fetch_button_clicked
    self._fetch_data_and_initialize()
ValueError: not enough values to unpack (expected 2, got 1)

Version-Release number of selected component (if applicable):
oscap-anaconda-addon-2.0.0-14.el9

How reproducible:
Always

Steps to Reproduce:
1. Start a graphical installation
2. Proceed to the "Security Profile" spoke and click the "Change content" button.
3. Enter "http" to the text field and click "Fetch"

Actual results:
Anaconda traceback.

Expected results:
An error message printed, able to provide a correct URL and continue with the installation.

Comment 10 errata-xmlrpc 2023-05-16 08:36:35 UTC
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 (oscap-anaconda-addon bug fix and enhancement 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/RHBA-2023:2828


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