can not support user-defined usage of chunked body

Bug #1897363 reported by zhaoleilc
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Glance Client
New
Undecided
Unassigned

Bug Description

Description
===========
Chunked body dramatically slows down of uploading
images to glance under volume-backed image context
or leads to failure as some volume backend can not
extend in-use volume such as active-active volume
of AS5600. It's better to support user-defined usage
of chunked body so that users can determine whether
corresponding volume is extended than to force users
to utilize chunked body.

Steps to reproduce
==================
1. Upload a image to glance under volume-backed image
context. You can configure the volume-backed image as
follows: https://docs.openstack.org/cinder/queens/admin/blockstorage-volume-backed-image.html
2. Inspect the corresponding volume's status.

Expected result
===============
Users can determine whether corresponding volume is extended.

Actual result
=============
Corresponding volume is always alextended so that the upload
process will be considerably slower than normal.

Environment
===========
master branch of OpenStack

Logs & Configs
==============
None

Implicated codes
==============
https://opendev.org/openstack/python-glanceclient/src/branch/master/glanceclient/common/http.py#L110

zhaoleilc (zhaoleilc)
description: updated
description: updated
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.