delphix / dxtoolkit

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

dx_provision_vdb error messages if group does not exist and needs to be created #212

Closed mattdelphix closed 2 years ago

mattdelphix commented 2 years ago

Trying to create a new VDB on a 6.0.15 engine, and pointing to a non existing group that need to be create, I am getting this errror message,. but execution seems to finish correctly and new Group is correctly created and VDB is running. No errors if the group still exists

/home/delphix/dxtoolkit2/dx_provision_vdb -d democde1 -sourcename Oracle_master -dbname ODSTEST -targetname ODS_TEST -group 'NexiTest' -creategroup -environment Oracle_Target -type oracle -envinst '/u01/oracle/oracle19c' -envUser delphix Creating not existing group - NexiTest Use of uninitialized value in string eq at /tmp/par-64656c70686978/cache-95a9cf3f3ed2f10417d9a6ad2ef552c242299ea0/inc/lib/Engine.pm line 1064. Use of uninitialized value in sprintf at /tmp/par-64656c70686978/cache-95a9cf3f3ed2f10417d9a6ad2ef552c242299ea0/inc/lib/Toolkit_helpers.pm line 492. Use of uninitialized value in sprintf at /tmp/par-64656c70686978/cache-95a9cf3f3ed2f10417d9a6ad2ef552c242299ea0/inc/lib/Toolkit_helpers.pm line 492. Use of uninitialized value in sprintf at /tmp/par-64656c70686978/cache-95a9cf3f3ed2f10417d9a6ad2ef552c242299ea0/inc/lib/Toolkit_helpers.pm line 492. Use of uninitialized value in sprintf at /tmp/par-64656c70686978/cache-95a9cf3f3ed2f10417d9a6ad2ef552c242299ea0/inc/lib/Toolkit_helpers.pm line 492. Use of uninitialized value in sprintf at /tmp/par-64656c70686978/cache-95a9cf3f3ed2f10417d9a6ad2ef552c242299ea0/inc/lib/Toolkit_helpers.pm line 492. Use of uninitialized value in sprintf at /tmp/par-64656c70686978/cache-95a9cf3f3ed2f10417d9a6ad2ef552c242299ea0/inc/lib/Toolkit_helpers.pm line 492. Use of uninitialized value in string eq at /tmp/par-64656c70686978/cache-95a9cf3f3ed2f10417d9a6ad2ef552c242299ea0/inc/lib/Engine.pm line 1064. Waiting for all actions to complete. Parent action is ACTION-35048 Use of uninitialized value in string eq at /tmp/par-64656c70686978/cache-95a9cf3f3ed2f10417d9a6ad2ef552c242299ea0/inc/lib/Engine.pm line 1064. Action completed with success Starting job - JOB-11361 ........

mattdelphix commented 2 years ago

Problem occurs also on other dxtoolkit commands (es. dx_ctl_js_container), and it is solved with 2.4.16.1