Delphix Toolkits (dxToolkit and dxmToolkit)

 View Only
  • 1.  dxmc - AttributeError: 'GenericModel' object

    Posted 25 days ago
    Sometimes while starting a masking job using dxmc, we receive below error message but the command returns a successful return code. We have setup these jobs to be triggered from the CA ESP scheduler which depends on the dxmc command return code. This issue caused the scheduler to assume that the Delphix Job Ran fine, while it was still in execution

    Exception in thread Thread-1:
    Traceback (most recent call last):
    File "threading.py", line 932, in _bootstrap_inner
    File "threading.py", line 870, in run
    File "dxm\lib\DxJobs\jobs_worker.py", line 548, in job_selector
    File "dxm\lib\DxJobs\jobs_worker.py", line 757, in do_start
    File "dxm\lib\DxJobs\DxJob.py", line 568, in start
    File "dxm\lib\DxJobs\DxJob.py", line 606, in wait_for_job
    AttributeError: 'GenericModel' object has no attribute 'rows_total'

    Unable to find a pattern on when the error occurs or not able to forcefully recreate the error.

    Can anyone assist here?

    P.S:
    Command used to start job is
    dxmc job start --jobname MASK_JOB1 --envname MASK_ENV_01 --engine ME01

    ------------------------------
    Mahesh Chandran
    Delphix Community Members
    ------------------------------


  • 2.  RE: dxmc - AttributeError: 'GenericModel' object

    Posted 25 days ago
    Hi,

    Could you please run it with --debug options and upload here dxm.log file ?
    What version of engine and dxmc are you using ?

    regards,
    Marcin

    ------------------------------
    Marcin Przepiorowski
    Director, Technical Services
    Delphix
    ------------------------------



  • 3.  RE: dxmc - AttributeError: 'GenericModel' object

    Posted 25 days ago
    As I mentioned in the original post, we are not able to recreate the issue and also not able to find the pattern of when this occurs. When the same command was run after a minute, the command ran successfully.

    Delphix Engine Verison - 6.0.13
    dxmc Version -  0.1.9

    ------------------------------
    Mahesh Chandran
    Delphix Community Members
    ------------------------------



  • 4.  RE: dxmc - AttributeError: 'GenericModel' object

    Posted 14 days ago
    Found out the scenario when this issue occurs. When the engine's job execution queue is full, the dxmc job start command triggers the job in the engine but is not able to continue to monitor it till completion. Below is the error message and the debug log will be sent to your email separately since organization does not allow uploads.

    Note: All IP addresses, User ID, email ID have been modified in the debug log file for security reasons

    ------------------------------
    Mahesh Chandran
    Delphix Community Members
    ------------------------------



  • 5.  RE: dxmc - AttributeError: 'GenericModel' object

    Posted 13 days ago
    Hi,

    Are you using a version sent to you by David ?
    It should be fixed there.

    regards,
    Marcin

    ------------------------------
    Marcin Przepiorowski
    Director, Technical Services
    Delphix
    ------------------------------



  • 6.  RE: dxmc - AttributeError: 'GenericModel' object

    Posted 13 days ago
    We did not receive any new version from David. Can you please let me know where i can get that?

    ------------------------------
    Mahesh Chandran
    Delphix Community Members
    ------------------------------



  • 7.  RE: dxmc - AttributeError: 'GenericModel' object

    Posted 10 days ago
    Hi Mahesh,
    Your Customer Success Manager has a version of the dxm that should work. Please let us know when you've had a chance to test it.

    Thank you,
    Michael

    ------------------------------
    Michael Torok
    Community Mgmt & Experience, Sr. Director
    Delphix
    ------------------------------