Bug 1032846

Summary: DataStreamHandlingError: '/tmp/openscap_data/ssg-fedora-xccdf.xml' is not a data stream collection
Product: [Fedora] Fedora Reporter: Shawn Wells <swells>
Component: oscap-anaconda-addonAssignee: Vratislav Podzimek <vpodzime>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 20CC: g.kaviyarasu, jonathan, vanmeeuwen+fedora, vpodzime
Target Milestone: ---   
Target Release: ---   
Hardware: x86_64   
OS: Unspecified   
Whiteboard: abrt_hash:6da0ca3741415ade8f0e363d3fa6531f6fcd35aac59ff7f01e6bfc8299d3c096
Fixed In Version: oscap-anaconda-addon-0.4-1.fc20 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2014-01-23 11:08:36 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Attachments:
Description Flags
File: anaconda-tb
none
File: anaconda.log
none
File: environ
none
File: lsblk_output
none
File: nmcli_dev_list
none
File: os_info
none
File: program.log
none
File: storage.log
none
File: syslog
none
File: ifcfg.log
none
File: packaging.log none

Description Shawn Wells 2013-11-21 02:09:01 UTC
Description of problem:
Attempt to utilize HTTP to pull down SCAP content for Anaconda

Version-Release number of selected component:
anaconda-20.25.6-1

The following was filed automatically by anaconda:
anaconda 20.25.6-1 exception report
Traceback (most recent call first):
  File "/usr/share/anaconda/addons/org_fedora_oscap/content_handling.py", line 98, in __init__
    raise DataStreamHandlingError(msg)
  File "/usr/share/anaconda/addons/org_fedora_oscap/gui/spokes/oscap.py", line 319, in _wait_for_data_fetch
    self._addon_data.preinst_content_path)
  File "/usr/lib64/python2.7/threading.py", line 764, in run
    self.__target(*self.__args, **self.__kwargs)
  File "/usr/lib64/python2.7/site-packages/pyanaconda/threads.py", line 168, in run
    threading.Thread.run(self, *args, **kwargs)
DataStreamHandlingError: '/tmp/openscap_data/ssg-fedora-xccdf.xml' is not a data stream collection

Additional info:
cmdline:        /usr/bin/python  /sbin/anaconda
cmdline_file:   initrd=initrd.img inst.stage2=hd:LABEL=Fedora\x2020\x20x86_64 quiet BOOT_IMAGE=vmlinuz 
executable:     /sbin/anaconda
hashmarkername: anaconda
kernel:         3.11.7-300.fc20.x86_64
product:        Fedora
release:        Cannot get release name.
type:           anaconda
version:        20

Comment 1 Shawn Wells 2013-11-21 02:09:13 UTC
Created attachment 826913 [details]
File: anaconda-tb

Comment 2 Shawn Wells 2013-11-21 02:09:16 UTC
Created attachment 826914 [details]
File: anaconda.log

Comment 3 Shawn Wells 2013-11-21 02:09:19 UTC
Created attachment 826915 [details]
File: environ

Comment 4 Shawn Wells 2013-11-21 02:09:23 UTC
Created attachment 826916 [details]
File: lsblk_output

Comment 5 Shawn Wells 2013-11-21 02:09:26 UTC
Created attachment 826917 [details]
File: nmcli_dev_list

Comment 6 Shawn Wells 2013-11-21 02:09:29 UTC
Created attachment 826918 [details]
File: os_info

Comment 7 Shawn Wells 2013-11-21 02:09:33 UTC
Created attachment 826919 [details]
File: program.log

Comment 8 Shawn Wells 2013-11-21 02:09:36 UTC
Created attachment 826920 [details]
File: storage.log

Comment 9 Shawn Wells 2013-11-21 02:09:40 UTC
Created attachment 826921 [details]
File: syslog

Comment 10 Shawn Wells 2013-11-21 02:09:43 UTC
Created attachment 826922 [details]
File: ifcfg.log

Comment 11 Shawn Wells 2013-11-21 02:09:52 UTC
Created attachment 826923 [details]
File: packaging.log

Comment 12 Vratislav Podzimek 2013-12-10 16:34:51 UTC
Unfortunately a proper fix for this issue requires a fix in the anaconda installer and will thus be fixed with the F21 version of anaconda and the oscap-anaconda-addon.

Comment 13 Vratislav Podzimek 2014-01-13 16:36:15 UTC
Patch for this about to be pushed, will appear in the next release of the addon.

Comment 14 Shawn Wells 2014-01-13 17:24:14 UTC
(In reply to Vratislav Podzimek from comment #13)
> Patch for this about to be pushed, will appear in the next release of the
> addon.


Thanks Vratislav! For clarity, in comment #12 you mentioned the patch would require an Anaconda rebase which would coincide with F21. Will the patch be ported into F20 *and* F21?

Comment 15 Fedora Update System 2014-01-14 17:34:10 UTC
oscap-anaconda-addon-0.4-1.fc20 has been submitted as an update for Fedora 20.
https://admin.fedoraproject.org/updates/oscap-anaconda-addon-0.4-1.fc20

Comment 16 Vratislav Podzimek 2014-01-14 17:37:31 UTC
(In reply to Shawn Wells from comment #14)
> (In reply to Vratislav Podzimek from comment #13)
> > Patch for this about to be pushed, will appear in the next release of the
> > addon.
> 
> 
> Thanks Vratislav! For clarity, in comment #12 you mentioned the patch would
> require an Anaconda rebase which would coincide with F21. Will the patch be
> ported into F20 *and* F21?
There will be no new versions of anaconda in F20.

So since F21 compose doesn't boot for some reason (will retry later), I'll have to do a F20 compose with an updates.img (pulled from the web) including the Anaconda changes needed for the o-a-a-0.4-1 to work properly. If the F21 compose stabilizes a bit and works, there will also be a F21 compose with the addon available.

Comment 17 Fedora Update System 2014-01-15 06:01:48 UTC
Package oscap-anaconda-addon-0.4-1.fc20:
* should fix your issue,
* was pushed to the Fedora 20 testing repository,
* should be available at your local mirror within two days.
Update it with:
# su -c 'yum update --enablerepo=updates-testing oscap-anaconda-addon-0.4-1.fc20'
as soon as you are able to.
Please go to the following url:
https://admin.fedoraproject.org/updates/FEDORA-2014-0813/oscap-anaconda-addon-0.4-1.fc20
then log in and leave karma (feedback).

Comment 18 Fedora Update System 2014-01-23 11:08:36 UTC
oscap-anaconda-addon-0.4-1.fc20 has been pushed to the Fedora 20 stable repository.  If problems still persist, please make note of it in this bug report.