libvirt drops connection when attaching a disk (breaks MAAS pods)
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
MAAS |
Incomplete
|
Critical
|
Newell Jensen | ||
libvirt (Ubuntu) |
In Progress
|
High
|
Christian Ehrhardt |
Bug Description
libvirt is dropping the connection when attaching a disk. This used to work as of last week. There;s been a new libvirt published in the archive last week.
roaksoax@
[sudo] password for roaksoax:
error: Disconnected from qemu:///system due to end of file
error: Failed to attach disk
error: End of file while reading data: Input/output error
[Original bug report]
1. installed latest master fgrom ppa:maas-
2. configured MAAS
3. added a pod, it discovered a previously created vm just fine
4. try to compose a machine, fails with the following:
2018-03-20 17:21:36 provisioningser
Traceback (most recent call last):
File "/usr/lib/
self.
File "/usr/lib/
self.
File "/usr/lib/
current.result = callback(
File "/usr/lib/
_inlineCal
--- <exception caught here> ---
File "/usr/lib/
result = result.
File "/usr/lib/
return g.throw(self.type, self.value, self.tb)
File "/usr/lib/
created_
File "/usr/lib/
result = inContext.theWork()
File "/usr/lib/
inContext.
File "/usr/lib/
return self.currentCon
File "/usr/lib/
return func(*args,**kw)
File "/usr/lib/
result = func(*args, **kwargs)
File "/usr/lib/
self.
File "/usr/lib/
doc = etree.XML(xml)
File "src/lxml/
File "src/lxml/
File "src/lxml/
File "src/lxml/
File "src/lxml/
File "src/lxml/
File "src/lxml/
lxml.etree.
Changed in maas: | |
milestone: | none → 2.4.0beta1 |
importance: | Undecided → High |
status: | New → Triaged |
importance: | High → Critical |
assignee: | nobody → Newell Jensen (newell-jensen) |
Changed in maas: | |
status: | Triaged → In Progress |
summary: |
- [2.4, regression] Cannot compose a machine inside + libvirt drops connection when attaching a disk |
description: | updated |
Changed in libvirt (Ubuntu): | |
importance: | Undecided → Critical |
Changed in maas: | |
status: | In Progress → Invalid |
summary: |
- libvirt drops connection when attaching a disk + libvirt drops connection when attaching a disk (breaks MAAS pods) |
Changed in maas: | |
status: | Invalid → Incomplete |
Changed in libvirt (Ubuntu): | |
importance: | Critical → High |
assignee: | nobody → ChristianEhrhardt (paelzer) |
segfaults in dmesg:
[ 3371.756438] libvirtd[30973]: segfault at 0 ip 00007fedded4dfc0 sp 00007fedd151b968 error 4 in libvirt. so.0.4000. 0[7feddec3c000+ 3be000] so.0.4000. 0[7f91d9bbf000+ 3be000] 4.561:297) : apparmor="STATUS" operation= "profile_ load" profile= "unconfined" name="libvirt- 78362b05- 1953-4f62- 8d42-688e1f678b 38" pid=27624 comm="apparmor_ parser" 4.697:298) : apparmor="STATUS" operation= "profile_ replace" profile= "unconfined" name="libvirt- 78362b05- 1953-4f62- 8d42-688e1f678b 38" pid=27627 comm="apparmor_ parser" 4.825:299) : apparmor="STATUS" operation= "profile_ replace" profile= "unconfined" name="libvirt- 78362b05- 1953-4f62- 8d42-688e1f678b 38" pid=27630 comm="apparmor_ parser" 4.989:300) : apparmor="STATUS" operation= "profile_ replace" info="same as current profile, skipping" profile= "unconfined" name="libvirt- 78362b05- 1953-4f62- 8d42-688e1f678b 38" pid=27633 comm="apparmor_ parser" 1.597:301) : apparmor="STATUS" operation= "profile_ load" profile= "unconfined" name="libvirt- a88f6bf8- d2a5-4b5b- be07-dd5b35b89c 62" pid=27953 comm="apparmor_ parser" 1.781:302) : apparmor="STATUS" operation= "profile_ replace" profile= "unconfined" name="libvirt- a88f6bf8- d2a5-4b5b- be07-dd5b35b89c 62" pid=27956 comm="apparmor_ parser" 1.917:303) : apparmor="STATUS" operation= "profile_ replace" profile= "unconfined" name="libvirt- a88f6bf8- d2a5-4b5b- be07-dd5b35b89c 62" pid=27964 comm="apparmor_ parser" 2.045:304) : apparmor="STATUS" operation= "profile_ replace" info="same as current profile, skipping" profile= "unconfined" name="libvirt- a88f6bf8- d2a5-4b5b- be07-dd5b35b89c 62" pid=27967 comm="apparmor_ parser" 2.285:305) : apparmor="STATUS" operation= "profile_ replace" profile= "unconfined" name="libvirt- a88f6bf8- d2a5-4b5b- be07-dd5b35b89c 62" pid=27998 comm="apparmor_ parser" 0.457:306) : apparmor="STATUS" operation= "profile_ remove" profile= "unconfined" name="libvirt- 78362b05- 1953-4f62- 8d42-688e1f678b 38" pid=28643 comm="apparmor_ parser" so.0.4000. 0[7ffa7a7e6000+ 3be000] 2.929:307) : apparmor="STATUS" operation= "profile_ remove" profile= "unconfined" name="libvirt- a88f6bf8- d2a5-4b5b- be07-dd5b35b89c 62" pid=29520 comm="apparmor_ parser" so.0.4000. 0[7f58b24e9000+ 3be000] so.0.4000. 0[7fb4379a0000+ 3be000]
[ 4805.107412] libvirtd[31525]: segfault at 0 ip 00007f91d9cd0fc0 sp 00007f91cdca1968 error 4 in libvirt.
[15423.386397] audit: type=1400 audit(152157702
[15423.520312] audit: type=1400 audit(152157702
[15423.649667] audit: type=1400 audit(152157702
[15423.810695] audit: type=1400 audit(152157702
[15430.420974] audit: type=1400 audit(152157703
[15430.604322] audit: type=1400 audit(152157703
[15430.741907] audit: type=1400 audit(152157703
[15430.870221] audit: type=1400 audit(152157703
[15431.106981] audit: type=1400 audit(152157703
[15449.281278] audit: type=1400 audit(152157705
[15493.783935] libvirtd[6334]: segfault at 0 ip 00007ffa7a8f7fc0 sp 00007ffa6c8c4968 error 4 in libvirt.
[15581.752429] audit: type=1400 audit(152157718
[15590.329550] libvirtd[29048]: segfault at 0 ip 00007f58b25fafc0 sp 00007f58a55c9968 error 4 in libvirt.
[16154.160134] libvirtd[29651]: segfault at 0 ip 00007fb437ab1fc0 sp 00007fb42aa80968 error 4 in libvirt.
[16313.228980] libvirtd[31102]: segfault at 0 ip 00007fa2186f8fc0 sp 00007fa20aec6968 error 4 i...