ONTAP Discussions

9.4 upgrade request body must have

himal123

Hi,

Getting this error,  any body has any idea  ?

 

Untitled picture.png 

23 REPLIES 23

Re: 9.4 upgrade request body must have

AlexDawson

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.

Re: 9.4 upgrade request body must have

qw
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?

Re: 9.4 upgrade request body must have

himal123

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

Re: 9.4 upgrade request body must have

AlexDawson

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?

Re: 9.4 upgrade request body must have

himal123

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

Re: 9.4 upgrade request body must have

himal123

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

Re: 9.4 upgrade request body must have

AlexDawson

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

Re: 9.4 upgrade request body must have

nileshm

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.

Re: 9.4 upgrade request body must have

qw
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

Re: 9.4 upgrade request body must have

JSmith6164

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?

Re: 9.4 upgrade request body must have

AlexDawson

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

Re: 9.4 upgrade request body must have

JSmith6164

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

Re: 9.4 upgrade request body must have

qw
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  

Re: 9.4 upgrade request body must have

JerseyJON

Thank you Alex Dawson,

 

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

 

Fixed my issue!

Re: 9.4 upgrade request body must have

DavidGonzalez

Thanks a lot for sharing, it works!

Earn Rewards for Your Review!
GPI Review Banner
All Community Forums
Public