Docker image creation is not working #3
Description
This issue is for a: (mark with an x
)
- [x ] bug report -> please search issues before submitting
- [ ] feature request
- [ ] documentation issue or request
- [ ] regression (a behavior that used to work and stopped in a new release)
Minimal steps to reproduce
follow the tutorial, configure the workspace and try to execute deploy-onnx-yolo-model.ipynb, when creating the docker image it returns an error.
Any log messages given by the failure
Creating image
Running......
Failed
ERROR - Image creation polling reached non-successful terminal state, current state: Failed
Error response from server:
StatusCode: 400
Message: Docker image build failed.
in the build.log it seems that the docker is ok and it is trying as last step to download the model to save it in the /var/azureml-app/azureml-models/tiny_yolov2/2 folder, and it gives an error related to the tar file
HTTP request sent, awaiting response... �[0m�[91m200 OK
Length: 0 [application/octet-stream] Saving to: ‘/tmp/temp.tar.gz’ 0K 0.00 =0s
2019-10-21 10:57:09 (0.00 B/s) - ‘/tmp/temp.tar.gz’ saved [0/0]
�[0m�[91m
gzip
2019-10-21 10:57:09 (0.00 B/s) - ‘/tmp/temp.tar.gz’ saved [0/0]
�[0m�[91m
gzip: stdin: unexpected end of file
�[0m�[91mtar: Child returned status 1
tar: Error is not recoverable: exiting now
�[0mThe command '/bin/sh -c mkdir -p '/var/azureml-app/azureml-models/tiny_yolov2/2'
var/azureml-util/download_asset.sh 'https://xxxxxxxx.blob.core.windows.net/azureml/LocalUpload/191021T104907-0973f5d2/tiny_yolov2.tar.gz?sv=2018-11-09&sr=b&sig=r573kUFXmi9cSKpUFV24CCeeI%2FSs4Z0NoEy2XHwoRaY%3D&st=2019-10-21T10%3A46%3A30Z&se=2019-10-21T18%3A56%3A30Z&sp=r' /tmp/temp.tar.gz && tar xzf /tmp/temp.tar.gz -C '/var/azureml-app/azureml-models/tiny_yolov2/2' && rm -f /tmp/temp.tar.gz' returned a non-zero code: 2
Expected/desired behavior
docker image created
OS and Version?
Azure ML Workspace and Azure notebooks, also tested on premises