Skip to main content
NetApp Knowledge Base

Update of the mnode-support-util fails with invalid syntax

Views:
77
Visibility:
Public
Votes:
0
Category:
netapp-hci
Specialty:
hci
Last Updated:

Applies to

  • NetApp HCI
  • Element Management Node (mNode) 12.0 and above
  • mnode-support-util script

Issue

Updating the mnode-support-util script fails with the error:
 
SF-TEST /sf/etc/mnode/mnode-archive/mnode-support-util-main # ./mnode-support-util
Traceback (most recent call last):
File "/usr/lib64/python3.5/runpy.py", line 185, in _run_module_as_main
mod_name, mod_spec, code = _get_main_module_details(_Error)
File "/usr/lib64/python3.5/runpy.py", line 219, in _get_main_module_details
return _get_module_details(main_name)
File "/usr/lib64/python3.5/runpy.py", line 128, in _get_module_details
spec = importlib.util.find_spec(mod_name)
File "/usr/lib64/python3.5/importlib/util.py", line 91, in find_spec
return _find_spec(fullname, None)
File "<frozen importlib._bootstrap>", line 896, in _find_spec
File "<frozen importlib._bootstrap_external>", line 1171, in find_spec
File "<frozen importlib._bootstrap_external>", line 1147, in _get_spec
File "<frozen importlib._bootstrap_external>", line 1128, in _legacy_get_spec
File "<frozen importlib._bootstrap>", line 444, in spec_from_loader
File "<frozen importlib._bootstrap_external>", line 565, in spec_from_file_location
File "./mnode-support-util/__main__.py", line 84
logmsg.info(f'+ mNode ip: {repo.about["mnode_host_ip"]}\n+ MS version: {repo.about["mnode_bundle_version"]}\n+ Authorative cluster: {repo.auth_mvip}\n+ mnode-support-util version: {repo.util_version}\n\n')
^
SyntaxError: invalid syntax

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.