volume fails to build in tempest.scenario.test_volume_boot_pattern.TestVolumeBootPatternV2.test_volume_boot_pattern

Bug #1645816 reported by Nuno Santos
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
tempest
Fix Released
Medium
Nuno Santos

Bug Description

I was able to reproduce it consistently if the size of the image
that's originally used to boot an instance from which the snapshot
is taken is bigger than the volume_size specified in tempest.conf
(defaults to 1).

Here's the resulting error (several similar errors):

tempest.scenario.test_volume_boot_pattern.TestVolumeBootPatternV2.test_volume_boot_pattern[compute,id-557cd2c2-4eb8-4dce-98be-f86765ff311b,image,smoke,volume]
--------------------------------------------------------------------------------------------------------------------------------------------------------------

Captured traceback:
~~~~~~~~~~~~~~~~~~~
    b'Traceback (most recent call last):'
    b' File "/var/lib/tempest/tempest-aaa-fixes/tempest/tempest/test.py", line 100, in wrapper'
    b' return f(self, *func_args, **func_kwargs)'
    b' File "/var/lib/tempest/tempest-aaa-fixes/tempest/tempest/scenario/test_volume_boot_pattern.py", line 123, in test_volume_boot_pattern'
    b' volume_origin = self._create_volume_from_image()'
    b' File "/var/lib/tempest/tempest-aaa-fixes/tempest/tempest/scenario/test_volume_boot_pattern.py", line 41, in _create_volume_from_image'
    b' return self.create_volume(name=vol_name, imageRef=img_uuid)'
    b' File "/var/lib/tempest/tempest-aaa-fixes/tempest/tempest/scenario/manager.py", line 238, in create_volume'
    b" volume['id'], 'available')"
    b' File "/var/lib/tempest/tempest-aaa-fixes/tempest/tempest/common/waiters.py", line 180, in wait_for_volume_status'
    b' raise exceptions.VolumeBuildErrorException(volume_id=volume_id)'
    b'tempest.exceptions.VolumeBuildErrorException: Volume ffd3d160-604d-4e65-8a0e-e0c8b68a825d failed to build and is in ERROR status'

Changed in tempest:
assignee: nobody → Nuno Santos (nunosantos)
status: New → In Progress
Changed in tempest:
importance: Undecided → Medium
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to tempest (master)

Reviewed: https://review.openstack.org/399151
Committed: https://git.openstack.org/cgit/openstack/tempest/commit/?id=da89962266b6ce28e799bf4b4207bd8cf9998573
Submitter: Jenkins
Branch: master

commit da89962266b6ce28e799bf4b4207bd8cf9998573
Author: Nuno Santos <email address hidden>
Date: Thu Nov 17 12:32:53 2016 -0500

    Specify snapshot size when creating volume

    To avoid volume creation failures due to the default size being
    insuficient, specify the snapshot size when creating a volume
    from a snapshot.

    Closes-Bug: #1645816

    Change-Id: Ib609bac7ab331a7ddf90e3d9147547658ec1b0f7

Changed in tempest:
status: In Progress → Fix Released
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.