-
Type: Bug
-
Resolution: Fixed
-
Priority: Major
-
Affects Version/s: master
-
Component/s: pegasus-kickstart
-
None
it seems yaml record generated by kickstart is malformed when they are quotes in an argument value. for one of our user's workflow kickstart generated the following snippet, that is breaking the yaml parsers
argument_vector:
- "/home/scitech/shared-data/sample-geoedf-wf/mcd15-viz.yml"
- "1"
- "Input"
- "NASAInput"
- "/home/scitech/shared-data/sample-geoedf-wf/1600793629/stage-1-Input.yml"
- "/data/1600793629"
- "/home/scitech/shared-data/sample-geoedf-wf/1600793629"
- "None"
- "None"
- "None"
- "
{"password": "xxxxx"}
"
- "None"
- "condorpool"
The above is invalid yaml because of the quotes in the - "
{"password": "NASAservice123"}"
instead it should have been
argument_vector:
- "/home/scitech/shared-data/sample-geoedf-wf/mcd15-viz.yml"
- "1"
- "Input"
- "NASAInput"
- "/home/scitech/shared-data/sample-geoedf-wf/1600793629/stage-1-Input.yml"
- "/data/1600793629"
- "/home/scitech/shared-data/sample-geoedf-wf/1600793629"
- "None"
- "None"
- "None"
- "
{\"password\": \"xxxxx\"}
"
- "None"
- "condorpool"
am attaching the kickstart output and also the planner generated invocation where the strings were escaped correctly