sfupgradecheck failed : method GetAPIVersion name xInternalError code 500
适用于
- NetApp Element 软件
- NetApp SolidFire
- NetApp HCI
问题
sfupgradecheck
返回错误:sfupgradecheck failed: method GetAPIVersion name xInternalError code 500
Curl
返回值
sfadmin # curl -k -u <USER>:'<PASSWORD>' -d '{"params": {}, "method": "GetAPIVersion", "id":1}' https://<MIP>:442/upgradejson-rpc/5.0
{"id": 1, "error": {"message": "
: [Errno 13] Permission denied: '/etc/solidfire.json', Traceback (most recent call last):\n File \"/sf/bin/sfinstalld/healthtools/request.py\", line 82, in process_request\n resp = func(params)\n File \"/sf/bin/sfinstalld/healthtools/sfinstalld_api.py\", line 149, in GetAPIVersion\n sfapi = SfApi(self.si.mvip, user, password)\n File \"/sf/bin/sfinstalld/healthtools/system_info.py\", line 106, in mvip\n self._get_zk_info()\n File \"/sf/bin/sfinstalld/healthtools/system_info.py\", line 139, in _get_zk_info\n with self.ZKWrap(self.ensemble[0]) as zk_handle:\n File \"/sf/bin/sfinstalld/healthtools/system_info.py\", line 112, in ensemble\n self._read_sf_json()\n File \"/sf/bin/sfinstalld/healthtools/system_info.py\", line 157, in _read_sf_json\n with open('/etc/solidfire.json') as fp:\nIOError: [Errno 13] Permission denied: '/etc/solidfire.json'\n", "code": 500, "name": "xInternalError"}}
- SSH 启动屏幕显示:
ERROR opening and loading /etc/solidfire.json