core-config-seed's People
core-config-seed's Issues
Consul data is always cleaned up whenever the docker container restart
In launch-consul-config.sh
if [ -z $ARCH ]
then
rm -rf /consul/data/* && docker-entrypoint.sh agent $CONSUL_ARGS | tee /edgex/logs/core-consul.log &
else
rm -rf /consul/data/* && $APP_DIR/docker-entrypoint.sh agent $CONSUL_ARGS | tee /edgex/logs/core-consul.log &
fi
The script causes the Consult data cannot be persisted. Reproduce steps:
- docker-compose up -d volume
- docker-compose up -d config-seed
- create or change anything in key/value store
- docker-compose restart config-seed
- everything you created or changed disappears
It should the expected behavior
Config/Registry in Go
Stretch goal for California Preview (to be done by Samsung)
Config-seed always loads every possible config
The current config seed loads all of its configs when it runs, including all existing device services (as of Barcelona release). It also always loads both the docker and non-docker config for each service. I originally ran into this while working on my edgex core snap, but managed to reproduce as well by starting up the default Barcelona services via the developer-script run-it script.
Log File Path not Platform agnostic
Application.properties uses Unix absolute path for logging.file, breaks on Windows when running from source with error:
log4j:ERROR setFile(null,true) call failed.
java.io.FileNotFoundException: /edgex/logs/edgex-core-metadata.log (No such file or directory)
wrong config path in config-seed
all the service ids contain "edgex-" prefix, such as edgex-core-data.
however, the current config seed path all look like config/core-data/, not config/edgex-core-data/
thus, the configuration won't be loaded by each services
there are many check criticals going , what's that mean of "xxx is now critical"?
2017/11/08 10:38:07 [WARN] agent: Check 'service:edgex-support-rulesengine-docker-48075' is now critical
2017/11/08 10:38:07 [WARN] agent: Check 'service:edgex-support-logging-docker-48061' is now critical
2017/11/08 10:38:08 [WARN] agent: Check 'service:edgex-export-distro-docker-48070' is now critical
2017/11/08 10:38:09 [WARN] agent: Check 'service:edgex-support-scheduler-docker-48085' is now critical
2017/11/08 10:38:11 [WARN] agent: Check 'service:edgex-export-client-docker-48071' is now critical
2017/11/08 10:38:13 [WARN] agent: Check 'service:edgex-device-virtual-docker-49990' is now critical
2017/11/08 10:38:13 [WARN] agent: Check 'service:edgex-core-metadata-docker-48081' is now critical
2017/11/08 10:38:16 [WARN] agent: Check 'service:edgex-core-data-docker-48080' is now critical
2017/11/08 10:38:16 [WARN] agent: Check 'service:edgex-core-command-docker-48082' is now critical
2017/11/08 10:38:17 [WARN] agent: Check 'service:edgex-support-rulesengine-docker-48075' is now critical
2017/11/08 10:38:17 [WARN] agent: Check 'service:edgex-support-logging-docker-48061' is now critical
2017/11/08 10:38:18 [WARN] agent: Check 'service:edgex-export-distro-docker-48070' is now critical
2017/11/08 10:38:19 [WARN] agent: Check 'service:edgex-support-scheduler-docker-48085' is now critical
2017/11/08 10:38:21 [WARN] agent: Check 'service:edgex-export-client-docker-48071' is now critical
2017/11/08 10:38:23 [WARN] agent: Check 'service:edgex-device-virtual-docker-49990' is now critical
2017/11/08 10:38:23 [WARN] agent: Check 'service:edgex-core-metadata-docker-48081' is now critical
2017/11/08 10:38:26 [WARN] agent: Check 'service:edgex-core-data-docker-48080' is now critical
2017/11/08 10:38:26 [WARN] agent: Check 'service:edgex-core-command-docker-48082' is now critical
2017/11/08 10:38:27 [WARN] agent: Check 'service:edgex-support-rulesengine-docker-48075' is now critical
2017/11/08 10:38:27 [WARN] agent: Check 'service:edgex-support-logging-docker-48061' is now critical
2017/11/08 10:38:28 [WARN] agent: Check 'service:edgex-export-distro-docker-48070' is now critical
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.