Backup delle macchine virtuali non riusciti con errori di accesso a vCenter
Summary: I backup hanno esito negativo quando si utilizzano regole o tag.
Symptoms
I backup delle VM che utilizzano regole o tag hanno esito negativo.
Backup regolari completati - selezione tramite policy
I registri mostrano il seguente errore:
Action backup vmware-vproxy 'backup' has initialized as 'vproxysave job' with job id 224276 libCURL SSL support is Enabled. Inventory session status returned with a failure. Error: 'Failed to load inventory from 'VCenter_server.FQN.com': ServerFaultCode: Cannot complete login due to an incorrect user name or password.'.
E:
NWSERVERNAME nsrdisp_nwbg NSR critical Inventory session status returned with a failure. Error: 'Failed to load inventory from 'VCENTER_NAME': ServerFaultCode: Cannot complete login due to an incorrect user name or password.'. lNWSERVERNAME nsrdisp_nwbg NSR notice Reading the XML from RAP without running nsrvim again
Cause
L'utente, la password o entrambi sono stati modificati per il backup delle macchine virtuali.
nsrvisd usa la password.
La modifica non è mai stata riflessa nel processo di inventario nsrvisd.
Esaminare i registri in:/nsr/vproxy/logs/nsrvisd
Oppure/opt/nsr/vproxy/logs/nsrvisd
Il registro riflette l'utente precedente: la password deve essere crittografata.
Resource Definition: {"Config":{"SessionId":"92-23993-9966cdbbd1","LogTag":"@(#) Build number: 41","LogLevel":"INFO","IdleTimeout":0,"AcceptedLanguage":"","VimServer":{"HostName":"VCENTER_SERVER","TcpPort":443,"UserName":"administrator@vsphere.local","UserPassword":"********","ThumbPrint":"","HypervisorMode":"vSphere"},"RefreshInventory":10},"Actions":{"ChangeSession":"/api/v1/InventorySessions/92fba-7a3a-48eb-84-e706cdbbd1","DeleteSession":"/api/v1/InventorySessions/92fbeef3a-48eb-84a6-70736cdbbd1","CancelActivity":"/api/v1/InventorySessions/92fbeefa-7a3a-48eb-84a6-e70736cdbbd1/activity","GetSession":"/api/v1/InventorySessions/92fbe
Resolution
Si tratta di un problema, è in corso un'indagine Dell Engineering.
La soluzione alternativa consiste nel cancellare il file di stato: InventorySessions.gob
Il file di stato può trovarsi in./nsr/vproxy/logs/nsrvisd/InventorySessions.gob
OPPURE/opt/nsr/vproxy/logs/nsrvisd/InventorySessions.gob
Rinominare InventorySessions.gob.mv InventorySessions.gob InventorySessions.gob_old
Arrestare nsrvisd: usare kill.
ps -eaf | grep nsrvisd kill <pid>
NSRVISD viene riavviato.
Verificare che sia stato riavviato:
ps -eaf | grep nsrvisd