Tempest test case test_volume_create_get_update_delete_from_image fails with netapp iSCSI driver

Bug #1472772 reported by novelkumar
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
tempest
Expired
Undecided
Unassigned

Bug Description

Setup:

June based installation with netapp iSCSI as storage backend.

Issue:

Tempest test case for volume test olume_create_get_update_delete_from_image fails with netapp iSCSI driver

<snip>

FAIL: tempest.api.volume.test_volumes_get.VolumesV1GetTest.test_volume_create_get_update_delete_from_image[gate,image,smoke]
tags: worker-35
----------------------------------------------------------------------
Empty attachments:
  stderr
  stdout

pythonlogging:'': {{{
2015-06-30 11:23:05,218 6868 DEBUG [tempest_lib.common.rest_client] Request (VolumesV1GetTest:test_volume_create_get_update_delete_from_image): 200 POST https://10.1.38.18:8776/v1/745c3a3e81334808b89d920a39c071bd/volumes 1.189s
    Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Token': '<omitted>'}
        Body: {"volume": {"metadata": {"Type": "Test"}, "display_name": "Volume-1546562958", "imageRef": "a7017192-60ec-4756-8546-546744260e2e", "size": 1}}
    Response - Headers: {'status': '200', 'content-length': '438', 'x-compute-request-id': 'req-d7446f18-773f-4954-b8ae-377042bafe44', 'connection': 'close', 'date': 'Tue, 30 Jun 2015 11:23:05 GMT', 'content-type': 'application/json', 'x-openstack-request-id': 'req-d7446f18-773f-4954-b8ae-377042bafe44'}
        Body: {"volume": {"status": "creating", "display_name": "Volume-1546562958", "attachments": [], "availability_zone": "nova", "bootable": "false", "encrypted": false, "created_at": "2015-06-30T11:23:05.127288", "display_description": null, "image_id": "a7017192-60ec-4756-8546-546744260e2e", "volume_type": "None", "snapshot_id": null, "source_volid": null, "metadata": {"Type": "Test"}, "id": "28c5dffc-dd67-44f7-94c9-e3555f8ffde7", "size": 1}}
2015-06-30 11:23:05,353 6868 DEBUG [tempest_lib.common.rest_client] Request (VolumesV1GetTest:test_volume_create_get_update_delete_from_image): 200 GET https://10.1.38.18:8776/v1/745c3a3e81334808b89d920a39c071bd/volumes/28c5dffc-dd67-44f7-94c9-e3555f8ffde7 0.135s
    Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Token': '<omitted>'}
        Body: None
  Response - Headers: {'status': '200', 'content-length': '544', 'content-location': 'https://10.1.38.18:8776/v1/745c3a3e81334808b89d920a39c071bd/volumes/28c5dffc-dd67-44f7-94c9-e3555f8ffde7', 'x-compute-request-id': 'req-e4b37f65-a60b-4cd2-8d7a-8e5e84bbf9f2', 'connection': 'close', 'date': 'Tue, 30 Jun 2015 11:23:05 GMT', 'content-type': 'application/json', 'x-openstack-request-id': 'req-e4b37f65-a60b-4cd2-8d7a-8e5e84bbf9f2'}
        Body: {"volume": {"status": "creating", "display_name": "Volume-1546562958", "attachments": [], "availability_zone": "nova", "bootable": "false", "encrypted": false, "created_at": "2015-06-30T11:23:05.000000", "os-vol-tenant-attr:tenant_id": "745c3a3e81334808b89d920a39c071bd", "os-volume-replication:driver_data": null, "display_description": null, "os-volume-replication:extended_status": null, "volume_type": "None", "snapshot_id": null, "source_volid": null, "metadata": {"Type": "Test"}, "id": "28c5dffc-dd67-44f7-94c9-e3555f8ffde7", "size": 1}}
2015-06-30 11:23:06,490 6868 DEBUG [tempest_lib.common.rest_client] Request (VolumesV1GetTest:test_volume_create_get_update_delete_from_image): 200 GET https://10.1.38.18:8776/v1/745c3a3e81334808b89d920a39c071bd/volumes/28c5dffc-dd67-44f7-94c9-e3555f8ffde7 0.135s
    Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Token': '<omitted>'}
        Body: None
    Response - Headers: {'status': '200', 'content-length': '544', 'content-location': 'https://10.1.38.18:8776/v1/745c3a3e81334808b89d920a39c071bd/volumes/28c5dffc-dd67-44f7-94c9-e3555f8ffde7', 'x-compute-request-id': 'req-e69020a5-b818-48fb-8f71-3470824f8210', 'connection': 'close', 'date': 'Tue, 30 Jun 2015 11:23:06 GMT', 'content-type': 'application/json', 'x-openstack-request-id': 'req-e69020a5-b818-48fb-8f71-3470824f8210'}
        Body: {"volume": {"status": "creating", "display_name": "Volume-1546562958", "attachments": [], "availability_zone": "nova", "bootable": "false", "encrypted": false, "created_at": "2015-06-30T11:23:05.000000", "os-vol-tenant-attr:tenant_id": "745c3a3e81334808b89d920a39c071bd", "os-volume-replication:driver_data": null, "display_description": null, "os-volume-replication:extended_status": null, "volume_type": "None", "snapshot_id": null, "source_volid": null, "metadata": {"Type": "Test"}, "id": "28c5dffc-dd67-44f7-94c9-e3555f8ffde7", "size": 1}}
2015-06-30 11:23:08,107 6868 DEBUG [tempest_lib.common.rest_client] Request (VolumesV1GetTest:test_volume_create_get_update_delete_from_image): 200 GET https://10.1.38.18:8776/v1/745c3a3e81334808b89d920a39c071bd/volumes/28c5dffc-dd67-44f7-94c9-e3555f8ffde7 0.615s
    Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Token': '<omitted>'}
        Body: None
    Response - Headers: {'status': '200', 'content-length': '547', 'content-location': 'https://10.1.38.18:8776/v1/745c3a3e81334808b89d920a39c071bd/volumes/28c5dffc-dd67-44f7-94c9-e3555f8ffde7', 'x-compute-request-id': 'req-33ba7fd8-2175-475e-a5ea-7e42369ff6d9', 'connection': 'close', 'date': 'Tue, 30 Jun 2015 11:23:08 GMT', 'content-type': 'application/json', 'x-openstack-request-id': 'req-33ba7fd8-2175-475e-a5ea-7e42369ff6d9'}
        Body: {"volume": {"status": "downloading", "display_name": "Volume-1546562958", "attachments": [], "availability_zone": "nova", "bootable": "false", "encrypted": false, "created_at": "2015-06-30T11:23:05.000000", "os-vol-tenant-attr:tenant_id": "745c3a3e81334808b89d920a39c071bd", "os-volume-replication:driver_data": null, "display_description": null, "os-volume-replication:extended_status": null, "volume_type": "None", "snapshot_id": null, "source_volid": null, "metadata": {"Type": "Test"}, "id": "28c5dffc-dd67-44f7-94c9-e3555f8ffde7", "size": 1}}
2015-06-30 11:23:09,679 6868 DEBUG [tempest_lib.common.rest_client] Request (VolumesV1GetTest:test_volume_create_get_update_delete_from_image): 200 GET https://10.1.38.18:8776/v1/745c3a3e81334808b89d920a39c071bd/volumes/28c5dffc-dd67-44f7-94c9-e3555f8ffde7 0.570s
    Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Token': '<omitted>'}
        Body: None
 Response - Headers: {'status': '200', 'content-length': '547', 'content-location': 'https://10.1.38.18:8776/v1/745c3a3e81334808b89d920a39c071bd/volumes/28c5dffc-dd67-44f7-94c9-e3555f8ffde7', 'x-compute-request-id': 'req-9aad9fd0-24d9-451c-80d0-5a7c49170ce2', 'connection': 'close', 'date': 'Tue, 30 Jun 2015 11:23:09 GMT', 'content-type': 'application/json', 'x-openstack-request-id': 'req-9aad9fd0-24d9-451c-80d0-5a7c49170ce2'}
        Body: {"volume": {"status": "downloading", "display_name": "Volume-1546562958", "attachments": [], "availability_zone": "nova", "bootable": "false", "encrypted": false, "created_at": "2015-06-30T11:23:05.000000", "os-vol-tenant-attr:tenant_id": "745c3a3e81334808b89d920a39c071bd", "os-volume-replication:driver_data": null, "display_description": null, "os-volume-replication:extended_status": null, "volume_type": "None", "snapshot_id": null, "source_volid": null, "metadata": {"Type": "Test"}, "id": "28c5dffc-dd67-44f7-94c9-e3555f8ffde7", "size": 1}}
2015-06-30 11:23:11,326 6868 DEBUG [tempest_lib.common.rest_client] Request (VolumesV1GetTest:test_volume_create_get_update_delete_from_image): 200 GET https://10.1.38.18:8776/v1/745c3a3e81334808b89d920a39c071bd/volumes/28c5dffc-dd67-44f7-94c9-e3555f8ffde7 0.645s
    Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Token': '<omitted>'}
        Body: None
    Response - Headers: {'status': '200', 'content-length': '547', 'content-location': 'https://10.1.38.18:8776/v1/745c3a3e81334808b89d920a39c071bd/volumes/28c5dffc-dd67-44f7-94c9-e3555f8ffde7', 'x-compute-request-id': 'req-7c2a5272-8526-4df5-aff0-fca857bf0ff1', 'connection': 'close', 'date': 'Tue, 30 Jun 2015 11:23:11 GMT', 'content-type': 'application/json', 'x-openstack-request-id': 'req-7c2a5272-8526-4df5-aff0-fca857bf0ff1'}
        Body: {"volume": {"status": "downloading", "display_name": "Volume-1546562958", "attachments": [], "availability_zone": "nova", "bootable": "false", "encrypted": false, "created_at": "2015-06-30T11:23:05.000000", "os-vol-tenant-attr:tenant_id": "745c3a3e81334808b89d920a39c071bd", "os-volume-replication:driver_data": null, "display_description": null, "os-volume-replication:extended_status": null, "volume_type": "None", "snapshot_id": null, "source_volid": null, "metadata": {"Type": "Test"}, "id": "28c5dffc-dd67-44f7-94c9-e3555f8ffde7", "size": 1}}
2015-06-30 11:23:12,463 6868 DEBUG [tempest_lib.common.rest_client] Request (VolumesV1GetTest:test_volume_create_get_update_delete_from_image): 200 GET https://10.1.38.18:8776/v1/745c3a3e81334808b89d920a39c071bd/volumes/28c5dffc-dd67-44f7-94c9-e3555f8ffde7 0.135s
    Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Token': '<omitted>'}
        Body: None
    Response - Headers: {'status': '200', 'content-length': '547', 'content-location': 'https://10.1.38.18:8776/v1/745c3a3e81334808b89d920a39c071bd/volumes/28c5dffc-dd67-44f7-94c9-e3555f8ffde7', 'x-compute-request-id': 'req-c41ef7bc-5d18-4393-a01a-8c02803047a8', 'connection': 'close', 'date': 'Tue, 30 Jun 2015 11:23:12 GMT', 'content-type': 'application/json', 'x-openstack-request-id': 'req-c41ef7bc-5d18-4393-a01a-8c02803047a8'}
        Body: {"volume": {"status": "downloading", "display_name": "Volume-1546562958", "attachments": [], "availability_zone": "nova", "bootable": "false", "encrypted": false, "created_at": "2015-06-30T11:23:05.000000", "os-vol-tenant-attr:tenant_id": "745c3a3e81334808b89d920a39c071bd", "os-volume-replication:driver_data": null, "display_description": null, "os-volume-replication:extended_status": null, "volume_type": "None", "snapshot_id": null, "source_volid": null, "metadata": {"Type": "Test"}, "id": "28c5dffc-dd67-44f7-94c9-e3555f8ffde7", "size": 1}}
2015-06-30 11:23:13,600 6868 DEBUG [tempest_lib.common.rest_client] Request (VolumesV1GetTest:test_volume_create_get_update_delete_from_image): 200 GET https://10.1.38.18:8776/v1/745c3a3e81334808b89d920a39c071bd/volumes/28c5dffc-dd67-44f7-94c9-e3555f8ffde7 0.135s
    Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Token': '<omitted>'}
  Response - Headers: {'status': '200', 'content-length': '547', 'content-location': 'https://10.1.38.18:8776/v1/745c3a3e81334808b89d920a39c071bd/volumes/28c5dffc-dd67-44f7-94c9-e3555f8ffde7', 'x-compute-request-id': 'req-f0d9d24c-6544-42df-ba66-e48af3cd69f1', 'connection': 'close', 'date': 'Tue, 30 Jun 2015 11:23:13 GMT', 'content-type': 'application/json', 'x-openstack-request-id': 'req-f0d9d24c-6544-42df-ba66-e48af3cd69f1'}
        Body: {"volume": {"status": "downloading", "display_name": "Volume-1546562958", "attachments": [], "availability_zone": "nova", "bootable": "false", "encrypted": false, "created_at": "2015-06-30T11:23:05.000000", "os-vol-tenant-attr:tenant_id": "745c3a3e81334808b89d920a39c071bd", "os-volume-replication:driver_data": null, "display_description": null, "os-volume-replication:extended_status": null, "volume_type": "None", "snapshot_id": null, "source_volid": null, "metadata": {"Type": "Test"}, "id": "28c5dffc-dd67-44f7-94c9-e3555f8ffde7", "size": 1}}
2015-06-30 11:23:15,181 6868 DEBUG [tempest_lib.common.rest_client] Request (VolumesV1GetTest:test_volume_create_get_update_delete_from_image): 200 GET https://10.1.38.18:8776/v1/745c3a3e81334808b89d920a39c071bd/volumes/28c5dffc-dd67-44f7-94c9-e3555f8ffde7 0.579s
    Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Token': '<omitted>'}
        Body: None
    Response - Headers: {'status': '200', 'content-length': '547', 'content-location': 'https://10.1.38.18:8776/v1/745c3a3e81334808b89d920a39c071bd/volumes/28c5dffc-dd67-44f7-94c9-e3555f8ffde7', 'x-compute-request-id': 'req-a36e3aaf-0ebd-48f1-b2b2-791028a4da17', 'connection': 'close', 'date': 'Tue, 30 Jun 2015 11:23:15 GMT', 'content-type': 'application/json', 'x-openstack-request-id': 'req-a36e3aaf-0ebd-48f1-b2b2-791028a4da17'}
        Body: {"volume": {"status": "downloading", "display_name": "Volume-1546562958", "attachments": [], "availability_zone": "nova", "bootable": "false", "encrypted": false, "created_at": "2015-06-30T11:23:05.000000", "os-vol-tenant-attr:tenant_id": "745c3a3e81334808b89d920a39c071bd", "os-volume-replication:driver_data": null, "display_description": null, "os-volume-replication:extended_status": null, "volume_type": "None", "snapshot_id": null, "source_volid": null, "metadata": {"Type": "Test"}, "id": "28c5dffc-dd67-44f7-94c9-e3555f8ffde7", "size": 1}}
2015-06-30 11:23:16,314 6868 DEBUG [tempest_lib.common.rest_client] Request (VolumesV1GetTest:test_volume_create_get_update_delete_from_image): 200 GET https://10.1.38.18:8776/v1/745c3a3e81334808b89d920a39c071bd/volumes/28c5dffc-dd67-44f7-94c9-e3555f8ffde7 0.132s
    Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Token': '<omitted>'}
        Body: None
    Response - Headers: {'status': '200', 'content-length': '547', 'content-location': 'https://10.1.38.18:8776/v1/745c3a3e81334808b89d920a39c071bd/volumes/28c5dffc-dd67-44f7-94c9-e3555f8ffde7', 'x-compute-request-id': 'req-927bfa5c-245d-42d5-ba74-26649ffb178a', 'connection': 'close', 'date': 'Tue, 30 Jun 2015 11:23:16 GMT', 'content-type': 'application/json', 'x-openstack-request-id': 'req-927bfa5c-245d-42d5-ba74-26649ffb178a'}
        Body: {"volume": {"status": "downloading", "display_name": "Volume-1546562958", "attachments": [], "availability_zone": "nova", "bootable": "false", "encrypted": false, "created_at": "2015-06-30T11:23:05.000000", "os-vol-tenant-attr:tenant_id": "745c3a3e81334808b89d920a39c071bd", "os-volume-replication:driver_data": null, "display_description": null, "os-volume-replication:extended_status": null, "volume_type": "None", "snapshot_id": null, "source_volid": null, "metadata": {"Type": "Test"}, "id": "28c5dffc-dd67-44f7-94c9-e3555f8ffde7", "size": 1}}
2015-06-30 11:23:17,452 6868 DEBUG [tempest_lib.common.rest_client] Request (VolumesV1GetTest:test_volume_create_get_update_delete_from_image): 200 GET https://10.1.38.18:8776/v1/745c3a3e81334808b89d920a39c071bd/volumes/28c5dffc-dd67-44f7-94c9-e3555f8ffde7 0.136s
    Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Token': '<omitted>'}
 Response - Headers: {'status': '200', 'content-length': '547', 'content-location': 'https://10.1.38.18:8776/v1/745c3a3e81334808b89d920a39c071bd/volumes/28c5dffc-dd67-44f7-94c9-e3555f8ffde7', 'x-compute-request-id': 'req-4d6b8b66-1f5d-427e-9941-11d4212b2fa3', 'connection': 'close', 'date': 'Tue, 30 Jun 2015 11:23:17 GMT', 'content-type': 'application/json', 'x-openstack-request-id': 'req-4d6b8b66-1f5d-427e-9941-11d4212b2fa3'}
        Body: {"volume": {"status": "downloading", "display_name": "Volume-1546562958", "attachments": [], "availability_zone": "nova", "bootable": "false", "encrypted": false, "created_at": "2015-06-30T11:23:05.000000", "os-vol-tenant-attr:tenant_id": "745c3a3e81334808b89d920a39c071bd", "os-volume-replication:driver_data": null, "display_description": null, "os-volume-replication:extended_status": null, "volume_type": "None", "snapshot_id": null, "source_volid": null, "metadata": {"Type": "Test"}, "id": "28c5dffc-dd67-44f7-94c9-e3555f8ffde7", "size": 1}}
2015-06-30 11:23:19,054 6868 DEBUG [tempest_lib.common.rest_client] Request (VolumesV1GetTest:test_volume_create_get_update_delete_from_image): 200 GET https://10.1.38.18:8776/v1/745c3a3e81334808b89d920a39c071bd/volumes/28c5dffc-dd67-44f7-94c9-e3555f8ffde7 0.600s
    Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Token': '<omitted>'}
        Body: None
    Response - Headers: {'status': '200', 'content-length': '541', 'content-location': 'https://10.1.38.18:8776/v1/745c3a3e81334808b89d920a39c071bd/volumes/28c5dffc-dd67-44f7-94c9-e3555f8ffde7', 'x-compute-request-id': 'req-5d5ce18b-711f-4d7c-8e6d-0f0f266e8649', 'connection': 'close', 'date': 'Tue, 30 Jun 2015 11:23:19 GMT', 'content-type': 'application/json', 'x-openstack-request-id': 'req-5d5ce18b-711f-4d7c-8e6d-0f0f266e8649'}
        Body: {"volume": {"status": "error", "display_name": "Volume-1546562958", "attachments": [], "availability_zone": "nova", "bootable": "false", "encrypted": false, "created_at": "2015-06-30T11:23:05.000000", "os-vol-tenant-attr:tenant_id": "745c3a3e81334808b89d920a39c071bd", "os-volume-replication:driver_data": null, "display_description": null, "os-volume-replication:extended_status": null, "volume_type": "None", "snapshot_id": null, "source_volid": null, "metadata": {"Type": "Test"}, "id": "28c5dffc-dd67-44f7-94c9-e3555f8ffde7", "size": 1}}
2015-06-30 11:23:19,163 6868 DEBUG [tempest_lib.common.rest_client] Request (VolumesV1GetTest:_run_cleanups): 202 DELETE https://10.1.38.18:8776/v1/745c3a3e81334808b89d920a39c071bd/volumes/28c5dffc-dd67-44f7-94c9-e3555f8ffde7 0.107s
    Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Token': '<omitted>'}
        Body: None
    Response - Headers: {'status': '202', 'content-length': '0', 'connection': 'close', 'date': 'Tue, 30 Jun 2015 11:23:19 GMT', 'content-type': 'text/html; charset=UTF-8', 'x-openstack-request-id': 'req-a022d8ef-7266-4928-8b4d-b59d21c643eb'}
        Body:
2015-06-30 11:23:19,707 6868 DEBUG [tempest_lib.common.rest_client] Request (VolumesV1GetTest:_run_cleanups): 404 GET https://10.1.38.18:8776/v1/745c3a3e81334808b89d920a39c071bd/volumes/28c5dffc-dd67-44f7-94c9-e3555f8ffde7 0.543s
    Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Token': '<omitted>'}
        Body: None
    Response - Headers: {'status': '404', 'content-length': '78', 'x-compute-request-id': 'req-b41ef80b-6f72-43c3-b14b-531363169c1c', 'connection': 'close', 'date': 'Tue, 30 Jun 2015 11:23:19 GMT', 'content-type': 'application/json; charset=UTF-8', 'x-openstack-request-id': 'req-b41ef80b-6f72-43c3-b14b-531363169c1c'}
        Body: {"itemNotFound": {"message": "The resource could not be found.", "code": 404}} }}} Traceback (most recent call last):
  File "/opt/stack/tempest/tempest/test.py", line 112, in wrapper
    return f(self, *func_args, **func_kwargs)
  File "/opt/stack/tempest/tempest/api/volume/test_volumes_get.py", line 143, in test_volume_create_get_update_delete_from_image
    self._volume_create_get_update_delete(imageRef=CONF.compute.image_ref)
  File "/opt/stack/tempest/tempest/api/volume/test_volumes_get.py", line 60, in _volume_create_get_update_delete
    self.client.wait_for_volume_status(volume['id'], 'available')
  File "/opt/stack/tempest/tempest/services/volume/json/volumes_client.py", line 171, in wait_for_volume_status
    raise exceptions.VolumeBuildErrorException(volume_id=volume_id)
tempest.exceptions.VolumeBuildErrorException: Volume 28c5dffc-dd67-44f7-94c9-e3555f8ffde7 failed to build and is in ERROR status

</snip>

It seems this test first download a cirros image and create a volume and copy the image to that. The cirrors image download test was failing as a part of image test. It seems that image test has a dependency on this cinder test.

The failed image test has the following entry for the reference:

<snip1>

FAIL: setUpClass (tempest.api.image.v1.test_images.ListImagesTest)
tags: worker-25
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/opt/stack/tempest/tempest/test.py", line 273, in setUpClass
    cls.resource_setup()
  File "/opt/stack/tempest/tempest/api/image/v1/test_images.py", line 113, in resource_setup
    img1 = cls._create_remote_image('one', 'bare', 'raw')
  File "/opt/stack/tempest/tempest/api/image/v1/test_images.py", line 147, in _create_remote_image
    location=location)
  File "/opt/stack/tempest/tempest/api/image/base.py", line 71, in create_image
    disk_format, **kwargs)
  File "/opt/stack/tempest/tempest/services/image/v1/json/image_client.py", line 162, in create_image
    resp, body = self.post('v1/images', None, headers)
  File "/opt/stack/venvs/openstack/local/lib/python2.7/site-packages/tempest_lib/common/rest_client.py", line 168, in post
    return self.request('POST', url, extra_headers, headers, body)
  File "/opt/stack/tempest/tempest/common/service_client.py", line 67, in request
    raise exceptions.BadRequest(ex)
tempest.exceptions.BadRequest: Bad request
Details: Bad request
Details: 400 Bad Request

External source are not supported: 'http://download.cirros-cloud.net/0.3.1/cirros-0.3.1-x86_64-uec.tar.gz'

</snip1>

Wget of http://download.cirros-cloud.net/0.3.1/cirros-0.3.1-x86_64-uec.tar.gz is actually working from UC and OC Controller nodes.
This testing is a part of IHV Netapp certification program.

Netapp version:
NetApp Release 8.2.2 7-Mode: Fri Aug 22 01:46:52 PDT 2014 System ID: 2015001238 (svscdna01); partner ID: 2015001750 (svscdna02) System Serial Number: 700001391323 (svscdna01) System Rev: B2 System Storage Configuration: Multi-Path HA System ACP Connectivity: NA Backplane Part Number: 111-01011 Backplane Rev: A0 Backplane Serial Number: 9406421915 slot 0: System Board 2.3 GHz (System Board XVI B2)

affects: openstack-community → tempest
Revision history for this message
novelkumar (novel-kumar) wrote :

This bug has a dependency to https://bugs.launchpad.net/glance/+bug/1473009

AFAIK, since the imgage download fails, this test also fails.

Can't we have a local horizon IP and download a localally available glance image for testing the above scenario of Cinder. Why should it be an external source image?

Revision history for this message
Andrea Frittoli (andrea-frittoli) wrote :

There is no dependency that I can see between the tests (that would be a bug in itself).
The cinder test relies on CONF.compute.image_ref which is an image which must be pre-provisioned in the target cloud before the tests are executed.
Without the relevant snip of cinder logs it's hard to say what is going on here, it could be that the image_ref configured in tempest.conf does not exist in your target cloud.

Changed in tempest:
status: New → Incomplete
summary: - Tempest test case Tempest test case test
- volume_create_get_update_delete_from_image fails with netapp iSCSI
- driver
+ Tempest test case test volume_create_get_update_delete_from_image fails
+ with netapp iSCSI driver
summary: - Tempest test case test volume_create_get_update_delete_from_image fails
+ Tempest test case test_volume_create_get_update_delete_from_image fails
with netapp iSCSI driver
Revision history for this message
novelkumar (novel-kumar) wrote :
Revision history for this message
novelkumar (novel-kumar) wrote :

I have added the Cinder-volume and Glance log files after the failed test is re-run. Since cinder-volume.log did not populate anything while the test is re-run, i have attached the available cinder-volume.log as cinder-volume.log.bak

Revision history for this message
novelkumar (novel-kumar) wrote :

Further update:

I changed the volume_size to 3 in tempest.conf and the test passed.

It is trying to create a volume based on a 221 MB glance image fetched from local glance repo.

+--------------------------------------+----------------------------------------+-------------+------------------+-----------+--------+
| ID | Name | Disk Format | Container Format | Size | Status |
+--------------------------------------+----------------------------------------+-------------+------------------+-----------+--------+
| c39c72dd-5af3-434f-b1be-2c4848262fc6 | debian-wheezy-amd64-20140929-disk | qcow2 | bare | 221489152 | active |

I still think this is a bug/issue since 221 MB image is failing for a 1 GB volume creation.

Revision history for this message
Launchpad Janitor (janitor) wrote :

[Expired for tempest because there has been no activity for 60 days.]

Changed in tempest:
status: Incomplete → Expired
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.