ceilometer-upgrade failure with local sqlite db
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Ubuntu Cloud Archive |
Fix Released
|
Critical
|
James Page | ||
ceilometer (Ubuntu) |
Fix Released
|
Critical
|
James Page |
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.
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/
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/
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/
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-
ProcVersionSign
Uname: Linux 4.4.0-38-generic x86_64
ApportVersion: 2.20.1-0ubuntu2.1
Architecture: amd64
CrashDB:
{
}
Date: Mon Oct 10 08:13:56 2016
Ec2AMI: ami-0000044a
Ec2AMIManifest: FIXME
Ec2Availability
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-
Oct 10 07:56:21 hostname systemd[1]: ceilometer-
PackageArchitec
SourcePackage: ceilometer
UpgradeStatus: No upgrade log present (probably fresh install)
mtime.conffile.
Changed in ceilometer (Ubuntu): | |
importance: | Undecided → Critical |
Changed in cloud-archive: | |
importance: | Undecided → Critical |
Changed in ceilometer (Ubuntu): | |
status: | Confirmed → Triaged |
Changed in cloud-archive: | |
status: | New → Triaged |
assignee: | nobody → James Page (james-page) |
Changed in ceilometer (Ubuntu): | |
assignee: | nobody → James Page (james-page) |
Changed in cloud-archive: | |
status: | Triaged → Fix Committed |
Status changed to 'Confirmed' because the bug affects multiple users.