VDT tool fails to run VC Lookup service check and returns a backtrace
search cancel

VDT tool fails to run VC Lookup service check and returns a backtrace

book

Article ID: 379696

calendar_today

Updated On:

Products

VMware vCenter Server

Issue/Introduction

While running VDT tool, an error may be seen as below -

      VC Lookup Service Check

 

            [FAIL]    Lookupservice Check
                        Traceback (most recent call last):
                          File "/root/vdt-v2.0.4-03_08_2024/lib/vdt_formatter.py", line 294, in run_check
                            check_output = self.run(check, self.username, self.password)
                          File "/root/vdt-v2.0.4-03_08_2024/lib/vdt_base.py", line 456, in run
                            return self.safe_execute(item, username, password)
                          File "/root/vdt-v2.0.4-03_08_2024/lib/vdt_base.py", line 415, in safe_execute
                            return self.execute_with_timeout(params, username, password)
                          File "/root/vdt-v2.0.4-03_08_2024/lib/vdt_base.py", line 260, in wrapper
                            result = func(*args, **kwargs)
                          File "/root/vdt-v2.0.4-03_08_2024/lib/vdt_base.py", line 357, in execute_with_timeout
                            return self.execute(*args, **kwargs)
                          File "/root/vdt-v2.0.4-03_08_2024/lib/vdt_base.py", line 387, in execute
                            return main_script()
                          File "/root/vdt-v2.0.4-03_08_2024/vcenter/vc_scripts/lsreport.py", line 169, in run_lscheck
                            ls_report = lsReport()
                          File "/root/vdt-v2.0.4-03_08_2024/vcenter/vc_scripts/lsreport.py", line 33, in __init__
                            lsJsonData = parser.parseData()
                          File "/root/vdt-v2.0.4-03_08_2024/vcenter/vc_lib/lstool_parse.py", line 329, in parseData
                            self._move_orphan_services()
                          File "/root/vdt-v2.0.4-03_08_2024/vcenter/vc_lib/lstool_parse.py", line 353, in _move_orphan_services
                            if "##NO_HOSTNAME##" in node:
                        TypeError: argument of type 'NoneType' is not iterable

Environment

VMware vCenter Server 7.0

Cause

This issue happens due to the dpxa service registration where the URL is host name.

This can be verified by checking service registrations as per KB -

URL will show VR FQDN instead of complete URL format like "http://__/__" due to which VDT treats it as malformed.

Resolution

Currently, there is no resolution.

Engineering is aware of the issue and is working on a fix.