Unit is displaying Agent: lost while the machine is displaying Status: down and juju show-machine <id> returns
machines:
"0":
juju-status:
current: down
message: agent is not communicating with the server
since: 25 Jan 2024 14:35:03+01:00
version: 2.9.46
hostname: <hostname>
dns-name: <value>
juju ssh <machine-id> and juju ssh <unit-name> return Cannot connect to any address <ip-address>. Any suggestions on how to restart/recover this machine?