← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1890994] Re: can not Specify backend when creating image from volume

 

** Changed in: glance
       Status: New => Invalid

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

Title:
  can not Specify backend when creating image from volume

Status in Glance:
  Invalid

Bug description:
  I want to use the multi-store for glance in my environment,so I use
  cinder as backend. The configuration file is as follows:

  [DEFAULT]
  enabled_backends = g2:cinder, g5:cinder
  [g2]
  cinder_api_insecure = true
  cinder_os_region_name = region-sandev
  cinder_store_auth_address = http://keystone-api.openstack.svc.region-sandev.myinspurcloud.com:5000/v3
  cinder_store_password = qjUAkJ6QGNJMzU7
  cinder_store_project_name = cloud-poss
  cinder_store_user_name = image-admin
  cinder_volume_type = volume_for_glance
  [g5]
  cinder_api_insecure = true
  cinder_os_region_name = region-sandev
  cinder_store_auth_address = http://keystone-api.openstack.svc.region-sandev.myinspurcloud.com:5000/v3
  cinder_store_password = qjUAkJ6QGNJMzU7
  cinder_store_project_name = cloud-poss
  cinder_store_user_name = image-admin
  cinder_volume_type = g5-sas-1

  Then I found that openstackclient can't use "--backend" ,so I used glanceclient ,it works.
  However I need create image from volume, glanceclient doesn't support the parameter "--volume" . openstackclient can use "--volume" but not "--backend" .To make matters worse,I found parameter "--backend" only supports creating image from file.

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


References