Comment 108 for bug 2004555

Revision history for this message
Ghanshyam Mann (ghanshyammann) wrote : Re: [ussuri] Wrong volume attachment - volumes overlapping when connected through iscsi on host

From tempest test 'test_attach_detach_volume_to_instance' and similar test in that file seems not very valid tests though they pass. I tested the behavior when attachment is done via cinder and nova does not know about it even test create and pass the valid/existing server id. I tested the same and it is clear that in such case, user cannot use that attachment (list, show, write on volume etc) from nova perspective.

These were very old tests and should have written from cinder standalone service perspective where no server creation/passing needed. Irrespective of this bug we should modify these test as close to user operations.

For any other test failing, we can check what operation test verify and based on that we can go for the skip test way. Below is the process for Tempest test skip/modification to land service side bug
- https://docs.openstack.org/tempest/latest/HACKING.html#bug-fix-on-core-project-needing-tempest-changes