Uploaded image for project: 'Fuel based OPNFV installer'
  1. Fuel based OPNFV installer
  2. FUEL-376

Duplicated security group

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed (View Workflow)
    • Priority: Major
    • Resolution: Won't Fix
    • Affects Version/s: None
    • Fix Version/s: Future Release
    • Labels:
      None

      Description

      It's not fully clear if the bug is about Functest or Fuel but the same code is passing in Fraser gates (cloudify_ims is fully backported).

      Here Neutron exits with a duplicated security group.
      https://build.opnfv.org/ci/view/functest/job/functest-fuel-baremetal-daily-master/231/

      2018-05-28 02:24:14,373 - functest.opnfv_tests.vnf.ims.cloudify_ims - DEBUG - Task failed 'nova_plugin.server.connect_security_group' -> Unable to establish connection to https://172.30.10.101:8774/v2.1/98553474e7df4666aafb941accbcf7ba/servers/6a2cfc42-2b4c-490d-9b31-65c6b9ccf9d6: ('Connection aborted.', error(104, 'Connection reset by peer'))
      2018-05-28 02:24:30,482 - functest.opnfv_tests.vnf.ims.cloudify_ims - DEBUG - Sending task 'nova_plugin.server.connect_security_group' [retry 1/60]
      2018-05-28 02:24:30,483 - functest.opnfv_tests.vnf.ims.cloudify_ims - DEBUG - Task started 'nova_plugin.server.connect_security_group' [retry 1/60]
      2018-05-28 02:24:35,840 - functest.opnfv_tests.vnf.ims.cloudify_ims - DEBUG - Task failed 'nova_plugin.server.connect_security_group' -> Invalid input for security_groups. Reason: Duplicate items in the list: '79d5182f-1ea9-4417-86a0-0c57683ae199'.
      Neutron server returns request_ids: ['req-7aa93fad-1cf5-4ced-979d-5c962aebef08'] [status_code=400] [retry 1/60]
      2018-05-28 02:24:35,841 - functest.opnfv_tests.vnf.ims.cloudify_ims - DEBUG - 'install' workflow execution failed: RuntimeError: Workflow failed: Task failed 'nova_plugin.server.connect_security_group' -> Invalid input for security_groups. Reason: Duplicate items in the list: '79d5182f-1ea9-4417-86a0-0c57683ae199'.
      Neutron server returns request_ids: ['req-7aa93fad-1cf5-4ced-979d-5c962aebef08'] [status_code=400]
      2018-05-28 02:24:35,986 - functest.opnfv_tests.vnf.ims.cloudify_ims - INFO - {u'status': u'failed', u'is_system_workflow': False, u'parameters': {}, u'blueprint_id': u'clearwater-opnfv', u'tenant_name': u'default_tenant', u'created_at': u'2018-05-28T02:19:35.626Z', u'created_by': u'admin', u'private_resource': False, u'workflow_id': u'install', u'error': u'Traceback (most recent call last):\n  File "/tmp/pip-build-RgW6mD/cloudify-plugins-common/cloudify/dispatch.py", line 502, in _remote_workflow_child_thread\n  File "/tmp/pip-build-RgW6mD/cloudify-plugins-common/cloudify/dispatch.py", line 533, in _execute_workflow_function\n  File "/opt/mgmtworker/env/lib/python2.7/site-packages/cloudify/plugins/workflows.py", line 27, in install\n    node_instances=set(ctx.node_instances))\n  File "/opt/mgmtworker/env/lib/python2.7/site-packages/cloudify/plugins/lifecycle.py", line 28, in install_node_instances\n    processor.install()\n  File "/opt/mgmtworker/env/lib/python2.7/site-packages/cloudify/plugins/lifecycle.py", line 93, in install\n    graph_finisher_func=self._finish_install)\n  File "/opt/mgmtworker/env/lib/python2.7/site-packages/cloudify/plugins/lifecycle.py", line 114, in _process_node_instances\n    self.graph.execute()\n  File "/opt/mgmtworker/env/lib/python2.7/site-packages/cloudify/workflows/tasks_graph.py", line 133, in execute\n    self._handle_terminated_task(task)\n  File "/opt/mgmtworker/env/lib/python2.7/site-packages/cloudify/workflows/tasks_graph.py", line 207, in _handle_terminated_task\n    raise RuntimeError(message)\nRuntimeError: Workflow failed: Task failed \'nova_plugin.server.connect_security_group\' -> Invalid input for security_groups. Reason: Duplicate items in the list: \'79d5182f-1ea9-4417-86a0-0c57683ae199\'.\nNeutron server returns request_ids: [\'req-7aa93fad-1cf5-4ced-979d-5c962aebef08\'] [status_code=400]\n', u'deployment_id': u'clearwater-opnfv', u'id': u'bec945bb-cc4a-4c5c-a4ad-e1b578ccb0ac'}
      2018-05-28 02:24:35,986 - xtesting.energy.energy - DEBUG - Restoring previous scenario (cloudify_ims/running)
      2018-05-28 02:24:35,986 - xtesting.energy.energy - DEBUG - Submitting scenario (cloudify_ims/running)
      2018-05-28 02:24:36,497 - xtesting.core.testcase - INFO - The results were successfully pushed to DB http://testresults.opnfv.org/test/api/v1/results
      

      CC: valentin boucher

        Attachments

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

          Activity

            People

            Assignee:
            AlexandruAvadanii Alexandru Avadanii
            Reporter:
            ollivier Cedric Ollivier
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: