vcf@sddc [ ~ ]$ lookup_passwords
Password lookup operation requires ADMIN user credentials. Please refer VMware Cloud Foundation Administration Guide for setting up ADMIN user.
Supported entity types: ESXI VCENTER PSC NSX MANAGER NSX_CONTROLLER NSXT_MANAGER
NSX ALB NSXT EDGE VRSLCM VRLI VROPS VRA WSA BACKUP VXRAIL MANAGER AD
Enter an entity type from above list: VCENTER
Enter page number (optional) :
Enter page size (optional, default=50) :
Enter Username: admin@local
Enter Password:
Error occurred during token creation step!
[YYYY-MM-DD HH:MM:SS] ERROR [################] [services/wrappers/requestPromiseWrapper. js, http-get-login, null:53] ####. request Request failed with status code 404 ("code": "ERR_BAD_REQUEST", "config": {"adapter": ["xhr", "http"], "env": { }, "headers": {"Accept": "application/json, text/plain, */*", "Accept-Encoding": "gzip, compress, deflate, br", "Content-Type": "application/json", "User-Agent": "####/1.6.2", "X-B3-SpanId": "1", "X-B3-TraceId": "################"}, "maxBodyLength" :- 1, "maxContentLength" :- 1, "method": "get", "timeout": 0, "transformRequest": [null], "transformResponse": [null], "transitional": {"clarifyTimeoutError": false, "forcedJSONParsing":true, "silentJSONParsing": true}, "url": "http://127.0.0.1/vl/identity-broker/sddc-manager-oidc", "xsrfCookieName": "XSRF-TOKEN", "xsrfHeaderName": "X-####################-TOKEN"} , "id": "########-####-####-####-###########","name":"#####Error", "request": {"_closed": false, "_contentLength": 0, "_defaultKeepAlive": true, " ended": true, "_events": {} , "_eventsCount": 7," hasBody": true, "_header": "GET /vl/identity-broker/sddc-manager-oidc HTTP/1.1\r\nAccept: application/json, text/plain, */*\r\nContent-Type: application/json\r\nX-B3-TraceId: ################\r\nX-B3-SpanId: ################\r\nUser-Agent: ####/1. 6.2\r\nAccept-Encoding: gzip, compress, deflate, br\r\nHost: 127.0.0.1\r\nConnection: close\r\n\r\n", "_headerSent":true, "_keepAliveTimeout": 0, "_last": true, "_redirectable": {"_currentRequest": "[Circular] ", "_currentUrl": "http://127.0.0.1/vl/identity-broker/sddc-manager-oidc", " ended": true, "_ending": true, "_events": { } , "_eventsCount": 3, "_options": {"agents": { }, "beforeRedirects": { }, "headers": {"Accept": "application/json,text/plain, */*", "Accept-Encoding": "gzip, compress, deflate, br", "Content-Type": "application/json", "User-Agent": "####/1.6.2", "X-B3-SpanId": "################", "X-B3-T
[YYYY-MM-DD HH:MM:SS] VERBOSE [e5ed4ab990ee4ea5] [services/pluginRegistration. js, init, isOperationsManagerUp: 32] Failed to call /operationsmanager/about Requet failed with status code 502 {"body":"<html>\r\n<head><title>502 Bad Gateway</title></head>\r\n<body>\r\n<center><h1>502 Bad Gateway</hl></center>\r\n<hr><center>nginx</center>\r\n</body>\r\n</html>\r\n", "code": "ERR_BAD_RESPONSE", "stack": {"code": "ERR_BAD_RESPONSE", "config": {"adapter": ["xhr", "http"], "env": { } , "headers": {"Accept":"application/json, text/plain, */*", "Accept-Encoding":"gzip, compress, deflate, br", "User-Agent": "####/1.6.2", "X-B3-SpanId": "##############", "X-B3-TraceId": "##############"}, "maxBodyLength" :- 1, "maxContentLength" :- 1, "method": "get", "timeout": 0, "transformRequest": [null], "transformResponse": [null], "transitional": {"clarifyTimeoutError":false, "forcedJSONParsing":true, "silentJSONParsing": true}, "url": "http://127. 0.0.1/operationsmanager/about", "xsrfCookieName": "XSRF-TOKEN", "xsrfHeaderName": "X-XSRF-TOKEN"}, "message": "Request failed with status code 502", "name": "Error", "status":502}, "statusCode": 502}####
[YYYY-MM-DD HH:MM:SS] VERBOSE [################] [services/pluginRegistration. js, init, waitForOperationsManager: 53] Operations Manager is not accessible, retry after 10000 milliseconds. Current timer 10000, Timeout 300000
[YYYY-MM-DD HH:MM:SS] VERBOSE [################] [services/util.js, http-get-about, logRequest : 275] Incoming request {"id":"########-####-####-####-###########", "method": "GET", "url": "/sddc-manager-ui-app/about"}
[YYYY-MM-DD HH:MM:SS] DEBUG [################]or requesting api: Encountered error requesting \"http://127.0.0.1/vl/hosts\" api: Encountered error requesting http://127.0.0.1/vl/hosts api: Request failed with status code 504", "code": "ERR_BAD_RESPONSE", "status": 403, "statusCode": 504}, "jse_info": ("errorReference": "400.153", "errorModule": 400, "errorCode": 153, "code": "ERR_BAD_RESPONSE"}, "message": "Unable to retrieve aggregated Network Pools info: Encountered error requesting api: Encountered error requesting \"http://127.0.0.1/vl/hosts\" api: Encountered error requesting http://127.0.0.1/vl/hosts api: Request failed with status code 504", "code": "ERR_BAD_RESPONSE", "status": 403, "statusCode": 504) , "stack": "VError: Unable to retrieve aggregated Network Pools info: Encountered error requesting api: Encountered error requesting \"http://127.0.0.1/vl/hosts\" api: Encountered error requesting http://127.0.0.1/vl/hosts api: Request failed with status code 504\n at Object.unableToRetriveAggregatedNetworkPoolsError (/opt/vmware/vcf/sddc-manager-ui-app/server/src/errors/VCFError.js:104:5) \n process.processTicksAndRejections (node: internal/process/task_queues: 95:5) ", "message": "Unable to retrieve aggregated Network Pools info: Encountered error requesting api: Encountered error requesting \"http://127.0.0.1/vl/hosts\" api: Encountered error requesting http://127.0.0.1/vl/hosts api: Request failed with status code 504","code": "ERR_BAD_RESPONSE", "status": 403, "errorModule": 600, "errorCode": 158) caused by: 400.153: VError: Unable to retrieve aggregated Network Pools info: Encountered error requesting api: Encountered error requesting "http://127.0.0.1/vl/hosts" api: Encountered error requesting http://127.0.0.1/vl/hosts api: Request failed with status code 504 at Object.unableToRetriveAggregatedNetworkPoolsError (/opt/vmware/vcf/sddc-manager-ui-app/server/src/errors/VCFError.js:104:5) at /opt/vmware/vcf/sddc-manager-ui-app/server/src/routes/api/aggregates/networkPoolsCustomRoutes.js:50:42 at process.processTicksAndRejections (node: internal/process/task_queues: 95:5) Error Info: {"errorModule":400, "errorCode":153, "code": "ERR BAD RESPONSE")caused by: 400.166: VError: Encountered error requesting api: Encountered error requesting "http://127.0.0.1/vl/hosts" api: Encountered error requesting http://127.0.0.1/vl/hosts api: Request failed with status code 504 at Object.encounterErrorRequestingApiError (/opt/vmware/vcf/sddc-manager-ui-app/server/src/errors/VCFError.js:104:5) at Object.getAllNetworkPools (/opt/vmware/vcf/sddc-manager-ui-app/server/src/services/networkPoolsService.js: 199:31)at process.processTicksAndRejections (node: internal/process/task_queues: 95:5) at async /opt/vmware/vcf/sddc-manager-ui-app/server/src/routes/api/aggregates/networkPoolsCustomRoutes.js:47:22 Error Info: {"errorModule": 400, "errorCode":166, "code": "ERR_BAD_RESPONSE") caused by: 400.165: VError: Encountered error requesting "http://127.0.0.1/vl/hosts" api: Encountered error requesting http://127.0.0.1/vl/hosts api: Request failed with statuscode 504 at Object.encounterErrorRequestingUrlError (/opt/vmware/vcf/sddc-manager-ui-app/server/src/errors/VCFError.js:104:5) at getEsxis (/opt/vmware/vcf/sddc-manager-ui-app/server/src/services/networkPoolsService. js:116:31) at process.processTicksAndRejections (node: internal/process/task_queues : 95:5) Error Info: {"url": "http://127.0.0.1/vl/hosts", "status": 403, "errorModule": 400, "errorCode": 165, "code": "ERR_BAD_RESPONSE")caused by: 200.119: VError: Encountered error requesting http://127.0.0.1/vl/hosts api: Request failed with status code 504 at Object.publicApiErrorForUrl (/opt/vmware/vcf/sddc-manager-ui-app/server/arc/errors/VCFError.js:104:5) at publicApiErrorWithCause (/opt/vmware/vcf/sddc-manager-ui-app/server/src/services/publicApi/publicApiService.js:139:64) at Object.publicApiRequestHandler (/opt/vmware/vcf/sddc-manager-ui-app/server/src/services/publicApi/publicApiService.js: 177:15) at process.processTicksAndRejections (node: internal/process/task_queues: 95:5) at async getEsxis (/opt/vmware/vcf/sddc-manager-ui-app/server/arc/services/networkPoolsService.js:111:23) Error Info: {"url": "http://127.0.0.1/vl/hosts", "errorModule":200, "errorCode":119, "code": "ERR_BAD_RESPONSE") caused by: Error: Request failed with status code 504 All Errors Info: Unable to retrieve aggregated Network Pools info: Encountered error requesting api: Encountered error requesting "http://127.0.0.1/vl/hosts" api: Encountered error requesting http://127.0.0.1/vl/hosts api: Request failed with status code 504 {"code": "ERR_BAD_RESPONSE", "error": {"code": "ERR_BAD_RESPONSE", ####
VMware Cloud Foundation 5.x
Restart the SDDC Services.
/opt/vmware/vcf/operationsmanager/scripts/cli/sddcmanager_restart_services.sh
Retry the command "lookup_passwords" again and you should be able to see the correct information.