agent icon indicating copy to clipboard operation
agent copied to clipboard

Enabled host management features - blkid: executable file not found

Open agafonovdmitry opened this issue 2 years ago • 4 comments

Installed on Debian 11 stock docker.io with enabled swarm mode.

Enabled host management features in Setup.

See this trying browse swarm node: WARNING: failed to read disk partuuid of /dev/sda1 : exec: "blkid": executable file not found in $PATH WARNING: failed to read disk partuuid of /dev/sda14 : exec: "blkid": executable file not found in $PATH WARNING: failed to read disk partuuid of /dev/sda15 : exec: "blkid": executable file not found in $PATH

blkid is installed on host and its root fs is mounted as /host for agent service.

agafonovdmitry avatar Feb 16 '23 13:02 agafonovdmitry

@agafonovdmitry

Can you post your install command?

Thanks!

tamarahenson avatar Apr 04 '23 15:04 tamarahenson

That was Hetzner cloud VM from Debian 11 image. Cannot say anything special...

  • Installed docker.io package as normal, enabled swarm mode (for single node) as per manual.
  • Installed portainer stack as per instructions on site for particular environment.
  • Everything went okay and totally normal as usual. Portainer is great at this: just works!

I have noticed new "host management" feature and enabled it. Some information did not shown, I suppose, and those messages appeared in agent logs. Agent was configured for host management as needed and I could run blkid by hands.

Setup is in production, so I cannot do further testing around it, sorry.

agafonovdmitry avatar Apr 04 '23 16:04 agafonovdmitry

Same issue on a vanilla ubuntu 22.04 server with docker installed via the official guide. Seeing the behaviour on standalone docker and swarm instances.

knutster avatar Apr 21 '23 05:04 knutster