Upgrade evaluation tool failing in VMware NSX-T Data Center 3.2.1
search cancel

Upgrade evaluation tool failing in VMware NSX-T Data Center 3.2.1

book

Article ID: 377124

calendar_today

Updated On:

Products

VMware NSX

Issue/Introduction

  • The VMware NSX-T Data Center 3.2.1 upgrade dry run tool fails with the below output:
    Are you sure you want to continue connecting (yes/no)? yes

    (1/11) Checking ssh connectivity to the MP node ##.##.##.## with admin and root user...
    (2/11) Creating a temporary folder on MP ##.##.##.##
    (3/11) Copy Corfu data to the temporary folder on MP ##.##.##.##
    (4/11) Copy nsx_issue file to the temporary folder on MP ##.##.##.##
    (5/11) Create tar of the temporary folder on MP ##.##.##.##
    (6/11) Delete the temporary folder on MP ##.##.##.##
    (7/11) Fetching tar containing Corfu data
    (8/11) Downloaded corfu tgz file of size 57 MB
    (9/11) Delete tar file on MP ##.##.##.##
    (10/11) Loading the fetched Corfu data
    cp: cannot stat '/config/corfu': No such file or directory

     

  • Logs from the dry run tool logs the below is observed:

    nsx-upgrade-precheck NSX 21309 - [nsx@6876 comp="nsx-manager" subcomp="node-mgmt" username="root" level="ERROR" errorCode="NOD110"] Unable to retrieve api service configuration: status HTTPStatus.SERVICE_UNAVAILABLE#012NoneType: None

    nsx-upgrade-precheck NSX 21309 - [nsx@6876 comp="nsx-manager" subcomp="node-mgmt" username="root" level="ERROR" errorCode="NOD101"] Traceback (most recent call last):#012  File "/opt/vmware/nsx-node-api/bin/python/management_api/napi/task_manager.py", line 210, in _call_handler#012    response = self._handler(self._request)#012  File "/opt/vmware/nsx-node-api/bin/python/management_api/napi/root/node/services/manager/__self__.py", line125, in __call__#012    properties = _get_service_properties(req)#012  File "/opt/vmware/nsx-node-api/bin/python/management_api/napi/root/node/services/manager/__self__.py", line 96, in _get_service_properties#012    _LOG4J_CONF, _LOG4J_DEFAULT_CONF)#012  File "/opt/vmware/nsx-node-api/bin/python/management_api/napi/root/node/services/utils.py", line 476, in get_log4j_logging_levels#012    parse_log4j_conf(log4j_conf_path)#012  File "/opt/vmware/nsx-node-api/bin/python/management_api/napi/root/node/services/utils.py", line 495, in parse_log4j_conf#012    tree = ET.parse(log4j_conf_path)#012  File "/usr/lib/python3.6/xml/etree/ElementTree.py", line 1196, in parse#012    tree.parse(source, parser)#012  File "/usr/lib/python3.6/xml/etree/ElementTree.py", line 586, in parse#012    source = open(source, "rb")#012FileNotFoundError: [Errno 2] No such file or directory: '/opt/vmware/proton-tomcat/conf/log4j2.xml'

Environment

VMware NSX-T Data Center 3.2.1

Cause

This issue can occur if credentials are incorrectly configured in the dry run tool.

Resolution

From VMware NSX-T Data Center 3.2.2 the VM based dry run tool is deprecated, upgrading to a later version would avoid this issue.

 

Workaround

  • To reattempt running the dry run tool, a new instance of the VM needs to be deployed
  • Ensure that the credentials for the NSX Manager are correct. 

Additional Information