Bug 1812908 - [RHOS-16] tempest.api.compute.volumes.test_attach_volume.AttachVolumeTestJSON.test_attach_detach_volume failed when the self.device(vdb)value was in use(config_drive vfat in my case)
Summary: [RHOS-16] tempest.api.compute.volumes.test_attach_volume.AttachVolumeTestJSON...
Keywords:
Status: CLOSED DUPLICATE of bug 1777523
Alias: None
Product: Red Hat OpenStack
Classification: Red Hat
Component: openstack-tempest
Version: 16.0 (Train)
Hardware: Unspecified
OS: Unspecified
high
high
Target Milestone: z2
: 16.1 (Train on RHEL 8.2)
Assignee: Paras Babbar
QA Contact: Martin Kopec
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2020-03-12 13:46 UTC by Martin Kopec
Modified: 2020-10-20 22:16 UTC (History)
4 users (show)

Fixed In Version: openstack-tempest-23.0.0-0.20200423172313.d432237.el8ost
Doc Type: No Doc Update
Doc Text:
Clone Of:
Environment:
Last Closed: 2020-09-30 14:43:23 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Launchpad 1852807 0 None None None 2020-03-12 13:52:23 UTC
OpenStack gerrit 694636 0 None MERGED Fix test_attach_detach_volume test case to not rely on user/libvirt supplied disk name 2020-09-29 21:09:23 UTC
OpenStack gerrit 698598 0 None MERGED Fix test_stamp_pattern to remove dependency of user supplied volume name 2020-09-29 21:09:23 UTC

Description Martin Kopec 2020-03-12 13:46:37 UTC
This bug was initially created as a copy of Bug #1777523

I am copying this bug because: 



Description of problem:
This bug is clone of https://bugs.launchpad.net/tempest/+bug/1852807 upstream


How reproducible:

whenever you have the deployment with config_Drive= true with vfat as driver type or you use the testcase with instance deployed with ephemeral disk


Steps to reproduce
1. deploy an instance with one already added vdb volume attached(Like I have used config drive format vfat that already took vdb volume)
2. run this testcase tempest.api.compute.volumes.test_attach_volume.AttachVolumeTestJSON.test_attach_detach_volume
3. This will fail in assertNotIn mismatch error like below as it tries to validate that vdb is detached or not which is set by libvirt assumption

Actual results:
Testcase failed 

Expected results:
Testcase should have passed

Additional info:

Please look on this detailed upstream bug : https://bugs.launchpad.net/tempest/+bug/1852807

Comment 6 Martin Kopec 2020-09-30 14:43:23 UTC
This bug was originally meant for rhos-16, rhos-16.1 has been tracked by this https://bugzilla.redhat.com/show_bug.cgi?id=1777523. 
As this bug's target release has been changed to rhos-16.1, I can close this as duplicate of 1777523.

*** This bug has been marked as a duplicate of bug 1777523 ***


Note You need to log in before you can comment on or make changes to this bug.