[ostf] 'Check network connectivity from instance via floating IP' double delete instance
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Fuel for OpenStack |
Invalid
|
Low
|
Nastya Urlapova |
Bug Description
ISO: http://
Steps to reproduce:
1. Install OS with HA mode(3 controllers)CentOS
2. Destroy one of the controllers
3. Run OSTF tests.
Actual result:
Test 'Check network connectivity from instance via floating IP' fails
In OSTF logs we can see:
2014-07-23 06:20:11 DEBUG (client) New session created for: (http://
2014-07-23 06:20:11 INFO (connectionpool) Starting new HTTP connection (1): 10.108.5.3
2014-07-23 06:20:11 DEBUG (connectionpool) "POST http://
2014-07-23 06:20:11 DEBUG (client) New session created for: (http://
2014-07-23 06:20:11 INFO (connectionpool) Starting new HTTP connection (1): 10.108.5.3
2014-07-23 06:20:11 DEBUG (connectionpool) "GET http://
2014-07-23 06:20:17 INFO (connectionpool) Starting new HTTP connection (1): 10.108.5.3
2014-07-23 06:20:17 DEBUG (connectionpool) "GET http://
2014-07-23 06:20:17 DEBUG (test) Waiting for <Server: ost1_test-
2014-07-23 06:20:17 DEBUG (test) Sleeping for 10 seconds
2014-07-23 06:20:27 INFO (connectionpool) Starting new HTTP connection (1): 10.108.5.3
2014-07-23 06:20:27 DEBUG (connectionpool) "GET http://
2014-07-23 06:20:27 INFO (connectionpool) Starting new HTTP connection (1): 10.108.5.3
2014-07-23 06:20:27 DEBUG (connectionpool) "GET http://
2014-07-23 06:20:27 DEBUG (test) Adding <Server: ost1_test-
2014-07-23 06:20:27 DEBUG (nmanager) Deleting server.
2014-07-23 06:20:27 INFO (connectionpool) Starting new HTTP connection (1): 10.108.5.3
2014-07-23 06:20:28 DEBUG (connectionpool) "DELETE http://
2014-07-23 06:20:28 INFO (connectionpool) Starting new HTTP connection (1): 10.108.5.3
2014-07-23 06:20:28 DEBUG (connectionpool) "GET http://
2014-07-23 06:20:28 DEBUG (test) Sleeping for 10 seconds
2014-07-23 06:20:38 INFO (connectionpool) Starting new HTTP connection (1): 10.108.5.3
2014-07-23 06:20:38 DEBUG (connectionpool) "GET http://
2014-07-23 06:20:38 DEBUG (nmanager) Deleting server.
2014-07-23 06:20:38 INFO (connectionpool) Starting new HTTP connection (1): 10.108.5.3
2014-07-23 06:20:38 DEBUG (connectionpool) "DELETE http://
2014-07-23 06:20:38 DEBUG (test_nova_
File "/usr/lib/
self.
File "/usr/lib/
self.
File "/usr/lib/
self.
File "/usr/lib/
_resp, _body = self.api.
File "/usr/lib/
return self._cs_
File "/usr/lib/
**kwargs)
File "/usr/lib/
resp, body = self.request(url, method, **kwargs)
File "/usr/lib/
raise exceptions.
NotFound: Instance could not be found (HTTP 404) (Request-ID: req-969e3bf1-
OSTF try to delete instance repeatedly
2014-07-23 06:23:54 INFO (connectionpool) Starting new HTTP connection (1): 10.108.5.3
2014-07-23 06:23:54 DEBUG (connectionpool) "DELETE http://
2014-07-23 06:23:54 DEBUG (session) RESP: [204] CaseInsensitive
2014 06:23:54 GMT', 'content-type': 'text/plain; charset=UTF-8'})
RESP BODY:
2014-07-23 06:23:54 DEBUG (httpclient) No body was returned.
2014-07-23 06:23:54 DEBUG (nmanager) Traceback (most recent call last):
File "/usr/lib/
thing.get()
File "/usr/lib/
raise AttributeError(k)
AttributeError: get
2014-07-23 06:23:54 DEBUG (test) Sleeping for 10 seconds
2014-07-23 06:24:04 DEBUG (nmanager) Traceback (most recent call last):
File "/usr/lib/
thing.get()
File "/usr/lib/
raise AttributeError(k)
AttributeError: get
Changed in fuel: | |
status: | New → Confirmed |
milestone: | none → 5.1 |
tags: | added: ostf |
Changed in fuel: | |
assignee: | nobody → Nastya Urlapova (aurlapova) |
importance: | Undecided → Medium |
importance: | Medium → High |
Actually it is not the problem - Some times instance hang to delete - so we need to delete it several times in case if we receive 404 code - we know that instace deleted succesfully