メインコンテンツへスキップ

System Managerを使用してONTAPのバージョンをアップグレードするとONTAPイメージのアップロードが失敗する

Views:
113
Visibility:
Public
Votes:
0
Category:
system-manager<a>2010018128</a>
Specialty:
core
Last Updated:

環境

  • ONTAP 9.7P8
  • ONTAP 9.7P23
  • NetApp ONTAP System Manager

問題

  • System ManagerからローカルのソフトウェアイメージをアップロードしてONTAP 9.7P8から9.7P23にクラスタをアップグレードしようとすると、イメージのアップロードが失敗して次のエラーメッセージが表示されます。

System Managerで:

The request body must have content type multipart/form-data with a field named "file" containing the file to upload.

EMSログ:

Tue Apr 3019:01:50 +0900 [node01: notifyd: sysmgr.upload.no.form:error]: Failed to upload a file because a form field named "file" was not found in the HTTP request, or the Content-Type HTTP header is not "multipart/form-data".

  • /mroot/etc/upload ディレクトリのサイズは4GBで、このフォルダには他のファイルがありません。9.7P23イメージファイル(2.33GB)に対応できる必要があります。

cluster::*> system node systemshell -node * -command df -h /mroot/etc/upload

Node: node01

Filesystem    Size    Used   Avail Capacity  Mounted on

/dev/md5      4.2G     12K   3.9G     0%    /mroot/etc/www/webjail/php/tmp/upload

Node: node02

Filesystem    Size    Used   Avail Capacity  Mounted on

/dev/md5      4.2G     12K   3.9G     0%    /mroot/etc/www/webjail/php/tmp/upload

  • デバッグを有効にしてPHPログを収集するSystem Managerで、 イメージファイルがPHPアップロードの上限である8MBを超えているというエラーが表示されます。

Tue Apr 30 2024 19:01:50 +09:00 [kern_php:error:41475] PHP Warning: POST Content-Length of 2502680727 bytes exceeds the limit of 8388608 bytes in Unknown on line 0

Tue Apr 30 2024 19:01:50 +09:00 [kern_php:error:41475] Error: The request body must have content type multipart/form-data with a field named "file" containing the file to upload.

  • の値を確認します post_max_size。 System Managerが通信するクラスタ管理LIFのノード1の値はわずか8MBです。

cluster::*> systemshell -node * -command "grep post_max_size /var/etc/php.ini"

Node: node01

post_max_size = 8M      ; Jail setup script will change to 1G for non-vsim platforms

Node: node02

post_max_size = 4096M

 

Sign in to view the entire content of this KB article.

New to NetApp?

Learn more about our award-winning Support

NetApp provides no representations or warranties regarding the accuracy or reliability or serviceability of any information or recommendations provided in this publication or with respect to any results that may be obtained by the use of the information or observance of any recommendations provided herein. The information in this document is distributed AS IS and the use of this information or the implementation of any recommendations or techniques herein is a customer's responsibility and depends on the customer's ability to evaluate and integrate them into the customer's operational environment. This document and the information contained herein may be used solely in connection with the NetApp products discussed in this document.