Skip to content

Requester pays with --mount with google-batch provider #309

@nkamitaki

Description

@nkamitaki

Thanks for developing such a useful tool for submitting jobs!

I think I have a similar issue as this one that was previously resolved, but as implemented for google-batch provider rather than google-cls-v2. Specifically, I am attempting to mount the same requester pays bucket referenced in that issue, but this appears to cause the job to fail fairly quickly after pulling images (judging by runtime) with no log output. Excluding the following line in the same dsub invocation runs and outputs a log until my script attempts to access the mounted bucket (generating an error from unbound variable as expected):

--mount CRAM_BUCKET=gs://fc-aou-datasets-controlled \

This dsub invocation with mounted requester pays bucket works successfully if I switch provider to google-cls-v2 and I'm able to mount other buckets successfully in google-batch, so I suspect this has to do with the requester pays characteristic. As the fix in that issue was resolved with an adjustment to google_v2_base.py (that google_cls_v2.py but not google_batch.py imports), I'm hopeful that a similar fix of passing user billing project somewhere in google_batch.py would work, but I am unfamiliar enough with the API to suggest any code.

Apologies for lack of additional log information - this is all I can think of to report as there doesn't seem to be more detail in either dstat (or gcloud batch jobs describe) to confirm this is the source of the problem.

Thanks!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions