OSTF test fail to remove floating IP: "ClientException: Unexpected API Error. <class 'oslo_db.exception.DBDeadlock'> (HTTP 500)"
Affects | Status | Importance | Assigned to | Milestone | ||
---|---|---|---|---|---|---|
Mirantis OpenStack | Status tracked in 10.0.x | |||||
10.0.x |
Invalid
|
Medium
|
MOS Nova | |||
9.x |
Won't Fix
|
Medium
|
MOS Nova |
Bug Description
Sometimes OSTF test "Launch instance with file injection" fails on step #5:
2016-02-16 07:13:44 INFO (test_mixins) STEP:5, verify action: 'removing floating IP'
2016-02-16 07:13:45 DEBUG (test_mixins) Traceback (most recent call last):
File "/usr/lib/
result = func(*args, **kwargs)
File "/usr/lib/
self.
File "/usr/lib/
return self.api.
File "/usr/lib/
return self._cs_
File "/usr/lib/
resp, body = self._time_
File "/usr/lib/
resp, body = self.request(url, method, **kwargs)
File "/usr/lib/
raise exceptions.
ClientException: Unexpected API Error. Please report this at http://
<class 'oslo_db.
2016-02-16 07:13:45 ERROR (nose_storage_
Traceback (most recent call last):
File "/usr/lib/
yield
File "/usr/lib/
testMethod()
File "/usr/lib/
"removing floating IP", server, floating_ip)
File "/usr/lib/
" Please refer to OpenStack logs for more details.")
File "/usr/lib/
raise self.failureExc
AssertionError: Step 5 failed: Floating IP cannot be removed. Please refer to OpenStack logs for more details.
Diagnostic snapshot is attached.
tags: |
added: area-nova removed: area-mos |
Changed in fuel: | |
status: | New → Confirmed |
tags: | added: area-ostf |
tags: | removed: area-nova |
tags: | added: area-nova |
Changed in mos: | |
status: | Confirmed → Won't Fix |
This can only be caused by running Galera in multiwriter mode (probably unintentionally, due to https:/ /bugs.launchpad .net/fuel/ +bug/1490595).
Anyway, this should be a really rare case, as usually instance_ info_cache_ update( ) is called only from 1 nova-compute at a time, except for the case when it can be updated from nova-api on association / disassociation of a floating IP.