EricssonResearch / calvin-base

Calvin is an application environment that lets things talk to things, among other things.
Apache License 2.0
282 stars 91 forks source link

runtime_credentials: get_domain: error while trying to read domain from Calvin config #75

Closed peiworld closed 7 years ago

peiworld commented 7 years ago

In the latest docker image based on the master branch, there is a problem when running the runtime.

root@956baee4941f:/calvin-base# csruntime --host 5000 --controlport 5001 --name rt0 & [1] 8 root@956baee4941f:/calvin-base# 2017-07-13 12:32:38,728 ERROR 8-calvin.calvin.utilities.runtime_credentials: get_domain: error while trying to read domain from Calvin config , err=argument of type 'NoneType' is not iterable

persquare commented 7 years ago

OK, that message looks worse than it is... (we will fix that).

What you see is Calvin's security framework trying to find the credentials for the runtime. When it doesn't, it falls back to running without the security framework (which is quite OK for a lab setup or just playing around), and when doing so it prints a log entry (that should have been a warning rather than en error).

persquare commented 7 years ago

Fixed in commit #903999e