cinder: missing libraries are not detected until certain API operations fail

Bug #2043583 reported by Takashi Kajinami
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
glance_store
In Progress
Undecided
Takashi Kajinami

Bug Description

The cinder store driver requires os-brick and oslo-privsep in addition to cinderclient.

While cinderclient is checked when a cinder store is initialized, the other libraries are not checked during the initialization.

As a result, a cinder store can be initialized without any error even when os-brick or oslo-privsep is missing. The missing libraries causes failure when the cinder store driver tries to access data in a cinder volume, so create image or delete image may fail with server error caused by internal AttributeError.

IMO we should check the required libraries when a cinder store is being initialized so that operators can detect their incomplete deployment, rather than exposing server error to users.

Changed in glance-store:
assignee: nobody → Takashi Kajinami (kajinamit)
description: updated
description: updated
description: updated
Changed in glance-store:
status: New → In Progress
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.