delphix / dxtoolkit

Scripts that remotely interact with Delphix engine APIs
Apache License 2.0
38 stars 32 forks source link

dx_v2p fails when provided with dataDirectory parameter #218

Closed mwatson-delphix closed 1 year ago

mwatson-delphix commented 1 year ago

Expected Behavior dx_v2p ( oracle ) should accept

[ -archiveDirectory arch_directory ] [ -dataDirectory data_dir ] [ -externalDirectory external_dir ] [ -tempDirectory temp_dir ]

Problem with export file system layout. Is targetDiretory and dataDirectory set ?

Actual Behavior

Supplying any of these parameters results in a failure.

Problem with export file system layout. Is targetDiretory and dataDirectory set ?

Steps To Reproduce the Problem

Perform an Oracle V2P, using any of the following parameters,

[ -archiveDirectory arch_directory ] [ -dataDirectory data_dir ] [ -externalDirectory external_dir ] [ -tempDirectory temp_dir ]

Screenshots If applicable, add screenshots to help explain your problem.

Version Latest from source, e2d07759b0600d9b572572f1fe6dba3d900f1d3d

Additional Context

I believe this is due to .OracleVDB_obj.setFileSystemLayout not explicitly returning "0" on successful exit, resulting in the last variable assignment being returned instead.

marcinops commented 1 year ago

fixed in 2.4.17