Host disconnected due to pf9-comms proxy issue
Problem
Host is disconnected from the management plane, even though all the pf9 services [hostagent, comms and sidekick] are actively running.
Host is able to reach management plane over 443 port yet it is showing disconnected.
Pf9-hostagent logs
2024-03-10 16:49:39,257 - slave.py ERROR - Connection error. Retrying in 10 seconds.
Traceback (most recent call last):
File "/opt/pf9/hostagent/lib/python3.6/site-packages/bbslave/slave.py", line 129, in reconnect_loop
channel_retry_period=retry_period)
File "/opt/pf9/hostagent/lib/python3.6/site-packages/bbslave/session.py", line 796, in start
socket_timeout=socket_timeout) # in secs
File "/opt/pf9/hostagent/lib/python3.6/site-packages/bbcommon/amqp.py", line 240, in dual_channel_io_loop
conn.ioloop.start()
File "/opt/pf9/hostagent/lib/python3.6/site-packages/pika/adapters/select_connection.py", line 354, in start
self.poll()
File "/opt/pf9/hostagent/lib/python3.6/site-packages/pika/adapters/select_connection.py", line 602, in poll
self._process_fd_events(fd_event_map, write_only)
File "/opt/pf9/hostagent/lib/python3.6/site-packages/pika/adapters/select_connection.py", line 443, in _process_fd_events
handler(fileno, events, write_only=write_only)
File "/opt/pf9/hostagent/lib/python3.6/site-packages/pika/adapters/base_connection.py", line 364, in _handle_events
self._handle_read()
File "/opt/pf9/hostagent/lib/python3.6/site-packages/pika/adapters/base_connection.py", line 412, in _handle_read
return self._handle_disconnect()
File "/opt/pf9/hostagent/lib/python3.6/site-packages/pika/adapters/base_connection.py", line 288, in _handle_disconnect
self._adapter_disconnect()
File "/opt/pf9/hostagent/lib/python3.6/site-packages/pika/adapters/select_connection.py", line 95, in _adapter_disconnect
super(SelectConnection, self)._adapter_disconnect()
File "/opt/pf9/hostagent/lib/python3.6/site-packages/pika/adapters/base_connection.py", line 154, in _adapter_disconnect
self._check_state_on_disconnect()
File "/opt/pf9/hostagent/lib/python3.6/site-packages/pika/adapters/base_connection.py", line 169, in _check_state_on_disconnect
raise exceptions.IncompatibleProtocolError
pika.exceptions.IncompatibleProtocolErrorPf9-sidekick logs
Environment
Platform9 Managed OpenStack - All versions
Platform9 Managed Kubernetes - All versions
Cause
Service
pf9-commsfailing to establish communication withsni-brokerandsni-vouchspecifically. Rest of the tunnels are intact.
Resolution
Proxy for
pf9-commsservice needs to be enabled as per KB; that allows the host to connect to Platform9 Management Plane via proxy server instead of direct connectivity.
PreviousARS Login Failed: pf9 Account or Password is Expired
NextHost Unable to Communicate With Management Plane: "ETIMEDOUT"
Last updated
