package xen-utils-4.1 4.1.2-2ubuntu2.1 failed to upgrade: subprocess installed post-installation script returned error exit status 1

Bug #1014746 reported by Geert Geurts
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
xen (Ubuntu)
Expired
Undecided
Unassigned

Bug Description

1) lsb_release -rd
Description: Ubuntu 12.04 LTS
Release: 12.04

2) apt-cache policy xen-utils-4.1
xen-utils-4.1:
  Installed: 4.1.2-2ubuntu2.1
  Candidate: 4.1.2-2ubuntu2.1
  Version table:
 *** 4.1.2-2ubuntu2.1 0
        500 http://security.ubuntu.com/ubuntu/ precise-security/universe amd64 Packages
        100 /var/lib/dpkg/status
     4.1.2-2ubuntu2 0
        500 http://nl.archive.ubuntu.com/ubuntu/ precise/universe amd64 Packages

3) I was trying to upgrade the package, so I expected apt-get upgrade to finish without errors.

4) All went well except for the package xen-utils-4.1, it was left in a halfly configured state...
dpkg -l xen-utils-4.1
Desired=Unknown/Install/Remove/Purge/Hold
| Status=Not/Inst/Conf-files/Unpacked/halF-conf/Half-inst/trig-aWait/Trig-pend
|/ Err?=(none)/Reinst-required (Status,Err: uppercase=bad)
||/ Name Version Description
+++-===========================-===========================-======================================================================
iF xen-utils-4.1 4.1.2-2ubuntu2.1 XEN administrative tools

I found some additional info in the xen logs:
[2012-06-18 18:39:55 1854] DEBUG (SrvServer:77) SrvServer.cleanup()
[2012-06-18 18:39:55 1854] DEBUG (XMLRPCServer:251) XMLRPCServer.cleanup()
[2012-06-18 18:39:55 1854] DEBUG (XMLRPCServer:251) XMLRPCServer.cleanup()
[2012-06-18 18:39:55 1854] DEBUG (XendDomain:644) cleanup_domains
[2012-06-18 18:39:55 1853] INFO (SrvDaemon:220) Xend exited with status 0.
[2012-06-18 18:40:50 6322] INFO (SrvDaemon:332) Xend Daemon started
[2012-06-18 18:40:50 6322] INFO (SrvDaemon:336) Xend changeset: unavailable.
[2012-06-18 18:40:50 6322] ERROR (SrvDaemon:349) Exception starting xend (Looped capability chain: 0000:01:00.0)
Traceback (most recent call last):
  File "/usr/lib/xen-4.1/bin/../lib/python/xen/xend/server/SrvDaemon.py", line 341, in run
    servers = SrvServer.create()
  File "/usr/lib/xen-4.1/bin/../lib/python/xen/xend/server/SrvServer.py", line 258, in create
    root.putChild('xend', SrvRoot())
  File "/usr/lib/xen-4.1/bin/../lib/python/xen/xend/server/SrvRoot.py", line 40, in __init__
    self.get(name)
  File "/usr/lib/xen-4.1/bin/../lib/python/xen/web/SrvDir.py", line 84, in get
    val = val.getobj()
  File "/usr/lib/xen-4.1/bin/../lib/python/xen/web/SrvDir.py", line 52, in getobj
    self.obj = klassobj()
  File "/usr/lib/xen-4.1/bin/../lib/python/xen/xend/server/SrvNode.py", line 30, in __init__
    self.xn = XendNode.instance()
  File "/usr/lib/xen-4.1/bin/../lib/python/xen/xend/XendNode.py", line 1181, in instance
    inst = XendNode()
  File "/usr/lib/xen-4.1/bin/../lib/python/xen/xend/XendNode.py", line 159, in __init__
    self._init_PPCIs()
  File "/usr/lib/xen-4.1/bin/../lib/python/xen/xend/XendNode.py", line 282, in _init_PPCIs
    for pci_dev in PciUtil.get_all_pci_devices():
  File "/usr/lib/xen-4.1/bin/../lib/python/xen/util/pci.py", line 474, in get_all_pci_devices
    return map(PciDevice, get_all_pci_dict())
  File "/usr/lib/xen-4.1/bin/../lib/python/xen/util/pci.py", line 699, in __init__
    self.get_info_from_sysfs()
  File "/usr/lib/xen-4.1/bin/../lib/python/xen/util/pci.py", line 1269, in get_info_from_sysfs
    self.find_capability(0x11)
  File "/usr/lib/xen-4.1/bin/../lib/python/xen/util/pci.py", line 1236, in find_capability
    ('Looped capability chain: %s' % self.name))
PciDeviceParseError: Looped capability chain: 0000:01:00.0
[2012-06-18 18:40:50 6321] INFO (SrvDaemon:220) Xend exited with status 1.
[2012-06-18 18:54:50 7393] INFO (SrvDaemon:332) Xend Daemon started
[2012-06-18 18:54:50 7393] INFO (SrvDaemon:336) Xend changeset: unavailable.
[2012-06-18 18:54:50 7393] ERROR (SrvDaemon:349) Exception starting xend (Looped capability chain: 0000:01:00.0)
Traceback (most recent call last):
  File "/usr/lib/xen-4.1/bin/../lib/python/xen/xend/server/SrvDaemon.py", line 341, in run
    servers = SrvServer.create()
  File "/usr/lib/xen-4.1/bin/../lib/python/xen/xend/server/SrvServer.py", line 258, in create
    root.putChild('xend', SrvRoot())
  File "/usr/lib/xen-4.1/bin/../lib/python/xen/xend/server/SrvRoot.py", line 40, in __init__
    self.get(name)
  File "/usr/lib/xen-4.1/bin/../lib/python/xen/web/SrvDir.py", line 84, in get
    val = val.getobj()
  File "/usr/lib/xen-4.1/bin/../lib/python/xen/web/SrvDir.py", line 52, in getobj
    self.obj = klassobj()
  File "/usr/lib/xen-4.1/bin/../lib/python/xen/xend/server/SrvNode.py", line 30, in __init__
    self.xn = XendNode.instance()
  File "/usr/lib/xen-4.1/bin/../lib/python/xen/xend/XendNode.py", line 1181, in instance
    inst = XendNode()
  File "/usr/lib/xen-4.1/bin/../lib/python/xen/xend/XendNode.py", line 159, in __init__
    self._init_PPCIs()
  File "/usr/lib/xen-4.1/bin/../lib/python/xen/xend/XendNode.py", line 282, in _init_PPCIs
    for pci_dev in PciUtil.get_all_pci_devices():
  File "/usr/lib/xen-4.1/bin/../lib/python/xen/util/pci.py", line 474, in get_all_pci_devices
    return map(PciDevice, get_all_pci_dict())
  File "/usr/lib/xen-4.1/bin/../lib/python/xen/util/pci.py", line 699, in __init__
    self.get_info_from_sysfs()
  File "/usr/lib/xen-4.1/bin/../lib/python/xen/util/pci.py", line 1269, in get_info_from_sysfs
    self.find_capability(0x11)
  File "/usr/lib/xen-4.1/bin/../lib/python/xen/util/pci.py", line 1236, in find_capability
    ('Looped capability chain: %s' % self.name))
PciDeviceParseError: Looped capability chain: 0000:01:00.0
[2012-06-18 18:54:50 7392] INFO (SrvDaemon:220) Xend exited with status 1.
[2012-06-18 18:55:28 7521] INFO (SrvDaemon:332) Xend Daemon started
[2012-06-18 18:55:28 7521] INFO (SrvDaemon:336) Xend changeset: unavailable.
[2012-06-18 18:55:28 7521] ERROR (SrvDaemon:349) Exception starting xend (Looped capability chain: 0000:01:00.0)
Traceback (most recent call last):
  File "/usr/lib/xen-4.1/bin/../lib/python/xen/xend/server/SrvDaemon.py", line 341, in run
    servers = SrvServer.create()
  File "/usr/lib/xen-4.1/bin/../lib/python/xen/xend/server/SrvServer.py", line 258, in create
    root.putChild('xend', SrvRoot())
  File "/usr/lib/xen-4.1/bin/../lib/python/xen/xend/server/SrvRoot.py", line 40, in __init__
    self.get(name)
  File "/usr/lib/xen-4.1/bin/../lib/python/xen/web/SrvDir.py", line 84, in get
    val = val.getobj()
  File "/usr/lib/xen-4.1/bin/../lib/python/xen/web/SrvDir.py", line 52, in getobj
    self.obj = klassobj()
  File "/usr/lib/xen-4.1/bin/../lib/python/xen/xend/server/SrvNode.py", line 30, in __init__
    self.xn = XendNode.instance()
  File "/usr/lib/xen-4.1/bin/../lib/python/xen/xend/XendNode.py", line 1181, in instance
    inst = XendNode()
  File "/usr/lib/xen-4.1/bin/../lib/python/xen/xend/XendNode.py", line 159, in __init__
    self._init_PPCIs()
  File "/usr/lib/xen-4.1/bin/../lib/python/xen/xend/XendNode.py", line 282, in _init_PPCIs
    for pci_dev in PciUtil.get_all_pci_devices():
  File "/usr/lib/xen-4.1/bin/../lib/python/xen/util/pci.py", line 474, in get_all_pci_devices
    return map(PciDevice, get_all_pci_dict())
  File "/usr/lib/xen-4.1/bin/../lib/python/xen/util/pci.py", line 699, in __init__
    self.get_info_from_sysfs()
  File "/usr/lib/xen-4.1/bin/../lib/python/xen/util/pci.py", line 1269, in get_info_from_sysfs
    self.find_capability(0x11)
  File "/usr/lib/xen-4.1/bin/../lib/python/xen/util/pci.py", line 1236, in find_capability
    ('Looped capability chain: %s' % self.name))
PciDeviceParseError: Looped capability chain: 0000:01:00.0
[2012-06-18 18:55:28 7520] INFO (SrvDaemon:220) Xend exited with status 1

Comming to thing about it, it might also be related to xen related packages installation which was upgraded in the same upgrade run...
The related packages:
virtinst 0.600.1-1ubuntu3.1
virt-manager 0.9.1-1ubuntu5.1
xen-docs-4.1 4.1.2-2ubuntu2.1
xen-hypervisor-4.1-amd64 4.1.2-2ubuntu2.1
xenstore-utils 4.1.2-2ubuntu2.1

These versions are after th upgrade....

Hope this helps...
Thanks and Regards,
Geert

ProblemType: Package
DistroRelease: Ubuntu 12.04
Package: xen-utils-4.1 4.1.2-2ubuntu2.1
ProcVersionSignature: Ubuntu 3.2.0-25.40-generic 3.2.18
Uname: Linux 3.2.0-25-generic x86_64
ApportVersion: 2.0.1-0ubuntu8
Architecture: amd64
Date: Mon Jun 18 18:40:50 2012
ErrorMessage: subprocess installed post-installation script returned error exit status 1
SourcePackage: xen
Title: package xen-utils-4.1 4.1.2-2ubuntu2.1 failed to install/upgrade: subprocess installed post-installation script returned error exit status 1
UpgradeStatus: No upgrade log present (probably fresh install)

Revision history for this message
Geert Geurts (geertg) wrote :
tags: removed: need-duplicate-check
Revision history for this message
Serge Hallyn (serge-hallyn) wrote :

Thanks for reporting this bug. Please reply if it is still an issue.

Changed in xen (Ubuntu):
status: New → Incomplete
Revision history for this message
Launchpad Janitor (janitor) wrote :

[Expired for xen (Ubuntu) because there has been no activity for 60 days.]

Changed in xen (Ubuntu):
status: Incomplete → Expired
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.