When creating a record we get the below error in the logs, the record creation all works fine, just looks like an unhandled exception
==> /var/log/designate/designate-central.log <==
2014-04-08 13:36:11.493 30080 ERROR designate.openstack.common.rpc.amqp [req-1ce0193f-5b50-4c23-8a14-f04089bc6b2b 89 2f6f7e75fc0f453d9c127b490b02e9e3 - - -] Exception during message handling
2014-04-08 13:36:11.493 30080 TRACE designate.openstack.common.rpc.amqp Traceback (most recent call last):
2014-04-08 13:36:11.493 30080 TRACE designate.openstack.common.rpc.amqp File "/opt/designate/designate/openstack/common/rpc/amqp.py", line 462, in _process_data
2014-04-08 13:36:11.493 30080 TRACE designate.openstack.common.rpc.amqp **args)
2014-04-08 13:36:11.493 30080 TRACE designate.openstack.common.rpc.amqp File "/opt/designate/designate/openstack/common/rpc/dispatcher.py", line 172, in dispatch
2014-04-08 13:36:11.493 30080 TRACE designate.openstack.common.rpc.amqp result = getattr(proxyobj, method)(ctxt, **kwargs)
2014-04-08 13:36:11.493 30080 TRACE designate.openstack.common.rpc.amqp File "/opt/designate/designate/central/service.py", line 724, in find_recordset
2014-04-08 13:36:11.493 30080 TRACE designate.openstack.common.rpc.amqp return self.storage_api.find_recordset(context, criterion)
2014-04-08 13:36:11.493 30080 TRACE designate.openstack.common.rpc.amqp File "/opt/designate/designate/storage/api.py", line 546, in find_recordset
2014-04-08 13:36:11.493 30080 TRACE designate.openstack.common.rpc.amqp return self.storage.find_recordset(context, criterion)
2014-04-08 13:36:11.493 30080 TRACE designate.openstack.common.rpc.amqp File "/opt/designate/designate/storage/impl_sqlalchemy/__init__.py", line 518, in find_recordset
2014-04-08 13:36:11.493 30080 TRACE designate.openstack.common.rpc.amqp recordset = self._find_recordsets(context, criterion, one=True)
2014-04-08 13:36:11.493 30080 TRACE designate.openstack.common.rpc.amqp File "/opt/designate/designate/storage/impl_sqlalchemy/__init__.py", line 484, in _find_recordsets
2014-04-08 13:36:11.493 30080 TRACE designate.openstack.common.rpc.amqp raise exceptions.RecordSetNotFound()
2014-04-08 13:36:11.493 30080 TRACE designate.openstack.common.rpc.amqp RecordSetNotFound
2014-04-08 13:36:11.493 30080 TRACE designate.openstack.common.rpc.amqp
This is actually a handled exception which has to pass through the Queue to be handled.
In v1/records.py method _find_or_ create_ recordset( ...): This calls the Central's find_recordset(), in a case where it cannot find the recordset an exception is raised, which is returned to the caller. Which is then handled by calling a create_recordset(). Expected behavior.