[Bug 1631868] Re: ceilometer-upgrade failure with local sqlite db
James Page
james.page at ubuntu.com
Tue Oct 11 15:25:35 UTC 2016
This bug was fixed in the package ceilometer - 1:7.0.0-0ubuntu2~cloud0
---------------
ceilometer (1:7.0.0-0ubuntu2~cloud0) xenial-newton; urgency=medium
.
* New update for the Ubuntu Cloud Archive.
.
ceilometer (1:7.0.0-0ubuntu2) yakkety; urgency=medium
.
* d/ceilometer-common.postinst: Call ceilometer-upgrade with
--skip-gnocchi-resource-types as this is only called in the event
that a local sqlite db is in use, which it won't be if gnocchi is
being used, resolving issues with installation and upgrade
(LP: #1631868)
** Changed in: cloud-archive
Status: Fix Committed => Fix Released
--
You received this bug notification because you are a member of Ubuntu
OpenStack, which is subscribed to ceilometer in Ubuntu.
https://bugs.launchpad.net/bugs/1631868
Title:
ceilometer-upgrade failure with local sqlite db
Status in Ubuntu Cloud Archive:
Fix Released
Status in ceilometer package in Ubuntu:
Fix Released
Bug description:
The ceilometer package by default uses a local sqlite db (just to get
packages installed - not for production use!), the ceilometer-upgrade
command will try to upgrade this on install:
2016-10-10 07:59:32.744 27013 DEBUG ceilometer.cmd.storage [-] Upgrading Gnocchi resource types upgrade /usr/lib/python2.7/dist-packages/ceilometer/cmd/storage.py:59
2016-10-10 07:59:32.745 27013 CRITICAL ceilometer [-] ImportError: No module named gnocchiclient
2016-10-10 07:59:32.745 27013 ERROR ceilometer Traceback (most recent call last):
2016-10-10 07:59:32.745 27013 ERROR ceilometer File "/usr/bin/ceilometer-upgrade", line 10, in <module>
2016-10-10 07:59:32.745 27013 ERROR ceilometer sys.exit(upgrade())
2016-10-10 07:59:32.745 27013 ERROR ceilometer File "/usr/lib/python2.7/dist-packages/ceilometer/cmd/storage.py", line 60, in upgrade
2016-10-10 07:59:32.745 27013 ERROR ceilometer from ceilometer import gnocchi_client
2016-10-10 07:59:32.745 27013 ERROR ceilometer File "/usr/lib/python2.7/dist-packages/ceilometer/gnocchi_client.py", line 14, in <module>
2016-10-10 07:59:32.745 27013 ERROR ceilometer from gnocchiclient import client
2016-10-10 07:59:32.745 27013 ERROR ceilometer ImportError: No module named gnocchiclient
2016-10-10 07:59:32.745 27013 ERROR ceilometer
dpkg: error processing package ceilometer-common (--configure):
subprocess installed post-installation script returned error exit status 1
by default, the script will try to upgrade the gnocchi resource types,
which in a default install don't actually need to be.
ProblemType: Bug
DistroRelease: Ubuntu 16.04
Package: ceilometer-common 1:7.0.0-0ubuntu1~cloud0 [origin: Canonical]
ProcVersionSignature: Ubuntu 4.4.0-38.57-generic 4.4.19
Uname: Linux 4.4.0-38-generic x86_64
ApportVersion: 2.20.1-0ubuntu2.1
Architecture: amd64
CrashDB:
{
"impl": "launchpad",
"project": "cloud-archive",
"bug_pattern_url": "http://people.canonical.com/~ubuntu-archive/bugpatterns/bugpatterns.xml",
}
Date: Mon Oct 10 08:13:56 2016
Ec2AMI: ami-0000044a
Ec2AMIManifest: FIXME
Ec2AvailabilityZone: nova
Ec2InstanceType: m1.small.osci
Ec2Kernel: unavailable
Ec2Ramdisk: unavailable
JournalErrors:
-- Logs begin at Mon 2016-10-10 04:30:04 UTC, end at Mon 2016-10-10 08:06:53 UTC. --
Oct 10 07:56:21 hostname systemd[1]: ceilometer-collector.service: State 'stop-sigterm' timed out. Killing.
Oct 10 07:56:21 hostname systemd[1]: ceilometer-collector.service: Failed with result 'signal'.
PackageArchitecture: all
SourcePackage: ceilometer
UpgradeStatus: No upgrade log present (probably fresh install)
mtime.conffile..etc.ceilometer.ceilometer.conf: 2016-10-07T15:42:01.301282
To manage notifications about this bug go to:
https://bugs.launchpad.net/cloud-archive/+bug/1631868/+subscriptions
More information about the Ubuntu-openstack-bugs
mailing list