Uploaded image for project: 'FlightPath'
  1. FlightPath
  2. FLPATH-1651

[MTA] MTA ui pod is never created

XMLWordPrintable

    • False
    • Hide

      None

      Show
      None
    • False

      Description of the problem: The MTA ui and hub pods are never created and MTA workflow can't be deployed.

      How reproducible: 100%

      Steps to reproduce:

      1. Deploy MTA workflow.

      Actual results: The MTA ui and hub pods are never created:

      oc get pods -n openshift-mta
      NAME                              READY   STATUS    RESTARTS   AGE
      mta-operator-648dddb79d-24wl9     1/1     Running   0          24m
      rhsso-operator-6f55b94cf4-qrkl4   1/1     Running   0          24m
       

      The following appears in the MTA operator pod logs:

      TASK [Setup PathFinder PostgreSQL PersistentVolume] ******************************** 
      An exception occurred during task execution. To see the full traceback, use -vvv. The error was: ValueError: too many values to unpack (expected 2)
      fatal: [localhost]: FAILED! => {"changed": false, "module_stderr": "Traceback (most recent call last):\n  File \"/opt/ansible/.ansible/tmp/ansible-tmp-1725516587.989556-667-256374490179338/AnsiballZ_k8s.py\", line 102, in <module>\n    _ansiballz_main()\n  File \"/opt/ansible/.ansible/tmp/ansible-tmp-1725516587.989556-667-256374490179338/AnsiballZ_k8s.py\", line 94, in _ansiballz_main\n    invoke_module(zipped_mod, temp_path, ANSIBALLZ_PARAMS)\n  File \"/opt/ansible/.ansible/tmp/ansible-tmp-1725516587.989556-667-256374490179338/AnsiballZ_k8s.py\", line 40, in invoke_module\n    runpy.run_module(mod_name='ansible_collections.kubernetes.core.plugins.modules.k8s', init_globals=None, run_name='__main__', alter_sys=True)\n  File \"/usr/lib64/python3.6/runpy.py\", line 205, in run_module\n    return _run_module_code(code, init_globals, run_name, mod_spec)\n  File \"/usr/lib64/python3.6/runpy.py\", line 96, in _run_module_code\n    mod_name, mod_spec, pkg_name, script_name)\n  File \"/usr/lib64/python3.6/runpy.py\", line 85, in _run_code\n    exec(code, run_globals)\n  File \"/tmp/ansible_k8s_payload_16mz2dl3/ansible_k8s_payload.zip/ansible_collections/kubernetes/core/plugins/modules/k8s.py\", line 397, in <module>\n  File \"/tmp/ansible_k8s_payload_16mz2dl3/ansible_k8s_payload.zip/ansible_collections/kubernetes/core/plugins/modules/k8s.py\", line 393, in main\n  File \"/tmp/ansible_k8s_payload_16mz2dl3/ansible_k8s_payload.zip/ansible_collections/kubernetes/core/plugins/modules/k8s.py\", line 377, in execute_module\n  File \"/tmp/ansible_k8s_payload_16mz2dl3/ansible_k8s_payload.zip/ansible_collections/kubernetes/core/plugins/module_utils/common.py\", line 549, in execute_module\n  File \"/tmp/ansible_k8s_payload_16mz2dl3/ansible_k8s_payload.zip/ansible_collections/kubernetes/core/plugins/module_utils/common.py\", line 239, in find_resource\n  File \"/tmp/ansible_k8s_payload_16mz2dl3/ansible_k8s_payload.zip/ansible_collections/kubernetes/core/plugins/module_utils/client/discovery.py\", line 140, in get\n  File \"/usr/lib/python3.6/site-packages/kubernetes/dynamic/discovery.py\", line 242, in search\n    results = self.__search(self.__build_search(**kwargs), self.__resources, [])\n  File \"/usr/lib/python3.6/site-packages/kubernetes/dynamic/discovery.py\", line 290, in __search\n    matches.extend(self.__search([key] + parts[1:], resources, reqParams))\n  File \"/usr/lib/python3.6/site-packages/kubernetes/dynamic/discovery.py\", line 276, in __search\n    return self.__search(parts[1:], resourcePart, reqParams + [part] )\n  File \"/usr/lib/python3.6/site-packages/kubernetes/dynamic/discovery.py\", line 290, in __search\n    matches.extend(self.__search([key] + parts[1:], resources, reqParams))\n  File \"/usr/lib/python3.6/site-packages/kubernetes/dynamic/discovery.py\", line 276, in __search\n    return self.__search(parts[1:], resourcePart, reqParams + [part] )\n  File \"/usr/lib/python3.6/site-packages/kubernetes/dynamic/discovery.py\", line 266, in __search\n    prefix, group, part, resourcePart.preferred)\n  File \"/tmp/ansible_k8s_payload_16mz2dl3/ansible_k8s_payload.zip/ansible_collections/kubernetes/core/plugins/module_utils/client/discovery.py\", line 104, in get_resources_for_api_version\nValueError: too many values to unpack (expected 2)\n", "module_stdout": "", "msg": "MODULE FAILURE\nSee stdout/stderr for the exact error", "rc": 1} 

      (full logs are attached: mta-operator-logs.txt)

      The cluster has storage enabled and readily accessible.

      Expected results: MTA operator will deploy normally

            rh-ee-gfarache Gabriel Farache
            yfirst Yona First
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated: