Public bug reported:

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.

** Affects: glance
     Importance: Undecided
         Status: New

-- 
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:
  New

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

-- 
Mailing list: https://launchpad.net/~yahoo-eng-team
Post to     : [email protected]
Unsubscribe : https://launchpad.net/~yahoo-eng-team
More help   : https://help.launchpad.net/ListHelp

Reply via email to