Comment 0 for bug 1686664

Revision history for this message
Zhenyu Zheng (zhengzhenyu) wrote :

Tests
tempest.api.compute.volumes.test_attach_volume.AttachVolumeTestJSON.test_attach_detach_volume[id-52e9045a-e90d-4c0d-9087-79d657faffff]
tempest.api.compute.volumes.test_attach_volume.AttachVolumeTestJSON.test_list_get_volume_attachments[id-7fa563fe-f0f7-43eb-9e22-a1ece036b513]
are under the same class, so when these tests setup, and using floating as connect_method only one floating IP was created.We first associated it to instance created at test1 and then we created another instance in test2 and tried to associate this IP again to the new server, since the IP was already associated to instance created in test1, error will happen when try to do this.

Actually this tests are about volumes, there is no need to create two instances for these tests, just create one instance and use it for all the tests.