import image with glance-download return 400
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Glance |
Confirmed
|
Undecided
|
Cyril Roelandt |
Bug Description
When use image-create-
Steps to reproduce:
1.Create image in RegionOne
openstack image create --container-format bare --disk-format qcow2 --file jammy-server-
2. Go to RegionTwo, import image with glance download
glance image-create-
3. Glance client return output
+------
| Property | Value |
+------
| checksum | None |
| container_format | bare |
| created_at | 2023-03-
| disk_format | qcow2 |
| id | 7f783ee0-
| min_disk | 0 |
| min_ram | 0 |
| name | Ubuntu-22.04 |
| os_hash_algo | None |
| os_hash_value | None |
| os_hidden | False |
| owner | admin |
| protected | False |
| size | None |
| status | queued |
| tags | [] |
| updated_at | 2023-03-
| virtual_size | Not available |
| visibility | shared |
+------
HTTP 400 Bad Request: 'glance_
4. Glance image show status image is queue and no longer update
openstack image show 7f783ee0-
+------
| Field | Value |
+------
| container_format | bare |
| created_at | 2023-03-
| disk_format | qcow2 |
| file | /v2/images/
| id | 7f783ee0-
| min_disk | 0 |
| min_ram | 0 |
| name | Ubuntu-22.04 |
| owner | admin |
| properties | os_hidden='False' |
| protected | False |
| schema | /v2/schemas/image |
| status | queued |
| tags | |
| updated_at | 2023-03-
| visibility | shared |
+------
Env information:
Release: Zed
Glance client : 4.1.0
Glance API: 25.0.0
description: | updated |
Changed in glance: | |
status: | New → Confirmed |
assignee: | nobody → Cyril Roelandt (cyril-roelandt) |
Thanks for your bug report!
Could you confirm this problem is solved by applying the following two patches?
https:/ /review. opendev. org/c/openstack /python- glanceclient/ +/880696 /review. opendev. org/c/openstack /python- glanceclient/ +/880697
https:/