← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1525439] Re: Glance V2 API is not backwards compatible and breaks Cinder solidfire driver

 

** Changed in: cinder
       Status: Triaged => Won't Fix

-- 
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to Glance.
https://bugs.launchpad.net/bugs/1525439

Title:
  Glance V2 API is not backwards compatible and breaks Cinder solidfire
  driver

Status in Cinder:
  Won't Fix
Status in Glance:
  Won't Fix
Status in puppet-cinder:
  Incomplete

Bug description:
  In stable/kilo

  Glance API V2 change of image-metadata is_public flag to visibility =
  Public breaks the SolidFire (and maybe other, NetApp?) drivers that
  depend on is_public flag. Specifically this breaks the ability
  efficiently handle images by caching images in the SolidFire cluster.

  Changing the API back to V1 through the cinder.conf file then breaks
  Ceph which depends on V2 and the image-metadata direct_url and
  locations to determine if it can clone a image to a volume.  So this
  breaks Ceph's ability to efficiently handle images

  This version mismatch does not allow for SolidFire and Ceph to both be
  used efficiently in the same OpenStack cloud.

  NOTE: openstack/puppet-cinder defaults to glance-api-version = 2 which
  allows Ceph efficientcy to work and not SolidFire (and others).

  Mainly Opening this Bug to document this problem since no changes are
  allowed to Kilo there is probably no way to fix this.

  Code locations:

  cinder/cinder/image/glance.py line 250-256
  cinder/cinder/volume/drivers/rbd.py line 827
  cinder/cinder/volume/drivers/solidfire.py line 647
  puppet-cinder/manifests/glance.pp line 59

To manage notifications about this bug go to:
https://bugs.launchpad.net/cinder/+bug/1525439/+subscriptions


References