Bug 983685 - lxc container with networking hangs udevadm settle on the host
lxc container with networking hangs udevadm settle on the host
Product: Fedora
Classification: Fedora
Component: systemd (Show other bugs)
Unspecified Unspecified
unspecified Severity unspecified
: ---
: ---
Assigned To: systemd-maint
Fedora Extras Quality Assurance
Depends On:
  Show dependency treegraph
Reported: 2013-07-11 13:45 EDT by Cole Robinson
Modified: 2014-06-19 15:10 EDT (History)
19 users (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
: 984026 (view as bug list)
Last Closed: 2014-06-19 15:10:34 EDT
Type: Bug
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Attachments (Terms of Use)
udev-remove-seqnum-API-and-all-assumption (54.78 KB, patch)
2014-05-08 11:11 EDT, Gene Czarcinski
no flags Details | Diff

  None (edit)
Description Cole Robinson 2013-07-11 13:45:03 EDT
If I start a simple bash container with networking, udevadm settle proceeds to hang on the host. This affects other libvirt functions like storage pool listing. If I remove the <interface> XML, settle doesn't hang.

Any recommendations on getting more info is appreciated.

I have this container:

<domain type='lxc'>
  <memory unit='KiB'>65536</memory>
  <currentMemory unit='KiB'>61440</currentMemory>
  <vcpu placement='static'>1</vcpu>
    <type arch='x86_64'>exe</type>
  <clock offset='utc'/>
    <interface type='network'>
      <mac address='00:16:3e:ab:9a:cd'/>
      <source network='default'/>
    <console type='pty'>
      <target type='lxc' port='0'/>

Default network XML is:

  <forward mode='nat'>
      <port start='1024' end='65535'/>
  <bridge name='virbr0' stp='on' delay='0' />
  <mac address='52:54:00:d1:52:aa'/>
  <ip address='' netmask=''>
    <tftp root='/var/lib/tftpboot' />
      <range start='' end='' />
      <bootp file='pxelinux.0' />

To test, dump the first XML to file, sudo virsh --connect lxc:/// define <vmxml>, sudo virsh --connect lxc:/// start bash, udevadm settle on host.udev
Comment 1 Daniel Berrange 2013-07-12 05:17:20 EDT
I've seen this before too, but never managed to get to the bottom of it. Will look again & ask systemd folks for opinions.
Comment 3 Brian Lane 2014-04-30 14:30:09 EDT
This is now also hitting the boot.iso in rawhide.

It looks like commit 9ea28c55a2 is the fix for it but we need a new build for rawhide.
Comment 4 Gene Czarcinski 2014-05-08 10:16:02 EDT
This problem is also a large problem in rawhide install
Comment 5 Gene Czarcinski 2014-05-08 11:09:23 EDT
I got the patch for commit 9ea28c55a2, applied to to systemd-212-2, rebuild the package using mock, and then tested it.

I have a live-LXDE rawhide spin installed on aUSB stick.  I updated systemd there and then ran /usr/bin/liveinst

No hanged; works great.  Get this into rawhide soonest.
Comment 6 Gene Czarcinski 2014-05-08 11:11:25 EDT
Created attachment 893658 [details]

applies to systemd-212-2 OK
Comment 7 Brian Lane 2014-05-08 11:34:52 EDT
systemd-212-4 has the fix applied.
Comment 8 Lennart Poettering 2014-06-19 15:10:34 EDT
This is fixed in rawhide.

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