Murano health check fails if test record persists
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Fuel for OpenStack |
Invalid
|
Medium
|
Charlie Ott |
Bug Description
When my murano rabbitmq service stopped working a health check was run. I believe this check created a record like so:
'INSERT INTO environment (created, updated, id, name, tenant_id, version, description, networking) VALUES (%s, %s, %s, %s, %s, %s, %s, %s)' (datetime.
However, since the rabbitmq server was down, the record was never deleted and the health check initially failed.
Later I fixed rabbitmq service issue (rabbitmq_
2015-01-16 00:11:28 INFO
eventlet.wsgi [-] 10.10.20.6 - - [16/Jan/2015 00:11:28] "POST /v1/environments HTTP/1.1" 500 4657 0.155735
2015-01-16 00:11:28 INFO
eventlet.wsgi [-] Traceback (most recent call last):
File "/usr/lib/
result = self.applicatio
File "/usr/lib/
resp = self.call_func(req, *args, **self.kwargs)
File "/usr/lib/
return self.func(req, *args, **kwargs)
File "/usr/lib/
response = req.get_
File "/usr/lib/
application, catch_exc_
File "/usr/lib/
app_iter = application(
File "/usr/lib/
return self.app(env, start_response)
File "/usr/lib/
resp = self.call_func(req, *args, **self.kwargs)
File "/usr/lib/
return self.func(req, *args, **kwargs)
File "/usr/lib/
response = req.get_
File "/usr/lib/
application, catch_exc_
File "/usr/lib/
app_iter = application(
File "/usr/lib/
return app(environ, start_response)
File "/usr/lib/
return resp(environ, start_response)
File "/usr/lib/
response = self.app(environ, start_response)
File "/usr/lib/
return resp(environ, start_response)
File "/usr/lib/
resp = self.call_func(req, *args, **self.kwargs)
File "/usr/lib/
return self.func(req, *args, **kwargs)
File "/usr/lib/
action_result = self.execute_
File "/usr/lib/
return self.dispatch(
File "/usr/lib/
return method(*args, **kwargs)
File "/usr/lib/
result = func(*args, **kwargs)
File "/usr/lib/
request.
File "/usr/lib/
unit.
File "/usr/lib64/
self.commit()
File "/usr/lib64/
self.
File "/usr/lib64/
self.
File "/usr/lib/
_raise_
File "/usr/lib/
raise exception.
DBDuplicateEntry: (IntegrityError) (1062, "Duplicate entry '0dc5c66d16b04d
2015-01-16 00:11:28 INFO
muranoapi.
2015-01-16 00:11:28 INFO
urllib3.
2015-01-16 00:11:28 INFO
urllib3.
2015-01-16 00:11:28 INFO
keystoneclient.
2015-01-16 00:11:28 INFO
urllib3.
2015-01-16 00:11:28 INFO
eventlet.wsgi [-] (6812) accepted ('10.10.20.6', 50217)
Consider either ensuring test record is deleted before running every test, or generate a unique id each time a test is performed. likely the same ID is used so it can be easily removed after the test is successful?
Changed in fuel: | |
status: | New → Confirmed |
assignee: | nobody → Tatyanka (tatyana-leontovich) |
milestone: | none → 6.1 |
Changed in fuel: | |
importance: | Undecided → Medium |
Changed in fuel: | |
assignee: | Tatyanka (tatyana-leontovich) → Timur Nurlygayanov (tnurlygayanov) |
tags: | added: murano |
Changed in fuel: | |
status: | Confirmed → Incomplete |
assignee: | Timur Nurlygayanov (tnurlygayanov) → Charlie Ott (charlieott) |
tags: |
added: module-ostf removed: ostf |
Changed in fuel: | |
milestone: | 6.1 → 7.0 |
tags: |
added: area-ostf removed: module-ostf |
Could you tell, what version of MOS you use?
OSTF test should generate random name for all components of environment include environment.
We need more information about your MOS installation.