Activity log for bug #1686664

Date Who What changed Old value New value Message
2017-04-27 10:10:34 Zhenyu Zheng bug added bug
2017-04-27 10:53:48 Zhenyu Zheng tempest: assignee Zhenyu Zheng (zhengzhenyu)
2017-04-28 06:25:46 Zhenyu Zheng description 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. 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. Test Log: tempest.api.compute.volumes.test_attach_volume.AttachVolumeTestJSON.test_list_get_volume_attachments[id-7fa563fe-f0f7-43eb-9e22-a1ece036b513] --------------------------------------------------------------------------------------------------------------------------------------------- Captured traceback: ~~~~~~~~~~~~~~~~~~~ Traceback (most recent call last): File "/home/defcore/refstack-client-master/.tempest/tempest/api/compute/volumes/test_attach_volume.py", line 163, in test_list_get_volume_attachments self._create_and_attach() File "/home/defcore/refstack-client-master/.tempest/tempest/api/compute/volumes/test_attach_volume.py", line 73, in _create_and_attach adminPass=self.admin_pass) File "/home/defcore/refstack-client-master/.tempest/tempest/api/compute/base.py", line 229, in create_test_server **kwargs) File "/home/defcore/refstack-client-master/.tempest/tempest/common/compute.py", line 157, in create_test_server % server['id']) File "/home/defcore/refstack-client-master/.tempest/.venv/local/lib/python2.7/site-packages/oslo_utils/excutils.py", line 220, in __exit__ self.force_reraise() File "/home/defcore/refstack-client-master/.tempest/.venv/local/lib/python2.7/site-packages/oslo_utils/excutils.py", line 196, in force_reraise six.reraise(self.type_, self.value, self.tb) File "/home/defcore/refstack-client-master/.tempest/tempest/common/compute.py", line 147, in create_test_server server_id=servers[0]['id']) File "/home/defcore/refstack-client-master/.tempest/tempest/lib/services/compute/floating_ips_client.py", line 76, in associate_floating_ip_to_server resp, body = self.post(url, post_body) File "/home/defcore/refstack-client-master/.tempest/tempest/lib/common/rest_client.py", line 270, in post return self.request('POST', url, extra_headers, headers, body, chunked) File "/home/defcore/refstack-client-master/.tempest/tempest/lib/services/compute/base_compute_client.py", line 48, in request method, url, extra_headers, headers, body, chunked) File "/home/defcore/refstack-client-master/.tempest/tempest/lib/common/rest_client.py", line 668, in request resp, resp_body) File "/home/defcore/refstack-client-master/.tempest/tempest/lib/common/rest_client.py", line 771, in _error_checker raise exceptions.BadRequest(resp_body, resp=resp) tempest.lib.exceptions.BadRequest: Bad request Details: {u'message': u'Unable to associate floating ip 46.30.2.0 to fixed ip 192.168.0.126 for instance a6e6ffa1-1504-49b1-a035-9ffcd50c2ba9. Error: the floatingip d3d779e5-3ac6-44cc-bb90-7b65e22b96d0 has associated, please disassociate first.', u'code': u'400'}
2017-04-28 06:43:56 OpenStack Infra tempest: status New In Progress
2017-05-02 09:46:33 Ghanshyam Mann tempest: status In Progress Confirmed
2017-05-02 09:46:40 Ghanshyam Mann tempest: importance Undecided High
2017-05-02 10:03:39 OpenStack Infra tempest: status Confirmed In Progress
2017-05-18 02:51:49 OpenStack Infra tempest: status In Progress Fix Released