Keyboard shortcuts

Press ← or → to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

Troubleshooting

When a tool cannot answer, it says why. The assistant reads the message, and usually shows it or acts on it. These are the messages and what to do about each.

To look at flockmcp apart from the assistant, start with list_daemons: ask the assistant which routers it can see. To look at a router apart from flockmcp, use flockc from the same host:

$ flockc -e http://192.0.2.1:50051 sys overview

The assistant does not have the tools

The assistant could not start flockmcp. Check the path it was given, and run the same command by hand: flockmcp reports a mistake in its options and exits.

$ /usr/bin/flockmcp --daemon r1=192.0.2.1:50051
error: daemon r1: endpoint "192.0.2.1:50051" must start http://

An endpoint is a URL, with http:// before the address. An IPv6 address is in square brackets: http://[2001:db8::1]:50051.

no daemon named ...

no daemon named r9: the daemons are r1, r2

The router is not one flockmcp was started with. Add a --daemon for it where the assistant is told how to start flockmcp, and restart the assistant.

daemon ... is unreachable

daemon r1 is unreachable at http://192.0.2.1:50051: ...

flockmcp could not connect to the router's flockd, or it did not answer in time.

  • Is flockd running on the router ?
  • Does flockd serve its API on that address ? By default it serves it on the router's loopback only: see Connecting to Routers.
  • Can the host reach the address and port ? Try flockc with the same endpoint.
  • A large router that is slow to answer may need a longer --request-timeout.

daemon ... is flockd ..., and this flockmcp ... only talks to a flockd of the same major.minor

daemon r1 is flockd 26.4.2, and this flockmcp 26.5.0 only talks to a flockd of the same major.minor

The router runs a flockd release this flockmcp is not built for. Install the flockmcp of the router's release: see Versions.

daemon ... is not one this server may act on

daemon r2 is not one this server may act on: it was not started with actions allowed for it

A BGP neighbor reset was asked of a router that flockmcp was not started with --allow-actions for. See Changing a Router.

this daemon does not allow action requests

daemon r1: this daemon does not allow action requests (flockd.json's system.api.allow_actions and allow_config decide what this daemon accepts)

The router itself refused a reset. flockmcp allows it for the router, and the router's own system.api.allow_actions does not. See Changing a Router.

this flockd does not provide that call

The router's flockd was built without the protocol the tool asks about, or its API differs from the one this flockmcp was built for. Check the router runs a flockd of the same release.

restarted while it was being asked

daemon r1 restarted while it was being asked; ask again

The router restarted, or its connection was lost, while a tool was asking it, and again when the tool asked a second time. Ask again once it is up. See A router that is down or restarts.

its system component has not answered yet

daemon r1: its system component has not answered yet; ask again shortly

flockd is up but still starting. Ask again in a few seconds.

has host bits set

prefix "10.1.2.3/16" has host bits set: did you mean 10.1.0.0/16?

A prefix was given with an address inside it. The assistant normally corrects this by itself. To find the route for an address, ask for the address: rib_lookup finds the longest prefix that matches.

An answer says found: false

That is an answer. The router was asked and has no such route, neighbor, interface or VRF. Check the VRF: a tool that looks one thing up looks in the main VRF, default, unless it is given another.

An assistant's answer looks wrong

Ask the assistant to show the tool call it made and the answer it got, and run the flockc command for the same question on the router. The tools pages give the flockc command each tool matches. The two hold the same values.

If they differ, or if you have any other issue, please email support@flocknetworks.com.