What Can I Do If a File Fails to Be Uploaded to a Notebook Instance?
Symptom
- The file upload process is fast but unsuccessful.
- When a file is uploaded to a notebook instance, the uploading is consistently in progress on the GUI. When a file is uploaded through MoXing, an error occurred. When an OBS file is uploaded, no bucket is displayed, and the message "Obtaining data" is displayed.
- When you click to upload files on the JupyterLab page, "Failed to obtain data" is displayed.
Figure 1 OBS file upload
When you check the notebook log (usually notebook-<date>.log in /home/ma-user/log/), the error message List objects failed, obs_client resp: {'status' : 403, 'reason' : 'Forbidden' , 'errorCode' : 'AccessDenied' is displayed.
Possible Cause
The first symptom is because that the size of a file is limited when it is uploaded through the Huawei intranet.
The possible causes of other symptoms are as follows:
- OBS access is not authorized.
- You do not have the permission to access the OBS bucket or file.
- The OBS bucket has been deleted.
Solution
- Check agency authorization.
Go to the Global Configuration page and check whether you have the OBS access permission. If you do not, see Configuring Access Authorization (Global Configuration).
- Check whether you have the permission to access the OBS bucket.
Go to the OBS console, access the target bucket, and check if there is an error showing that you do not have the access permission.
- Go to the OBS console and check whether the OBS bucket exists.
Data Upload or Download FAQs
- How Do I Upload a File from a Notebook Instance to OBS or Download a File from OBS to a Notebook Instance?
- How Do I Upload Local Files to a Notebook Instance?
- How Do I Import Large Files to a Notebook Instance?
- Where Will the Data Be Uploaded to?
- How Do I Download Files from a Notebook Instance to a Local Computer?
- How Do I Copy Data from Development Environment Notebook A to Notebook B?
- What Can I Do If a File Fails to Be Uploaded to a Notebook Instance?
- Failed to View the Local Mount Point of a Dynamically Mounted OBS Parallel File System in JupyterLab of a Notebook Instance
Feedback
Was this page helpful?
Provide feedbackThank you very much for your feedback. We will continue working to improve the documentation.See the reply and handling status in My Cloud VOC.
For any further questions, feel free to contact us through the chatbot.
Chatbotmore