ONTAP Discussions

Highlighted

9.4 upgrade request body must have

Hi,

Getting this error,  any body has any idea  ?

 

Untitled picture.png 

14 REPLIES 14
Highlighted

Re: 9.4 upgrade request body must have

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.

Highlighted

Re: 9.4 upgrade request body must have

NetApp

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?

Highlighted

Re: 9.4 upgrade request body must have

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

 

Untitled picture1.png

Highlighted

Re: 9.4 upgrade request body must have

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?

Highlighted

Re: 9.4 upgrade request body must have

There is no proxy,  I am accessing this straight from my desktop. The cdot is in ESX host.

Highlighted

Re: 9.4 upgrade request body must have

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.

 

 

 

View solution in original post

Highlighted

Re: 9.4 upgrade request body must have

If this issue comes up again for someone else, could you please post what you did to resolve it?

Highlighted

Re: 9.4 upgrade request body must have

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.

Highlighted

Re: 9.4 upgrade request body must have

NetApp
Hi Nilesh, Can you check if you have enough space to upload image? Check it in CLI diag mode, with the command below, file-uploads config show
Highlighted

Re: 9.4 upgrade request body must have

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?

Highlighted

Re: 9.4 upgrade request body must have

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

Highlighted

Re: 9.4 upgrade request body must have

Thank you very much, Alex.  Really appreciate that write up. Thanks again!

Highlighted

Re: 9.4 upgrade request body must have

NetApp

 

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  

Highlighted

Re: 9.4 upgrade request body must have

Thank you Alex Dawson,

 

set diagnostic; system services web file-uploads config modify -node * -size 4GB

 

Fixed my issue!

NetApp Insights To Action
All Community Forums