cinder-api exception due to default_volume_type not being created

Bug #1592356 reported by Steve Hindle
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
kolla
Fix Released
High
Alicja Kwasniewska

Bug Description

In cinder-api.log we get VolumeTypeNotFoundByName errors
( grep 'raise exception.VolumeTypeNotFoundByName' cinder-api.log)

This is due to setting 'default_volume_type' ( = rbd-1, for ceph storage) in /etc/cinder.conf,
but NOT doing a 'cinder type-create' for the volume type. We can eliminate this error two ways:
  1.) Removed the default_volume_type in cinder.conf
  2.) Add a 'cinder type-create' similiar to the following:
         # cinder type-create rbd-1
         # cinder type-key rbd-1 set volume_backend_name=rbd-1

NOTE: Info on cinder type-create:
   http://dachary.org/?p=2518
   http://openstack-in-production.blogspot.com/2014/03/enable-cinder-multi-backend-with.html

Revision history for this message
Michal Dulko (michal-dulko-f) wrote :

*with my Cinder guy hat on*

You should either stop setting default_volume_type and assume that without manual setup Kolla will create volumes without volume type, or create a volume type for default backend. In general volume_type!=backend_name.

Changed in kolla:
status: New → Confirmed
importance: Undecided → High
Changed in kolla:
assignee: nobody → Alicja Kwasniewska (alicja-kwasniewska)
Changed in kolla:
status: Confirmed → In Progress
Revision history for this message
Alicja Kwasniewska (alicja-kwasniewska) wrote :
Changed in kolla:
status: In Progress → 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.