Public bug reported: Hi there,
nova-common 2012.2~f1~20120503.13935-0ubuntu1 fails to upgrade (in this case from 2012.1-0ubuntu2.1). I added set -x to the top of the postinst so we can see what's going on: laney@raleigh> sudo dpkg --configure --pending ~ Setting up nova-common (2012.2~f2~20120531.14249-0ubuntu2) ... + [ configure = configure ] + getent group nova + getent passwd nova + id -gn nova + [ nova = nogroup ] + [ -z 2012.1-0ubuntu2.1 ] + dpkg --compare-versions 2012.1-0ubuntu2.1 lt 2011.3-0ubuntu4 + dpkg --compare-versions 2012.1-0ubuntu2.1 lt 2012.2~f1~20120503.13935-0ubuntu1 + cp /etc/nova/nova.conf /etc/nova/nova.conf.upgrade + nova-manage config convert --infile=/etc/nova/nova.conf --outfile=/etc/nova/nova.conf Traceback (most recent call last): File "/usr/bin/nova-manage", line 1756, in <module> main() File "/usr/bin/nova-manage", line 1672, in main rpc.register_opts('/etc/nova/nova.conf') File "/usr/lib/python2.7/dist-packages/nova/rpc/__init__.py", line 63, in register_opts _CONF.register_opts(rpc_opts) AttributeError: 'str' object has no attribute 'register_opts' dpkg: error processing nova-common (--configure): subprocess installed post-installation script returned error exit status 1 dpkg: dependency problems prevent configuration of nova-network: nova-network depends on nova-common (= 2012.2~f2~20120531.14249-0ubuntu2); however: Package nova-common is not configured yet. dpkg: error processing nova-network (--configure): dependency problems - leaving unconfigured Errors were encountered while processing: nova-common nova-network Unfortunately the conversion tool doesn't mention which line it's having problems on. Cheers. ProblemType: Bug DistroRelease: Ubuntu 12.10 Package: nova-common 2012.2~f2~20120531.14249-0ubuntu2 ProcVersionSignature: Ubuntu 3.2.0-23.36-generic 3.2.14 Uname: Linux 3.2.0-23-generic x86_64 ApportVersion: 2.1.1-0ubuntu2 Architecture: amd64 Date: Sat Jun 2 15:08:51 2012 InstallationMedia: Ubuntu 12.04 LTS "Precise Pangolin" - Release amd64 (20120425) PackageArchitecture: all SourcePackage: nova UpgradeStatus: No upgrade log present (probably fresh install) ** Affects: nova (Ubuntu) Importance: Undecided Status: New ** Tags: amd64 apport-bug quantal -- You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to nova in Ubuntu. https://bugs.launchpad.net/bugs/1007829 Title: AttributeError: 'str' object has no attribute 'register_opts' when upgrading To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/nova/+bug/1007829/+subscriptions -- Ubuntu-server-bugs mailing list Ubuntu-server-bugs@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs