Closed sebix closed 2 years ago
@gutsohnCERT @waldbauer-certat did #35 work for you? The PR caused fails in all machines for me. This is the error for ubuntu 20.04, but it's the same for all others as well:
ok: [default] => {"access_control_allow_credentials": "true", "access_control_allow_origin": "None", "cache_control": "public, max-age=3", "changed": false, "connection": "close", "content": "{\n \"cymru-whois-expert\": {\n \"source_queue\": [\n \"cymru-whois-expert-queue\",\n 0\n ],\n \"internal_queue\": 0,\n \"destination_queues\": [\n [\n \"file-output-queue\",\n 0\n ]\n ]\n },\n \"deduplicator-expert\": {\n \"source_queue\": [\n \"deduplicator-expert-queue\",\n 0\n ],\n \"internal_queue\": 0,\n \"destination_queues\": [\n [\n \"taxonomy-expert-queue\",\n 0\n ]\n ]\n },\n \"feodo-tracker-browse-collector\": {\n \"destination_queues\": [\n [\n \"feodo-tracker-browse-parser-queue\",\n 0\n ]\n ]\n },\n \"feodo-tracker-browse-parser\": {\n \"source_queue\": [\n \"feodo-tracker-browse-parser-queue\",\n 0\n ],\n \"internal_queue\": 0,\n \"destination_queues\": [\n [\n \"deduplicator-expert-queue\",\n 0\n ]\n ]\n },\n \"file-input\": {\n \"destination_queues\": [\n [\n \"file-output-queue\",\n 0\n ]\n ]\n },\n \"file-output\": {\n \"source_queue\": [\n \"file-output-queue\",\n 0\n ],\n \"internal_queue\": 0,\n \"destination_queues\": []\n },\n \"gethostbyname-1-expert\": {\n \"source_queue\": [\n \"gethostbyname-1-expert-queue\",\n 0\n ],\n \"internal_queue\": 0,\n \"destination_queues\": [\n [\n \"cymru-whois-expert-queue\",\n 0\n ]\n ]\n },\n \"gethostbyname-2-expert\": {\n \"source_queue\": [\n \"gethostbyname-2-expert-queue\",\n 0\n ],\n \"internal_queue\": 0,\n \"destination_queues\": [\n [\n \"cymru-whois-expert-queue\",\n 0\n ]\n ]\n },\n \"spamhaus-drop-collector\": {\n \"destination_queues\": [\n [\n \"spamhaus-drop-parser-queue\",\n 0\n ]\n ]\n },\n \"spamhaus-drop-parser\": {\n \"source_queue\": [\n \"spamhaus-drop-parser-queue\",\n 0\n ],\n \"internal_queue\": 0,\n \"destination_queues\": [\n [\n \"deduplicator-expert-queue\",\n 0\n ]\n ]\n },\n \"taxonomy-expert\": {\n \"source_queue\": [\n \"taxonomy-expert-queue\",\n 0\n ],\n \"internal_queue\": 0,\n \"destination_queues\": [\n [\n \"url2fqdn-expert-queue\",\n 0\n ]\n ]\n },\n \"url2fqdn-expert\": {\n \"source_queue\": [\n \"url2fqdn-expert-queue\",\n 0\n ],\n \"internal_queue\": 0,\n \"destination_queues\": [\n [\n \"gethostbyname-1-expert-queue\",\n 0\n ],\n [\n \"gethostbyname-2-expert-queue\",\n 0\n ]\n ]\n }\n}\n", "content_type": "application/json; charset=utf-8", "cookies": {}, "cookies_string": "", "date": "Wed, 25 May 2022 08:38:40 GMT", "elapsed": 0, "json": {"cymru-whois-expert": {"destination_queues": [["file-output-queue", 0]], "internal_queue": 0, "source_queue": ["cymru-whois-expert-queue", 0]}, "deduplicator-expert": {"destination_queues": [["taxonomy-expert-queue", 0]], "internal_queue": 0, "source_queue": ["deduplicator-expert-queue", 0]}, "feodo-tracker-browse-collector": {"destination_queues": [["feodo-tracker-browse-parser-queue", 0]]}, "feodo-tracker-browse-parser": {"destination_queues": [["deduplicator-expert-queue", 0]], "internal_queue": 0, "source_queue": ["feodo-tracker-browse-parser-queue", 0]}, "file-input": {"destination_queues": [["file-output-queue", 0]]}, "file-output": {"destination_queues": [], "internal_queue": 0, "source_queue": ["file-output-queue", 0]}, "gethostbyname-1-expert": {"destination_queues": [["cymru-whois-expert-queue", 0]], "internal_queue": 0, "source_queue": ["gethostbyname-1-expert-queue", 0]}, "gethostbyname-2-expert": {"destination_queues": [["cymru-whois-expert-queue", 0]], "internal_queue": 0, "source_queue": ["gethostbyname-2-expert-queue", 0]}, "spamhaus-drop-collector": {"destination_queues": [["spamhaus-drop-parser-queue", 0]]}, "spamhaus-drop-parser": {"destination_queues": [["deduplicator-expert-queue", 0]], "internal_queue": 0, "source_queue": ["spamhaus-drop-parser-queue", 0]}, "taxonomy-expert": {"destination_queues": [["url2fqdn-expert-queue", 0]], "internal_queue": 0, "source_queue": ["taxonomy-expert-queue", 0]}, "url2fqdn-expert": {"destination_queues": [["gethostbyname-1-expert-queue", 0], ["gethostbyname-2-expert-queue", 0]], "internal_queue": 0, "source_queue": ["url2fqdn-expert-queue", 0]}}, "msg": "OK (unknown bytes)", "redirected": false, "server": "Apache/2.4.41 (Ubuntu)", "status": 200, "transfer_encoding": "chunked", "url": "http://localhost/intelmq/v1/api/queues"} TASK [Check queue status via API (for IntelMQ == 3.0)] ************************* fatal: [default]: FAILED! => {"msg": "the field 'args' has an invalid value ({'that': \"{{ lookup('file', 'assets/00_queues') | from_json }} == {{ curlapiqueues.content | from_json }}\"}), and could not be converted to an dict.The error was: Extra data: line 1 column 1136 (char 1135)\n\nThe error appears to be in '/home/intelmq/intelmq-vagrant/ansible/tasks/api/02_queuestatus.yml': line 7, column 3, but may\nbe elsewhere in the file depending on the exact syntax problem.\n\nThe offending line appears to be:\n\n register: curlapiqueues\n- name: Check queue status via API (for IntelMQ == 3.0)\n ^ here\n"} PLAY RECAP ********************************************************************* default : ok=71 changed=32 unreachable=0 failed=1 skipped=16 rescued=0 ignored=2
@gutsohnCERT @waldbauer-certat did #35 work for you? The PR caused fails in all machines for me. This is the error for ubuntu 20.04, but it's the same for all others as well: