Comment 15 for bug 1489581

Revision history for this message
Matt Riedemann (mriedem) wrote : Re: test_create_ebs_image_and_check_boot is race failing

When this fails, there are duplicate bdm entries in the image metadata, with 2 entries that have boot_index=0:

http://logs.openstack.org/87/188487/39/check/gate-tempest-dsvm-cells/6a75b7f/logs/tempest.txt.gz#_2015-11-03_14_18_29_118

2015-11-03 14:18:29.118 29774 DEBUG tempest_lib.common.rest_client [req-f7d6b621-e091-4208-8e50-3f2a80eeec94 ] Request - Headers: {'X-Auth-Token': '<omitted>', 'Accept': 'application/json', 'Content-Type': 'application/json'}
        Body: None
    Response - Headers: {'x-image-meta-min_disk': '0', 'connection': 'close', 'x-image-meta-property-block_device_mapping': '[{"guest_format": null, "boot_index": 0, "delete_on_termination": true, "no_device": null, "snapshot_id": "5b7fdd96-17eb-42bd-9e06-71816c44d858", "device_name": "/dev/vda", "disk_bus": "virtio", "image_id": null, "source_type": "snapshot", "device_type": "disk", "volume_id": null, "destination_type": "volume", "volume_size": 1}, {"guest_format": null, "boot_index": 0, "delete_on_termination": true, "no_device": null, "snapshot_id": "6855de29-05a8-4fd0-875c-456cbeac86aa", "device_name": "/dev/vda", "disk_bus": "virtio", "image_id": null, "source_type": "snapshot", "device_type": "disk", "volume_id": null, "destination_type": "volume", "volume_size": 1}]', 'x-image-meta-is_public': 'False', 'x-image-meta-created_at': '2015-11-03T14:18:29.000000', 'x-image-meta-size': '0', 'x-image-meta-owner': 'd7a6c1dd8f544a6d988c690457746387', 'x-image-meta-min_ram': '0', 'x-image-meta-protected': 'False', 'date': 'Tue, 03 Nov 2015 14:18:29 GMT', 'x-image-meta-property-kernel_id': '45097725-7d8c-4592-b7a3-1fcf09c828ab', 'x-image-meta-property-bdm_v2': 'True', 'x-image-meta-id': '7d649ce7-8c34-4ab2-9aa9-8f28a93677ea', 'content-length': '0', 'x-openstack-request-id': 'req-f7d6b621-e091-4208-8e50-3f2a80eeec94', 'content-type': 'text/html; charset=UTF-8', 'x-image-meta-name': 'tempest-image-2038782105', 'status': '200', 'x-image-meta-property-root_device_name': '/dev/vda', 'x-image-meta-updated_at': '2015-11-03T14:18:29.000000', 'x-image-meta-deleted': 'False', 'content-location': 'http://127.0.0.1:9292/v1/images/7d649ce7-8c34-4ab2-9aa9-8f28a93677ea', 'x-image-meta-status': 'active', 'x-image-meta-property-ramdisk_id': 'd920dfcd-0ebe-48d4-b084-f787b644d85f'}
        Body: _log_request_full /opt/stack/new/tempest/.tox/all/local/lib/python2.7/site-packages/tempest_lib/common/rest_client.py:414