eclipse-volttron / docker

0 stars 0 forks source link

Routing service fails to load #5

Open jkempf42 opened 1 year ago

jkempf42 commented 1 year ago

Describe the bug When starting the Volttron docker container with the command:

docker run -d -v $PWD/config:/config -v $PWD/datavolume:/home/volttron/datavolume -e 'PLATFORM_CONFIG=/config/central.yml' --name central --hostname central -it eclipsevolttron/volttron:v10

The log file says: 2023-06-14 20:19:15,596 () volttron.types.server_config(90) WARNING: Couldn't load volttron.services.routing

If you look into volttron.types.server_config and volttron.utils.dynamic_helper with print debugging, you will see that volttron.services.routing is not on the list of subclasses of ServiceInterface. If you look into routing_service.py, you will see that it is in fact the case that RoutingService does not inherit from Service Interface.

Connection with external Volttron platforms fails.

To Reproduce see above Expected behavior The routing service loads and external platforms connect.

craig8 commented 1 year ago

@jkempf42 can you post your config files if they are any different than the ones available with the code.

jkempf42 commented 1 year ago

Sure, see attached. These don't name the container central, though, they name it volttron. Actually, they are basically the same as the default.

    jak

On Wed, Jun 14, 2023 at 2:43 PM Craig @.***> wrote:

@jkempf42 https://github.com/jkempf42 can you post your config files if they are any different than the ones available with the code.

— Reply to this email directly, view it on GitHub https://github.com/eclipse-volttron/docker/issues/5#issuecomment-1592027694, or unsubscribe https://github.com/notifications/unsubscribe-auth/ADE62GUTGC5WB4NVQJXBAZDXLIV6JANCNFSM6AAAAAAZG5HZHA . You are receiving this because you were mentioned.Message ID: @.***>