JobPerparationTaskの間にファイル共有(ブロブストレージではない)をマウントしようとしています。私のノードOSはUbuntu 16.04です。これを行うにはAzureバッチJobPreparationTaskが "UserError"で失敗する
、私は次のことをやっている:
job_user = batchmodels.AutoUserSpecification(
scope=batchmodels.AutoUserScope.pool,
elevation_level=batchmodels.ElevationLevel.admin)
start_task = batch.models.JobPreparationTask(command_line=start_commands, user_identity=batchmodels.UserIdentity(auto_user=job_user))
end_task = batch.models.JobReleaseTask(command_line=end_commands,user_identity=batchmodels.UserIdentity(auto_user=job_user))
job = batch.models.JobAddParameter(
job_id,
batch.models.PoolInformation(pool_id=pool_id),job_preparation_task=start_task, job_release_task=end_task)
マイstart_commands
とend_commands
は罰金ですが、ユーザー権限に何か問題があります...
を私は中に何も出力を取得していませんstderr.txt
またはstdout.txt
ファイルにあります。 ログは何も表示されません(どこにありますか?)。私が見つけることができるのは、これを示すメッセージです:
Exit code
1
Retry count
0
Failure info
Category
UserError
Code
FailureExitCode
Message
The task exited with an exit code representing a failure
Details
Message: The task exited with an exit code representing a failure
非常に詳細なエラーメッセージ!
とにかく、AutoUserScope.oool
をAutoUserScope.task
に変更しようとしましたが、変更はありません。
誰もが考えている?