aodh can't be installed

Bug #1533014 reported by Emilien Macchi
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Ubuntu Cloud Archive
Fix Released
High
Unassigned
aodh (Ubuntu)
Fix Released
Undecided
Unassigned

Bug Description

See the logs when trying to install OpenStack/Aodh on Trusty/Mitaka-proposed:

2016-01-12 01:20:27.947 | Error: Execution of '/usr/bin/apt-get -q -y -o DPkg::Options::=--force-confold install aodh-api' returned 100: Reading package lists...
2016-01-12 01:20:27.947 | Building dependency tree...
2016-01-12 01:20:27.947 | Reading state information...
2016-01-12 01:20:27.947 | Some packages could not be installed. This may mean that you have
2016-01-12 01:20:27.947 | requested an impossible situation or if you are using the unstable
2016-01-12 01:20:27.947 | distribution that some required packages have not yet been created
2016-01-12 01:20:27.948 | or been moved out of Incoming.
2016-01-12 01:20:27.948 | The following information may help to resolve the situation:
2016-01-12 01:20:27.948 |
2016-01-12 01:20:27.948 | The following packages have unmet dependencies:
2016-01-12 01:20:27.948 | aodh-api : Depends: q-text-as-data but it is not installable
2016-01-12 01:20:27.948 | E: Unable to correct problems, you have held broken packages.
2016-01-12 01:20:27.949 | Error: /Stage[main]/Aodh::Api/Package[aodh-api]/ensure: change from purged to present failed: Execution of '/usr/bin/apt-get -q -y -o DPkg::Options::=--force-confold install aodh-api' returned 100: Reading package lists...
2016-01-12 01:20:27.949 | Building dependency tree...
2016-01-12 01:20:27.949 | Reading state information...
2016-01-12 01:20:27.949 | Some packages could not be installed. This may mean that you have
2016-01-12 01:20:27.949 | requested an impossible situation or if you are using the unstable
2016-01-12 01:20:27.949 | distribution that some required packages have not yet been created
2016-01-12 01:20:27.949 | or been moved out of Incoming.
2016-01-12 01:20:27.949 | The following information may help to resolve the situation:
2016-01-12 01:20:27.950 |
2016-01-12 01:20:27.950 | The following packages have unmet dependencies:
2016-01-12 01:20:27.950 | aodh-api : Depends: q-text-as-data but it is not installable
2016-01-12 01:20:27.950 | E: Unable to correct problems, you have held broken packages.

Revision history for this message
James Page (james-page) wrote :

q-text-as-data backported for mitaka - should hit proposed in the next 2 hrs.

Changed in cloud-archive:
status: New → Fix Committed
importance: Undecided → High
Revision history for this message
Corey Bryant (corey.bryant) wrote :

Attaching debdiff for xenial ubuntu package to add python-pymongo to python-aodh depends to fix init script error in aodh-api.

Revision history for this message
Emilien Macchi (emilienm) wrote :
Revision history for this message
Emilien Macchi (emilienm) wrote :

There is one remainging issue in packaging.

I had to do:
cp -r /usr/lib/python2.7/dist-packages/aodh/storage/alembic /usr/lib/python2.7/dist-packages/aodh/storage/sqlalchemy/

I think there a problem in the folders. "alembic" should be in "sqlalchemy", so db-sync will work. BTW, why do you put it in a different place than upstream? Upstream use /aodh/storage/sqlalchemy/alembic.

Revision history for this message
Corey Bryant (corey.bryant) wrote :

This debdiff supersedes the prior attachment. It includes an additional fix to install alembic files in the correct location.

Revision history for this message
Robie Basak (racb) wrote :

Uploaded. Thanks!

Changed in aodh (Ubuntu):
status: New → Fix Committed
Revision history for this message
Corey Bryant (corey.bryant) wrote :

Thanks Robie!

Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package aodh - 2.0.0~b1-0ubuntu2

---------------
aodh (2.0.0~b1-0ubuntu2) xenial; urgency=medium

  * d/control: Add python-pymongo to python-aodh depends as aodh-api
    init script fails without it (LP: #1533014).
  * d/rules: Ensure that alembic files are installed correctly.

 -- Corey Bryant <email address hidden> Mon, 11 Jan 2016 21:23:36 -0500

Changed in aodh (Ubuntu):
status: Fix Committed → Fix Released
Revision history for this message
Emilien Macchi (emilienm) wrote :

Thanks a lot guys

Revision history for this message
Corey Bryant (corey.bryant) wrote :

This package is now available in the trusty-mitaka cloud archive's proposed pocket. To enable:

sudo add-apt-repository cloud-archive:mitaka-proposed
sudo apt-get update

Changed in cloud-archive:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.