VMware Cloud Community
greenflash
Contributor
Contributor

Could not resolve the [FQDN] to hostname error with 6.7u2 converge tool

## Command being issued:

cmd /K vcsa-util converge --precheck-only --no-ssl-certificate-verification --verbose c:\users\btait2\Desktop\converge.json

## Errors in vcsa-converge-cli.log:

Standard:

vCSACliConvergeLogger - ERROR - Could not resolve the '[MY FQDN VC I want to CONVERGE onto]' to hostname.This issue may be observed due to temporary network problem too.

Verbose:

2019-09-23 14:22:03,836 - vCSACliConvergeLogger - DEBUG - Adding the following cli arguments to blackboard {'cli_arg_precheck_only': True, 'cli_arg_no_ssl_certificate_verification': True, 'cli_arg_backup_taken': False, 'cli_arg_log_dir': None, 'cli_arg_verify_template_only': False, 'cli_arg_template': ['c:\\users\\MYUSERID\\Desktop\\converge.json'], 'cli_arg_silent': False, 'cli_arg_skip_domain_handling': False, 'cli_arg_sub_command': 'converge', 'cli_arg_verbose': True, 'cli_arg_skip_reboot': False, 'cli_arg_terse': False, 'cli_arg_pause_on_warnings': False, 'cli_arg_template_help': False}

2019-09-23 14:22:03,842 - vCSACliConvergeLogger - INFO - Workflow log-dir C:\Users\MYUSERID\AppData\Local\Temp\4\vcsaCliInstaller-2019-09-23-14-22-5ivbtviw\workflow_1569248523793

2019-09-23 14:22:03,957 - vCSACliConvergeLogger - DEBUG - SyntaxValidationTask: Executing Template Syntax Validation task

2019-09-23 14:22:03,959 - vCSACliConvergeLogger - DEBUG -  [START] Start executing Task: To validate the syntax of the template. at 14:22:03

2019-09-23 14:22:03,988 - vCSACliConvergeLogger - DEBUG - Template syntax validation for template 'c:\users\MYUSERID\Desktop\converge.json' succeeded.

2019-09-23 14:22:04,006 - vCSACliConvergeLogger - DEBUG - Syntax validation for all templates succeeded.

2019-09-23 14:22:04,020 - vCSACliConvergeLogger - DEBUG -  [SUCCEEDED] Successfully executed Task 'SyntaxValidationTask: Executing Template Syntax Validation task' in TaskFlow 'template_validation' at 14:22:04

2019-09-23 14:22:04,213 - vCSACliConvergeLogger - DEBUG - VersionProcessingTask: Executing Template Version Processing task

2019-09-23 14:22:04,214 - vCSACliConvergeLogger - DEBUG -  [START] Start executing Task: To check the version of each template,  convert it to the latest template format, and save it to the Template Blackboard at 14:22:04

2019-09-23 14:22:04,249 - vCSACliConvergeLogger - DEBUG - Template version processing for template 'c:\users\MYUSERID\Desktop\converge.json' succeeded.

2019-09-23 14:22:04,267 - vCSACliConvergeLogger - DEBUG - Version processing for all templates succeeded.

2019-09-23 14:22:04,280 - vCSACliConvergeLogger - DEBUG -  [SUCCEEDED] Successfully executed Task 'VersionProcessingTask: Executing Template Version Processing task' in TaskFlow 'template_validation' at 14:22:04

2019-09-23 14:22:04,446 - vCSACliConvergeLogger - DEBUG - StructureValidationTask: Executing Template Structure Validation task

2019-09-23 14:22:04,447 - vCSACliConvergeLogger - DEBUG -  [START] Start executing Task: To validate the template structure against the rules specified by a corresponding template schema. at 14:22:04

2019-09-23 14:22:04,485 - vCSACliConvergeLogger - DEBUG - Checking section 'replication'

2019-09-23 14:22:04,486 - vCSACliConvergeLogger - DEBUG -     Checking subsection 'description'

2019-09-23 14:22:04,487 - vCSACliConvergeLogger - DEBUG -     Checking subsection 'partner'

2019-09-23 14:22:04,487 - vCSACliConvergeLogger - DEBUG - Checking section 'vcenter'

2019-09-23 14:22:04,488 - vCSACliConvergeLogger - DEBUG -     Checking subsection 'vc_appliance'

2019-09-23 14:22:04,489 - vCSACliConvergeLogger - DEBUG -         Key 'hostname' is valid.

2019-09-23 14:22:04,489 - vCSACliConvergeLogger - DEBUG -         Key 'password' is valid.

2019-09-23 14:22:04,490 - vCSACliConvergeLogger - DEBUG -         Key 'username' is valid.

2019-09-23 14:22:04,490 - vCSACliConvergeLogger - DEBUG -         Key 'root_password' is valid.

2019-09-23 14:22:04,491 - vCSACliConvergeLogger - DEBUG -     Checking subsection 'description'

2019-09-23 14:22:04,491 - vCSACliConvergeLogger - DEBUG -     Checking subsection 'managing_esxi_or_vc'

2019-09-23 14:22:04,492 - vCSACliConvergeLogger - DEBUG -         Key 'hostname' is valid.

2019-09-23 14:22:04,492 - vCSACliConvergeLogger - DEBUG -         Key 'password' is valid.

2019-09-23 14:22:04,493 - vCSACliConvergeLogger - DEBUG -         Key 'username' is valid.

2019-09-23 14:22:04,493 - vCSACliConvergeLogger - DEBUG -     Checking subsection 'ad_domain_info'

2019-09-23 14:22:04,493 - vCSACliConvergeLogger - DEBUG -         Key 'password' is valid.

2019-09-23 14:22:04,494 - vCSACliConvergeLogger - DEBUG -         Key 'domain_name' is valid.

2019-09-23 14:22:04,494 - vCSACliConvergeLogger - DEBUG -         Key 'username' is valid.

2019-09-23 14:22:04,495 - vCSACliConvergeLogger - DEBUG - Template structure validation for template 'c:\users\MYUSERID\Desktop\converge.json' succeeded.

2019-09-23 14:22:04,508 - vCSACliConvergeLogger - DEBUG - Structure validation for all templates succeeded.

2019-09-23 14:22:04,527 - vCSACliConvergeLogger - DEBUG -  [SUCCEEDED] Successfully executed Task 'StructureValidationTask: Executing Template Structure Validation task' in TaskFlow 'template_validation' at 14:22:04

2019-09-23 14:22:04,747 - vCSACliConvergeLogger - DEBUG - CLIOptionsValidationTask: Executing CLI optionsValidation task

2019-09-23 14:22:04,748 - vCSACliConvergeLogger - DEBUG - ====== [START] Start executing Task: To validate CLI options at 14:22:04 ======

2019-09-23 14:22:04,777 - vCSACliConvergeLogger - DEBUG - Command line arguments verified.

2019-09-23 14:22:04,792 - vCSACliConvergeLogger - DEBUG -  [SUCCEEDED] Successfully executed Task 'CLIOptionsValidationTask: Executing CLI optionsValidation task' in TaskFlow 'template_validation' at 14:22:04

2019-09-23 14:22:05,105 - vCSACliConvergeLogger - DEBUG - Determining template dependencies for operation CONVERGE

2019-09-23 14:22:05,106 - vCSACliConvergeLogger - DEBUG -

2019-09-23 14:22:05,385 - vCSACliConvergeLogger - DEBUG - Template for this deployment:

{ '__version': '2.11.0',

  'vcenter': { 'ad_domain_info': { 'domain_name': 'MYDOMAINNAME',

                                   'password': '******',

                                   'username': 'MYUSERID'},

               'managing_esxi_or_vc': { 'hostname': 'MYHOSTNAME',

                                        'password': '******',

                                        'username': 'administrator@MYOTHERDOMAINNAME'},

               'vc_appliance': { 'hostname': 'MYOTHERHOSTNAME',

                                 'password': '******',

                                 'root_password': '******',

                                 'username': 'administrator@MYOTHERDOMAINNAME'}}}

2019-09-23 14:22:05,389 - vCSACliConvergeLogger - DEBUG - Writing template as a file: C:\Users\MYUSERID\AppData\Local\Temp\4\vcsaCliInstaller-2019-09-23-14-22-5ivbtviw\workflow_1569248523793\converge\template.json

2019-09-23 14:22:05,519 - vCSACliConvergeLogger - DEBUG - workflow successfully constructed, it contains 1 taskflows ready to execute

2019-09-23 14:22:05,650 - vCSACliConvergeLogger - DEBUG - PrecheckVcTask: Running PrecheckVcTask

2019-09-23 14:22:05,651 - vCSACliConvergeLogger - DEBUG -  [START] Start executing Task: Runs the converge prechecks for vCenter at 14:22:05

2019-09-23 14:22:05,677 - vCSACliConvergeLogger - INFO - The certificate of server 'MYOTHERHOSTNAME' will not be verified because you have provided either the '--no-ssl-certificate-verification' or '--no-esx-ssl-verify' command parameter, which disables verification for all certificates. Remove this parameter from the command line if you want server certificates to be verified.

2019-09-23 14:22:05,679 - vCSACliConvergeLogger - DEBUG - Proceed with certificate thumbprint check...

2019-09-23 14:22:05,858 - vCSACliConvergeLogger - DEBUG - Cannot produce a normalized IP address from the given string: 'MYHOSTNAME'. If this string is an FQDN, this warning can be disregarded.

2019-09-23 14:22:06,750 - vCSACliConvergeLogger - ERROR - Could not resolve the 'MYHOSTNAME' to hostname.This issue may be observed due to temporary network problem too.

2019-09-23 14:22:06,752 - vCSACliConvergeLogger - INFO - ================ [FAILED] Task: PrecheckVcTask: Running PrecheckVcTask execution failed at 14:22:06 ================

2019-09-23 14:22:06,754 - vCSACliConvergeLogger - DEBUG - Task 'PrecheckVcTask: Running PrecheckVcTask' execution failed because [Could not resolve the 'MY FQDN VC I want to CONVERGE onto' to hostname.], possible resolution is [Refer to the log for details]

2019-09-23 14:22:06,756 - vCSACliConvergeLogger - INFO - ================================================================================

2019-09-23 14:22:06,946 - vCSACliConvergeLogger - ERROR - Error occurred. See logs for details.

2019-09-23 14:22:06,947 - vCSACliConvergeLogger - DEBUG - Exception message: com.vmware.vcsa.installer.converge.precheck: Could not resolve the 'vcsrv-at-test.is.ed.ac.uk' to hostname.

Trace:

2019-09-23 14:22:06,949 - vCSACliConvergeLogger - INFO - =================================== 14:22:06 ===================================

2019-09-23 14:22:06,950 - vCSACliConvergeLogger - INFO - Result and log file information...

2019-09-23 14:22:06,950 - vCSACliConvergeLogger - INFO - WorkFlow log directory: C:\Users\MYUSERID\AppData\Local\Temp\4\vcsaCliInstaller-2019-09-23-14-22-5ivbtviw\workflow_1569248523793

## Things I have tried in order to work-around or resolve the problem:

1. Forward and reverse resolution of above FQDN from convergence management VC, VC being converged and hypervisors work ok

2. Migrated both convergence management VC and VC being converged to different hypervisors

    - no change

3. Confirmed all usual services are running on VAMI

4. Used IP address instead of FQDN for both convergence management VC and VC being converged

    - "Cannot produce a normalized IP address" no longer on previous line of verbose log but other wise converge still fails with same ERROR

I'll be grateful for any productive assistance ..

0 Kudos
2 Replies
MFrymanCiber
Contributor
Contributor

I'm having the same problem.  Did all kinds of problem determination but DNS is working great for all 4 of my ESXi hosts, for the vcenter appliance, the PSC appliance, my workstation, our domain controllers, etc.  All of it.  So I can't tell where this is coming from really, or how to fix it.  Hopefully they figure this out soon.

Michael Fryman Solutions Architect Ciber, Inc. www.ciber.com
0 Kudos
IBAGEEK
Contributor
Contributor

I ran into this issue with 6.5U3. I worked with support and as crazy as it was, we were able to work around it by adding the VCenter IP and hostname to the host file on the device I was running the converge utility.

0 Kudos