Describe the bug
Need to remove --force option for installing dependencies with pip. Otherwise, the container is not started.
2025-04-22T12:27:15.065790536Z 2025-04-22 12:26:55,015 () volttron.messagebus.zmq.monitor(55) SERVER INFO: ACCEPTED 27 b'ipc://@/home/volttron/datavolume/volttron_home/run/vip.socket'
2025-04-22T12:27:15.065792330Z 2025-04-22 12:26:55,016 () volttron.messagebus.zmq.monitor(55) SERVER INFO: HANDSHAKE_SUCCEEDED 0 b'ipc://@/home/volttron/datavolume/volttron_home/run/vip.socket'
2025-04-22T12:27:15.065794070Z 2025-04-22 12:27:15,061 () volttron.messagebus.zmq.monitor(55) SERVER INFO: DISCONNECTED 27 b'ipc://@/home/volttron/datavolume/volttron_home/run/vip.socket'
2025-04-22T12:27:15.076071719Z subprocess.check_call(install_cmd)
2025-04-22T12:27:15.076103838Z File "/usr/local/lib/python3.10/subprocess.py", line 369, in check_call
2025-04-22T12:27:15.076727708Z raise CalledProcessError(retcode, cmd)
2025-04-22T12:27:15.076752681Z subprocess.CalledProcessError: Command '['vctl', 'install', '--vip-identity', 'listener', '--force', '--enable', '--start', 'volttron-listener']' returned non-zero exit status 75.
The workaround is commenting out the ---force flag such as
install_cmd = [
"vctl", "install", "--vip-identity", agent.identity,
# "--force",
"--enable",
"--start"
]
Describe the bug
Need to remove --force option for installing dependencies with pip. Otherwise, the container is not started.
The workaround is commenting out the ---force flag such as