Public bug reported:

Attempting to install 2013.2~b2-0ubuntu4 fails for several dependency
and config related issues:

2013.2~b2-0ubuntu4 0

ubuntu@saucy-09-06-1521:~$ sudo apt-get install ceilometer-agent-compute

Not creating home directory `/var/lib/ceilometer'.
Traceback (most recent call last):
  File "/usr/bin/ceilometer-dbsync", line 5, in <module>
    from pkg_resources import load_entry_point
  File "/usr/lib/python2.7/dist-packages/pkg_resources.py", line 2809, in 
<module>
    parse_requirements(__requires__), Environment()
  File "/usr/lib/python2.7/dist-packages/pkg_resources.py", line 594, in resolve
    raise DistributionNotFound(req)
pkg_resources.DistributionNotFound: python-keystoneclient>=0.2,<0.3.2

Traceback (most recent call last):
  File "/usr/bin/ceilometer-dbsync", line 5, in <module>
    from pkg_resources import load_entry_point
  File "/usr/lib/python2.7/dist-packages/pkg_resources.py", line 2809, in 
<module>
    parse_requirements(__requires__), Environment()
  File "/usr/lib/python2.7/dist-packages/pkg_resources.py", line 594, in resolve
    raise DistributionNotFound(req)
pkg_resources.DistributionNotFound: Flask==0.9

(Manually hacked /usr/share/pyshared/ceilometer-2013.2.b2.egg-info/requires.txt 
to work
around the dependency issues.  The available versions: python-keystoneclient 
1:0.3.2-0ubuntu1
and python-flask 0.10.1-1.)

ubuntu@saucy-09-06-1521:~$ sudo apt-get -f install
Reading package lists... Done
Building dependency tree
Reading state information... Done
0 upgraded, 0 newly installed, 0 to remove and 38 not upgraded.
2 not fully installed or removed.
After this operation, 0 B of additional disk space will be used.
Setting up ceilometer-common (2013.2~b2-0ubuntu4) ... 
2013-09-06 22:31:19.784 13362 CRITICAL ceilometer [-] (OperationalError) unable 
to open database file None None
dpkg: error processing ceilometer-common (--configure):
 subprocess installed post-installation script returned error exit status 1

It looks like the sqlite path is being defined as sqlite_db in the [DEFAULT] 
section
of config.  Moving this instead to the [database] section fixes the issue
and allows the maintainer script to migrate the database.

Additionally, Bug #1182964 suggests migrating the database from 
ceilometer-common
is wrong.

** Affects: ceilometer (Ubuntu)
     Importance: Undecided
         Status: New

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1221956

Title:
  ceilometer 2013.2~b2-0ubuntu4 is uninstallable

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/ceilometer/+bug/1221956/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to