Bug 2025270

Summary: TypeError: Invalid DBus value 'None'.
Product: Red Hat Enterprise Linux 9 Reporter: fedoraproject
Component: oscap-anaconda-addonAssignee: Matěj Týč <matyc>
Status: CLOSED DUPLICATE QA Contact: Release Test Team <release-test-team>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 9.0CC: jstodola, mhaicman, wsato
Target Milestone: rc   
Target Release: ---   
Hardware: x86_64   
OS: Unspecified   
Whiteboard: abrt_hash:85122f4c194830ddcc7a3d0e743766fba0a12830dfe35f295c6bbadb4d2f3f22;
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2021-11-22 08:55:07 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Attachments:
Description Flags
File: anaconda-tb
none
File: anaconda.log
none
File: dbus.log
none
File: dnf.librepo.log
none
File: environ
none
File: hawkey.log
none
File: lorax-packages.log
none
File: lsblk_output
none
File: lvm.log
none
File: nmcli_dev_list
none
File: os_info
none
File: program.log
none
File: storage.log
none
File: syslog
none
File: packaging.log none

Description fedoraproject 2021-11-21 10:16:30 UTC
Description of problem:
idk but near security policies

Version-Release number of selected component:
anaconda-34.25.0.17

The following was filed automatically by anaconda:
anaconda 34.25.0.17 exception report
Traceback (most recent call first):
  File "/usr/lib/python3.9/site-packages/dasbus/typing.py", line 122, in get_variant
    raise TypeError("Invalid DBus value 'None'.")
  File "/usr/lib/python3.9/site-packages/dasbus/structure.py", line 121, in get_data_variant
    return get_variant(self.type_hint, self.get_data(obj))
  File "/usr/lib/python3.9/site-packages/dasbus/structure.py", line 249, in to_structure
    structure[name] = field.get_data_variant(data)
  File "/usr/share/anaconda/addons/org_fedora_oscap/gui/spokes/oscap.py", line 1012, in apply
    self._oscap_module.PolicyData = PolicyData.to_structure(self._policy_data)
  File "/usr/lib64/python3.9/site-packages/pyanaconda/ui/gui/hubs/__init__.py", line 426, in spoke_done
    spoke.apply()
  File "/usr/lib64/python3.9/site-packages/pyanaconda/ui/gui/spokes/__init__.py", line 73, in on_back_clicked
    self.main_window.current_action.spoke_done(self)
TypeError: Invalid DBus value 'None'.

Additional info:
addons:         com_redhat_kdump, org_fedora_oscap
cmdline:        /usr/bin/python3  /sbin/anaconda
cmdline_file:   BOOT_IMAGE=vmlinuz initrd=initrd.img inst.stage2=hd:LABEL=RHEL-9-0-0-BaseOS-x86_64 quiet
executable:     /sbin/anaconda
hashmarkername: anaconda
kernel:         5.14.0-1.7.1.el9.x86_64
product:        Red Hat Enterprise Linux 9
release:        Red Hat Enterprise Linux release 9.0 Beta (Plow)
release_type:   pre-release
type:           anaconda
version:        9.0

Comment 1 fedoraproject 2021-11-21 10:16:33 UTC
Created attachment 1842863 [details]
File: anaconda-tb

Comment 2 fedoraproject 2021-11-21 10:16:34 UTC
Created attachment 1842864 [details]
File: anaconda.log

Comment 3 fedoraproject 2021-11-21 10:16:35 UTC
Created attachment 1842865 [details]
File: dbus.log

Comment 4 fedoraproject 2021-11-21 10:16:36 UTC
Created attachment 1842866 [details]
File: dnf.librepo.log

Comment 5 fedoraproject 2021-11-21 10:16:37 UTC
Created attachment 1842867 [details]
File: environ

Comment 6 fedoraproject 2021-11-21 10:16:38 UTC
Created attachment 1842868 [details]
File: hawkey.log

Comment 7 fedoraproject 2021-11-21 10:16:40 UTC
Created attachment 1842869 [details]
File: lorax-packages.log

Comment 8 fedoraproject 2021-11-21 10:16:41 UTC
Created attachment 1842870 [details]
File: lsblk_output

Comment 9 fedoraproject 2021-11-21 10:16:42 UTC
Created attachment 1842871 [details]
File: lvm.log

Comment 10 fedoraproject 2021-11-21 10:16:43 UTC
Created attachment 1842872 [details]
File: nmcli_dev_list

Comment 11 fedoraproject 2021-11-21 10:16:44 UTC
Created attachment 1842873 [details]
File: os_info

Comment 12 fedoraproject 2021-11-21 10:16:45 UTC
Created attachment 1842874 [details]
File: program.log

Comment 13 fedoraproject 2021-11-21 10:16:46 UTC
Created attachment 1842875 [details]
File: storage.log

Comment 14 fedoraproject 2021-11-21 10:16:48 UTC
Created attachment 1842876 [details]
File: syslog

Comment 15 fedoraproject 2021-11-21 10:16:49 UTC
Created attachment 1842877 [details]
File: packaging.log

Comment 16 fedoraproject 2021-11-21 10:44:03 UTC
Similar problem has been detected:

choose security profile and apply it
sometimes reproduced

addons:         com_redhat_kdump, org_fedora_oscap
cmdline:        /usr/bin/python3  /sbin/anaconda
cmdline_file:   BOOT_IMAGE=vmlinuz initrd=initrd.img inst.stage2=hd:LABEL=RHEL-9-0-0-BaseOS-x86_64 quiet
hashmarkername: anaconda
kernel:         5.14.0-1.7.1.el9.x86_64
package:        anaconda-34.25.0.17
product:        Red Hat Enterprise Linux 9
reason:         TypeError: Invalid DBus value 'None'.
release:        Red Hat Enterprise Linux release 9.0 Beta (Plow)
release_type:   pre-release
version:        9.0

Comment 17 Jan Stodola 2021-11-22 08:55:07 UTC
Thank you for the bug report. This bug will be fixed in oscap-anaconda-addon-2.0.0-5.el9.

*** This bug has been marked as a duplicate of bug 2014108 ***