missing rbd, rados in glance-api-base container.

Bug #1524684 reported by Kuo-tung Kao (jelly)
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
kolla
Fix Released
Undecided
Kuo-tung Kao (jelly)

Bug Description

2015-12-09 06:24:43.521 26 DEBUG glance.api.v1.images [req-ba7a86e7-9f7f-45f2-8084-b3adfa7c2868 84d8001309eb4203a5ab5ac02b3edf36 b8ead7a3fdec45c699bdc2f490f029f9 - - -] Uploading image data for image dddcb14e-0481-4b10-b638-eed1b2461395 to rbd store _upload /var/ lib/kolla/venv/local/lib/python2.7/site-packages/glance/api/v1/images.py:674
2015-12-09 06:24:43.522 26 ERROR glance.api.v1.upload_utils [req-ba7a86e7-9f7f-45f2-8084-b3adfa7c2868 84d8001309eb4203a5ab5ac02b3edf36 b8ead7a3fdec45c699bdc2f490f029f9 - - -] Failed to upload image dddcb14e-0481-4b10-b638-eed1b2461395
2015-12-09 06:24:43.522 26 ERROR glance.api.v1.upload_utils Traceback (most recent call last):
2015-12-09 06:24:43.522 26 ERROR glance.api.v1.upload_utils File "/var/lib/kolla/venv/local/lib/python2.7/site-packages/glance/api/v1/upload_utils.py", line 113, in upload_data_to_store
2015-12-09 06:24:43.522 26 ERROR glance.api.v1.upload_utils context=req.context)
2015-12-09 06:24:43.522 26 ERROR glance.api.v1.upload_utils File "/var/lib/kolla/venv/local/lib/python2.7/site-packages/glance_store/ backend.py", line 340, in store_add_to_backend
2015-12-09 06:24:43.522 26 ERROR glance.api.v1.upload_utils context=context)
2015-12-09 06:24:43.522 26 ERROR glance.api.v1.upload_utils File "/var/lib/kolla/venv/local/lib/python2.7/site-packages/glance_store/ capabilities.py", line 226, in op_checker
2015-12-09 06:24:43.522 26 ERROR glance.api.v1.upload_utils return store_op_fun(store, *args, **kwargs)
2015-12-09 06:24:43.522 26 ERROR glance.api.v1.upload_utils File "/var/lib/kolla/venv/local/lib/python2.7/site-packages/glance_store/ _drivers/rbd.py", line 361, in add
2015-12-09 06:24:43.522 26 ERROR glance.api.v1.upload_utils rados_id=self.user) as conn:
2015-12-09 06:24:43.522 26 ERROR glance.api.v1.upload_utils File "/usr/lib/python2.7/contextlib.py", line 17, in __enter__
2015-12-09 06:24:43.522 26 ERROR glance.api.v1.upload_utils return self.gen.next()
2015-12-09 06:24:43.522 26 ERROR glance.api.v1.upload_utils File "/var/lib/kolla/venv/local/lib/python2.7/site-packages/glance_store/ _drivers/rbd.py", line 198, in get_connection
2015-12-09 06:24:43.522 26 ERROR glance.api.v1.upload_utils client = rados.Rados(conffile=conffile, rados_id=rados_id)
2015-12-09 06:24:43.522 26 ERROR glance.api.v1.upload_utils AttributeError: 'NoneType' object has no attribute 'Rados'
2015-12-09 06:24:43.522 26 ERROR glance.api.v1.upload_utils

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/255765

Changed in kolla:
status: New → In Progress
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to kolla (master)

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

commit a9bd9a1a6529ebbd837147b55e00866d5d223185
Author: Kuo-tung Kao <email address hidden>
Date: Thu Dec 10 17:53:41 2015 +0800

    install python-cephlibs in venv for glance-base

    install python-cephlibs in venv for glance-base

    Change-Id: I2055bbc608c35604bbb727e83d9b74295e643a7d
    Closes-Bug: #1524684

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

Related fix proposed to branch: master
Review: https://review.openstack.org/261784

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Related fix merged to kolla (master)

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

commit cda0459ad1c6c51ec5de3bd4492c96e1db48c4d7
Author: SamYaple <email address hidden>
Date: Sun Dec 27 02:41:30 2015 +0000

    Fix pip install settings

    There were some inconsistencies with pip install instructions
    thoughout Kolla. We fix those here.

    Additionally, we fix the virtualenv to properly use the site-packages
    on the host if a library is not available in the venv.

    Change-Id: Ib84d48e8826bb96060338b3fa0782620c98794a8
    Related-Bug: #1524684
    Closes-Bug: #1529434

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.