Public bug reported: when use the command of 'glance task-create --type --input' to create a image, if we want to convert the image's format, we have to set the conversion_format in the glance-api.conf file,such as 'conversion_format = raw'. I think this is inconvenient,we should set the conversion_format as the input parameter. such as 'glance task-create --type import --input '{"import_from":"http://10.43.176.8/images/cirros-0.3.1-x86_64-disk.img","import_from_format": "", "conversion_format": "raw", "image_properties":{"disk_format":"raw","container_format":"bare","name ":"test-hb_1"}}'
** Affects: glance Importance: Undecided Status: New ** Description changed: when use the command of 'glance task-create --type --input' to create a image, if we want to convert the image's format, we have to set the conversion_format in the glance-api.conf file,such as 'conversion_format = raw'. I think this is inconvenient,we should set the conversion_format as the input parameter. such as 'glance task-create --type import --input '{"import_from":"http://10.43.176.8/images/cirros-0.3.1-x86_64-disk.img","import_from_format": "", "conversion_format": "raw", - "image_properties":{"disk_format":"qcow2","container_format":"bare","name + "image_properties":{"disk_format":"raw","container_format":"bare","name ":"test-hb_1"}}' -- You received this bug notification because you are a member of Yahoo! Engineering Team, which is subscribed to Glance. https://bugs.launchpad.net/bugs/1592212 Title: conversion_format should assign as the input parameter Status in Glance: New Bug description: when use the command of 'glance task-create --type --input' to create a image, if we want to convert the image's format, we have to set the conversion_format in the glance-api.conf file,such as 'conversion_format = raw'. I think this is inconvenient,we should set the conversion_format as the input parameter. such as 'glance task- create --type import --input '{"import_from":"http://10.43.176.8/images/cirros-0.3.1-x86_64-disk.img","import_from_format": "", "conversion_format": "raw", "image_properties":{"disk_format":"raw","container_format":"bare","name ":"test-hb_1"}}' To manage notifications about this bug go to: https://bugs.launchpad.net/glance/+bug/1592212/+subscriptions -- Mailing list: https://launchpad.net/~yahoo-eng-team Post to : yahoo-eng-team@lists.launchpad.net Unsubscribe : https://launchpad.net/~yahoo-eng-team More help : https://help.launchpad.net/ListHelp