Skip to content

Instantly share code, notes, and snippets.

@smalleni
Created June 23, 2017 17:03
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save smalleni/9925ff7b099f7edad3fe3a0b99687c8a to your computer and use it in GitHub Desktop.
Save smalleni/9925ff7b099f7edad3fe3a0b99687c8a to your computer and use it in GitHub Desktop.
2017-06-23 16:06:44.016 43349 INFO heat.engine.resource [req-5d36622b-9a4c-4dc2-8c7e-ac33ff6cbbc1 admin admin - - -] UPDATE: StructuredDeployment "2" [a140917a-307b-4e24-966f-bbe586eff2bc] Stack "overcloud-AllNodesDeploySteps-ajzlytiygm3m-R630ComputeDeployment_Step1-lvslhqg4cinn" [48f18f34-ccee-4703-96ca-3ba0f723c723]
2017-06-23 16:06:44.016 43349 ERROR heat.engine.resource Traceback (most recent call last):
2017-06-23 16:06:44.016 43349 ERROR heat.engine.resource File "/usr/lib/python2.7/site-packages/heat/engine/resource.py", line 762, in _action_recorder
2017-06-23 16:06:44.016 43349 ERROR heat.engine.resource self.state_set(action, self.IN_PROGRESS)
2017-06-23 16:06:44.016 43349 ERROR heat.engine.resource File "/usr/lib/python2.7/site-packages/heat/engine/resource.py", line 1988, in state_set
2017-06-23 16:06:44.016 43349 ERROR heat.engine.resource self._add_event(action, status, reason)
2017-06-23 16:06:44.016 43349 ERROR heat.engine.resource File "/usr/lib/python2.7/site-packages/heat/engine/resource.py", line 1778, in _add_event
2017-06-23 16:06:44.016 43349 ERROR heat.engine.resource ev.store()
2017-06-23 16:06:44.016 43349 ERROR heat.engine.resource File "/usr/lib/python2.7/site-packages/heat/engine/event.py", line 74, in store
2017-06-23 16:06:44.016 43349 ERROR heat.engine.resource new_ev = event_object.Event.create(self.context, ev)
2017-06-23 16:06:44.016 43349 ERROR heat.engine.resource File "/usr/lib/python2.7/site-packages/heat/objects/event.py", line 96, in create
2017-06-23 16:06:44.016 43349 ERROR heat.engine.resource db_api.event_create(context, values))
2017-06-23 16:06:44.016 43349 ERROR heat.engine.resource File "/usr/lib/python2.7/site-packages/heat/db/sqlalchemy/api.py", line 963, in event_create
2017-06-23 16:06:44.016 43349 ERROR heat.engine.resource context, values['stack_id'], cfg.CONF.event_purge_batch_size)
2017-06-23 16:06:44.016 43349 ERROR heat.engine.resource File "/usr/lib/python2.7/site-packages/heat/db/sqlalchemy/api.py", line 949, in _delete_event_rows
2017-06-23 16:06:44.016 43349 ERROR heat.engine.resource q_rpd.delete(synchronize_session=False)
2017-06-23 16:06:44.016 43349 ERROR heat.engine.resource File "/usr/lib64/python2.7/site-packages/sqlalchemy/orm/query.py", line 3048, in delete
2017-06-23 16:06:44.016 43349 ERROR heat.engine.resource delete_op.exec_()
2017-06-23 16:06:44.016 43349 ERROR heat.engine.resource File "/usr/lib64/python2.7/site-packages/sqlalchemy/orm/persistence.py", line 1127, in exec_
2017-06-23 16:06:44.016 43349 ERROR heat.engine.resource self._do_exec()
2017-06-23 16:06:44.016 43349 ERROR heat.engine.resource File "/usr/lib64/python2.7/site-packages/sqlalchemy/orm/persistence.py", line 1311, in _do_exec
2017-06-23 16:06:44.016 43349 ERROR heat.engine.resource mapper=self.mapper)
2017-06-23 16:06:44.016 43349 ERROR heat.engine.resource File "/usr/lib64/python2.7/site-packages/sqlalchemy/orm/session.py", line 1046, in execute
2017-06-23 16:06:44.016 43349 ERROR heat.engine.resource bind, close_with_result=True).execute(clause, params or {})
2017-06-23 16:06:44.016 43349 ERROR heat.engine.resource File "/usr/lib64/python2.7/site-packages/sqlalchemy/engine/base.py", line 914, in execute
2017-06-23 16:06:44.016 43349 ERROR heat.engine.resource return meth(self, multiparams, params)
2017-06-23 16:06:44.016 43349 ERROR heat.engine.resource File "/usr/lib64/python2.7/site-packages/sqlalchemy/sql/elements.py", line 323, in _execute_on_connection
2017-06-23 16:06:44.016 43349 ERROR heat.engine.resource return connection._execute_clauseelement(self, multiparams, params)
2017-06-23 16:06:44.016 43349 ERROR heat.engine.resource File "/usr/lib64/python2.7/site-packages/sqlalchemy/engine/base.py", line 1010, in _execute_clauseelement
2017-06-23 16:06:44.016 43349 ERROR heat.engine.resource compiled_sql, distilled_params
2017-06-23 16:06:44.016 43349 ERROR heat.engine.resource File "/usr/lib64/python2.7/site-packages/sqlalchemy/engine/base.py", line 1146, in _execute_context
2017-06-23 16:06:44.016 43349 ERROR heat.engine.resource context)
2017-06-23 16:06:44.016 43349 ERROR heat.engine.resource File "/usr/lib64/python2.7/site-packages/sqlalchemy/engine/base.py", line 1337, in _handle_dbapi_exception
2017-06-23 16:06:44.016 43349 ERROR heat.engine.resource util.raise_from_cause(newraise, exc_info)
2017-06-23 16:06:44.016 43349 ERROR heat.engine.resource File "/usr/lib64/python2.7/site-packages/sqlalchemy/util/compat.py", line 200, in raise_from_cause
2017-06-23 16:06:44.016 43349 ERROR heat.engine.resource reraise(type(exception), exception, tb=exc_tb)
2017-06-23 16:06:44.016 43349 ERROR heat.engine.resource File "/usr/lib64/python2.7/site-packages/sqlalchemy/engine/base.py", line 1139, in _execute_context
2017-06-23 16:06:44.016 43349 ERROR heat.engine.resource context)
2017-06-23 16:06:44.016 43349 ERROR heat.engine.resource File "/usr/lib64/python2.7/site-packages/sqlalchemy/engine/default.py", line 450, in do_execute
2017-06-23 16:06:44.016 43349 ERROR heat.engine.resource cursor.execute(statement, parameters)
2017-06-23 16:06:44.016 43349 ERROR heat.engine.resource File "/usr/lib/python2.7/site-packages/pymysql/cursors.py", line 166, in execute
2017-06-23 16:06:44.016 43349 ERROR heat.engine.resource result = self._query(query)
2017-06-23 16:06:44.016 43349 ERROR heat.engine.resource File "/usr/lib/python2.7/site-packages/pymysql/cursors.py", line 322, in _query
2017-06-23 16:06:44.016 43349 ERROR heat.engine.resource conn.query(q)
2017-06-23 16:06:44.016 43349 ERROR heat.engine.resource File "/usr/lib/python2.7/site-packages/pymysql/connections.py", line 841, in query
2017-06-23 16:06:44.016 43349 ERROR heat.engine.resource self._affected_rows = self._read_query_result(unbuffered=unbuffered)
2017-06-23 16:06:44.016 43349 ERROR heat.engine.resource File "/usr/lib/python2.7/site-packages/pymysql/connections.py", line 1029, in _read_query_result
2017-06-23 16:06:44.016 43349 ERROR heat.engine.resource result.read()
2017-06-23 16:06:44.016 43349 ERROR heat.engine.resource File "/usr/lib/python2.7/site-packages/pymysql/connections.py", line 1312, in read
2017-06-23 16:06:44.016 43349 ERROR heat.engine.resource first_packet = self.connection._read_packet()
2017-06-23 16:06:44.016 43349 ERROR heat.engine.resource File "/usr/lib/python2.7/site-packages/pymysql/connections.py", line 991, in _read_packet
2017-06-23 16:06:44.016 43349 ERROR heat.engine.resource packet.check_error()
2017-06-23 16:06:44.016 43349 ERROR heat.engine.resource File "/usr/lib/python2.7/site-packages/pymysql/connections.py", line 393, in check_error
2017-06-23 16:06:44.016 43349 ERROR heat.engine.resource err.raise_mysql_exception(self._data)
2017-06-23 16:06:44.016 43349 ERROR heat.engine.resource File "/usr/lib/python2.7/site-packages/pymysql/err.py", line 107, in raise_mysql_exception
2017-06-23 16:06:44.016 43349 ERROR heat.engine.resource raise errorclass(errno, errval)
2017-06-23 16:06:44.016 43349 ERROR heat.engine.resource DBReferenceError: (pymysql.err.IntegrityError) (1451, u'Cannot delete or update a parent row: a foreign key constraint fails (`heat`.`event`, CONSTRAINT `ev_rsrc_prop_data_ref` FOREIGN KEY (`rsrc_prop_data_id`) REFERENCES `resource_properties_data` (`id`))') [SQL: u'DELETE FROM resource_properties_data WHERE resource_properties_data.id IN (%(id_1)s)'] [parameters: {u'id_1': 20958}]
2017-06-23 16:06:44.016 43349 ERROR heat.engine.resource
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment