Bug 1316046

Summary: test_volume_boot_pattern and test_rescued_vm_detach_volume fails with rbd driver
Product: Red Hat OpenStack Reporter: Arx Cruz <acruz>
Component: openstack-cinderAssignee: Jon Bernard <jobernar>
Status: CLOSED UPSTREAM QA Contact: nlevinki <nlevinki>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 8.0 (Liberty)CC: eharney, sgotliv, tkammer, yeylon
Target Milestone: ---Keywords: Automation, AutomationBlocker
Target Release: 9.0 (Mitaka)   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2016-04-04 11:51:08 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Arx Cruz 2016-03-09 10:21:16 UTC
Description of problem:
Sometimes for rbd Tempest scenario test_volume_boot_pattern.TestVolumeBootPatternV2.test_volume_boot_pattern fails with following error

2016-02-22 21:46:55.983 23489 WARNING cinder.volume.drivers.rbd [req-9ae2daa0-8df2-44fa-941f-9590ab8fae85 3c43fc722be1439dbdbc6487f468a924 18dad7f31d074553ab095fdf7cc7ce4e - - -] ImageBusy error raised while deleting rbd volume. This may have been caused by a connection from a client that has crashed and, if so, may be resolved by retrying the delete after 30 seconds has elapsed.

2016-02-22 21:46:55.989 23489 ERROR cinder.volume.manager [req-9ae2daa0-8df2-44fa-941f-9590ab8fae85 3c43fc722be1439dbdbc6487f468a924 18dad7f31d074553ab095fdf7cc7ce4e - - -] Unable to delete busy volume.

Version-Release number of selected component (if applicable):
openstack-cinder-7.0.1-6.el7ost.noarch
python-cinderclient-1.5.0-1.el7ost.noarch
python-cinder-7.0.1-6.el7ost.noarch


How reproducible:

Steps to Reproduce:
1. Instal osp with cinder version above
2. Run tempest

Actual results:
tempest.scenario.test_volume_boot_pattern.TestVolumeBootPattern.test_volume_boot_pattern
tempest.scenario.test_volume_boot_pattern.TestVolumeBootPatternV2.test_volume_boot_pattern
tempest.api.compute.servers.test_server_rescue_negative.ServerRescueNegativeTestJSON.test_rescued_vm_detach_volume

Fails

Expected results:
tempest.scenario.test_volume_boot_pattern.TestVolumeBootPattern.test_volume_boot_pattern
tempest.scenario.test_volume_boot_pattern.TestVolumeBootPatternV2.test_volume_boot_pattern
tempest.api.compute.servers.test_server_rescue_negative.ServerRescueNegativeTestJSON.test_rescued_vm_detach_volume

Pass

Additional info:
The launchpad bug attached fix tempest.scenario.test_volume_boot_pattern.TestVolumeBootPattern.test_volume_boot_pattern and tempest.scenario.test_volume_boot_pattern.TestVolumeBootPatternV2.test_volume_boot_pattern

However, the tempest.api.compute.servers.test_server_rescue_negative.ServerRescueNegativeTestJSON.test_rescued_vm_detach_volume still fails with the same error.