volttron-utils's Introduction
volttron-utils's People
volttron-utils's Issues
Have standard keystore file name convention
Currently server's keystore is in a file named keystore
Core services such as config.store have keys defined in vhome/keystores/<vip_identity>/keystore.json
Installed agents keys get saved in vhome/agents/keystore.json
Add DEV dependencies
There are currently no DEV dependencies, so far I recommend:
-pytest
-mock
I am sure more to come as I work my way through getting the tests to run.
syslog imported in wrong place
Cleanup ClientContext object
ClientContext should be the go to class for agents to get information related to environment - server, vhome, keystore etc. AIP should not call clientcontext. AIP should set env variables and ClientContext should read it from the environment
Add environmental variables to vip_main for publickey secretkey and serverkey
add ability to get
AGENT_SECRETKEY
AGENT_PUBLICKEY
VOLTTRON_SERVERKEY
you could then run the agent from command line
AGENT_SECRETKEY=<secretkey> AGENT_PUBLICKEY=<publickey> VOLTTRON_SERVERKEY=<serverkey> python agent.py
Test modular code with Ubuntu 22.04 and python 3.10
Cryptograpy==2.3 requirement makes library incompatible with Python=3.8
cryptography version 2.3 has the following Python versioning requirement:
cryptography==2.3 -> python[version='>=2.7,<2.8.0a0|>=3.5,<3.6.0a0|>=3.7,<3.8.0a0|>=3.6,<3.7.0a0']
Which is not compatible with Python >=3.8.
Error when file not found in persistance.py
For some reason this is only printed out when you don't redirect to a log file.
2021-12-11 16:40:00,923 () volttron.client.vip.agent.core DEBUG: server key from env None
2021-12-11 16:40:00,924 () volttron.client.vip.agent.core DEBUG: after setting agent provate and public key None None
shutil.move(tempname, filename) # atomic commit
File "/usr/lib/python3.8/shutil.py", line 811, in move
2021-12-11 16:40:00,925 () volttron.client.vip.agent.core DEBUG: AGENT RUNNING on ZMQ Core keydiscovery
2021-12-11 16:40:00,926 () volttron.client.vip.agent.core DEBUG: keys: server: None public: HUDjKHg_iEvsnE9tc--Szwx4wB8u84XymYK0fd9T-nI, secret: txbkI9grbJEtSb8_1Ges8yXnz5XYcmdKdDz2z7vMIw4
2021-12-11 16:40:00,927 () volttron.services.auth.auth_service DEBUG: Returning field _build_capabilities {'edit_config_store': {'identity': '/.*/'}, 'allow_auth_modifications': None}
copy_function(src, real_dst)
File "/usr/lib/python3.8/shutil.py", line 435, in copy2
copyfile(src, dst, follow_symlinks=follow_symlinks)
File "/usr/lib/python3.8/shutil.py", line 264, in copyfile
with open(src, 'rb') as fsrc, open(dst, 'wb') as fdst:
FileNotFoundError: [Errno 2] No such file or directory: '/home/gridappsd/.volttron_instances.tmp'
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.