Connection to controller not provisioned on Remote agent


(Gowthamreddyvintha) #1

How to provision the remote agent to connect to the controller?


(Ian Martin) #2

You can use iofogctl with:

https://iofog.org/docs/1.2.0/getting-started/quick-start.html#deploy-iofog-locally

and simply adding your agents to the yml file for deployment. Iofogctl will take care of connecting them to your controller.


(Gowthamreddyvintha) #3

@Ian I am using the iofogctl to deploy my agent.yml file.
iofogctl get all commands shows the agent is added but on agent iofog-agent info shows IoFog UUID is not provisioned and iofog-agent status shows Connection to Controller not provisioned.


(Ian Martin) #4

Can you send the output of both sudo iofog-agent info, sudo iofog-agent status and cat /var/log/iofog-agent/iofog-agent.0.log from the agent in question

Ian


(Gowthamreddyvintha) #5

root@raspberrypi:/home/pi# iofog-agent info
Iofog UUID : not provisioned
IP Address : 169.254.134.208
Network Interface : wlan0(dynamic)
Developer’s Mode : on
ioFog Controller : http://:51121/api/v3/
ioFog Certificate : /etc/iofog-agent/cert.crt
Docker URL : tcp://127.0.0.1:2375/
Disk Usage Limit : 50.00 GiB
Message Storage Directory : /var/lib/iofog-agent/
Memory RAM Limit : 4096.00 MiB
CPU Usage Limit : 80.00%
Log Disk Limit : 10.00 GiB
Log File Directory : /var/log/iofog-agent/
Log Rolling File Count : 10
Status Update Frequency : 10
Get Changes Frequency : 10
Scan Devices Frequency : 60
Post Diagnostics Frequency : 10
Isolated Docker Containers Mode : off
GPS mode : auto
GPS coordinates(lat,lon) : 42.4335,-71.4495
Fog type : arm

iofog-agent status:
ioFog daemon : RUNNING
Memory Usage : about 120.00 MiB
Disk Usage : about 0.00 MiB
CPU Usage : about 0.25 %
Running Microservices : 0
Connection to Controller : not provisioned
Messages Processed : about 0
System Time : 27/08/2019 07:59 PM
System Available Disk : 20792.89 MB
System Available Memory : 429.12 MB
System Total CPU : 12.85 %
[08/27/2019 07:51:54.640] [WARN] [Field Agent] : Not provisioned
[08/27/2019 07:51:54.641] [INFO] [Message Bus] : calculating message processing speed
[08/27/2019 07:51:54.642] [WARN] [Field Agent] : Not provisioned
[08/27/2019 07:51:54.643] [WARN] [Field Agent] : Not provisioned
[08/27/2019 07:51:56.488] [INFO] [Field Agent] : Get changes list
[08/27/2019 07:51:56.489] [WARN] [Field Agent] : Not provisioned
[08/27/2019 07:51:56.490] [INFO] [Message Bus] : Check message bus server status
[08/27/2019 07:52:01.492] [INFO] [Message Bus] : Check message bus server status
[08/27/2019 07:52:04.044] [INFO] [Local API] : Initiating control signals for unacknowledged signals
[08/27/2019 07:52:04.047] [INFO] [Local API] : Initiating message sending for the unacknowledged messages
[08/27/2019 07:52:06.193] [INFO] [Process Manager] : Monitoring containers
[08/27/2019 07:52:06.491] [INFO] [Field Agent] : Get changes list
[08/27/2019 07:52:06.491] [WARN] [Field Agent] : Not provisioned
[08/27/2019 07:52:06.492] [INFO] [Message Bus] : Check message bus server status
[08/27/2019 07:52:11.494] [INFO] [Message Bus] : Check message bus server status
[08/27/2019 07:52:11.613] [INFO] [Resource Consumption Manager] : Get usage data
[08/27/2019 07:52:14.044] [INFO] [Local API] : Initiating control signals for unacknowledged signals
[08/27/2019 07:52:14.047] [INFO] [Local API] : Initiating message sending for the unacknowledged messages
[08/27/2019 07:52:16.492] [INFO] [Field Agent] : Get changes list
[08/27/2019 07:52:16.493] [WARN] [Field Agent] : Not provisioned
[08/27/2019 07:52:16.494] [INFO] [Message Bus] : Check message bus server status
[08/27/2019 07:52:18.124] [INFO] [Field Agent] : Post ioFog status
[08/27/2019 07:52:18.125] [WARN] [Field Agent] : Not provisioned
[08/27/2019 07:52:18.126] [WARN] [Field Agent] : Connection to controller has broken
[08/27/2019 07:52:18.126] [INFO] [Field Agent] : Start posting ioFog status
[08/27/2019 07:52:21.496] [INFO] [Message Bus] : Check message bus server status
[08/27/2019 07:52:24.044] [INFO] [Local API] : Initiating control signals for unacknowledged signals
[08/27/2019 07:52:24.047] [INFO] [Local API] : Initiating message sending for the unacknowledged messages
[08/27/2019 07:52:26.494] [INFO] [Field Agent] : Get changes list
[08/27/2019 07:52:26.495] [WARN] [Field Agent] : Not provisioned
[08/27/2019 07:52:26.497] [INFO] [Message Bus] : Check message bus server status
[08/27/2019 07:52:31.498] [INFO] [Message Bus] : Check message bus server status
[08/27/2019 07:52:32.650] [INFO] [Resource Consumption Manager] : Get usage data
[08/27/2019 07:52:34.044] [INFO] [Local API] : Initiating control signals for unacknowledged signals
[08/27/2019 07:52:34.047] [INFO] [Local API] : Initiating message sending for the unacknowledged messages
[08/27/2019 07:52:36.242] [INFO] [Process Manager] : Monitoring containers
[08/27/2019 07:52:36.497] [INFO] [Field Agent] : Get changes list
[08/27/2019 07:52:36.498] [WARN] [Field Agent] : Not provisioned
[08/27/2019 07:52:36.499] [INFO] [Message Bus] : Check message bus server status
[08/27/2019 07:52:41.501] [INFO] [Message Bus] : Check message bus server status
[08/27/2019 07:52:44.044] [INFO] [Local API] : Initiating control signals for unacknowledged signals
[08/27/2019 07:52:44.047] [INFO] [Local API] : Initiating message sending for the unacknowledged messages
[08/27/2019 07:52:46.499] [INFO] [Field Agent] : Get changes list
[08/27/2019 07:52:46.500] [WARN] [Field Agent] : Not provisioned
[08/27/2019 07:52:46.502] [INFO] [Message Bus] : Check message bus server status
[08/27/2019 07:52:46.951] [INFO] [Field Agent] : Post ioFog status
[08/27/2019 07:52:46.951] [WARN] [Field Agent] : Not provisioned
[08/27/2019 07:52:46.952] [WARN] [Field Agent] : Connection to controller has broken
[08/27/2019 07:52:46.952] [INFO] [Field Agent] : Start posting ioFog status
[08/27/2019 07:52:51.503] [INFO] [Message Bus] : Check message bus server status
[08/27/2019 07:52:53.672] [INFO] [Resource Consumption Manager] : Get usage data
[08/27/2019 07:52:54.044] [INFO] [Local API] : Initiating control signals for unacknowledged signals
[08/27/2019 07:52:54.047] [INFO] [Local API] : Initiating message sending for the unacknowledged messages
[08/27/2019 07:52:54.641] [INFO] [Field Agent] : Ping controller
[08/27/2019 07:52:54.642] [WARN] [Field Agent] : Not provisioned
[08/27/2019 07:52:54.643] [INFO] [Message Bus] : calculating message processing speed
[08/27/2019 07:52:54.644] [WARN] [Field Agent] : Not provisioned
[08/27/2019 07:52:54.644] [WARN] [Field Agent] : Not provisioned
[08/27/2019 07:52:56.501] [INFO] [Field Agent] : Get changes list
[08/27/2019 07:52:56.502] [WARN] [Field Agent] : Not provisioned
[08/27/2019 07:52:56.504] [INFO] [Message Bus] : Check message bus server status
[08/27/2019 07:53:01.505] [INFO] [Message Bus] : Check message bus server status
[08/27/2019 07:53:04.044] [INFO] [Local API] : Initiating control signals for unacknowledged signals
[08/27/2019 07:53:07.122] [INFO] [Local API] : Initiating message sending for the unacknowledged messages
[08/27/2019 07:53:07.123] [INFO] [Message Bus] : Check message bus server status
[08/27/2019 07:53:07.124] [INFO] [Field Agent] : Get changes list
[08/27/2019 07:53:07.126] [WARN] [Field Agent] : Not provisioned
[08/27/2019 07:53:07.127] [INFO] [Process Manager] : Monitoring containers
[08/27/2019 07:53:12.124] [INFO] [Message Bus] : Check message bus server status
[08/27/2019 07:53:14.044] [INFO] [Local API] : Initiating control signals for unacknowledged signals
[08/27/2019 07:53:14.047] [INFO] [Local API] : Initiating message sending for the unacknowledged messages
[08/27/2019 07:53:14.707] [INFO] [Resource Consumption Manager] : Get usage data
[08/27/2019 07:53:17.126] [INFO] [Message Bus] : Check message bus server status
[08/27/2019 07:53:17.127] [INFO] [Field Agent] : Get changes list
[08/27/2019 07:53:17.128] [WARN] [Field Agent] : Not provisioned
[08/27/2019 07:53:19.204] [INFO] [Field Agent] : Post ioFog status
[08/27/2019 07:53:19.205] [WARN] [Field Agent] : Not provisioned
[08/27/2019 07:53:19.205] [WARN] [Field Agent] : Connection to controller has broken
[08/27/2019 07:53:19.206] [INFO] [Field Agent] : Start posting ioFog status
[08/27/2019 07:53:22.127] [INFO] [Message Bus] : Check message bus server status
[08/27/2019 07:53:24.044] [INFO] [Local API] : Initiating control signals for unacknowledged signals
[08/27/2019 07:53:24.057] [INFO] [Local API] : Initiating message sending for the unacknowledged messages
[08/27/2019 07:53:27.129] [INFO] [Message Bus] : Check message bus server status
[08/27/2019 07:53:27.130] [INFO] [Field Agent] : Get changes list
[08/27/2019 07:53:27.130] [WARN] [Field Agent] : Not provisioned
[08/27/2019 07:53:32.130] [INFO] [Message Bus] : Check message bus server status
[08/27/2019 07:53:34.044] [INFO] [Local API] : Initiating control signals for unacknowledged signals
[08/27/2019 07:53:34.047] [INFO] [Local API] : Initiating message sending for the unacknowledged messages
[08/27/2019 07:53:35.742] [INFO] [Resource Consumption Manager] : Get usage data
[08/27/2019 07:53:37.131] [INFO] [Message Bus] : Check message bus server status
[08/27/2019 07:53:37.132] [INFO] [Field Agent] : Get changes list
[08/27/2019 07:53:37.132] [WARN] [Field Agent] : Not provisioned
[08/27/2019 07:53:37.214] [INFO] [Process Manager] : Monitoring containers
[08/27/2019 07:53:42.132] [INFO] [Message Bus] : Check message bus server status
[08/27/2019 07:53:44.044] [INFO] [Local API] : Initiating control signals for unacknowledged signals
[08/27/2019 07:53:44.047] [INFO] [Local API] : Initiating message sending for the unacknowledged messages
[08/27/2019 07:53:47.133] [INFO] [Field Agent] : Get changes list
[08/27/2019 07:53:47.134] [WARN] [Field Agent] : Not provisioned
[08/27/2019 07:53:47.136] [INFO] [Message Bus] : Check message bus server status
[08/27/2019 07:53:49.951] [INFO] [Field Agent] : Post ioFog status
[08/27/2019 07:53:49.952] [WARN] [Field Agent] : Not provisioned
[08/27/2019 07:53:49.952] [WARN] [Field Agent] : Connection to controller has broken
[08/27/2019 07:53:49.952] [INFO] [Field Agent] : Start posting ioFog status
[08/27/2019 07:53:52.137] [INFO] [Message Bus] : Check message bus server status
[08/27/2019 07:53:54.044] [INFO] [Local API] : Initiating control signals for unacknowledged signals
[08/27/2019 07:53:54.047] [INFO] [Local API] : Initiating message sending for the unacknowledged messages
[08/27/2019 07:53:54.644] [INFO] [Field Agent] : Ping controller
[08/27/2019 07:53:54.645] [WARN] [Field Agent] : Not provisioned
[08/27/2019 07:53:54.646] [WARN] [Field Agent] : Not provisioned
[08/27/2019 07:53:54.647] [INFO] [Message Bus] : calculating message processing speed
[08/27/2019 07:53:54.647] [WARN] [Field Agent] : Not provisioned
[08/27/2019 07:53:56.764] [INFO] [Resource Consumption Manager] : Get usage data
[08/27/2019 07:53:57.136] [INFO] [Field Agent] : Get changes list
[08/27/2019 07:53:57.137] [WARN] [Field Agent] : Not provisioned
[08/27/2019 07:53:57.138] [INFO] [Message Bus] : Check message bus server status
[08/27/2019 07:54:02.139] [INFO] [Message Bus] : Check message bus server status
[08/27/2019 07:54:04.044] [INFO] [Local API] : Initiating control signals for unacknowledged signals
[08/27/2019 07:54:04.047] [INFO] [Local API] : Initiating message sending for the unacknowledged messages
[08/27/2019 07:54:07.138] [INFO] [Field Agent] : Get changes list
[08/27/2019 07:54:07.138] [WARN] [Field Agent] : Not provisioned
[08/27/2019 07:54:07.140] [INFO] [Message Bus] : Check message bus server status
[08/27/2019 07:54:07.292] [INFO] [Process Manager] : Monitoring containers
[08/27/2019 07:54:12.141] [INFO] [Message Bus] : Check message bus server status
[08/27/2019 07:54:14.044] [INFO] [Local API] : Initiating control signals for unacknowledged signals
[08/27/2019 07:54:14.047] [INFO] [Local API] : Initiating message sending for the unacknowledged messages
[08/27/2019 07:54:17.139] [INFO] [Field Agent] : Get changes list
[08/27/2019 07:54:17.140] [WARN] [Field Agent] : Not provisioned
[08/27/2019 07:54:17.141] [INFO] [Message Bus] : Check message bus server status
[08/27/2019 07:54:17.798] [INFO] [Resource Consumption Manager] : Get usage data
[08/27/2019 07:54:19.576] [INFO] [Field Agent] : Post ioFog status
[08/27/2019 07:54:19.576] [WARN] [Field Agent] : Not provisioned
[08/27/2019 07:54:19.577] [WARN] [Field Agent] : Connection to controller has broken
[08/27/2019 07:54:19.577] [INFO] [Field Agent] : Start posting ioFog status
[08/27/2019 07:54:22.142] [INFO] [Message Bus] : Check message bus server status
[08/27/2019 07:54:24.044] [INFO] [Local API] : Initiating control signals for unacknowledged signals
[08/27/2019 07:54:24.047] [INFO] [Local API] : Initiating message sending for the unacknowledged messages
[08/27/2019 07:54:27.141] [INFO] [Field Agent] : Get changes list
[08/27/2019 07:54:27.142] [WARN] [Field Agent] : Not provisioned
[08/27/2019 07:54:27.144] [INFO] [Message Bus] : Check message bus server status
[08/27/2019 07:54:32.145] [INFO] [Message Bus] : Check message bus server status
[08/27/2019 07:54:34.044] [INFO] [Local API] : Initiating control signals for unacknowledged signals
[08/27/2019 07:54:34.047] [INFO] [Local API] : Initiating message sending for the unacknowledged messages
[08/27/2019 07:54:37.143] [INFO] [Field Agent] : Get changes list
[08/27/2019 07:54:37.143] [WARN] [Field Agent] : Not provisioned
[08/27/2019 07:54:40.801] [INFO] [Resource Consumption Manager] : Get usage data
[08/27/2019 07:54:40.805] [INFO] [Process Manager] : Monitoring containers
[08/27/2019 07:54:40.806] [INFO] [Message Bus] : Check message bus server status
[08/27/2019 07:54:44.044] [INFO] [Local API] : Initiating control signals for unacknowledged signals
[08/27/2019 07:54:44.047] [INFO] [Local API] : Initiating message sending for the unacknowledged messages
[08/27/2019 07:54:45.807] [INFO] [Message Bus] : Check message bus server status
[08/27/2019 07:54:50.801] [INFO] [Field Agent] : Get changes list
[08/27/2019 07:54:50.802] [WARN] [Field Agent] : Not provisioned
[08/27/2019 07:54:50.808] [INFO] [Message Bus] : Check message bus server status
[08/27/2019 07:54:51.408] [INFO] [Field Agent] : Post ioFog status
[08/27/2019 07:54:51.409] [WARN] [Field Agent] : Not provisioned
[08/27/2019 07:54:51.409] [WARN] [Field Agent] : Connection to controller has broken
[08/27/2019 07:54:51.409] [INFO] [Field Agent] : Start posting ioFog status
[08/27/2019 07:54:54.044] [INFO] [Local API] : Initiating control signals for unacknowledged signals
[08/27/2019 07:54:54.047] [INFO] [Local API] : Initiating message sending for the unacknowledged messages
[08/27/2019 07:54:54.646] [INFO] [Field Agent] : Ping controller
[08/27/2019 07:54:54.647] [WARN] [Field Agent] : Not provisioned
[08/27/2019 07:54:54.648] [INFO] [Message Bus] : calculating message processing speed
[08/27/2019 07:54:54.649] [WARN] [Field Agent] : Not provisioned
[08/27/2019 07:54:54.650] [WARN] [Field Agent] : Not provisioned
[08/27/2019 07:54:55.809] [INFO] [Message Bus] : Check message bus server status
[08/27/2019 07:55:00.804] [INFO] [Field Agent] : Get changes list
[08/27/2019 07:55:00.805] [WARN] [Field Agent] : Not provisioned
[08/27/2019 07:55:00.810] [INFO] [Message Bus] : Check message bus server status
[08/27/2019 07:55:01.827] [INFO] [Resource Consumption Manager] : Get usage data
[08/27/2019 07:55:04.044] [INFO] [Local API] : Initiating control signals for unacknowledged signals
[08/27/2019 07:55:04.047] [INFO] [Local API] : Initiating message sending for the unacknowledged messages
[08/27/2019 07:55:05.811] [INFO] [Message Bus] : Check message bus server status
[08/27/2019 07:55:10.806] [INFO] [Field Agent] : Get changes list
[08/27/2019 07:55:11.646] [WARN] [Field Agent] : Not provisioned
[08/27/2019 07:55:11.646] [INFO] [Process Manager] : Monitoring containers
[08/27/2019 07:55:11.647] [INFO] [Message Bus] : Check message bus server status
[08/27/2019 07:55:14.044] [INFO] [Local API] : Initiating control signals for unacknowledged signals
[08/27/2019 07:55:14.047] [INFO] [Local API] : Initiating message sending for the unacknowledged messages
[08/27/2019 07:55:16.648] [INFO] [Message Bus] : Check message bus server status
[08/27/2019 07:55:21.286] [INFO] [Field Agent] : Post ioFog status
[08/27/2019 07:55:21.287] [WARN] [Field Agent] : Not provisioned
[08/27/2019 07:55:21.287] [WARN] [Field Agent] : Connection to controller has broken
[08/27/2019 07:55:21.288] [INFO] [Field Agent] : Start posting ioFog status
[08/27/2019 07:55:21.647] [INFO] [Field Agent] : Get changes list
[08/27/2019 07:55:21.647] [WARN] [Field Agent] : Not provisioned
[08/27/2019 07:55:21.649] [INFO] [Message Bus] : Check message bus server status
[08/27/2019 07:55:22.855] [INFO] [Resource Consumption Manager] : Get usage data
[08/27/2019 07:55:24.044] [INFO] [Local API] : Initiating control signals for unacknowledged signals
[08/27/2019 07:55:24.047] [INFO] [Local API] : Initiating message sending for the unacknowledged messages
[08/27/2019 07:55:26.650] [INFO] [Message Bus] : Check message bus server status
[08/27/2019 07:55:31.648] [INFO] [Field Agent] : Get changes list
[08/27/2019 07:55:31.649] [WARN] [Field Agent] : Not provisioned
[08/27/2019 07:55:31.651] [INFO] [Message Bus] : Check message bus server status
[08/27/2019 07:55:34.044] [INFO] [Local API] : Initiating control signals for unacknowledged signals
[08/27/2019 07:55:34.047] [INFO] [Local API] : Initiating message sending for the unacknowledged messages
[08/27/2019 07:55:36.652] [INFO] [Message Bus] : Check message bus server status
[08/27/2019 07:55:41.650] [INFO] [Field Agent] : Get changes list
[08/27/2019 07:55:41.651] [WARN] [Field Agent] : Not provisioned
[08/27/2019 07:55:41.653] [INFO] [Message Bus] : Check message bus server status
[08/27/2019 07:55:41.743] [INFO] [Process Manager] : Monitoring containers
[08/27/2019 07:55:43.897] [INFO] [Resource Consumption Manager] : Get usage data
[08/27/2019 07:55:44.044] [INFO] [Local API] : Initiating control signals for unacknowledged signals
[08/27/2019 07:55:44.047] [INFO] [Local API] : Initiating message sending for the unacknowledged messages
[08/27/2019 07:55:46.655] [INFO] [Message Bus] : Check message bus server status
[08/27/2019 07:55:51.035] [INFO] [Field Agent] : Post ioFog status
[08/27/2019 07:55:51.036] [WARN] [Field Agent] : Not provisioned
[08/27/2019 07:55:51.037] [WARN] [Field Agent] : Connection to controller has broken
[08/27/2019 07:55:51.037] [INFO] [Field Agent] : Start posting ioFog status
[08/27/2019 07:55:51.652] [INFO] [Field Agent] : Get changes list
[08/27/2019 07:55:51.653] [WARN] [Field Agent] : Not provisioned
[08/27/2019 07:55:51.656] [INFO] [Message Bus] : Check message bus server status
[08/27/2019 07:55:54.044] [INFO] [Local API] : Initiating control signals for unacknowledged signals
[08/27/2019 07:55:54.047] [INFO] [Local API] : Initiating message sending for the unacknowledged messages
[08/27/2019 07:55:54.649] [INFO] [Field Agent] : Ping controller
[08/27/2019 07:55:54.650] [WARN] [Field Agent] : Not provisioned
[08/27/2019 07:55:54.651] [INFO] [Message Bus] : calculating message processing speed
[08/27/2019 07:55:54.651] [WARN] [Field Agent] : Not provisioned
[08/27/2019 07:55:54.652] [WARN] [Field Agent] : Not provisioned
[08/27/2019 07:55:56.657] [INFO] [Message Bus] : Check message bus server status
[08/27/2019 07:56:01.654] [INFO] [Field Agent] : Get changes list
[08/27/2019 07:56:01.654] [WARN] [Field Agent] : Not provisioned
[08/27/2019 07:56:01.658] [INFO] [Message Bus] : Check message bus server status
[08/27/2019 07:56:04.044] [INFO] [Local API] : Initiating control signals for unacknowledged signals
[08/27/2019 07:56:04.047] [INFO] [Local API] : Initiating message sending for the unacknowledged messages
[08/27/2019 07:56:04.920] [INFO] [Resource Consumption Manager] : Get usage data
[08/27/2019 07:56:06.668] [INFO] [Message Bus] : Check message bus server status
[08/27/2019 07:56:11.656] [INFO] [Field Agent] : Get changes list
[08/27/2019 07:56:11.657] [WARN] [Field Agent] : Not provisioned
[08/27/2019 07:56:11.680] [INFO] [Message Bus] : Check message bus server status
[08/27/2019 07:56:11.790] [INFO] [Process Manager] : Monitoring containers
[08/27/2019 07:56:14.044] [INFO] [Local API] : Initiating control signals for unacknowledged signals
[08/27/2019 07:56:14.047] [INFO] [Local API] : Initiating message sending for the unacknowledged messages
[08/27/2019 07:56:16.681] [INFO] [Message Bus] : Check message bus server status
[08/27/2019 07:56:21.658] [INFO] [Field Agent] : Get changes list
[08/27/2019 07:56:21.659] [WARN] [Field Agent] : Not provisioned
[08/27/2019 07:56:21.677] [INFO] [Field Agent] : Post ioFog status
[08/27/2019 07:56:21.678] [WARN] [Field Agent] : Not provisioned
[08/27/2019 07:56:21.679] [WARN] [Field Agent] : Connection to controller has broken
[08/27/2019 07:56:21.679] [INFO] [Field Agent] : Start posting ioFog status
[08/27/2019 07:56:21.759] [INFO] [Message Bus] : Check message bus server status
[08/27/2019 07:56:24.044] [INFO] [Local API] : Initiating control signals for unacknowledged signals
[08/27/2019 07:56:24.047] [INFO] [Local API] : Initiating message sending for the unacknowledged messages
[08/27/2019 07:56:25.942] [INFO] [Resource Consumption Manager] : Get usage data
[08/27/2019 07:56:26.760] [INFO] [Message Bus] : Check message bus server status
[08/27/2019 07:56:31.660] [INFO] [Field Agent] : Get changes list
[08/27/2019 07:56:31.661] [WARN] [Field Agent] : Not provisioned
[08/27/2019 07:56:31.762] [INFO] [Message Bus] : Check message bus server status
[08/27/2019 07:56:34.044] [INFO] [Local API] : Initiating control signals for unacknowledged signals
[08/27/2019 07:56:34.047] [INFO] [Local API] : Initiating message sending for the unacknowledged messages
[08/27/2019 07:56:36.763] [INFO] [Message Bus] : Check message bus server status
[08/27/2019 07:56:41.662] [INFO] [Field Agent] : Get changes list
[08/27/2019 07:56:41.663] [WARN] [Field Agent] : Not provisioned
[08/27/2019 07:56:41.764] [INFO] [Message Bus] : Check message bus server status
[08/27/2019 07:56:41.838] [INFO] [Process Manager] : Monitoring containers
[08/27/2019 07:56:44.044] [INFO] [Local API] : Initiating control signals for unacknowledged signals
[08/27/2019 07:56:44.047] [INFO] [Local API] : Initiating message sending for the unacknowledged messages
[08/27/2019 07:56:46.765] [INFO] [Message Bus] : Check message bus server status
[08/27/2019 07:56:46.976] [INFO] [Resource Consumption Manager] : Get usage data
[08/27/2019 07:56:50.966] [INFO] [Field Agent] : Post ioFog status
[08/27/2019 07:56:50.967] [WARN] [Field Agent] : Not provisioned
[08/27/2019 07:56:50.967] [WARN] [Field Agent] : Connection to controller has broken
[08/27/2019 07:56:50.968] [INFO] [Field Agent] : Start posting ioFog status
[08/27/2019 07:56:51.664] [INFO] [Field Agent] : Get changes list
[08/27/2019 07:56:51.665] [WARN] [Field Agent] : Not provisioned
[08/27/2019 07:56:51.767] [INFO] [Message Bus] : Check message bus server status
[08/27/2019 07:56:54.044] [INFO] [Local API] : Initiating control signals for unacknowledged signals
[08/27/2019 07:56:54.047] [INFO] [Local API] : Initiating message sending for the unacknowledged messages
[08/27/2019 07:56:54.651] [INFO] [Field Agent] : Ping controller
[08/27/2019 07:56:54.652] [WARN] [Field Agent] : Not provisioned
[08/27/2019 07:56:54.653] [WARN] [Field Agent] : Not provisioned
[08/27/2019 07:56:54.654] [WARN] [Field Agent] : Not provisioned
[08/27/2019 07:56:54.654] [INFO] [Message Bus] : calculating message processing speed
[08/27/2019 07:56:56.768] [INFO] [Message Bus] : Check message bus server status
[08/27/2019 07:57:01.666] [INFO] [Field Agent] : Get changes list
[08/27/2019 07:57:01.667] [WARN] [Field Agent] : Not provisioned
[08/27/2019 07:57:01.769] [INFO] [Message Bus] : Check message bus server status
[08/27/2019 07:57:04.044] [INFO] [Local API] : Initiating control signals for unacknowledged signals
[08/27/2019 07:57:04.047] [INFO] [Local API] : Initiating message sending for the unacknowledged messages
[08/27/2019 07:57:06.782] [INFO] [Message Bus] : Check message bus server status
[08/27/2019 07:57:07.998] [INFO] [Resource Consumption Manager] : Get usage data
[08/27/2019 07:57:11.668] [INFO] [Field Agent] : Get changes list
[08/27/2019 07:57:11.668] [WARN] [Field Agent] : Not provisioned
[08/27/2019 07:57:11.794] [INFO] [Message Bus] : Check message bus server status
[08/27/2019 07:57:11.903] [INFO] [Process Manager] : Monitoring containers
[08/27/2019 07:57:14.044] [INFO] [Local API] : Initiating control signals for unacknowledged signals
[08/27/2019 07:57:14.047] [INFO] [Local API] : Initiating message sending for the unacknowledged messages
[08/27/2019 07:57:16.795] [INFO] [Message Bus] : Check message bus server status
[08/27/2019 07:57:21.184] [INFO] [Field Agent] : Post ioFog status
[08/27/2019 07:57:21.185] [WARN] [Field Agent] : Not provisioned
[08/27/2019 07:57:21.185] [WARN] [Field Agent] : Connection to controller has broken
[08/27/2019 07:57:21.186] [INFO] [Field Agent] : Start posting ioFog status
[08/27/2019 07:57:21.669] [INFO] [Field Agent] : Get changes list
[08/27/2019 07:57:21.670] [WARN] [Field Agent] : Not provisioned
[08/27/2019 07:57:21.796] [INFO] [Message Bus] : Check message bus server status
[08/27/2019 07:57:24.044] [INFO] [Local API] : Initiating control signals for unacknowledged signals
[08/27/2019 07:57:24.047] [INFO] [Local API] : Initiating message sending for the unacknowledged messages
[08/27/2019 07:57:26.797] [INFO] [Message Bus] : Check message bus server status
[08/27/2019 07:57:29.019] [INFO] [Resource Consumption Manager] : Get usage data
[08/27/2019 07:57:31.671] [INFO] [Field Agent] : Get changes list
[08/27/2019 07:57:31.682] [WARN] [Field Agent] : Not provisioned
[08/27/2019 07:57:31.799] [INFO] [Message Bus] : Check message bus server status
[08/27/2019 07:57:34.044] [INFO] [Local API] : Initiating control signals for unacknowledged signals
[08/27/2019 07:57:34.047] [INFO] [Local API] : Initiating message sending for the unacknowledged messages
[08/27/2019 07:57:36.800] [INFO] [Message Bus] : Check message bus server status
[08/27/2019 07:57:41.683] [INFO] [Field Agent] : Get changes list
[08/27/2019 07:57:41.684] [WARN] [Field Agent] : Not provisioned
[08/27/2019 07:57:41.812] [INFO] [Message Bus] : Check message bus server status
[08/27/2019 07:57:41.956] [INFO] [Process Manager] : Monitoring containers
[08/27/2019 07:57:44.044] [INFO] [Local API] : Initiating control signals for unacknowledged signals
[08/27/2019 07:57:44.047] [INFO] [Local API] : Initiating message sending for the unacknowledged messages
[08/27/2019 07:57:46.813] [INFO] [Message Bus] : Check message bus server status
[08/27/2019 07:57:50.053] [INFO] [Resource Consumption Manager] : Get usage data
[08/27/2019 07:57:51.244] [INFO] [Field Agent] : Post ioFog status
[08/27/2019 07:57:51.244] [WARN] [Field Agent] : Not provisioned
[08/27/2019 07:57:51.245] [WARN] [Field Agent] : Connection to controller has broken
[08/27/2019 07:57:51.245] [INFO] [Field Agent] : Start posting ioFog status
[08/27/2019 07:57:51.685] [INFO] [Field Agent] : Get changes list
[08/27/2019 07:57:51.685] [WARN] [Field Agent] : Not provisioned
[08/27/2019 07:57:51.814] [INFO] [Message Bus] : Check message bus server status
[08/27/2019 07:57:54.044] [INFO] [Local API] : Initiating control signals for unacknowledged signals
[08/27/2019 07:57:54.047] [INFO] [Local API] : Initiating message sending for the unacknowledged messages
[08/27/2019 07:57:54.653] [INFO] [Field Agent] : Ping controller
[08/27/2019 07:57:54.654] [WARN] [Field Agent] : Not provisioned
[08/27/2019 07:57:54.655] [WARN] [Field Agent] : Not provisioned
[08/27/2019 07:57:54.655] [INFO] [Message Bus] : calculating message processing speed
[08/27/2019 07:57:54.656] [WARN] [Field Agent] : Not provisioned
[08/27/2019 07:57:56.816] [INFO] [Message Bus] : Check message bus server status
[08/27/2019 07:58:01.686] [INFO] [Field Agent] : Get changes list
[08/27/2019 07:58:01.687] [WARN] [Field Agent] : Not provisioned
[08/27/2019 07:58:01.817] [INFO] [Message Bus] : Check message bus server status
[08/27/2019 07:58:04.044] [INFO] [Local API] : Initiating control signals for unacknowledged signals
[08/27/2019 07:58:04.047] [INFO] [Local API] : Initiating message sending for the unacknowledged messages
[08/27/2019 07:58:06.826] [INFO] [Message Bus] : Check message bus server status
[08/27/2019 07:58:11.093] [INFO] [Resource Consumption Manager] : Get usage data
[08/27/2019 07:58:11.688] [INFO] [Field Agent] : Get changes list
[08/27/2019 07:58:11.689] [WARN] [Field Agent] : Not provisioned
[08/27/2019 07:58:12.004] [INFO] [Process Manager] : Monitoring containers
[08/27/2019 07:58:12.777] [INFO] [Message Bus] : Check message bus server status
[08/27/2019 07:58:14.044] [INFO] [Local API] : Initiating control signals for unacknowledged signals
[08/27/2019 07:58:14.047] [INFO] [Local API] : Initiating message sending for the unacknowledged messages
[08/27/2019 07:58:17.778] [INFO] [Message Bus] : Check message bus server status
[08/27/2019 07:58:21.375] [INFO] [Field Agent] : Post ioFog status
[08/27/2019 07:58:21.375] [WARN] [Field Agent] : Not provisioned
[08/27/2019 07:58:21.376] [WARN] [Field Agent] : Connection to controller has broken
[08/27/2019 07:58:21.376] [INFO] [Field Agent] : Start posting ioFog status
[08/27/2019 07:58:21.690] [INFO] [Field Agent] : Get changes list
[08/27/2019 07:58:21.691] [WARN] [Field Agent] : Not provisioned
[08/27/2019 07:58:22.780] [INFO] [Message Bus] : Check message bus server status
[08/27/2019 07:58:24.044] [INFO] [Local API] : Initiating control signals for unacknowledged signals
[08/27/2019 07:58:24.047] [INFO] [Local API] : Initiating message sending for the unacknowledged messages
[08/27/2019 07:58:24.808] [INFO] [Local API] : Incorrect content type - Exception: null - Stack trace: java.lang.Exception
at org.eclipse.iofog.local_api.CommandLineApiHandler.call(CommandLineApiHandler.java:58)
at org.eclipse.iofog.local_api.CommandLineApiHandler.call(CommandLineApiHandler.java:36)
at io.netty.util.concurrent.PromiseTask.run(PromiseTask.java:73)
at io.netty.util.concurrent.DefaultEventExecutor.run(DefaultEventExecutor.java:66)
at io.netty.util.concurrent.SingleThreadEventExecutor$5.run(SingleThreadEventExecutor.java:905)
at io.netty.util.concurrent.FastThreadLocalRunnable.run(FastThreadLocalRunnable.java:30)
at java.lang.Thread.run(Thread.java:748)


(Ian Martin) #6

Your controller is listed as http://:51121/api/v3/ with no IP address, can you ensure that it is configured correctly in the yml file?


(Gowthamreddyvintha) #7

It’s configured correctly in yml file


(Serge Radinovich) #8

Hi gowthamreddyvintha, could you please show me all the yaml files you have used and the commands you have used with them?


(Gowthamreddyvintha) #9

Hi SergeRandinovich,

Here is the yaml file I used to add agent to the existing collector


agents:


(Gowthamreddyvintha) #10

http://localhost:51121 page shows cannot GET