Hi,
Getting this error, any body has any idea ?
I was able to upgrade, thanks all
sim94::> cluster image show-update-progress
Estimated Elapsed
Update Phase Status Duration Duration
-------------------- ----------------- --------------- ---------------
Pre-update checks completed 00:10:00 00:00:13
Data ONTAP updates completed 00:46:00 00:10:36
Post-update checks completed 00:10:00 00:00:03
3 entries were displayed.
Updated nodes: sim94-01.
sim94::*> system node image show
Is Is Install
Node Image Default Current Version Date
-------- ------- ------- ------- ------------------------- -------------------
sim94-01
image1 false false 9.4 -
image2 true true 9.4P1 9/12/2018 17:41:30
2 entries were displayed.
Hi there,
It looks like you're trying to upload a new image to the cluster? What web browser are you using and what extensions are present for it on the system?
Try a different browser would be my first suggestion. Potentially if it is the simulator, check how full aggr0 and the vol0 are on it - there may not be enough space on them.
Can you give me more details to find the root cause,
a) Did you try uploading the image using Local Client button?
b) Which version are you trying to upgrade?
c) Could you provide the browser name and its version?
thanks for all help. Here is the screen clip of all the questions
I think, we need to change the image file name ????
I am using the chrome, vol0 has plenty of space
Those image names seem fine, as does the Chrome version. What extensions do you have installed, and are you accessing this system through a proxy?
There is no proxy, I am accessing this straight from my desktop. The cdot is in ESX host.
If this issue comes up again for someone else, could you please post what you did to resolve it?
I am hitting the same issue. Can you please help on the resolution. I tried this with different browsers. Changed the filename and placed the file on C drive directly.
Hello,
During an attempt to upgrade from 9.6P6 to 9.7P1 via system manager we recently hit the same error "the request body must have conent type multipart/form-data with field named "file"" on a client install.
What was the workaround to get the image uploaded successfully?
For 9.6 to 9.7, issue is caused by BURT 1223866
The default staging directory size for ONTAP software images on each node's root volume in ONTAP 9.6 and earlier is set to 2GB. The ONTAP 9.7 image is greater than 2GB. When attempting to upgrade a cluster to ONTAP 9.7 with a local software image upload from System Manager, the image upload fails with the following error message: Failed to add the software image to the cluster. The request body must have content type multipart/form-data with a field named "file" containing the file to upload.
Resize the default staging directory size for ONTAP software images to 4GB on all the nodes in the cluster. The staging directory uses space taken from the root volume. Therefore, the root volume size shrinks due to the resize operation. Ensure that there is at least 10GB of space available in the root volume before attempting the resize operation. Use the "volume show -volume -fields available" command to monitor the available space in the root volume. Use the following (privilege: diagnostic) command to resize the staging directory to 4GB before uploading the software image:
::> set diagnostic; system services web file-uploads config modify -node * -size 4GB
The command returns a job ID you can use to track the status of the operation. The value "*" for "node" field specifies all nodes in the cluster. Example:
::> set diagnostic; system services web file-uploads config modify -node * -size 4GB ::> job show -id
Thank you very much, Alex. Really appreciate that write up. Thanks again!
One of the reason for this error is that the new ONTAP image does not have enough space, u either have to delete old images or increase the size of image holding space.
I would highly recommend you to go through the link below,
https://kb.netapp.com/app/answers/answer_view/a_id/1103584/loc/en_US#__highlight
Thank you Alex Dawson,
set diagnostic; system services web file-uploads config modify -node * -size 4GB
Fixed my issue!
Thanks a lot for sharing, it works!
Just adding here new link for the KB:
https://kb.netapp.com/Advice_and_Troubleshooting/Data_Storage_Software/ONTAP_OS/Uploading_a_local_ONTAP_image_to_ONTAP_System_Manager_fails_mentioning_multipartform-data
I was facing the same issue with failing to upload through the GUI both errors; first:
' Failed to add the software image to the cluster. The request body must have content type multipart/form-data with a field named "file '
Then:
"The operation failed because the information needed from the cluster to perform the operation could not be retrieved."
In the end, I believe my problem was a cluster LIF not on the home port. It succeeded after that.
Its a known issue, Please find public report below ..
https://mysupport.netapp.com/site/bugs-online/product/ONTAP/BURT/1223866