Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error - Missing or mis-indented '}' for line: ' order-info "{' - appears related to cert-order-manager #90

Open
nwehrman opened this issue Aug 3, 2022 · 2 comments
Assignees
Labels
bug Something isn't working

Comments

@nwehrman
Copy link

nwehrman commented Aug 3, 2022

Environment

  • ACC Version: Latest 1.22.0
  • AS3 Version: 3.36.1
  • BIG-IP Version: 15.1.6

Summary

A clear and concise description of what the bug is.
Please also include information about the reproducibility and the severity/impact of the issue.

Steps To Reproduce

Steps to reproduce the behavior:

  1. Place this code inside bigip.conf

sys crypto cert-order-manager /Common/Cert_Manager_test {
additional-headers customerUri:test.com
authority comodo
base-url https://cert-manager.com/
ca-cert /Common/ca-bundle.crt
internal-proxy /Common/www.test.com
login-name nate
login-password $M$wx$bs7xF0C95wyBN6VNT326MA==
order-info "{
orgId 1
certType 1
serverType -1
}"
validity-days 365
}

generate a ucs
run that ucs through acc
Error is returned:
nate@ldap:/var/tmp$ sudo docker run --rm -v "$PWD":/app/data f5devcentral/f5-automation-config-converter -o bgp_config.json -u data/bgp_test.ucs
/app/src/engines/parser.js:58
throw new Error(Missing or mis-indented '}' for line: '${arr[i]}');
^

Error: Error parsing input file. Please open an issue at https://github.com/f5devcentral/f5-automation-config-converter/issues and include the following error:
Missing or mis-indented '}' for line: ' order-info "{'
at orchestrate (/app/src/engines/parser.js:58:31)
at /app/src/engines/parser.js:268:65
at Array.map ()
at /app/src/engines/parser.js:268:52
at Array.forEach ()
at module.exports (/app/src/engines/parser.js:197:28)
at mainRunner (/app/src/main.js:98:18)
at main (/app/src/main.js:187:30)
at processTicksAndRejections (node:internal/process/task_queues:96:5)




### Expected Behavior
No error

### Actual Behavior
ACC fails to complete
@nwehrman nwehrman added the bug Something isn't working label Aug 3, 2022
@mdditt2000
Copy link

Afternoon @nwehrman Please can you send/point me to your bgp_test.ucs file. Reach out to me at [email protected]

@mdditt2000 mdditt2000 self-assigned this Aug 3, 2022
@mdditt2000
Copy link

Created CHARON-729 for PM tracking

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants