$ openstack congress policy rule show $PUUID $UUID
The specified policy does not exist.::Policy ID b0930945-0187-47f2-9cb7-b5a36ffeb89e does not exist (HTTP 404) (Request-ID: req-5eb9ab59-7005-44ba-94e4-52543d24f0fd)
selected log:
2017-01-23 21:11:07.840 INFO congress.api.application [req-5eb9ab59-7005-44ba-94e4-52543d24f0fd admin 464bf75a44e34bb88bd7d8f7f36386c4] Handling request 'GET /v1/policies/b0930945-0187-47f2-9cb7-b5a36ffeb89e/rules' with CollectionHandler(/v1/policies/(?P<policy_id>[^/]+)/rules$)
2017-01-23 21:11:07.841 DEBUG oslo_messaging._drivers.amqpdriver [req-5eb9ab59-7005-44ba-94e4-52543d24f0fd admin 464bf75a44e34bb88bd7d8f7f36386c4] CALL msg_id: 1cd5c45da2994ab18dbe74e48e1b7311 exchange 'congress' topic 'congress-service-__engine-bus' from (pid=84546) _send /usr/local/lib/python2.7/dist-packages/oslo_messaging/_drivers/amqpdriver.py:442
2017-01-23 21:11:07.843 DEBUG oslo_messaging._drivers.amqpdriver [-] received message msg_id: 1cd5c45da2994ab18dbe74e48e1b7311 reply to reply_b0d97f3a4b1044598a94df7c2ee49efb from (pid=84546) __call__ /usr/local/lib/python2.7/dist-packages/oslo_messaging/_drivers/amqpdriver.py:194
2017-01-23 21:11:07.844 ERROR oslo_messaging.rpc.server [-] Exception during message handling
2017-01-23 21:11:07.844 TRACE oslo_messaging.rpc.server Traceback (most recent call last):
2017-01-23 21:11:07.844 TRACE oslo_messaging.rpc.server File "/usr/local/lib/python2.7/dist-packages/oslo_messaging/rpc/server.py", line 155, in _process_incoming
2017-01-23 21:11:07.844 TRACE oslo_messaging.rpc.server res = self.dispatcher.dispatch(message)
2017-01-23 21:11:07.844 TRACE oslo_messaging.rpc.server File "/usr/local/lib/python2.7/dist-packages/oslo_messaging/rpc/dispatcher.py", line 222, in dispatch
2017-01-23 21:11:07.844 TRACE oslo_messaging.rpc.server return self._do_dispatch(endpoint, method, ctxt, args)
2017-01-23 21:11:07.844 TRACE oslo_messaging.rpc.server File "/usr/local/lib/python2.7/dist-packages/oslo_messaging/rpc/dispatcher.py", line 192, in _do_dispatch
2017-01-23 21:11:07.844 TRACE oslo_messaging.rpc.server result = func(ctxt, **new_args)
2017-01-23 21:11:07.844 TRACE oslo_messaging.rpc.server File "/opt/stack/congress/congress/policy_engines/agnostic.py", line 2163, in persistent_get_rules
2017-01-23 21:11:07.844 TRACE oslo_messaging.rpc.server return self.dse.persistent_get_rules(policy_name)
2017-01-23 21:11:07.844 TRACE oslo_messaging.rpc.server File "/opt/stack/congress/congress/policy_engines/agnostic.py", line 327, in persistent_get_rules
2017-01-23 21:11:07.844 TRACE oslo_messaging.rpc.server self.assert_policy_exists(policy_name)
2017-01-23 21:11:07.844 TRACE oslo_messaging.rpc.server File "/opt/stack/congress/congress/policy_engines/agnostic.py", line 590, in assert_policy_exists
2017-01-23 21:11:07.844 TRACE oslo_messaging.rpc.server name='policy_not_exist')
2017-01-23 21:11:07.844 TRACE oslo_messaging.rpc.server PolicyRuntimeException: Policy ID b0930945-0187-47f2-9cb7-b5a36ffeb89e does not exist
2017-01-23 21:11:07.844 TRACE oslo_messaging.rpc.server
2017-01-23 21:11:07.845 DEBUG oslo_messaging._drivers.amqpdriver [-] sending reply msg_id: 1cd5c45da2994ab18dbe74e48e1b7311 reply queue: reply_b0d97f3a4b1044598a94df7c2ee49efb time elapsed: 0.00129451799876s from (pid=84546) _send_reply /usr/local/lib/python2.7/dist-packages/oslo_messaging/_drivers/amqpdriver.py:73
2017-01-23 21:11:07.846 DEBUG oslo_messaging._drivers.amqpdriver [-] received reply msg_id: 1cd5c45da2994ab18dbe74e48e1b7311 from (pid=84546) __call__ /usr/local/lib/python2.7/dist-packages/oslo_messaging/_drivers/amqpdriver.py:299
2017-01-23 21:11:07.848 ERROR congress.api.application [req-5eb9ab59-7005-44ba-94e4-52543d24f0fd admin 464bf75a44e34bb88bd7d8f7f36386c4] ApiApplication: found DataModelException
2017-01-23 21:11:07.848 TRACE congress.api.application Traceback (most recent call last):
2017-01-23 21:11:07.848 TRACE congress.api.application File "/opt/stack/congress/congress/api/application.py", line 53, in __call__
2017-01-23 21:11:07.848 TRACE congress.api.application response = handler.handle_request(request)
2017-01-23 21:11:07.848 TRACE congress.api.application File "/opt/stack/congress/congress/api/webservice.py", line 426, in handle_request
2017-01-23 21:11:07.848 TRACE congress.api.application return self.list_members(request)
2017-01-23 21:11:07.848 TRACE congress.api.application File "/opt/stack/congress/congress/api/webservice.py", line 452, in list_members
2017-01-23 21:11:07.848 TRACE congress.api.application context=self._get_context(request))
2017-01-23 21:11:07.848 TRACE congress.api.application File "/opt/stack/congress/congress/api/rule_model.py", line 76, in get_items
2017-01-23 21:11:07.848 TRACE congress.api.application raise webservice.DataModelException.create(e)
2017-01-23 21:11:07.848 TRACE congress.api.application DataModelException: The specified policy does not exist.::Policy ID b0930945-0187-47f2-9cb7-b5a36ffeb89e does not exist
$ openstack congress policy rule delete $PUUID $UUID
The specified policy does not exist.::Policy ID b0930945-0187-47f2-9cb7-b5a36ffeb89e does not exist (HTTP 404) (Request-ID: req-5911b9df-9d20-42a0-b46b-756e6cb69ed6)
selected log:
2017-01-23 21:11:09.638 INFO congress.api.application [req-5911b9df-9d20-42a0-b46b-756e6cb69ed6 admin 464bf75a44e34bb88bd7d8f7f36386c4] Handling request 'GET /v1/policies/b0930945-0187-47f2-9cb7-b5a36ffeb89e/rules' with CollectionHandler(/v1/policies/(?P<policy_id>[^/]+)/rules$)
2017-01-23 21:11:09.639 DEBUG oslo_messaging._drivers.amqpdriver [req-5911b9df-9d20-42a0-b46b-756e6cb69ed6 admin 464bf75a44e34bb88bd7d8f7f36386c4] CALL msg_id: a5331e8cd87d4367ac6b6884fc255fc9 exchange 'congress' topic 'congress-service-__engine-bus' from (pid=84546) _send /usr/local/lib/python2.7/dist-packages/oslo_messaging/_drivers/amqpdriver.py:442
2017-01-23 21:11:09.641 DEBUG oslo_messaging._drivers.amqpdriver [-] received message msg_id: a5331e8cd87d4367ac6b6884fc255fc9 reply to reply_b0d97f3a4b1044598a94df7c2ee49efb from (pid=84546) __call__ /usr/local/lib/python2.7/dist-packages/oslo_messaging/_drivers/amqpdriver.py:194
2017-01-23 21:11:09.641 ERROR oslo_messaging.rpc.server [-] Exception during message handling
2017-01-23 21:11:09.641 TRACE oslo_messaging.rpc.server Traceback (most recent call last):
2017-01-23 21:11:09.641 TRACE oslo_messaging.rpc.server File "/usr/local/lib/python2.7/dist-packages/oslo_messaging/rpc/server.py", line 155, in _process_incoming
2017-01-23 21:11:09.641 TRACE oslo_messaging.rpc.server res = self.dispatcher.dispatch(message)
2017-01-23 21:11:09.641 TRACE oslo_messaging.rpc.server File "/usr/local/lib/python2.7/dist-packages/oslo_messaging/rpc/dispatcher.py", line 222, in dispatch
2017-01-23 21:11:09.641 TRACE oslo_messaging.rpc.server return self._do_dispatch(endpoint, method, ctxt, args)
2017-01-23 21:11:09.641 TRACE oslo_messaging.rpc.server File "/usr/local/lib/python2.7/dist-packages/oslo_messaging/rpc/dispatcher.py", line 192, in _do_dispatch
2017-01-23 21:11:09.641 TRACE oslo_messaging.rpc.server result = func(ctxt, **new_args)
2017-01-23 21:11:09.641 TRACE oslo_messaging.rpc.server File "/opt/stack/congress/congress/policy_engines/agnostic.py", line 2163, in persistent_get_rules
2017-01-23 21:11:09.641 TRACE oslo_messaging.rpc.server return self.dse.persistent_get_rules(policy_name)
2017-01-23 21:11:09.641 TRACE oslo_messaging.rpc.server File "/opt/stack/congress/congress/policy_engines/agnostic.py", line 327, in persistent_get_rules
2017-01-23 21:11:09.641 TRACE oslo_messaging.rpc.server self.assert_policy_exists(policy_name)
2017-01-23 21:11:09.641 TRACE oslo_messaging.rpc.server File "/opt/stack/congress/congress/policy_engines/agnostic.py", line 590, in assert_policy_exists
2017-01-23 21:11:09.641 TRACE oslo_messaging.rpc.server name='policy_not_exist')
2017-01-23 21:11:09.641 TRACE oslo_messaging.rpc.server PolicyRuntimeException: Policy ID b0930945-0187-47f2-9cb7-b5a36ffeb89e does not exist
2017-01-23 21:11:09.641 TRACE oslo_messaging.rpc.server
2017-01-23 21:11:09.642 DEBUG oslo_messaging._drivers.amqpdriver [-] sending reply msg_id: a5331e8cd87d4367ac6b6884fc255fc9 reply queue: reply_b0d97f
3a4b1044598a94df7c2ee49efb time elapsed: 0.00114716499957s from (pid=84546) _send_reply /usr/local/lib/python2.7/dist-packages/oslo_messaging/_driver
s/amqpdriver.py:732017-01-23 21:11:09.645 DEBUG oslo_messaging._drivers.amqpdriver [-] received reply msg_id: a5331e8cd87d4367ac6b6884fc255fc9 from (pid=84546) __call_
_ /usr/local/lib/python2.7/dist-packages/oslo_messaging/_drivers/amqpdriver.py:299
2017-01-23 21:11:09.646 ERROR congress.api.application [req-5911b9df-9d20-42a0-b46b-756e6cb69ed6 admin 464bf75a44e34bb88bd7d8f7f36386c4] ApiApplication: found DataModelException
2017-01-23 21:11:09.646 TRACE congress.api.application Traceback (most recent call last):2017-01-23 21:11:09.646 TRACE congress.api.application File "/opt/stack/congress/congress/api/application.py", line 53, in __call__
2017-01-23 21:11:09.646 TRACE congress.api.application response = handler.handle_request(request)
2017-01-23 21:11:09.646 TRACE congress.api.application File "/opt/stack/congress/congress/api/webservice.py", line 426, in handle_request2017-01-23 21:11:09.646 TRACE congress.api.application return self.list_members(request)
2017-01-23 21:11:09.646 TRACE congress.api.application File "/opt/stack/congress/congress/api/webservice.py", line 452, in list_members2017-01-23 21:11:09.646 TRACE congress.api.application context=self._get_context(request))
2017-01-23 21:11:09.646 TRACE congress.api.application File "/opt/stack/congress/congress/api/rule_model.py", line 76, in get_items
2017-01-23 21:11:09.646 TRACE congress.api.application raise webservice.DataModelException.create(e)
2017-01-23 21:11:09.646 TRACE congress.api.application DataModelException: The specified policy does not exist.::Policy ID b0930945-0187-47f2-9cb7-b5a36ffeb89e does not exist
$ openstack congress policy rule list $PUUID # 1 rules
The specified policy does not exist.::Policy ID b0930945-0187-47f2-9cb7-b5a36ffeb89e does not exist (HTTP 404) (Request-ID: req-16003e0b-0298-41f2-933c-105026727e53)
selected log:
2017-01-23 21:11:15.370 INFO congress.api.application [req-16003e0b-0298-41f2-933c-105026727e53 admin 464bf75a44e34bb88bd7d8f7f36386c4] Handling request 'GET /v1/policies/b0930945-0187-47f2-9cb7-b5a36ffeb89e/rules' with CollectionHandler(/v1/policies/(?P<policy_id>[^/]+)/rules$)
2017-01-23 21:11:15.372 DEBUG oslo_messaging._drivers.amqpdriver [req-16003e0b-0298-41f2-933c-105026727e53 admin 464bf75a44e34bb88bd7d8f7f36386c4] CALL msg_id: 47e0347c10764528aeaf1e969e4643e8 exchange 'congress' topic 'congress-service-__engine-bus' from (pid=84546) _send /usr/local/lib/python2.7/dist-packages/oslo_messaging/_drivers/amqpdriver.py:442
2017-01-23 21:11:15.374 DEBUG oslo_messaging._drivers.amqpdriver [-] received message msg_id: 47e0347c10764528aeaf1e969e4643e8 reply to reply_b0d97f3a4b1044598a94df7c2ee49efb from (pid=84546) __call__ /usr/local/lib/python2.7/dist-packages/oslo_messaging/_drivers/amqpdriver.py:194
2017-01-23 21:11:15.374 ERROR oslo_messaging.rpc.server [-] Exception during message handling
2017-01-23 21:11:15.374 TRACE oslo_messaging.rpc.server Traceback (most recent call last):
2017-01-23 21:11:15.374 TRACE oslo_messaging.rpc.server File "/usr/local/lib/python2.7/dist-packages/oslo_messaging/rpc/server.py", line 155, in _process_incoming
2017-01-23 21:11:15.374 TRACE oslo_messaging.rpc.server res = self.dispatcher.dispatch(message)
2017-01-23 21:11:15.374 TRACE oslo_messaging.rpc.server File "/usr/local/lib/python2.7/dist-packages/oslo_messaging/rpc/dispatcher.py", line 222, in dispatch
2017-01-23 21:11:15.374 TRACE oslo_messaging.rpc.server return self._do_dispatch(endpoint, method, ctxt, args)
2017-01-23 21:11:15.374 TRACE oslo_messaging.rpc.server File "/usr/local/lib/python2.7/dist-packages/oslo_messaging/rpc/dispatcher.py", line 192, in _do_dispatch
2017-01-23 21:11:15.374 TRACE oslo_messaging.rpc.server result = func(ctxt, **new_args)
2017-01-23 21:11:15.374 TRACE oslo_messaging.rpc.server File "/opt/stack/congress/congress/policy_engines/agnostic.py", line 2163, in persistent_get_rules
2017-01-23 21:11:15.374 TRACE oslo_messaging.rpc.server return self.dse.persistent_get_rules(policy_name)
2017-01-23 21:11:15.374 TRACE oslo_messaging.rpc.server File "/opt/stack/congress/congress/policy_engines/agnostic.py", line 327, in persistent_get_rules
2017-01-23 21:11:15.374 TRACE oslo_messaging.rpc.server self.assert_policy_exists(policy_name)
2017-01-23 21:11:15.374 TRACE oslo_messaging.rpc.server File "/opt/stack/congress/congress/policy_engines/agnostic.py", line 590, in assert_policy_exists
2017-01-23 21:11:15.374 TRACE oslo_messaging.rpc.server name='policy_not_exist')
2017-01-23 21:11:15.374 TRACE oslo_messaging.rpc.server PolicyRuntimeException: Policy ID b0930945-0187-47f2-9cb7-b5a36ffeb89e does not exist
2017-01-23 21:11:15.374 TRACE oslo_messaging.rpc.server
2017-01-23 21:11:15.376 DEBUG oslo_messaging._drivers.amqpdriver [-] sending reply msg_id: 47e0347c10764528aeaf1e969e4643e8 reply queue: reply_b0d97f
3a4b1044598a94df7c2ee49efb time elapsed: 0.00234441700013s from (pid=84546) _send_reply /usr/local/lib/python2.7/dist-packages/oslo_messaging/_driver
s/amqpdriver.py:732017-01-23 21:11:15.378 DEBUG oslo_messaging._drivers.amqpdriver [-] received reply msg_id: 47e0347c10764528aeaf1e969e4643e8 from (pid=84546) __call_
_ /usr/local/lib/python2.7/dist-packages/oslo_messaging/_drivers/amqpdriver.py:299
2017-01-23 21:11:15.378 ERROR congress.api.application [req-16003e0b-0298-41f2-933c-105026727e53 admin 464bf75a44e34bb88bd7d8f7f36386c4] ApiApplicati
on: found DataModelException
2017-01-23 21:11:15.378 TRACE congress.api.application Traceback (most recent call last):
2017-01-23 21:11:15.378 TRACE congress.api.application File "/opt/stack/congress/congress/api/application.py", line 53, in __call__2017-01-23 21:11:15.378 TRACE congress.api.application response = handler.handle_request(request)2017-01-23 21:11:15.378 TRACE congress.api.application File "/opt/stack/congress/congress/api/webservice.py", line 426, in handle_request
2017-01-23 21:11:15.378 TRACE congress.api.application return self.list_members(request)2017-01-23 21:11:15.378 TRACE congress.api.application File "/opt/stack/congress/congress/api/webservice.py", line 452, in list_members2017-01-23 21:11:15.378 TRACE congress.api.application context=self._get_context(request))
2017-01-23 21:11:15.378 TRACE congress.api.application File "/opt/stack/congress/congress/api/rule_model.py", line 76, in get_items
2017-01-23 21:11:15.378 TRACE congress.api.application raise webservice.DataModelException.create(e)
2017-01-23 21:11:15.378 TRACE congress.api.application DataModelException: The specified policy does not exist.::Policy ID b0930945-0187-47f2-9cb7-b5a36ffeb89e does not exist
$ openstack congress policy row list $PUUID q # 2 tuples
Not Found::table 'q' doesn't exist (HTTP 404) (Request-ID: req-7c10375a-bbbc-4ba5-b7ec-b23a87aa3617)
selected log:
2017-01-23 21:11:23.254 INFO congress.api.application [req-7c10375a-bbbc-4ba5-b7ec-b23a87aa3617 admin 464bf75a44e34bb88bd7d8f7f36386c4] Handling request 'GET /v1/policies/b0930945-0187-47f2-9cb7-b5a36ffeb89e/tables/q/rows' with CollectionHandler((/v1/data-sources/(?P<ds_id>[^/]+)|/v1/policies/(?P<policy_id>[^/]+))/tables/(?P<table_id>[^/]+)/rows$)
2017-01-23 21:11:23.255 INFO congress.api.row_model [req-7c10375a-bbbc-4ba5-b7ec-b23a87aa3617 admin 464bf75a44e34bb88bd7d8f7f36386c4] get_items(context={'table_id': 'q', 'policy_id': 'b0930945-0187-47f2-9cb7-b5a36ffeb89e'})
2017-01-23 21:11:23.255 DEBUG oslo_messaging._drivers.amqpdriver [req-7c10375a-bbbc-4ba5-b7ec-b23a87aa3617 admin 464bf75a44e34bb88bd7d8f7f36386c4] CALL msg_id: dd0e82b0ba004a84b336d2c5865b833c exchange 'congress' topic 'congress-service-__engine-bus' from (pid=84546) _send /usr/local/lib/python2.7/dist-packages/oslo_messaging/_drivers/amqpdriver.py:442
2017-01-23 21:11:23.257 DEBUG oslo_messaging._drivers.amqpdriver [-] received message msg_id: dd0e82b0ba004a84b336d2c5865b833c reply to reply_b0d97f3a4b1044598a94df7c2ee49efb from (pid=84546) __call__ /usr/local/lib/python2.7/dist-packages/oslo_messaging/_drivers/amqpdriver.py:194
2017-01-23 21:11:23.258 ERROR oslo_messaging.rpc.server [-] Exception during message handling
2017-01-23 21:11:23.258 TRACE oslo_messaging.rpc.server Traceback (most recent call last):
2017-01-23 21:11:23.258 TRACE oslo_messaging.rpc.server File "/usr/local/lib/python2.7/dist-packages/oslo_messaging/rpc/server.py", line 155, in _process_incoming
2017-01-23 21:11:23.258 TRACE oslo_messaging.rpc.server res = self.dispatcher.dispatch(message)
2017-01-23 21:11:23.258 TRACE oslo_messaging.rpc.server File "/usr/local/lib/python2.7/dist-packages/oslo_messaging/rpc/dispatcher.py", line 222, in dispatch
2017-01-23 21:11:23.258 TRACE oslo_messaging.rpc.server return self._do_dispatch(endpoint, method, ctxt, args)
2017-01-23 21:11:23.258 TRACE oslo_messaging.rpc.server File "/usr/local/lib/python2.7/dist-packages/oslo_messaging/rpc/dispatcher.py", line 192, in _do_dispatch
2017-01-23 21:11:23.258 TRACE oslo_messaging.rpc.server result = func(ctxt, **new_args)
2017-01-23 21:11:23.258 TRACE oslo_messaging.rpc.server File "/opt/stack/congress/congress/policy_engines/agnostic.py", line 2197, in get_row_data
2017-01-23 21:11:23.258 TRACE oslo_messaging.rpc.server return self.dse.get_row_data(table_id, source_id, trace)
2017-01-23 21:11:23.258 TRACE oslo_messaging.rpc.server File "/opt/stack/congress/congress/policy_engines/agnostic.py", line 812, in get_row_data
2017-01-23 21:11:23.258 TRACE oslo_messaging.rpc.server raise exception.NotFound("table '%s' doesn't exist" % table_id)
2017-01-23 21:11:23.258 TRACE oslo_messaging.rpc.server NotFound: table 'q' doesn't exist
2017-01-23 21:11:23.258 TRACE oslo_messaging.rpc.server
2017-01-23 21:11:23.260 DEBUG oslo_messaging._drivers.amqpdriver [-] sending reply msg_id: dd0e82b0ba004a84b336d2c5865b833c reply queue: reply_b0d97f3a4b1044598a94df7c2ee49efb time elapsed: 0.00224014299602s from (pid=84546) _send_reply /usr/local/lib/python2.7/dist-packages/oslo_messaging/_drivers/amqpdriver.py:73
2017-01-23 21:11:23.262 DEBUG oslo_messaging._drivers.amqpdriver [-] received reply msg_id: dd0e82b0ba004a84b336d2c5865b833c from (pid=84546) __call__ /usr/local/lib/python2.7/dist-packages/oslo_messaging/_drivers/amqpdriver.py:299
2017-01-23 21:11:23.262 ERROR congress.api.row_model [req-7c10375a-bbbc-4ba5-b7ec-b23a87aa3617 admin 464bf75a44e34bb88bd7d8f7f36386c4] Error occurred while processing source_id 'b0930945-0187-47f2-9cb7-b5a36ffeb89e' for row data of the table 'q'
2017-01-23 21:11:23.262 TRACE congress.api.row_model Traceback (most recent call last):
2017-01-23 21:11:23.262 TRACE congress.api.row_model File "/opt/stack/congress/congress/api/row_model.py", line 86, in get_items
2017-01-23 21:11:23.262 TRACE congress.api.row_model timeout=self.dse_long_timeout)
2017-01-23 21:11:23.262 TRACE congress.api.row_model File "/opt/stack/congress/congress/api/base.py", line 40, in invoke_rpc
2017-01-23 21:11:23.262 TRACE congress.api.row_model caller, name, kwargs, timeout=timeout, local=local)
2017-01-23 21:11:23.262 TRACE congress.api.row_model File "/opt/stack/congress/congress/dse2/data_service.py", line 193, in rpc
2017-01-23 21:11:23.262 TRACE congress.api.row_model service, action, kwargs, timeout=timeout, local=local, retry=retry)
2017-01-23 21:11:23.262 TRACE congress.api.row_model File "/opt/stack/congress/congress/dse2/dse_node.py", line 336, in invoke_service_rpc
2017-01-23 21:11:23.262 TRACE congress.api.row_model result = client.call(self.context, method, **kwargs)
2017-01-23 21:11:23.262 TRACE congress.api.row_model File "/usr/local/lib/python2.7/dist-packages/oslo_messaging/rpc/client.py", line 465, in call
2017-01-23 21:11:23.262 TRACE congress.api.row_model return self.prepare().call(ctxt, method, **kwargs)
2017-01-23 21:11:23.262 TRACE congress.api.row_model File "/usr/local/lib/python2.7/dist-packages/oslo_messaging/rpc/client.py", line 169, in call
2017-01-23 21:11:23.262 TRACE congress.api.row_model retry=self.retry)
2017-01-23 21:11:23.262 TRACE congress.api.row_model File "/usr/local/lib/python2.7/dist-packages/oslo_messaging/transport.py", line 97, in _send
2017-01-23 21:11:23.262 TRACE congress.api.row_model timeout=timeout, retry=retry)
2017-01-23 21:11:23.262 TRACE congress.api.row_model File "/usr/local/lib/python2.7/dist-packages/oslo_messaging/_drivers/amqpdriver.py", line 458, in send
2017-01-23 21:11:23.262 TRACE congress.api.row_model retry=retry)
2017-01-23 21:11:23.262 TRACE congress.api.row_model File "/usr/local/lib/python2.7/dist-packages/oslo_messaging/_drivers/amqpdriver.py", line 449, in _send
2017-01-23 21:11:23.262 TRACE congress.api.row_model raise result
2017-01-23 21:11:23.262 TRACE congress.api.row_model NotFound_Remote: table 'q' doesn't exist
2017-01-23 21:11:23.262 TRACE congress.api.row_model Traceback (most recent call last):
2017-01-23 21:11:23.262 TRACE congress.api.row_model
2017-01-23 21:11:23.262 TRACE congress.api.row_model File "/usr/local/lib/python2.7/dist-packages/oslo_messaging/rpc/server.py", line 155, in _process_incoming
2017-01-23 21:11:23.262 TRACE congress.api.row_model res = self.dispatcher.dispatch(message)
2017-01-23 21:11:23.262 TRACE congress.api.row_model
2017-01-23 21:11:23.262 TRACE congress.api.row_model File "/usr/local/lib/python2.7/dist-packages/oslo_messaging/rpc/dispatcher.py", line 222, in dispatch
2017-01-23 21:11:23.262 TRACE congress.api.row_model return self._do_dispatch(endpoint, method, ctxt, args)
2017-01-23 21:11:23.262 TRACE congress.api.row_model
2017-01-23 21:11:23.262 TRACE congress.api.row_model File "/usr/local/lib/python2.7/dist-packages/oslo_messaging/rpc/dispatcher.py", line 192, in _do_dispatch
2017-01-23 21:11:23.262 TRACE congress.api.row_model result = func(ctxt, **new_args)
2017-01-23 21:11:23.262 TRACE congress.api.row_model
2017-01-23 21:11:23.262 TRACE congress.api.row_model File "/opt/stack/congress/congress/policy_engines/agnostic.py", line 2197, in get_row_data
2017-01-23 21:11:23.262 TRACE congress.api.row_model return self.dse.get_row_data(table_id, source_id, trace)
2017-01-23 21:11:23.262 TRACE congress.api.row_model
2017-01-23 21:11:23.262 TRACE congress.api.row_model File "/opt/stack/congress/congress/policy_engines/agnostic.py", line 812, in get_row_data
2017-01-23 21:11:23.262 TRACE congress.api.row_model raise exception.NotFound("table '%s' doesn't exist" % table_id)
2017-01-23 21:11:23.262 TRACE congress.api.row_model
2017-01-23 21:11:23.262 TRACE congress.api.row_model NotFound: table 'q' doesn't exist
2017-01-23 21:11:23.262 TRACE congress.api.row_model
2017-01-23 21:11:23.262 TRACE congress.api.row_model
2017-01-23 21:11:23.265 ERROR congress.api.application [req-7c10375a-bbbc-4ba5-b7ec-b23a87aa3617 admin 464bf75a44e34bb88bd7d8f7f36386c4] ApiApplication: found DataModelException
2017-01-23 21:11:23.265 TRACE congress.api.application Traceback (most recent call last):
2017-01-23 21:11:23.265 TRACE congress.api.application File "/opt/stack/congress/congress/api/application.py", line 53, in __call__
2017-01-23 21:11:23.265 TRACE congress.api.application response = handler.handle_request(request)
2017-01-23 21:11:23.265 TRACE congress.api.application File "/opt/stack/congress/congress/api/webservice.py", line 426, in handle_request
2017-01-23 21:11:23.265 TRACE congress.api.application return self.list_members(request)
2017-01-23 21:11:23.265 TRACE congress.api.application File "/opt/stack/congress/congress/api/webservice.py", line 452, in list_members
2017-01-23 21:11:23.265 TRACE congress.api.application context=self._get_context(request))
2017-01-23 21:11:23.265 TRACE congress.api.application File "/opt/stack/congress/congress/api/row_model.py", line 94, in get_items
2017-01-23 21:11:23.265 TRACE congress.api.application raise webservice.DataModelException.create(e)
2017-01-23 21:11:23.265 TRACE congress.api.application DataModelException: Not Found::table 'q' doesn't exist
$ openstack congress policy table list $PUUID
Not found (HTTP 404) (Request-ID: req-e2eab61a-96aa-41d5-bb3a-331780111119)
selected log:
2017-01-23 21:22:19.743 INFO congress.api.application [req-e2eab61a-96aa-41d5-bb3a-331780111119 admin 464bf75a44e34bb88bd7d8f7f36386c4] Handling request 'GET /v1/policies/b0930945-0187-47f2-9cb7-b5a36ffeb89e/tables' with CollectionHandler((/v1/data-sources/(?P<ds_id>[^/]+)|/v1/policies/(?P<policy_id>[^/]+))/tables$)
2017-01-23 21:22:19.747 INFO congress.api.table_model [req-e2eab61a-96aa-41d5-bb3a-331780111119 admin 464bf75a44e34bb88bd7d8f7f36386c4] get_items has context {'policy_id': 'b0930945-0187-47f2-9cb7-b5a36ffeb89e'}
2017-01-23 21:22:19.748 DEBUG oslo_messaging._drivers.amqpdriver [req-e2eab61a-96aa-41d5-bb3a-331780111119 admin 464bf75a44e34bb88bd7d8f7f36386c4] CALL msg_id: 7598fdd4f80d49bcba7d003c96454f10 exchange 'congress' topic 'congress-service-__engine-bus' from (pid=84546) _send /usr/local/lib/python2.7/dist-packages/oslo_messaging/_drivers/amqpdriver.py:442
2017-01-23 21:22:19.749 DEBUG oslo_messaging._drivers.amqpdriver [-] received message msg_id: 7598fdd4f80d49bcba7d003c96454f10 reply to reply_b0d97f3a4b1044598a94df7c2ee49efb from (pid=84546) __call__ /usr/local/lib/python2.7/dist-packages/oslo_messaging/_drivers/amqpdriver.py:194
2017-01-23 21:22:19.750 DEBUG oslo_messaging._drivers.amqpdriver [-] sending reply msg_id: 7598fdd4f80d49bcba7d003c96454f10 reply queue: reply_b0d97f3a4b1044598a94df7c2ee49efb time elapsed: 0.000661951999064s from (pid=84546) _send_reply /usr/local/lib/python2.7/dist-packages/oslo_messaging/_drivers/amqpdriver.py:73
2017-01-23 21:22:19.751 DEBUG oslo_messaging._drivers.amqpdriver [-] received reply msg_id: 7598fdd4f80d49bcba7d003c96454f10 from (pid=84546) __call__ /usr/local/lib/python2.7/dist-packages/oslo_messaging/_drivers/amqpdriver.py:299
2017-01-23 21:22:20.394 DEBUG oslo_messaging._drivers.amqpdriver [-] CAST unique_id: 6e8d4b5fe89942cd92bf37616250c804 FANOUT topic 'congress-service-_control_bus-bus' from (pid=84546) _send /usr/local/lib/python2.7/dist-packages/oslo_messaging/_drivers/amqpdriver.py:431
2017-01-23 21:22:20.396 DEBUG oslo_messaging._drivers.amqpdriver [-] received message with unique_id: 6e8d4b5fe89942cd92bf37616250c804 from (pid=84546) __call__ /usr/local/lib/python2.7/dist-packages/oslo_messaging/_drivers/amqpdriver.py:196
2017-01-23 21:22:20.707 DEBUG futurist.periodics [-] Submitting periodic callback 'congress.synchronizer.datasource_synchronizer.DatasourceSynchronizer._check_resub_all' from (pid=84546) _process_scheduled /usr/local/lib/python2.7/dist-packages/futurist/periodics.py:623
2017-01-23 21:22:20.708 INFO congress.synchronizer.datasource_synchronizer [-] Running periodic resub on node allinonenode
2017-01-23 21:22:20.872 INFO congress.datasources.datasource_driver [-] nova:: polling
$ openstack congress policy table show $PUUID 'p'
Not found (HTTP 404) (Request-ID: req-5e2e431d-33df-44b0-b077-80e328f7c244)
selected log:
2017-01-23 21:23:19.174 INFO congress.api.application [req-5e2e431d-33df-44b0-b077-80e328f7c244 admin 464bf75a44e34bb88bd7d8f7f36386c4] Handling request 'GET /v1/policies/b0930945-0187-47f2-9cb7-b5a36ffeb89e/tables/p' with ElementHandler((/v1/data-sources/(?P<ds_id>[^/]+)|/v1/policies/(?P<policy_id>[^/]+))/tables/(?P<table_id>[^/]+)$)
2017-01-23 21:23:19.175 DEBUG oslo_messaging._drivers.amqpdriver [req-5e2e431d-33df-44b0-b077-80e328f7c244 admin 464bf75a44e34bb88bd7d8f7f36386c4] CALL msg_id: 384869035c8f47c78f269fa4ececa4cf exchange 'congress' topic 'congress-service-__engine-bus' from (pid=84546) _send /usr/local/lib/python2.7/dist-packages/oslo_messaging/_drivers/amqpdriver.py:442
2017-01-23 21:23:19.177 DEBUG oslo_messaging._drivers.amqpdriver [-] received message msg_id: 384869035c8f47c78f269fa4ececa4cf reply to reply_b0d97f3a4b1044598a94df7c2ee49efb from (pid=84546) __call__ /usr/local/lib/python2.7/dist-packages/oslo_messaging/_drivers/amqpdriver.py:194
2017-01-23 21:23:19.178 DEBUG oslo_messaging._drivers.amqpdriver [-] sending reply msg_id: 384869035c8f47c78f269fa4ececa4cf reply queue: reply_b0d97f3a4b1044598a94df7c2ee49efb time elapsed: 0.000591441996221s from (pid=84546) _send_reply /usr/local/lib/python2.7/dist-packages/oslo_messaging/_drivers/amqpdriver.py:73
2017-01-23 21:23:19.179 DEBUG oslo_messaging._drivers.amqpdriver [-] received reply msg_id: 384869035c8f47c78f269fa4ececa4cf from (pid=84546) __call__ /usr/local/lib/python2.7/dist-packages/oslo_messaging/_drivers/amqpdriver.py:299
2017-01-23 21:23:19.180 INFO congress.api.table_model [req-5e2e431d-33df-44b0-b077-80e328f7c244 admin 464bf75a44e34bb88bd7d8f7f36386c4] table id p is not found in datasource b0930945-0187-47f2-9cb7-b5a36ffeb89e
$ openstack congress policy simulate $PUUID "simA(x)" "simB+(1)" action # also here log is exposed in client output
Error in simulate procedure::Unknown policy b0930945-0187-47f2-9cb7-b5a36ffeb89e
Traceback (most recent call last):
File "/usr/local/lib/python2.7/dist-packages/oslo_messaging/rpc/server.py", line 155, in _process_incoming
res = self.dispatcher.dispatch(message)
File "/usr/local/lib/python2.7/dist-packages/oslo_messaging/rpc/dispatcher.py", line 222, in dispatch
return self._do_dispatch(endpoint, method, ctxt, args)
File "/usr/local/lib/python2.7/dist-packages/oslo_messaging/rpc/dispatcher.py", line 192, in _do_dispatch
result = func(ctxt, **new_args)
File "/opt/stack/congress/congress/policy_engines/agnostic.py", line 2185, in simulate
delta, trace, as_list)
File "/opt/stack/congress/congress/policy_engines/agnostic.py", line 781, in simulate
assert self.get_target(theory) is not None, "Theory must be known"
File "/opt/stack/congress/congress/policy_engines/agnostic.py", line 1481, in get_target
raise exception.PolicyException("Unknown policy " + str(name))
PolicyException: Unknown policy b0930945-0187-47f2-9cb7-b5a36ffeb89e
(HTTP 400) (Request-ID: req-38beef30-2f80-4b71-a2fa-f5764fade0e4)
@Eric, Looks like, they never worked with id from prev releases, so its not broken I suppose. Do you think fixing this now would be good idea ?