Bug 1478998 - sosreport command in rhel7/rhel-tools container hangs and locks up system
sosreport command in rhel7/rhel-tools container hangs and locks up system
Status: NEW
Product: Red Hat Enterprise Linux 7
Classification: Red Hat
Component: rhel-tools-docker (Show other bugs)
7.4
Unspecified Unspecified
unspecified Severity unspecified
: rc
: ---
Assigned To: Frantisek Kluknavsky
atomic-bugs@redhat.com
Vikram Goyal
: Extras
Depends On:
Blocks:
  Show dependency treegraph
 
Reported: 2017-08-07 12:46 EDT by Stef Walter
Modified: 2017-08-08 03:35 EDT (History)
5 users (show)

See Also:
Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed:
Type: Bug
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)

  None (edit)
Description Stef Walter 2017-08-07 12:46:31 EDT
Description of problem:

The sosreport command in rhel7/rhel-tools container hangs and locks up other commands on the Atomic Host system.

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


● rhel-atomic-host-ostree:rhel-atomic-host/7/x86_64/standard
                Version: 7.4.0 (2017-07-28 00:26:01)
                 Commit: 846fb0e18e65bd9a62fc9d952627413c6467c33c2d726449a1d7ad7690bbb93a
           GPGSignature: 1 signature
                         Signature made Fri 28 Jul 2017 12:30:19 AM UTC using RSA key ID 199E2F91FD431D51
                         Good signature from "Red Hat, Inc. <security@redhat.com>"


Linux localhost 3.10.0-693.el7.x86_64 #1 SMP Thu Jul 6 19:56:57 EDT 2017 x86_64 x86_64 x86_64 GNU/Linux

REPOSITORY                                    TAG                 IMAGE ID            CREATED             SIZE
registry.access.redhat.com/rhel7/rhel-tools   latest              ca17f08b0ec5        11 days ago         1.386 GB


How reproducible:

Every time

Steps to Reproduce:
$ curl -Lo atomic.qcow2 https://cdn.stage.redhat.com/content/dist/rhel/atomic/7/7Server/x86_64/images/rhel-atomic-cloud-7.4.0-14.x86_64.qcow2
$ curl -Lo cloud-init.iso https://rawgit.com/stefwalter/oci-kvm-hook/master/test/cloud-init.iso
$ qemu-kvm -boot c -net nic -net user -m 1024 -nographic -cdrom cloud-init.iso atomic.qcow2
...
localhost login: root
password: foobar
# atomic run rhel7/rhel-tools -- sosreport --sysroot /host --tmp-dir /host/var/tmp --batch
...
  Running 20/82: filesys...            <<< hangs forever here

Actual results:

The sosreport command hangs. In addition other commands like 'df' hang forever, until you kill the sosreport atomic/sosreport command.

Expected results:

The sosreport command finishes and does not interfere with normal system functionality.
Comment 2 Stef Walter 2017-08-07 12:47:02 EDT
Cockpit's Continuous Integration found this bug.
Comment 3 Stef Walter 2017-08-08 00:23:42 EDT
Cockpit CI will track cases of this bug here: https://github.com/cockpit-project/cockpit/issues/7462
Comment 4 Stef Walter 2017-08-08 00:24:02 EDT
Cockpit CI will track cases of this bug here: https://github.com/cockpit-project/cockpit/issues/7462

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