Tag Archives: ConnectFailure: Unable to establish connection to http://127.0.0.1:9696/v2.0/ports/f7eaf0bbfb464a18ab135dca89e7ec51.json

ConnectFailure: Unable to establish connection to http://127.0.0.1:9696/v2.0/ports/f7eaf0bb-fb46-4a18-ab13-5dca89e7ec51.json

Failed to Set Network:

2021-11-29 11:37:47.767 30318 ERROR nova.compute.manager [instance: a9cf9419-c14d-4de0-8a66-1ed30431db3b] ConnectFailure: Unable to establish connection to http://127.0.0.1:9696/v2.0/ports/f7eaf0bb-fb46-4a18-ab13-5dca89e7ec51.json: HTTPConnectionPool(host='127.0.0.1', port=9696): Max retries exceeded with url: /v2.0/ports/f7eaf0bb-fb46-4a18-ab13-5dca89e7ec51.json (Caused by NewConnectionError('<requests.packages.urllib3.connection.HTTPConnection object at 0x7f22087db1d0>: Failed to establish a new connection: [Errno 111] ECONNREFUSED',))

Manually curl can be found should be looking for the network node when looking for the wrong node

Check the configuration file, find the place where the IP is configured, change the IP and restart the nova-compute service

Restart the virtual machine again and you can see that it is already reporting a different error