Closed yihming closed 3 years ago
What is your caper version (check with caper -v
)?
I tried to replicate the error with the latest Caper 1.6.3 but got different one. It passed the JSON parsing error.
2021-07-06 15:03:51,465 INFO - Reference disks feature for PAPIv2 backend is not configured.
2021-07-06 15:03:51,487 WARN - Unrecognized configuration key(s) for gcp: localization-attempts
2021-07-06 15:03:51,488 INFO - Reference disks feature for gcp backend is not configured.
2021-07-06 15:03:51,507 ERROR - Failed to instantiate Cromwell System. Shutting down Cromwell.
common.exception.AggregatedException: :
null
Google Pipelines API configuration is not valid: Errors:
`google` configuration stanza does not contain an auth named 'service-account'. Known auth names: application-default
`google` configuration stanza does not contain an auth named 'service-account'. Known auth names: application-default
at common.util.TryUtil$.sequenceIterable(TryUtil.scala:29)
at common.util.TryUtil$.sequenceMap(TryUtil.scala:47)
at cromwell.engine.backend.CromwellBackends.<init>(CromwellBackends.scala:14)
at cromwell.engine.backend.CromwellBackends$.initBackends(CromwellBackends.scala:42)
at cromwell.server.CromwellSystem.$init$(CromwellSystem.scala:68)
Hi @leepc12 ,
I was able to figure out where the error is from. When Caper parses my conf file, for the following line
slow-job-warning-time: 24 hours
it rewrites to
"slow-job-warning-time": relativedelta(days=+1)
in HOCONConverter.to_json(c)
, which is Line 147 of hocon_string.py
. Therefore, this causes the error.
After modifying by adding quote:
slow-job-warning-time: "24 hours"
the error goes away.
Not sure if this needs to be fixed, because Cromwell could process this syntax, while it's always good to add quote to string values with whitespaces.
To Whom It May Concern,
I'm trying to run
caper server
with a Cromwell conf file I wrote by myself with the following command on a GCP instance:However, it gives the following error:
Is it because my specification in
gcp.conf
is incorrect? But I was able to directly run Cromwell with it in the same instance:Could you please give me a hand on how to properly fit it into Caper? I've attached my
gcp.conf
right below. Thanks!