Delphix Toolkits (dxToolkit and dxmToolkit)

Expand all | Collapse all

dxmToolkit error for environments and connectors

Jump to Best Answer
  • 1.  dxmToolkit error for environments and connectors

    Posted 08-19-2020 08:13:00 AM

    Getting error when listing environments and connectors in 1 of our Masking Engine. Please check and let me know what could be the issue and how to fix it?

    Note: We have imported the environments from a different masking engine using export/import method(using Masking Engine GUI).

    $ ./dxmc --version

    dxmc, version 0.7

    $ ./dxmc environment list --engine cdxaws860

    6.0.1.1

    loaduje 6

    {'application': None,

    'environment_id': 2,

    'environment_name': 'SMHR',

    'is_workflow_enabled': False,

    'purpose': 'MASK'}

    EXCEPTION: Traceback (most recent call last):

      File "dxmc.py", line 22, in <module>

      File "click-6.7-py2.7.egg/click/core.py", line 722, in __call__

      File "click-6.7-py2.7.egg/click/core.py", line 697, in main

      File "click-6.7-py2.7.egg/click/core.py", line 1066, in invoke

     File "click-6.7-py2.7.egg/click/core.py", line 1066, in invoke

      File "click-6.7-py2.7.egg/click/core.py", line 895, in invoke

      File "click-6.7-py2.7.egg/click/core.py", line 535, in invoke

      File "click-6.7-py2.7.egg/click/decorators.py", line 64, in new_func

      File "click-6.7-py2.7.egg/click/core.py", line 535, in invoke

      File "dxm/dxm.py", line 481, in list

      File "dxm/lib/DxEnvironment/env_worker.py", line 124, in environment_list

      File "dxm/lib/DxEnvironment/DxEnvironmentList.py", line 48, in __init__

      File "dxm/lib/DxEnvironment/DxEnvironmentList.py", line 83, in LoadEnvironments

      File "dxm/lib/DxEnvironment/DxEnvironment.py", line 48, in from_environment

      File "masking_apis/models/environment.py", line 126, in application

    ValueError: Invalid value for `application`, must not be `None`

     

    [26356] Failed to execute script dxmc

    $ ./dxmc connector list --engine cdxaws860

    6.0.1.1

    loaduje 6

    {'application': None,

    'environment_id': 2,

    'environment_name': 'SMHR',

    'is_workflow_enabled': False,

    'purpose': 'MASK'}

    EXCEPTION: Traceback (most recent call last):

      File "dxmc.py", line 22, in <module>

      File "click-6.7-py2.7.egg/click/core.py", line 722, in __call__

      File "click-6.7-py2.7.egg/click/core.py", line 697, in main

      File "click-6.7-py2.7.egg/click/core.py", line 1066, in invoke

      File "click-6.7-py2.7.egg/click/core.py", line 1066, in invoke

      File "click-6.7-py2.7.egg/click/core.py", line 895, in invoke

      File "click-6.7-py2.7.egg/click/core.py", line 535, in invoke

      File "click-6.7-py2.7.egg/click/decorators.py", line 64, in new_func

      File "click-6.7-py2.7.egg/click/core.py", line 535, in invoke

      File "dxm/dxm.py", line 533, in list

      File "dxm/lib/DxConnector/conn_worker.py", line 404, in connector_list

      File "dxm/lib/DxConnector/DxConnectorsList.py", line 51, in __init__

      File "dxm/lib/DxEnvironment/DxEnvironmentList.py", line 48, in __init__

      File "dxm/lib/DxEnvironment/DxEnvironmentList.py", line 83, in LoadEnvironments

      File "dxm/lib/DxEnvironment/DxEnvironment.py", line 48, in from_environment

      File "masking_apis/models/environment.py", line 126, in application

    ValueError: Invalid value for `application`, must not be `None`

     

    [26488] Failed to execute script dxmc



    ------------------------------
    Sushil Krishn
    [Database Administrator]
    Unisys
    ------------------------------


  • 2.  RE: dxmToolkit error for environments and connectors
    Best Answer

    Posted 08-19-2020 10:20:00 AM
    Hi,

    This are know issues with version 0.7.
    Please download a new one with improved support for version 6.0 and 5.3 of Delphix engines

    https://github.com/delphix/dxm-toolkit/releases/tag/v0.8.1

    If this issue will continue, please don't hesitate to contact us.

    regards,
    Marcin


    ------------------------------
    Marcin Przepiorowski
    Technical Principal
    Delphix
    ------------------------------



  • 3.  RE: dxmToolkit error for environments and connectors

    Posted 08-20-2020 04:04:00 AM
    Hi Marcin,

    Thank you for providing quick update on this issue. It was helpful.
    The new version of dxmc is working fine with both versions 6.0.1.1 and 5.3.4 and we are able to proceed further.

    Regards,
    Sushil

    ------------------------------
    Sushil Krishn
    [Database Administrator]
    Unisys
    ------------------------------