Folsom - Images disappear while creation after reaching "SAVING" state

Bug #1046191 reported by Rajalakshmi Ganesan
10
This bug affects 2 people
Affects Status Importance Assigned to Milestone
OpenStack Compute (nova)
Invalid
Undecided
Unassigned

Bug Description

Description

Images disappear from the list from SAVING status without reaching ACTIVE status.

Environment:
Multi-node Folsom 3 Set-up

LOG:
---------
rajalakshmi_ganesan@ubuntu:~$ nova list
+--------------------------------------+---------------------------------------+--------+-------------------+
| ID | Name | Status | Networks |
+--------------------------------------+---------------------------------------+--------+-------------------+
| b81f4fd0-84b5-45ba-bf2d-14f26fa013a6 | auto_nonexist_server_metadata | ACTIVE | private=10.0.0.41 |
| c33913a0-841d-496a-85e4-40665ede44c8 | auto_nonexist_server_test_list_image | ACTIVE | private=10.0.0.39 |
| 737ef9b7-7b34-452f-a0ec-01c51e1529c6 | auto_server_image_create | ACTIVE | private=10.0.0.27 |
| 4b665253-6b4e-4785-b50a-5f6f7a98eb78 | auto_server_test_delete_image | ACTIVE | private=10.0.0.28 |
| 782f4c23-9fa7-462a-813f-5938509688e3 | auto_test_server_delete_metadata_item | ACTIVE | private=10.0.0.37 |
| 317d823c-5ab6-461d-be9e-d0ca9a151ef4 | auto_test_server_get_image_details | ACTIVE | private=10.0.0.29 |
| 57270ea4-bbf6-4fd7-88e5-4b659ca40b4a | auto_test_server_list_image | ACTIVE | private=10.0.0.30 |
| 6d08f8ba-7880-415d-8372-f03735b65179 | server_for_vol_attach | ACTIVE | private=10.0.0.22 |
| 379a0302-6a76-48c5-ba38-f4de8bb20557 | server_invalid_url | ACTIVE | private=10.0.0.33 |
| 4ef2c987-942e-4914-91bf-63970d6edf12 | server_invalid_url_xml_volume | ACTIVE | private=10.0.0.36 |
| 337780df-274d-482b-b7dd-b3d5db858fcd | server_metadata_invalid_url | ACTIVE | private=10.0.0.31 |
| 022a527b-3b81-4aef-9ad9-2d865de42249 | server_metadata_update_invalid_url | ACTIVE | private=10.0.0.32 |
| f6a422a6-0dbb-4b5e-b67d-375d755179be | server_metadata_update_xml | ACTIVE | private=10.0.0.35 |
| b538e207-fc49-4b6d-89e0-b0ea3582a767 | server_metadata_xml | ACTIVE | private=10.0.0.34 |
| 31e2b85e-e19e-43b8-9f00-e8a6ae1a912a | test_floatingip_ACTIVE | ACTIVE | private=10.0.0.24 |
| 7c6a1286-f203-4f67-9920-1d7c4e6e3b66 | test_floatingip_HARD_REBOOT | ACTIVE | private=10.0.0.26 |
| 294ebd3e-d3b6-4ff7-ad2a-ec43ff8d3de8 | test_floatingip_REBOOT | ACTIVE | private=10.0.0.25 |
| fc917e20-c532-45f3-a12f-78f8d1387c76 | test_get_console_output | ACTIVE | private=10.0.0.23 |
| dd40a5e4-ba11-4dae-bb1d-05f3b83ba2cc | test_list_server_metadata | ACTIVE | private=10.0.0.40 |
| 7e863497-d000-4d0c-bf0b-3374a628e81f | test_server_metadata | ACTIVE | private=10.0.0.38 |
| acecbb30-b322-4a76-99e5-14c1660bfe12 | test_set_server_metadata | ACTIVE | private=10.0.0.42 |
+--------------------------------------+---------------------------------------+--------+-------------------+
rajalakshmi_ganesan@ubuntu:~$ nova image-create b81f4fd0-84b5-45ba-bf2d-14f26fa013a6 test-image
rajalakshmi_ganesan@ubuntu:~$ nova image-list
+--------------------------------------+-------------------------------------------+--------+--------------------------------------+
| ID | Name | Status | Server |
+--------------------------------------+-------------------------------------------+--------+--------------------------------------+
| 170158af-9248-417a-8c26-865502cc05a6 | centos-6.2-server-x86_64 | ACTIVE | |
| 66324033-8eeb-4122-ba5e-63737450dc68 | centos-6.2-server-x86_64-kernel | ACTIVE | |
| 5c9148b1-66b1-4f4d-8c5b-a1f72bceda23 | debian-squeeze-server-amd64 | ACTIVE | |
| 332ef268-6549-4d1a-a508-fdb9d20ba697 | debian-squeeze-server-amd64-kernel | ACTIVE | |
| 0a94afcb-0612-429e-8f77-e5aa6e949331 | debian-squeeze-server-amd64-ramdisk | ACTIVE | |
| b0cf953f-37e4-4b03-91a6-dab5b6159542 | fedora-16-server-x86_64 | ACTIVE | |
| 87e15835-0958-4df9-8f83-1cb046c7b6fb | fedora-16-server-x86_64-kernel | ACTIVE | |
| c8a8c33e-b38a-4b1e-861b-ca2b3f001a96 | oneiric-server-cloudimg-amd64 | ACTIVE | |
| 62584ab2-dd87-4d7b-b170-4830ad341caf | oneiric-server-cloudimg-amd64-kernel | ACTIVE | |
| de7a0707-64b0-4fb2-9306-159d36295e33 | test-image | SAVING | b81f4fd0-84b5-45ba-bf2d-14f26fa013a6 |
| 1fea84d0-8c89-436d-a1e6-a84be9178673 | ubuntu-12.04-server-cloudimg-amd64 | ACTIVE | |
| 20ac4c71-a9ac-44d2-9898-2d31f827aa0c | ubuntu-12.04-server-cloudimg-amd64-kernel | ACTIVE | |
+--------------------------------------+-------------------------------------------+--------+--------------------------------------+
rajalakshmi_ganesan@ubuntu:~$ nova image-list
+--------------------------------------+-------------------------------------------+--------+--------------------------------------+
| ID | Name | Status | Server |
+--------------------------------------+-------------------------------------------+--------+--------------------------------------+
| 170158af-9248-417a-8c26-865502cc05a6 | centos-6.2-server-x86_64 | ACTIVE | |
| 66324033-8eeb-4122-ba5e-63737450dc68 | centos-6.2-server-x86_64-kernel | ACTIVE | |
| 5c9148b1-66b1-4f4d-8c5b-a1f72bceda23 | debian-squeeze-server-amd64 | ACTIVE | |
| 332ef268-6549-4d1a-a508-fdb9d20ba697 | debian-squeeze-server-amd64-kernel | ACTIVE | |
| 0a94afcb-0612-429e-8f77-e5aa6e949331 | debian-squeeze-server-amd64-ramdisk | ACTIVE | |
| b0cf953f-37e4-4b03-91a6-dab5b6159542 | fedora-16-server-x86_64 | ACTIVE | |
| 87e15835-0958-4df9-8f83-1cb046c7b6fb | fedora-16-server-x86_64-kernel | ACTIVE | |
| c8a8c33e-b38a-4b1e-861b-ca2b3f001a96 | oneiric-server-cloudimg-amd64 | ACTIVE | |
| 62584ab2-dd87-4d7b-b170-4830ad341caf | oneiric-server-cloudimg-amd64-kernel | ACTIVE | |
| de7a0707-64b0-4fb2-9306-159d36295e33 | test-image | SAVING | b81f4fd0-84b5-45ba-bf2d-14f26fa013a6 |
| 1fea84d0-8c89-436d-a1e6-a84be9178673 | ubuntu-12.04-server-cloudimg-amd64 | ACTIVE | |
| 20ac4c71-a9ac-44d2-9898-2d31f827aa0c | ubuntu-12.04-server-cloudimg-amd64-kernel | ACTIVE | |
+--------------------------------------+-------------------------------------------+--------+--------------------------------------+
rajalakshmi_ganesan@ubuntu:~$ nova image-list
+--------------------------------------+-------------------------------------------+--------+--------+
| ID | Name | Status | Server |
+--------------------------------------+-------------------------------------------+--------+--------+
| 170158af-9248-417a-8c26-865502cc05a6 | centos-6.2-server-x86_64 | ACTIVE | |
| 66324033-8eeb-4122-ba5e-63737450dc68 | centos-6.2-server-x86_64-kernel | ACTIVE | |
| 5c9148b1-66b1-4f4d-8c5b-a1f72bceda23 | debian-squeeze-server-amd64 | ACTIVE | |
| 332ef268-6549-4d1a-a508-fdb9d20ba697 | debian-squeeze-server-amd64-kernel | ACTIVE | |
| 0a94afcb-0612-429e-8f77-e5aa6e949331 | debian-squeeze-server-amd64-ramdisk | ACTIVE | |
| b0cf953f-37e4-4b03-91a6-dab5b6159542 | fedora-16-server-x86_64 | ACTIVE | |
| 87e15835-0958-4df9-8f83-1cb046c7b6fb | fedora-16-server-x86_64-kernel | ACTIVE | |
| c8a8c33e-b38a-4b1e-861b-ca2b3f001a96 | oneiric-server-cloudimg-amd64 | ACTIVE | |
| 62584ab2-dd87-4d7b-b170-4830ad341caf | oneiric-server-cloudimg-amd64-kernel | ACTIVE | |
| 1fea84d0-8c89-436d-a1e6-a84be9178673 | ubuntu-12.04-server-cloudimg-amd64 | ACTIVE | |
| 20ac4c71-a9ac-44d2-9898-2d31f827aa0c | ubuntu-12.04-server-cloudimg-amd64-kernel | ACTIVE | |
+--------------------------------------+-------------------------------------------+--------+--------+
rajalakshmi_ganesan@ubuntu:~$

description: updated
Revision history for this message
Brian Waldon (bcwaldon) wrote :

Can you share the logs from the glance-api server? This typically happens because some unrecoverable error occurs and Glance 'kills' the image.

Revision history for this message
Rajalakshmi Ganesan (rajalakshmi-ganesan) wrote :
Revision history for this message
Rajalakshmi Ganesan (rajalakshmi-ganesan) wrote :

Search with the image name "test-image" to point to the log during image creation.

Revision history for this message
Ravikumar Venkatesan (ravikumar-venkatesan) wrote :
Revision history for this message
Brian Waldon (bcwaldon) wrote :

So immediately it looks like you've got issues connecting to your swift backend and Glance is marking your image as 'killed' after suffering an unrecoverable swift error. Can you share a specific image id with me? These logs are too large to easily tell what you're having issues with.

Revision history for this message
Vish Ishaya (vishvananda) wrote :

also I would recommend creating the image with glance instead of using nova image-create

Changed in nova:
status: New → Incomplete
Revision history for this message
Rajalakshmi Ganesan (rajalakshmi-ganesan) wrote :

This issue is not reproducible now in the same environment after deployment of new build. Would update on this issue if found in future again.

Revision history for this message
Ravikumar Venkatesan (ravikumar-venkatesan) wrote :

yes. Not reproducible now

Changed in nova:
status: Incomplete → Invalid
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.