[Openstack-devel] Bug#700620: Bug#700620: nova-common: fails to upgrade from sid: configobj.ConfigObjError: Parsing failed with several errors.

Thomas Goirand zigo at debian.org
Mon Feb 18 04:07:30 UTC 2013


On 02/15/2013 06:42 PM, Andreas Beckmann wrote:
>   Setting up nova-common (2012.2.2-1) ...
>   Installing new version of config file /etc/nova/policy.json ...
>   Traceback (most recent call last):
>     File "<string>", line 2, in <module>
>     File "/usr/lib/python2.7/dist-packages/configobj.py", line 1230, in __init__
>       self._load(infile, configspec)
>     File "/usr/lib/python2.7/dist-packages/configobj.py", line 1320, in _load
>       raise error
>   configobj.ConfigObjError: Parsing failed with several errors.
>   First error at line 6.
>   dpkg: error processing nova-common (--configure):

Just a quick feedback.

This happens because /etc/nova/api-paste.ini in SID/Wheezy doesn't have
a valid .ini format (eg, there's a ":" instead of a "="), and configobj
doesn't like it. The solution is to change openstack-pkg-tools so that
it can handle such a case. This well be done.

Thomas



More information about the Openstack-devel mailing list