panko need pymongo package

Bug #1681776 reported by Eduardo Gonzalez
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
kolla
Fix Released
Undecided
Eduardo Gonzalez
Ocata
Fix Committed
Undecided
Eduardo Gonzalez
Pike
Fix Released
Undecided
Eduardo Gonzalez

Bug Description

When using mongo as backend for panko, db sync fails due missing libraries.
pymongo is needed for panko images.

2017-04-11 11:38:17.150 51 CRITICAL panko [-] RetryError: RetryError[<Future at 0x2c238d0 state=finished raised ImportError>]
2017-04-11 11:38:17.150 51 ERROR panko Traceback (most recent call last):
2017-04-11 11:38:17.150 51 ERROR panko File "/var/lib/kolla/venv/bin/panko-dbsync", line 10, in <module>
2017-04-11 11:38:17.150 51 ERROR panko sys.exit(dbsync())
2017-04-11 11:38:17.150 51 ERROR panko File "/var/lib/kolla/venv/lib/python2.7/site-packages/panko/cmd/storage.py", line 29, in dbsync
2017-04-11 11:38:17.150 51 ERROR panko storage.get_connection_from_config(conf).upgrade()
2017-04-11 11:38:17.150 51 ERROR panko File "/var/lib/kolla/venv/lib/python2.7/site-packages/panko/storage/__init__.py", line 73, in get_connection_from_config
2017-04-11 11:38:17.150 51 ERROR panko return _inner()
2017-04-11 11:38:17.150 51 ERROR panko File "/var/lib/kolla/venv/lib/python2.7/site-packages/tenacity/__init__.py", line 86, in wrapped_f
2017-04-11 11:38:17.150 51 ERROR panko return r.call(f, *args, **kw)
2017-04-11 11:38:17.150 51 ERROR panko File "/var/lib/kolla/venv/lib/python2.7/site-packages/tenacity/__init__.py", line 234, in call
2017-04-11 11:38:17.150 51 ERROR panko do = self.iter(result=result, exc_info=exc_info)
2017-04-11 11:38:17.150 51 ERROR panko File "/var/lib/kolla/venv/lib/python2.7/site-packages/tenacity/__init__.py", line 205, in iter
2017-04-11 11:38:17.150 51 ERROR panko six.raise_from(RetryError(fut), fut.exception())
2017-04-11 11:38:17.150 51 ERROR panko File "/var/lib/kolla/venv/lib/python2.7/site-packages/six.py", line 718, in raise_from
2017-04-11 11:38:17.150 51 ERROR panko raise value
2017-04-11 11:38:17.150 51 ERROR panko RetryError: RetryError[<Future at 0x2c238d0 state=finished raised ImportError>]
2017-04-11 11:38:17.150 51 ERROR panko

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to kolla (master)

Fix proposed to branch: master
Review: https://review.openstack.org/455667

summary: - panko source need pymongo package
+ panko need pymongo package
description: updated
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to kolla (master)

Reviewed: https://review.openstack.org/455667
Committed: https://git.openstack.org/cgit/openstack/kolla/commit/?id=921cc029c5abd134df57c0ae706a67544d2e5fbc
Submitter: Jenkins
Branch: master

commit 921cc029c5abd134df57c0ae706a67544d2e5fbc
Author: Eduardo Gonzalez <email address hidden>
Date: Tue Apr 11 12:16:45 2017 +0100

    Add pymongo in panko images

    Panko need pymongo library when mongo is used as panko
    backend.

    Change-Id: I1763ef2af2f5d13a5195eb105c2901e1ba44a854
    Closes-Bug: #1681776

Changed in kolla:
status: In Progress → Fix Released
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to kolla (stable/ocata)

Fix proposed to branch: stable/ocata
Review: https://review.openstack.org/456569

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to kolla (stable/ocata)

Reviewed: https://review.openstack.org/456569
Committed: https://git.openstack.org/cgit/openstack/kolla/commit/?id=c9d87b855180aa44abd9d62b2a55ced6d0fc4ea4
Submitter: Jenkins
Branch: stable/ocata

commit c9d87b855180aa44abd9d62b2a55ced6d0fc4ea4
Author: Eduardo Gonzalez <email address hidden>
Date: Tue Apr 11 12:16:45 2017 +0100

    Add pymongo in panko images

    Panko need pymongo library when mongo is used as panko
    backend.

    Change-Id: I1763ef2af2f5d13a5195eb105c2901e1ba44a854
    Closes-Bug: #1681776
    (cherry picked from commit 921cc029c5abd134df57c0ae706a67544d2e5fbc)

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix included in openstack/kolla 5.0.0.0b2

This issue was fixed in the openstack/kolla 5.0.0.0b2 development milestone.

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix included in openstack/kolla 4.0.2

This issue was fixed in the openstack/kolla 4.0.2 release.

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.