Activity log for bug #1499669

Date Who What changed Old value New value Message
2015-09-25 10:15:35 Oleksii Chuprykov bug added bug
2015-09-25 10:19:33 Oleksii Chuprykov description Steps to reproduce: rg.yaml: heat_template_version: 2013-05-23 resources: rg: type: OS::Heat::ResourceGroup properties: count: 125 resource_def: type: rand_str.yaml rand_str.yaml heat_template_version: 2013-05-23 resources: (yep, without any resource:) ) Run: heat stack-create abc --template-file rg.yaml wait about 20-30 sec and run: heat stack-delete abc Heat stucks in DELETE_IN_PROGRESS Found this in logs: 2015-09-25 12:59:15.450 ERROR heat.engine.resource [-] DB error Not found or 2015-09-25 13:04:52.109 ERROR heat.engine.resource [-] DB error This result object does not return rows. It has been closed automatically. 2015-09-25 13:04:52.110 ERROR sqlalchemy.pool.QueuePool [-] Exception during reset or similar 2015-09-25 13:04:52.110 TRACE sqlalchemy.pool.QueuePool Traceback (most recent call last): 2015-09-25 13:04:52.110 TRACE sqlalchemy.pool.QueuePool File "/usr/local/lib/python2.7/dist-packages/sqlalchemy/pool.py", line 636, in _finalize_fairy 2015-09-25 13:04:52.110 TRACE sqlalchemy.pool.QueuePool fairy._reset(pool) 2015-09-25 13:04:52.110 TRACE sqlalchemy.pool.QueuePool File "/usr/local/lib/python2.7/dist-packages/sqlalchemy/pool.py", line 776, in _reset 2015-09-25 13:04:52.110 TRACE sqlalchemy.pool.QueuePool pool._dialect.do_rollback(self) 2015-09-25 13:04:52.110 TRACE sqlalchemy.pool.QueuePool File "/usr/local/lib/python2.7/dist-packages/sqlalchemy/dialects/mysql/base.py", line 2519, in do_rollback 2015-09-25 13:04:52.110 TRACE sqlalchemy.pool.QueuePool dbapi_connection.rollback() 2015-09-25 13:04:52.110 TRACE sqlalchemy.pool.QueuePool File "/usr/local/lib/python2.7/dist-packages/pymysql/connections.py", line 711, in rollback 2015-09-25 13:04:52.110 TRACE sqlalchemy.pool.QueuePool self._read_ok_packet() 2015-09-25 13:04:52.110 TRACE sqlalchemy.pool.QueuePool File "/usr/local/lib/python2.7/dist-packages/pymysql/connections.py", line 687, in _read_ok_packet 2015-09-25 13:04:52.110 TRACE sqlalchemy.pool.QueuePool raise err.OperationalError(2014, "Command Out of Sync") 2015-09-25 13:04:52.110 TRACE sqlalchemy.pool.QueuePool OperationalError: (2014, 'Command Out of Sync') or: File "/usr/local/lib/python2.7/dist-packages/eventlet/hubs/timer.py", line 58, in __call__ cb(*args, **kw) File "/usr/local/lib/python2.7/dist-packages/eventlet/greenthread.py", line 214, in main result = function(*args, **kwargs) File "/opt/stack/heat/heat/engine/service.py", line 117, in _start_with_trace return func(*args, **kwargs) File "/usr/local/lib/python2.7/dist-packages/osprofiler/profiler.py", line 105, in wrapper return f(*args, **kwargs) File "/opt/stack/heat/heat/engine/stack.py", line 1449, in delete self.state_set(action, stack_status, reason) File "/usr/local/lib/python2.7/dist-packages/osprofiler/profiler.py", line 105, in wrapper return f(*args, **kwargs) File "/opt/stack/heat/heat/engine/stack.py", line 723, in state_set stack = stack_object.Stack.get_by_id(self.context, self.id) File "/opt/stack/heat/heat/objects/stack.py", line 90, in get_by_id db_stack = db_api.stack_get(context, stack_id, **kwargs) File "/opt/stack/heat/heat/db/api.py", line 134, in stack_get eager_load=eager_load) File "/opt/stack/heat/heat/db/sqlalchemy/api.py", line 344, in stack_get result = query.get(stack_id) File "/usr/local/lib/python2.7/dist-packages/sqlalchemy/orm/query.py", line 819, in get return self._get_impl(ident, loading.load_on_ident) File "/usr/local/lib/python2.7/dist-packages/sqlalchemy/orm/query.py", line 852, in _get_impl return fallback_fn(self, key) File "/usr/local/lib/python2.7/dist-packages/sqlalchemy/orm/loading.py", line 219, in load_on_ident return q.one() File "/usr/local/lib/python2.7/dist-packages/sqlalchemy/orm/query.py", line 2473, in one ret = list(self) File "/usr/local/lib/python2.7/dist-packages/sqlalchemy/orm/query.py", line 2516, in __iter__ return self._execute_and_instances(context) File "/usr/local/lib/python2.7/dist-packages/sqlalchemy/orm/query.py", line 2529, in _execute_and_instances close_with_result=True) File "/usr/local/lib/python2.7/dist-packages/sqlalchemy/orm/query.py", line 2520, in _connection_from_session **kw) File "/usr/local/lib/python2.7/dist-packages/sqlalchemy/orm/session.py", line 882, in connection execution_options=execution_options) File "/usr/local/lib/python2.7/dist-packages/sqlalchemy/orm/session.py", line 889, in _connection_for_bind conn = engine.contextual_connect(**kw) File "/usr/local/lib/python2.7/dist-packages/sqlalchemy/engine/base.py", line 2041, in contextual_connect **kwargs) File "/usr/local/lib/python2.7/dist-packages/sqlalchemy/engine/base.py", line 92, in __init__ self.dispatch.engine_connect(self, self.__branch) File "/usr/local/lib/python2.7/dist-packages/sqlalchemy/event/attr.py", line 256, in __call__ fn(*args, **kw) File "/usr/local/lib/python2.7/dist-packages/oslo_db/sqlalchemy/engines.py", line 72, in _connect_ping_listener connection.scalar(select([1])) File "/usr/local/lib/python2.7/dist-packages/sqlalchemy/engine/base.py", line 844, in scalar return self.execute(object, *multiparams, **params).scalar() File "/usr/local/lib/python2.7/dist-packages/sqlalchemy/engine/result.py", line 1064, in scalar row = self.first() File "/usr/local/lib/python2.7/dist-packages/sqlalchemy/engine/result.py", line 1038, in first return self._non_result(None) File "/usr/local/lib/python2.7/dist-packages/sqlalchemy/engine/result.py", line 920, in _non_result "This result object does not return rows. " ResourceClosedError: This result object does not return rows. It has been closed automatically. All other time heat spamming into log something about: c89]: {}}) running from (pid=32479) step /opt/stack/heat/heat/engine/scheduler.py:214 2015-09-25 13:13:32.333 DEBUG heat.engine.scheduler [-] Task destroy_resource running from (pid=32479) step /opt/stack/heat/heat/engine/scheduler.py:214 2015-09-25 13:13:32.359 INFO heat.engine.environment [-] Registering file:///home/oleksii/rand_str.yaml -> file:///home/oleksii/rand_str.yaml 2015-09-25 13:13:32.360 DEBUG heat.engine.scheduler [-] Task DependencyTaskGroup((destroy_resource) {ResourceGroup "rg" [6c19089b-9ed9-4d0f-93ca-9c76ba9fa401] Stack "abc" [b5d8388e-68fc-4279-bbc7-9c8ae3637c89]: {}}) sleeping from (pid=32479) _sleep /opt/stack/heat/heat/engine/scheduler.py:160 Not 100% reproducible, but you could experiment with different time intervals 20-30-40-50 secs. Run heat stack-delete abc again, and stack will be deleted as usual. Steps to reproduce: rg.yaml: heat_template_version: 2013-05-23 resources:     rg:         type: OS::Heat::ResourceGroup         properties:             count: 125             resource_def:                 type: rand_str.yaml rand_str.yaml heat_template_version: 2013-05-23 resources: (yep, without any resource:) ) Run: heat stack-create abc --template-file rg.yaml wait about 20-30 sec and run: heat stack-delete abc (before stack will be in CREATE_COMPLETE) Heat stucks in DELETE_IN_PROGRESS Found this in logs: 2015-09-25 12:59:15.450 ERROR heat.engine.resource [-] DB error Not found or 2015-09-25 13:04:52.109 ERROR heat.engine.resource [-] DB error This result object does not return rows. It has been closed automatically. 2015-09-25 13:04:52.110 ERROR sqlalchemy.pool.QueuePool [-] Exception during reset or similar 2015-09-25 13:04:52.110 TRACE sqlalchemy.pool.QueuePool Traceback (most recent call last): 2015-09-25 13:04:52.110 TRACE sqlalchemy.pool.QueuePool File "/usr/local/lib/python2.7/dist-packages/sqlalchemy/pool.py", line 636, in _finalize_fairy 2015-09-25 13:04:52.110 TRACE sqlalchemy.pool.QueuePool fairy._reset(pool) 2015-09-25 13:04:52.110 TRACE sqlalchemy.pool.QueuePool File "/usr/local/lib/python2.7/dist-packages/sqlalchemy/pool.py", line 776, in _reset 2015-09-25 13:04:52.110 TRACE sqlalchemy.pool.QueuePool pool._dialect.do_rollback(self) 2015-09-25 13:04:52.110 TRACE sqlalchemy.pool.QueuePool File "/usr/local/lib/python2.7/dist-packages/sqlalchemy/dialects/mysql/base.py", line 2519, in do_rollback 2015-09-25 13:04:52.110 TRACE sqlalchemy.pool.QueuePool dbapi_connection.rollback() 2015-09-25 13:04:52.110 TRACE sqlalchemy.pool.QueuePool File "/usr/local/lib/python2.7/dist-packages/pymysql/connections.py", line 711, in rollback 2015-09-25 13:04:52.110 TRACE sqlalchemy.pool.QueuePool self._read_ok_packet() 2015-09-25 13:04:52.110 TRACE sqlalchemy.pool.QueuePool File "/usr/local/lib/python2.7/dist-packages/pymysql/connections.py", line 687, in _read_ok_packet 2015-09-25 13:04:52.110 TRACE sqlalchemy.pool.QueuePool raise err.OperationalError(2014, "Command Out of Sync") 2015-09-25 13:04:52.110 TRACE sqlalchemy.pool.QueuePool OperationalError: (2014, 'Command Out of Sync') or:  File "/usr/local/lib/python2.7/dist-packages/eventlet/hubs/timer.py", line 58, in __call__     cb(*args, **kw)   File "/usr/local/lib/python2.7/dist-packages/eventlet/greenthread.py", line 214, in main     result = function(*args, **kwargs)   File "/opt/stack/heat/heat/engine/service.py", line 117, in _start_with_trace     return func(*args, **kwargs)   File "/usr/local/lib/python2.7/dist-packages/osprofiler/profiler.py", line 105, in wrapper     return f(*args, **kwargs)   File "/opt/stack/heat/heat/engine/stack.py", line 1449, in delete     self.state_set(action, stack_status, reason)   File "/usr/local/lib/python2.7/dist-packages/osprofiler/profiler.py", line 105, in wrapper     return f(*args, **kwargs)   File "/opt/stack/heat/heat/engine/stack.py", line 723, in state_set     stack = stack_object.Stack.get_by_id(self.context, self.id)   File "/opt/stack/heat/heat/objects/stack.py", line 90, in get_by_id     db_stack = db_api.stack_get(context, stack_id, **kwargs)   File "/opt/stack/heat/heat/db/api.py", line 134, in stack_get     eager_load=eager_load)   File "/opt/stack/heat/heat/db/sqlalchemy/api.py", line 344, in stack_get     result = query.get(stack_id)   File "/usr/local/lib/python2.7/dist-packages/sqlalchemy/orm/query.py", line 819, in get     return self._get_impl(ident, loading.load_on_ident)   File "/usr/local/lib/python2.7/dist-packages/sqlalchemy/orm/query.py", line 852, in _get_impl     return fallback_fn(self, key)   File "/usr/local/lib/python2.7/dist-packages/sqlalchemy/orm/loading.py", line 219, in load_on_ident     return q.one()   File "/usr/local/lib/python2.7/dist-packages/sqlalchemy/orm/query.py", line 2473, in one     ret = list(self)   File "/usr/local/lib/python2.7/dist-packages/sqlalchemy/orm/query.py", line 2516, in __iter__     return self._execute_and_instances(context)   File "/usr/local/lib/python2.7/dist-packages/sqlalchemy/orm/query.py", line 2529, in _execute_and_instances     close_with_result=True)   File "/usr/local/lib/python2.7/dist-packages/sqlalchemy/orm/query.py", line 2520, in _connection_from_session     **kw)   File "/usr/local/lib/python2.7/dist-packages/sqlalchemy/orm/session.py", line 882, in connection     execution_options=execution_options)   File "/usr/local/lib/python2.7/dist-packages/sqlalchemy/orm/session.py", line 889, in _connection_for_bind     conn = engine.contextual_connect(**kw)   File "/usr/local/lib/python2.7/dist-packages/sqlalchemy/engine/base.py", line 2041, in contextual_connect     **kwargs)   File "/usr/local/lib/python2.7/dist-packages/sqlalchemy/engine/base.py", line 92, in __init__     self.dispatch.engine_connect(self, self.__branch)   File "/usr/local/lib/python2.7/dist-packages/sqlalchemy/event/attr.py", line 256, in __call__     fn(*args, **kw)   File "/usr/local/lib/python2.7/dist-packages/oslo_db/sqlalchemy/engines.py", line 72, in _connect_ping_listener     connection.scalar(select([1]))   File "/usr/local/lib/python2.7/dist-packages/sqlalchemy/engine/base.py", line 844, in scalar     return self.execute(object, *multiparams, **params).scalar()   File "/usr/local/lib/python2.7/dist-packages/sqlalchemy/engine/result.py", line 1064, in scalar     row = self.first()   File "/usr/local/lib/python2.7/dist-packages/sqlalchemy/engine/result.py", line 1038, in first     return self._non_result(None)   File "/usr/local/lib/python2.7/dist-packages/sqlalchemy/engine/result.py", line 920, in _non_result     "This result object does not return rows. " ResourceClosedError: This result object does not return rows. It has been closed automatically. All other time heat spamming into log something about: c89]: {}}) running from (pid=32479) step /opt/stack/heat/heat/engine/scheduler.py:214 2015-09-25 13:13:32.333 DEBUG heat.engine.scheduler [-] Task destroy_resource running from (pid=32479) step /opt/stack/heat/heat/engine/scheduler.py:214 2015-09-25 13:13:32.359 INFO heat.engine.environment [-] Registering file:///home/oleksii/rand_str.yaml -> file:///home/oleksii/rand_str.yaml 2015-09-25 13:13:32.360 DEBUG heat.engine.scheduler [-] Task DependencyTaskGroup((destroy_resource) {ResourceGroup "rg" [6c19089b-9ed9-4d0f-93ca-9c76ba9fa401] Stack "abc" [b5d8388e-68fc-4279-bbc7-9c8ae3637c89]: {}}) sleeping from (pid=32479) _sleep /opt/stack/heat/heat/engine/scheduler.py:160 Not 100% reproducible, but you could experiment with different time intervals 20-30-40-50 secs. Run heat stack-delete abc again, and stack will be deleted as usual.
2015-09-28 12:56:31 Sergey Kraynev heat: status New Triaged
2015-09-28 12:56:34 Sergey Kraynev heat: importance Undecided Medium
2015-09-28 12:56:40 Sergey Kraynev heat: milestone mitaka-1
2015-12-01 10:12:17 Sergey Kraynev heat: milestone mitaka-1 mitaka-2
2016-01-13 15:39:58 zhaozhilong heat: assignee zhaozhilong (zhaozhilong)
2016-01-14 07:41:37 Sergey Kraynev heat: milestone mitaka-2 mitaka-3
2016-02-04 15:38:55 zhaozhilong heat: assignee zhaozhilong (zhaozhilong)
2016-03-02 07:21:21 Sergey Kraynev heat: milestone mitaka-3 mitaka-rc1
2016-03-10 07:00:09 Sergey Kraynev heat: milestone mitaka-rc1 newton-1
2016-05-25 07:55:59 Thomas Herve heat: milestone newton-1 ongoing
2016-08-08 12:08:07 Luigi Toscano bug added subscriber Elise Gafford
2016-08-24 21:48:08 OpenStack Infra heat: status Triaged In Progress
2016-08-24 21:48:08 OpenStack Infra heat: assignee Jason Dunsmore (jasondunsmore)
2016-09-14 00:08:29 Steve Baker heat: importance Medium High
2016-09-14 00:08:32 Steve Baker heat: milestone ongoing newton-rc1
2016-09-14 05:34:19 OpenStack Infra heat: assignee Jason Dunsmore (jasondunsmore) Steve Baker (steve-stevebaker)
2016-09-14 13:41:53 Zane Bitter tags gate-failure
2016-09-16 09:25:22 Thomas Herve heat: milestone newton-rc1 nexton-rc2
2016-09-20 06:13:48 OpenStack Infra heat: status In Progress Fix Released
2016-09-20 20:13:07 Zane Bitter nominated for series heat/newton
2016-09-20 20:13:07 Zane Bitter bug task added heat/newton
2016-09-20 20:13:07 Zane Bitter nominated for series heat/liberty
2016-09-20 20:13:07 Zane Bitter bug task added heat/liberty
2016-09-20 20:13:07 Zane Bitter nominated for series heat/mitaka
2016-09-20 20:13:07 Zane Bitter bug task added heat/mitaka
2016-09-20 20:13:44 Zane Bitter bug task deleted heat/newton
2016-09-20 20:13:56 Zane Bitter heat/liberty: status New Confirmed
2016-09-20 20:13:59 Zane Bitter heat/mitaka: status New Triaged
2016-09-20 20:14:03 Zane Bitter heat/mitaka: importance Undecided High
2016-09-20 20:14:05 Zane Bitter heat/liberty: status Confirmed Triaged
2016-09-20 20:14:08 Zane Bitter heat/liberty: importance Undecided High
2016-09-21 08:57:40 OpenStack Infra tags gate-failure gate-failure in-stable-newton
2016-09-22 14:07:45 OpenStack Infra heat/mitaka: status Triaged In Progress
2016-09-22 14:07:45 OpenStack Infra heat/mitaka: assignee Zane Bitter (zaneb)
2016-09-22 14:12:28 OpenStack Infra heat/liberty: status Triaged In Progress
2016-09-22 14:12:28 OpenStack Infra heat/liberty: assignee Zane Bitter (zaneb)
2016-10-06 01:20:30 OpenStack Infra tags gate-failure in-stable-newton gate-failure in-stable-liberty in-stable-newton
2016-10-06 01:21:33 OpenStack Infra heat/liberty: status In Progress Fix Committed
2016-10-11 20:07:05 OpenStack Infra tags gate-failure in-stable-liberty in-stable-newton gate-failure in-stable-liberty in-stable-mitaka in-stable-newton
2016-10-12 15:51:42 OpenStack Infra heat/mitaka: status In Progress Fix Committed