Can't import an image
Bug #1820939 reported by
Ray
This bug affects 2 people
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack-Ansible |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
Running ansible aio 18.1.5. I am unable to import an image through the GUI.
Is just states cant upload an image. It's a local iso image.
When I refresh the page it comes back as pending forever
Changed in openstack-ansible: | |
status: | New → Fix Released |
To post a comment you must log in.
We have also run into this issue, in our case on a stein system. Any use of the glance import functionality (such as by using `web-download` to import directly from a URL) results in the image having `queued` status forever and associated tasks remaining forever in the `pending` state.
For example, this is the result from attempting to import a cirros image: c47c-48ad- 8666-4bedfee567 14 ------+ ------- ------- ------- ------- ------- ------- ------- ------- ------- ------- ------- -----+ ------+ ------- ------- ------- ------- ------- ------- ------- ------- ------- ------- ------- -----+ 28T11:50: 36Z | c47c-48ad- 8666-4bedfee567 14 | download. cirros- cloud.net/ 0.5.1/cirros- 0.5.1-x86_ 64-disk. img"}}, | 4cca-4dc3- 92a7-b94e2557b3 58", "backend": null} | 1944a4d158333d2 89 | 28T11:50: 36Z | ------+ ------- ------- ------- ------- ------- ------- ------- ------- ------- ------- ------- -----+ 4cca-4dc3- 92a7-b94e2557b3 58 ------- -----+- ------- ------- ------- ------- ------- --+ ------- -----+- ------- ------- ------- ------- ------- --+ 28T11:50: 36Z | 4cca-4dc3- 92a7-b94e2557b3 58 | 1944a4d158333d2 89 | 28T11:50: 36Z ...
```
# glance task-show 24c6c9d3-
+------
| Property | Value |
+------
| created_at | 2021-01-
| id | 24c6c9d3-
| input | {"import_req": {"method": {"name": "web-download", "uri": |
| | "http://
| | "image_id": "660cd94f-
| message | |
| owner | 7d11762e7465476
| result | None |
| status | pending |
| type | api_image_import |
| updated_at | 2021-01-
+------
# glance image-show 660cd94f-
+------
| Property | Value |
+------
| checksum | None |
| container_format | bare |
| created_at | 2021-01-
| disk_format | qcow2 |
| id | 660cd94f-
| locations | [] |
| min_disk | 0 |
| min_ram | 0 |
| name | cirros-0.5.1-test5 |
| os_hash_algo | None |
| os_hash_value | None |
| os_hidden | False |
| owner | 7d11762e7465476
| protected | False |
| size | None |
| status | queued |
| tags | [] |
| updated_at | 2021-01-