Azure / Azure/cyclecloud-lsf

Custom script can fail in several ways - too hard to disambiguate for user

Open
#26 0 comments 0 reactions 1 assignee Claimed by @mvrequa View on GitHub
Dominant language
HTML
Stars
10
Forks
15
PR merge metrics
No merged PRs in 30d

Description

curl -L command in the custom script can fail if:
1. resource doesn't exist
2. authentication invalid

1:
ResourceNotFoundThe specified resource does not exist.
RequestId:e5436447-901e-0047-087d-ee38af000000
Time:2020-02-28T21:22:02.1247028Z

Status: Error [Software Configuration] (retrying)
Start Time: 2020-02-18T16:06:02.190Z

Description: Failed to execute cluster-init script '/mnt/cluster-init/lsf/execute/scripts/02-run-custom-script-uri.sh' in project 'lsf' (return code: 2)

Detail:
Script output:
running https://storage4lge.blob.core.windows.net/cyclecloud/projects/lsf/3.0.3/default/cluster-init/files/user_data-full.sh...

Try to add sensible error handling in this area that decodes what the issue is.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.