ceilometer-common fails to install during install.sh
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Cisco Openstack |
Incomplete
|
Undecided
|
Pradeep Kilambi |
Bug Description
This seems to be because ceilometer-common wants mysql-server to be both installed and runnning when its postinst script is run, but this is not actually the case. Possibly an ubuntu packaging bug, in fact. The error:
...
Notice: /Stage[
Debug: /Stage[
Debug: Prefetching apt resources for package
Debug: Executing '/usr/bin/
Debug: Class[Apt::Update]: The container Stage[main] will propagate my refresh event
Debug: Executing '/usr/bin/apt-get -q -y -o DPkg::Options:
Error: Execution of '/usr/bin/apt-get -q -y -o DPkg::Options:
Building dependency tree...
Reading state information...
The following extra packages will be installed:
ceilometer-common python-blinker python-bs4 python-ceilometer
python-croniter python-dateutil python-flask python-happybase python-ipaddr
python-
python-pecan python-ply python-pyinotify python-
python-waitress python-webtest python-werkzeug python-wsme
Suggested packages:
python-pysnmp4 python-flask-doc python-ply-doc python-
python-
python-redis python-werkzeug-doc
The following NEW packages will be installed:
ceilometer-
python-ceilometer python-croniter python-dateutil python-flask
python-happybase python-ipaddr python-itsdangerous python-jsonpath-rw
python-msgpack python-oslo.vmware python-pecan python-ply python-pyinotify
python-
python-werkzeug python-wsme
0 upgraded, 23 newly installed, 0 to remove and 0 not upgraded.
Need to get 0 B/1466 kB of archives.
After this operation, 13.2 MB of additional disk space will be used.
Selecting previously unselected package python-thrift.
(Reading database ... 90614 files and directories currently installed.)
Preparing to unpack .../python-
Unpacking python-thrift (0.9.0-1build1) ...
Selecting previously unselected package python-happybase.
Preparing to unpack .../python-
Unpacking python-happybase (0.7-1build1) ...
Selecting previously unselected package python-ply.
Preparing to unpack .../python-
Unpacking python-ply (3.4-3ubuntu2) ...
Selecting previously unselected package python-jsonpath-rw.
Preparing to unpack .../python-
Unpacking python-jsonpath-rw (1.2.0-1build1) ...
Selecting previously unselected package python-
Preparing to unpack .../python-
Unpacking python-
Selecting previously unselected package python-waitress.
Preparing to unpack .../python-
Unpacking python-waitress (0.8.8-1ubuntu3) ...
Selecting previously unselected package python-bs4.
Preparing to unpack .../python-
Unpacking python-bs4 (4.2.1-1ubuntu2) ...
Selecting previously unselected package python-webtest.
Preparing to unpack .../python-
Unpacking python-webtest (2.0.14-1ubuntu1) ...
Selecting previously unselected package python-pecan.
Preparing to unpack .../python-
Unpacking python-pecan (0.3.0-1ubuntu2) ...
Selecting previously unselected package python-ipaddr.
Preparing to unpack .../python-
Unpacking python-ipaddr (2.1.10-1) ...
Selecting previously unselected package python-wsme.
Preparing to unpack .../python-
Unpacking python-wsme (0.6-0ubuntu1) ...
Selecting previously unselected package python-msgpack.
Preparing to unpack .../python-
Unpacking python-msgpack (0.3.0-1ubuntu3) ...
Selecting previously unselected package python-werkzeug.
Preparing to unpack .../python-
Unpacking python-werkzeug (0.9.4+
Selecting previously unselected package python-
Preparing to unpack .../python-
Unpacking python-itsdangerous (0.22+dfsg1-
Selecting previously unselected package python-flask.
Preparing to unpack .../python-
Unpacking python-flask (0.10.1-2build1) ...
Selecting previously unselected package python-dateutil.
Preparing to unpack .../python-
Unpacking python-dateutil (1.5+dfsg-1ubuntu1) ...
Selecting previously unselected package python-croniter.
Preparing to unpack .../python-
Unpacking python-croniter (0.3.4-0ubuntu1) ...
Selecting previously unselected package python-oslo.vmware.
Preparing to unpack .../python-
Unpacking python-oslo.vmware (0.2-0ubuntu1) ...
Selecting previously unselected package python-ceilometer.
Preparing to unpack .../python-
Unpacking python-ceilometer (2014.1-0ubuntu1) ...
Selecting previously unselected package ceilometer-common.
Preparing to unpack .../ceilometer-
Unpacking ceilometer-common (2014.1-0ubuntu1) ...
Selecting previously unselected package ceilometer-
Preparing to unpack .../ceilometer-
Unpacking ceilometer-
Selecting previously unselected package python-blinker.
Preparing to unpack .../python-
Unpacking python-blinker (1.3.dfsg1-
Selecting previously unselected package python-pyinotify.
Preparing to unpack .../python-
Unpacking python-pyinotify (0.9.4-1build1) ...
Processing triggers for man-db (2.6.7.1-1) ...
Processing triggers for ureadahead (0.100.0-16) ...
Setting up python-thrift (0.9.0-1build1) ...
Setting up python-happybase (0.7-1build1) ...
Setting up python-ply (3.4-3ubuntu2) ...
Setting up python-jsonpath-rw (1.2.0-1build1) ...
Setting up python-
Setting up python-waitress (0.8.8-1ubuntu3) ...
update-
Setting up python-bs4 (4.2.1-1ubuntu2) ...
Setting up python-webtest (2.0.14-1ubuntu1) ...
Setting up python-pecan (0.3.0-1ubuntu2) ...
Setting up python-ipaddr (2.1.10-1) ...
Setting up python-wsme (0.6-0ubuntu1) ...
Setting up python-msgpack (0.3.0-1ubuntu3) ...
Setting up python-werkzeug (0.9.4+
Setting up python-itsdangerous (0.22+dfsg1-
Setting up python-flask (0.10.1-2build1) ...
Setting up python-dateutil (1.5+dfsg-1ubuntu1) ...
Setting up python-croniter (0.3.4-0ubuntu1) ...
Setting up python-oslo.vmware (0.2-0ubuntu1) ...
Setting up python-ceilometer (2014.1-0ubuntu1) ...
Setting up ceilometer-common (2014.1-0ubuntu1) ...
2014-05-20 10:47:30.259 4633 CRITICAL ceilometer [-] OperationalError: (OperationalError) table meter already exists u'\nCREATE TABLE meter (\n\tid INTEGER NOT NULL, \n\tname VARCHAR(255) NOT NULL, \n\ttype VARCHAR(255), \n\tunit VARCHAR(255), \n\tPRIMARY KEY (id), \n\tCONSTRAINT def_unique UNIQUE (name, type, unit)\n)\n\n' ()
dpkg: error processing package ceilometer-common (--configure):
subprocess installed post-installation script returned error exit status 1
dpkg: dependency problems prevent configuration of ceilometer-
ceilometer-
Package ceilometer-common is not configured yet.
dpkg: error processing package ceilometer-
dependency problems - leaving unconfigured
Setting up python-blinker (1.3.dfsg1-
No apport report written because the error message indicates its a followup error from a previous failure.
Setting up python-pyinotify (0.9.4-1build1) ...
Errors were encountered while processing:
ceilometer-common
ceilometer-
E: Sub-process /usr/bin/dpkg returned an error code (1)
Error: /Stage[
...
Changed in openstack-cisco: | |
milestone: | i.0 → none |
I haven't seen this but you appear to be testing without all our patches under review so might be one of those
Pradeep, have you seen?