[glance] CLI client doesn't check image status before start uploading the file
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Mirantis OpenStack |
Invalid
|
Medium
|
MOS Glance | ||
9.x |
Invalid
|
Medium
|
MOS Glance |
Bug Description
CLI client doesn't check image status before start uploading the file in image.
Steps to reproduce:
1. Create a new image (glance image-create --disk-format qcow2 --container-format bare --file image.iso ).
2. Verify that current image have 'active' status.
3. Try to upload a new data in current image (glance image-upload <UPLOADED_IMAGE_ID> --file other_image.iso --progress).
Excepted result:
Show error message '409 Conflict: Image status transition from active to saving is not allowed (HTTP 409)' before starting upload data.
Actual result:
Show error message '409 Conflict: Image status transition from active to saving is not allowed (HTTP 409)' after upload data is finishing.
user@ubuntu:
[======
409 Conflict: Image status transition from active to saving is not allowed (HTTP 409)
VERSION:
feature_groups:
- mirantis
production: "docker"
release: "8.0"
api: "1.0"
build_number: "507"
build_id: "507"
fuel-nailgun_sha: "8e954abd70ef00
python-
fuel-agent_sha: "658be72c4b42d3
fuel-
astute_sha: "b81577a5b7857c
fuel-library_sha: "ec7e212972ead5
fuel-ostf_sha: "ab5fd151fc6c1a
fuel-mirror_sha: "351d568fa3b3e4
fuelmenu_sha: "234cb4cbb30fbd
shotgun_sha: "63645dea384a37
network-
fuel-upgrade_sha: "616a7490ec7199
fuelmain_sha: "94507c5e4dad6d
upstream-bug: https:/
Changed in mos: | |
assignee: | nobody → MOS Glance (mos-glance) |
description: | updated |
summary: |
- [glance] CLI client doesn't check the options before start uploading the - file + [glance] CLI client doesn't check image status before start uploading + the file |
description: | updated |
Changed in mos: | |
milestone: | none → 8.0 |
status: | Confirmed → Won't Fix |
No longer fixing Low bugs in 8.0, closing as Won't Fix