AttributeError: 'str' object has no attribute 'register_opts' when upgrading
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
nova (Ubuntu) |
Confirmed
|
Medium
|
Unassigned |
Bug Description
Hi there,
nova-common 2012.2~
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~
+ [ 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~
+ cp /etc/nova/nova.conf /etc/nova/
+ nova-manage config convert --infile=
Traceback (most recent call last):
File "/usr/bin/
main()
File "/usr/bin/
rpc.
File "/usr/lib/
_CONF.
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~
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~
ProcVersionSign
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)
PackageArchitec
SourcePackage: nova
UpgradeStatus: No upgrade log present (probably fresh install)
Changed in nova (Ubuntu): | |
importance: | Undecided → Medium |
status: | New → Confirmed |