2018-08-28 14:40:27.058 DEBUG [http-nio-8080-exec-9] [com.vmware.vrack.hms.rest.factory.URIBuilder] creating URI for the path /api/1.0/hms/switches/R1S2/vlans, query null
2018-08-28 14:40:27.059 DEBUG [http-nio-8080-exec-9] [com.vmware.vrack.hms.rest.factory.HmsOobAgentRestTemplate] Created PUT request for "http://localhost:8448/api/1.0/hms/switches/R1S2/vlans"
2018-08-28 14:40:27.066 DEBUG [http-nio-8080-exec-9] [com.vmware.vrack.hms.rest.factory.HmsOobAgentRestTemplate] PUT request for "http://localhost:8448/api/1.0/hms/switches/R1S2/vlans" resulted in 404 (Not Found); invoking error handler
2018-08-28 14:40:27.067 INFO [http-nio-8080-exec-9] [com.vmware.vrack.hms.controller.MaintenanceInterceptor] Returning response code 404 for request: [ PUT on /hms-local/api/1.0/hms/switches/R1S2/vlans ]
Note: The preceding log excerpts are only examples. Date, time, and environmental variables may vary depending on your environment.
Restarting the hms service without restarting the vcfmanager service causes an inconsistency in the hms inventory and results in API failures to the hms process and possibly other unobserved issues.
To fix a current issue, restart vcfmanager service by using the follow command on the SDDC manager controller VM
systemctl restart vcfmanager
In the future, do not restart the hms service without restarting vcfmanager afterwards.