dxtoolkit2.3.2/dxtoolkit2/dx_get_instance fails with error

  • 0
  • 1
  • Problem
  • Updated 2 months ago
  • Acknowledged


dxtoolkit2.3.2/dxtoolkit2/dx_get_instance fails with error

It was working fine till yesterday and now without any changes to it, suddenly it start failing with below error


"Can't use string ("UNKNOWN") as an ARRAY ref while "strict refs" in use at script/dx_get_instance.pl line 130"
Photo of Ankur Sharma

Ankur Sharma

  • 150 Points 100 badge 2x thumb

Posted 2 months ago

  • 0
  • 1
Photo of fMarcin Przepiorowski

fMarcin Przepiorowski, Employee

  • 880 Points 500 badge 2x thumb
Hello,

Could you please run this command again with -debug 3 option and zip an output directory and upload into upload.delphix.com and let us know ? 

Also I would recommend to upgrade dxtoolkit to a newest version 2.3.6 or 2.3.7

regards,
Marcin
Photo of Ankur Sharma

Ankur Sharma

  • 150 Points 100 badge 2x thumb
Hi Marcin,

I feel it fails , when I run it against host dtraflocodel03 only , when looking for Dsources.

$ ./dx_get_instance -d dtraflocodel03 -type dsource
Can't use string ("UNKNOWN") as an ARRAY ref while "strict refs" in use at script/dx_get_instance.pl line 130.
$
$ ./dx_get_instance -d dtraflocodel03 -type vdb

Appliance  Env name             Hostname                       Group           Database                       Instance   Type     Status
---------- -------------------- ------------------------------ --------------- ------------------------------ ---------- -------- ----------
dtraflocod dtraflocorh589       dtraflocorh589-delphix         Oracle VDBs     FDM002                         FDM002     VDB      up
dtraflocod dtraflocorh255       dtraflocorh255-delphix         Oracle VDBs     FORDW DEV04                    FDW002     VDB      up
dtraflocod dtraflocorh255       dtraflocorh255-delphix         Oracle VDBs     FORDW DEV05                    FDW005     VDB      up
dtraflocod dtraflocorh381       dtraflocorh381-delphix         Oracle VDBs     FORDW Live Copy                FDW008     VDB      up
dtraflocod ttraflocoe02         ttraflocoe02n01                Oracle VDBs     FORDW Pre-Prod(EXA)            FDW0011    VDB      down
dtraflocod dtraflocorh299       dtraflocorh299-delphix         Oracle VDBs     FORDW QA05                     FDW003     VDB      up
dtraflocod dtraflocorh299       dtraflocorh299-delphix         Oracle VDBs     FORDW QA06                     FDW004     VDB      up
dtraflocod dtraflocorh255       dtraflocorh255-delphix         Oracle VDBs     FORDW QA07                     FDW006     VDB      up
dtraflocod dtraflocorh381       dtraflocorh381-delphix         Oracle VDBs     FORDW QA08                     FDW007     VDB      up
dtraflocod dtraflocorh381       dtraflocorh381-delphix         Oracle VDBs     FORDW UAT03                    FDW009     VDB      up
dtraflocod dtraflocorh299       dtraflocorh299-delphix         Oracle VDBs     FORDW UAT04                    FDW010     VDB      up
dtraflocod dtraflocorh1185      dtraflocorh1185-delphix        Oracle VDBs     Informatica MDM SIT02          INF013     VDB      up
dtraflocod dtraflocorh1185      dtraflocorh1185-delphix        Oracle VDBs     Informatica REP SIT02          INF014     VDB      up
dtraflocod dtraflocorh386       dtraflocorh386-delphix         Oracle VDBs     OMS LiveCopy                   OMS002     VDB      up
dtraflocod ttraflocoe02         10.62.78.33                    Oracle VDBs     OMS Pre-Production (EXA)       OMS0011    VDB      down
dtraflocod ttraflocoe02         10.62.78.33                    Oracle VDBs     SVNG Pre-Production (EXA)      SVG0011    VDB      down
dtraflocod dtraflocorh480       dtraflocorh480-delphix         Oracle VDBs     TAX_RULES_QA                   TXR003     VDB      up
dtraflocod dtraflocorh480       dtraflocorh480-delphix         Oracle VDBs     TAX_RULES_UAT                  TXR002     VDB      up
dtraflocod ttraflocoe02         10.62.78.33                    Oracle VDBs     Tax Rules Pre-Production (EXA) TXR001     VDB      down

Photo of Ankur Sharma

Ankur Sharma

  • 150 Points 100 badge 2x thumb
I also downloaded 2.3.7 and tried and it gave same error.

./dx_get_instance -d dtraflocodel03 -type dsource
Can't use string ("UNKNOWN") as an ARRAY ref while "strict refs" in use at script/dx_get_instance.pl line 126.

Photo of fMarcin Przepiorowski

fMarcin Przepiorowski, Employee

  • 880 Points 500 badge 2x thumb
Hi,

I'm sorry that it doesn't work for you.
Could you please run with -debug 3, zip an output directory and send to me ?

regards,
Marcin
Photo of Ankur Sharma

Ankur Sharma

  • 150 Points 100 badge 2x thumb
i have uploaded dubug command.txt on upload.delphix.com
(Edited)
Photo of Neal Stack

Neal Stack, Employee

  • 2,902 Points 2k badge 2x thumb
A dxtoolkit bug has been raised to address this issue:

https://github.com/delphix/dxtoolkit/issues/58
Photo of Ankur Sharma

Ankur Sharma

  • 150 Points 100 badge 2x thumb
thanks Neal.

Please keep me posted on progress