f5devcentral / f5-automation-config-converter

Convert BIG-IP configs to AS3 and DO declarations
https://clouddocs.f5.com/products/extensions/f5-automation-config-converter/latest/
Apache License 2.0
35 stars 13 forks source link

Docker run doesnt work to generate JSON output file #94

Open Sathishkunisai opened 1 year ago

Sathishkunisai commented 1 year ago

Environment

Summary

A clear and concise description of what the bug is.


In V15 F5 box, ran below cmd to generate UCCS file
`
 tmsh save sys ucs ucs-bigiq-04022018.ucs 
`

Ran a docker command to load UCS and covert to JSON format...

$

2. Observe the following error message:
`
$ docker run  -v "$PWD":/app/data f5devcentral/f5-automation-config-converter:latest -o /data/output.json -u ucs-bigiq-04022018.ucs --summary
2022-12-09 21:35:11 ERROR undefined
/app/src/preConverter/extract.js:59
        throw new Error('Error extracting UCS');
              ^

Error: Error extracting UCS
    at /app/src/preConverter/extract.js:59:15
    at async Promise.all (index 0)
    at async main (/app/src/main.js:180:20)
bash-5.1.8 (01:35:11) m-c02zd2yvlvdq@s0r04i4:~/ucs-f5-json >
`

### Expected Behavior
A clear and concise description of what you expected to happen.

### Actual Behavior
A clear and concise description of what actually happens.
Please include any applicable error output.