ernoaapa / eliot

Open source system for managing containerized applications in IoT device

Home Page:https://docs.eliot.run

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

eli can't get list of pods, or connect to device.

shaunmulligan opened this issue · comments

Not sure if its an issue with my network configuration, but I notice the device name on the network is \(none\).local which doesn't seem correct. Below is the output of the get pods cli command.

shaun-mbp-2:eli_0.2.9-rc1_darwin_amd64 hobochild$ ./eli get pods
  ✓ Discovered 1 node(s) from network
  ✘ Failed connect to \(none\).local. (10.1.71.37:5000)

Hi @shaunmulligan!
I need to try to reproduce the invalid name.
But that name is not used for connecting, it uses the IP and port. So I would ensure that you have the connection to the ip and port first.

@ernoaapa thanks for the reply. I can ping the device, but not sure if there is a better way to check the connection. I tried specifying the endpoint but it seems to fail to connect:

shaun-mbp-2:eli_0.2.9-rc1_darwin_amd64 hobochild$ ./eli --endpoint '10.1.71.37:5000' get pods
  ✘ Failed connect to 10.1.71.37:5000 (10.1.71.37:5000)

Are there any other things I can test on the network. I will also try tethering the Pi directly to my laptop and see if that make a difference.

@shaunmulligan can you run the command with --debug flag? Thanks!

@ernoaapa this is the command with --debug:

shaun-mbp-2:eli_0.2.9-rc1_darwin_amd64 hobochild$ ./eli --debug --endpoint '192.168.2.232:5000' get pods
DEBU[0000] Connecting to 192.168.2.232:5000 (192.168.2.232:5000) 
DEBU[0000] Connection failure: rpc error: code = Unimplemented desc = unknown service eliot.services.containers.v1.Node 
FATA[0000] Failed connect to 192.168.2.232:5000 (192.168.2.232:5000)

Some how the OS ends up with a hostname == (none) no idea how that happens. I have a serial cable connected to the device, are their anything I can check on the OS side to see that things are working correctly?