[Bug 1788813] Re: Circular reference when store resource
Launchpad Bug Tracker
1788813 at bugs.launchpad.net
Mon Nov 26 04:17:19 UTC 2018
[Expired for heat (Ubuntu) because there has been no activity for 60
days.]
** Changed in: heat (Ubuntu)
Status: Incomplete => Expired
--
You received this bug notification because you are a member of Ubuntu
OpenStack, which is subscribed to heat in Ubuntu.
https://bugs.launchpad.net/bugs/1788813
Title:
Circular reference when store resource
Status in heat package in Ubuntu:
Expired
Bug description:
2018-08-02 11:04:56.515 5018 WARNING heat.engine.rsrc_defn [req-a05bb20f-e4d7-4d62-a478-bcd0beeaa0f9 - admin - default default] Reading the ResourceDefinition as if it were a snippet of a CloudFormation template is deprecated, and the ability to treat it as such will be removed in the future. Resource plugins should use the ResourceDefinition API to work with the definition of the resource instance.
2018-08-02 11:04:56.515 5018 WARNING heat.engine.rsrc_defn [req-a05bb20f-e4d7-4d62-a478-bcd0beeaa0f9 - admin - default default] Reading the ResourceDefinition as if it were a snippet of a CloudFormation template is deprecated, and the ability to treat it as such will be removed in the future. Resource plugins should use the ResourceDefinition API to work with the definition of the resource instance.
2018-08-02 11:04:56.516 5018 WARNING heat.engine.rsrc_defn [req-a05bb20f-e4d7-4d62-a478-bcd0beeaa0f9 - admin - default default] Reading the ResourceDefinition as if it were a snippet of a CloudFormation template is deprecated, and the ability to treat it as such will be removed in the future. Resource plugins should use the ResourceDefinition API to work with the definition of the resource instance.
2018-08-02 11:04:56.579 5018 INFO heat.engine.service [-] stack.create
2018-08-02 11:04:56.632 5018 ERROR oslo_db.sqlalchemy.exc_filters [-] DB exception wrapped.
2018-08-02 11:04:56.632 5018 ERROR oslo_db.sqlalchemy.exc_filters Traceback (most recent call last):
2018-08-02 11:04:56.632 5018 ERROR oslo_db.sqlalchemy.exc_filters File "/usr/lib64/python2.7/site-packages/sqlalchemy/engine/base.py", line 1073, in _execute_context
2018-08-02 11:04:56.632 5018 ERROR oslo_db.sqlalchemy.exc_filters context = constructor(dialect, self, conn, *args)
2018-08-02 11:04:56.632 5018 ERROR oslo_db.sqlalchemy.exc_filters File "/usr/lib64/python2.7/site-packages/sqlalchemy/engine/default.py", line 582, in _init_compiled
2018-08-02 11:04:56.632 5018 ERROR oslo_db.sqlalchemy.exc_filters param.append(processors[key](compiled_params[key]))
2018-08-02 11:04:56.632 5018 ERROR oslo_db.sqlalchemy.exc_filters File "/usr/lib64/python2.7/site-packages/sqlalchemy/sql/type_api.py", line 982, in process
2018-08-02 11:04:56.632 5018 ERROR oslo_db.sqlalchemy.exc_filters return process_param(value, dialect)
2018-08-02 11:04:56.632 5018 ERROR oslo_db.sqlalchemy.exc_filters File "/usr/lib/python2.7/site-packages/heat/db/sqlalchemy/types.py", line 36, in process_bind_param
2018-08-02 11:04:56.632 5018 ERROR oslo_db.sqlalchemy.exc_filters return dumps(value)
2018-08-02 11:04:56.632 5018 ERROR oslo_db.sqlalchemy.exc_filters File "/usr/lib/python2.7/site-packages/oslo_serialization/jsonutils.py", line 178, in dumps
2018-08-02 11:04:56.632 5018 ERROR oslo_db.sqlalchemy.exc_filters return json.dumps(obj, default=default, **kwargs)
2018-08-02 11:04:56.632 5018 ERROR oslo_db.sqlalchemy.exc_filters File "/usr/lib64/python2.7/json/_init_.py", line 250, in dumps
2018-08-02 11:04:56.632 5018 ERROR oslo_db.sqlalchemy.exc_filters sort_keys=sort_keys, **kw).encode(obj)
2018-08-02 11:04:56.632 5018 ERROR oslo_db.sqlalchemy.exc_filters File "/usr/lib64/python2.7/json/encoder.py", line 207, in encode
2018-08-02 11:04:56.632 5018 ERROR oslo_db.sqlalchemy.exc_filters chunks = self.iterencode(o, _one_shot=True)
2018-08-02 11:04:56.632 5018 ERROR oslo_db.sqlalchemy.exc_filters File "/usr/lib64/python2.7/json/encoder.py", line 270, in iterencode
2018-08-02 11:04:56.632 5018 ERROR oslo_db.sqlalchemy.exc_filters return _iterencode(o, 0)
2018-08-02 11:04:56.632 5018 ERROR oslo_db.sqlalchemy.exc_filters ValueError: Circular reference detected
2018-08-02 11:04:56.632 5018 ERROR oslo_db.sqlalchemy.exc_filters
2018-08-02 11:04:56.634 5018 ERROR heat.engine.resource [-] DB error (exceptions.ValueError) Circular reference detected [SQL: u'INSERT INTO resource (created_at, action, status, status_reason, uuid, name, nova_instance, rsrc_metadata, stack_id, root_stack_id, updated_at, properties_data, properties_data_encrypted, engine_id, atomic_key, needed_by, requires, replaces, replaced_by, current_template_id) VALUES (%s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s)'] [parameters: [{'status': 'COMPLETE', 'replaces': None, 'name': u'private_network', 'engine_id': None, 'stack_id': 'e94b4f10-a0dd-4c7d-8d9d-143b52f2ee3e', 'status_reason': '', 'properties_data_encrypted': False, 'updated_at': None, 'root_stack_id': u'19a1086b-ad30-4883-86cf-c41bea238855', 'needed_by': [], 'properties_data': {'name': <heat.engine.hot.functions.GetParam {get_param: u'private_network_name'} -> u'private'>}, 'rsrc_metadata': None, 'action': 'INIT', 'atomic_key': None, 'replaced_by': None, 'current_template_id': None, 'requires': [], 'nova_instance': None}]]
2018-08-02 11:04:56.656 5018 INFO heat.engine.stack [-] Stack CREATE IN_PROGRESS (sam01-gwwulyqio53e-network-r2c5iogfn2sg): Stack CREATE started
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/heat/+bug/1788813/+subscriptions
More information about the Ubuntu-openstack-bugs
mailing list