Maximilien_Rieh
Oct 22, 2014Nimbostratus
iControl Rest API: Node description reliability problems
Hi,
We're orchestrating f5 loadbalancers through the iControl rest API and we seem to be running into strange behaviour.
A GET against
/mgmt/tm/ltm/node/NODENAME
returns information about that node.
The JSON usually looks like this (shortened):
{
'kind': 'tm:ltm:node:nodestate',
'name': '/partition_we_use/hostname',
'state': 'down',
'session': 'user-disabled',
[...]
}
But sometimes the
session
key is just missing. I couldn't find an API contract but it seems wrong to me to just randomly leave a field out of the response.
Any ideas what might be wrong? Colleagues have seen it show up occasionally, and I was not able to reproduce it yet (and it's only affecting some nodes).