Comments (4)
Hi GHYOON,
Volttron recently changed the name of MasterDriverAgent to PlatfromDriverAgent and that is most likely the reason that docker-compose failed.
What branch did you use so that I can recreate the bug on my end?
I currently have a PR, #22, addressing this name change. If you're curious, you can check out my feature branch and try running docker-compose on that version: https://github.com/bonicim/volttron-docker/tree/add-docker-image-test-scripts
from volttron-docker.
Hi bonicim,
Issue branch is "main"
and I moved your repository and got following issues;
volttron1 | Platform instance name set to: volttron1
volttron1 | Platform bind web address set to: https://0.0.0.0:8443
volttron1 | Installing packages for web platform: ['ws4py', 'PyJWT', 'Jinja2', 'passlib', 'argon2-cffi', 'Werkzeug']
volttron1 | Creating rabbitmq conifg file at /home/volttron/.volttron/rabbitmq_config.yml
volttron1 | dumpfile is :{'certificate-data': {'country': 'US', 'state': 'Washington', 'location': 'Richland', 'organization': 'PNNL', 'organization-unit': 'VOLTTRON Team', 'common-name': 'volttron1-root-ca'}, 'host': 'volttron1'}
volttron1 | Traceback (most recent call last):
volttron1 | File "/startup/setup-platform.py", line 96, in <module>
volttron1 | yaml.dump(rabbit_config, outfile, default_flow_style=False)
volttron1 | File "/home/volttron/.local/lib/python3.7/site-packages/yaml/__init__.py", line 290, in dump
volttron1 | return dump_all([data], stream, Dumper=Dumper, **kwds)
volttron1 | File "/home/volttron/.local/lib/python3.7/site-packages/yaml/__init__.py", line 278, in dump_all
volttron1 | dumper.represent(data)
volttron1 | File "/home/volttron/.local/lib/python3.7/site-packages/yaml/representer.py", line 28, in represent
volttron1 | self.serialize(node)
volttron1 | File "/home/volttron/.local/lib/python3.7/site-packages/yaml/serializer.py", line 54, in serialize
volttron1 | self.serialize_node(node, None, None)
volttron1 | File "/home/volttron/.local/lib/python3.7/site-packages/yaml/serializer.py", line 108, in serialize_node
volttron1 | self.serialize_node(value, node, key)
volttron1 | File "/home/volttron/.local/lib/python3.7/site-packages/yaml/serializer.py", line 107, in serialize_node
volttron1 | self.serialize_node(key, node, None)
volttron1 | File "/home/volttron/.local/lib/python3.7/site-packages/yaml/serializer.py", line 90, in serialize_node
volttron1 | style=node.style))
volttron1 | File "/home/volttron/.local/lib/python3.7/site-packages/yaml/emitter.py", line 115, in emit
volttron1 | self.state()
volttron1 | File "/home/volttron/.local/lib/python3.7/site-packages/yaml/emitter.py", line 393, in expect_first_block_mapping_key
volttron1 | return self.expect_block_mapping_key(first=True)
volttron1 | File "/home/volttron/.local/lib/python3.7/site-packages/yaml/emitter.py", line 403, in expect_block_mapping_key
volttron1 | self.expect_node(mapping=True, simple_key=True)
volttron1 | File "/home/volttron/.local/lib/python3.7/site-packages/yaml/emitter.py", line 244, in expect_node
volttron1 | self.expect_scalar()
volttron1 | File "/home/volttron/.local/lib/python3.7/site-packages/yaml/emitter.py", line 268, in expect_scalar
volttron1 | self.process_scalar()
volttron1 | File "/home/volttron/.local/lib/python3.7/site-packages/yaml/emitter.py", line 533, in process_scalar
volttron1 | self.write_plain(self.analysis.scalar, split)
volttron1 | File "/home/volttron/.local/lib/python3.7/site-packages/yaml/emitter.py", line 1132, in write_plain
volttron1 | self.stream.write(data)
volttron1 | TypeError: a bytes-like object is required, not 'str'
volttron1 | error running setup-platform.py
volttron1 exited with code 1
In your add-docker-image-test-scripts, it works !
when I change docker image from volttron/volttron:develop to bonicim/volttron:develop.
I think there is issue in volttron official image.
from volttron-docker.
Hi GHYOON,
I realized that issue and made some changes to that branch. I've merged the latest into this repo's branch 'develop'. Try that branch and let me know how it goes. The docker-compose files do not pull from the volition official image and rather builds the image locally. Develop branch: https://github.com/VOLTTRON/volttron-docker/tree/develop
NOTE: When you pull in the branch, be sure to initialize the git submodule using: git submodule update --init --recursive
. The instructions are also in the branch's README.md.
from volttron-docker.
Hi bonicim
I moved develop branch and build docker container locally (VOLTTRON branch: develop)
and it works well. Thanks
from volttron-docker.
Related Issues (20)
- realpath not a thing anymore HOT 1
- mount host VOLTTRON_HOME
- rmq certification is changed HOT 7
- Please mention how to install on ARM. HOT 8
- Docker installation does not set proper permissions on socket HOT 3
- VOLTTRON Central Agent Showing status of 1 HOT 2
- Volttron1 container is not reentrant HOT 5
- The agent install priority in the setup-platform.py file is hard coded HOT 1
- Error on ZMQ socket bind() needs more information, patch attached. HOT 3
- Unable to access VOLTTRON central HOT 6
- Update Volttron image to 9.0
- Unable to build Volttron docker image HOT 6
- publish_to_dhub.yml action not working as expected
- stopping and start local docker container causes config error
- Cannot login into vc on volttron-docker container
- Can't find eclipsevolttron/volttron:v3 image
- Empty platform.driver list leads to type error
- Cython errors out with syntax error in Cython file
- Setup doesn't create the correct permissions on VOLTTRON_HOME directory HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from volttron-docker.