VCSA VAMI Backup Failed With Error 'PNID is not resolvable to any IP on theexisting system'
search cancel

VCSA VAMI Backup Failed With Error 'PNID is not resolvable to any IP on theexisting system'

book

Article ID: 301527

calendar_today

Updated On:

Products

VMware vCenter Server

Issue/Introduction

Manual and scheduled backup from VAMI page fails returns error 'BackupManager encountered an exception'

Environment

vCenter Server Appliance

Cause

This is a DNS issue with VCSA.

Most likely seen on environment where 2 IPs are assigned to VCSA, PNID cannot be resolved to one of them.

 

/var/log/vmware/applmgmt/backup.log could have following snippets.

2022-08-18T07:28:12.482 [20220817-232659-19234570] [MainProcess:PID-] [Net::GetPNIDAddrInfo:Net.py:639] INFO: PNID '<DNS Server IP>' is resolved with addresses: ['<vCenter IP>']

2022-08-18T07:28:12.482 [20220817-232659-19234570] [MainProcess:PID-] [BackupManager::GenerateBackupMetadata:BackupManager.py:202] ERROR: PNID is not resolvable to any IP on theexisting system

2022-08-18T07:28:12.482 [20220817-232659-19234570] [MainProcess:PID-] [BackupManager::main:BackupManager.py:659] ERROR: BackupManager encountered an exception: name 'MetadataException' is not defined

2022-08-18T07:28:12.482 [20220817-232659-19234570] [MainProcess:PID-] [BackupManager::HandleBackupCleanup:BackupManager.py:466] INFO: Cleaning up the backup job.

Note: The preceding log excerpts are only examples. Date, time, and environmental variables may vary depending on your environment.

Resolution

1. There are 2 IPs assigned to VCSA :

          NIC: eth0 | IP: <vCenter IP1> ;NIC: eth1 | IP: <vCenter IP2>

2. Checked resolv.conf and found only one DNS server

          cat /run/systemd/resolve/resolv.conf

          nameserver 127.0.0.1

          nameserver <DNS Server IP>

          search vsphere.local

3. Log in to the vCenter Server Management Interface as root.

4. From the Network Setting page, edit DNS setting and set DNS Server manually.

5. Retry the Backup process.