We should get out of temporary use and need to check the possibility of official EdgeX v2.0 for Home Edge.
I made the ds_ireland
branch to test DataStorage with edgex v2.0.
$ cd deployments/datastorage
$ docker-compose up -d
/var/edge-orchestration/datastorage/
$ sudo apt-get install -y libzmq3-dev
$ ./build.sh container x86_64
$ docker run -it -d --privileged --network="host" --name edge-orchestration -e EDGEX_SECURITY_SECRET_STORE=false -v /var/edge-orchestration/:/var/edge-orchestration/:rw -v /var/run/docker.sock:/var/run/docker.sock:rw -v /proc/:/process/:ro edge-orchestration:coconut
I made the
ds_ireland
branch to test DataStorage with edgex v2.0.
- Run EdgeX containers without security
$ cd deployments/datastorage $ docker-compose up -d
- Save configuration folders and files in configs/datastorage folder to
/var/edge-orchestration/datastorage/
- Create the container image
$ ./build.sh container x86_64
- Run edge-orchestration
$ docker run -it -d --privileged --network="host" --name edge-orchestration -e EDGEX_SECURITY_SECRET_STORE=false -v /var/edge-orchestration/:/var/edge-orchestration/:rw -v /var/run/docker.sock:/var/run/docker.sock:rw -v /proc/:/process/:ro edge-orchestration:coconut
@t25kim This is really a nice approach.
@sun-sharma PTAL. (including #326) in terms of the test w.r.t. the PR.
@tdrozdovsky PTAL in terms of build methodology from the impact of EdgeX v2.0 upgrade.
@tdrozdovsky PTAL in terms of build methodology from the impact of EdgeX v2.0 upgrade.
When a new build system is accepted, we can easily add any options
Hi @t25kim ,
I have been facing errors while trying to build using
$ ./build.sh container x86_64
Earlier I was getting errors related to ZMQ
# pkg-config --cflags -- libzmq
Package libzmq was not found in the pkg-config search path.
Perhaps you should add the directory containing `libzmq.pc'
to the PKG_CONFIG_PATH environment variable
No package 'libzmq' found
pkg-config: exit status 1
make: *** [Makefile:67: build-binary] Error 1
I tried doing the necessary installs
wget https://github.com/zeromq/libzmq/releases/download/v4.2.1/zeromq-4.2.1.tar.gz
tar -xvzf zeromq-4.2.1.tar.gz
cd zeromq-4.2.1/
sudo apt-get install libtool pkg-config build-essential autoconf automake uuid-dev
sudo apt-get install checkinstall
./configure
make
sudo checkinstall
sudo ldconfig
Now, while building I am getting runtime errors
runtime: unexpected return pc for cmd/compile/internal/ssa.rewriteValuegeneric_OpLess32 called from 0x0
stack: frame={sp:0xc000161658, fp:0xc000161688} stack=[0xc00015e000,0xc000166000)
Did you encounter such issues ?
Hi @t25kim ,
I have been facing errors while trying to build using
$ ./build.sh container x86_64
Earlier I was getting errors related to ZMQ
# pkg-config --cflags -- libzmq Package libzmq was not found in the pkg-config search path. Perhaps you should add the directory containing `libzmq.pc' to the PKG_CONFIG_PATH environment variable No package 'libzmq' found pkg-config: exit status 1 make: *** [Makefile:67: build-binary] Error 1
I tried doing the necessary installs
wget https://github.com/zeromq/libzmq/releases/download/v4.2.1/zeromq-4.2.1.tar.gz tar -xvzf zeromq-4.2.1.tar.gz cd zeromq-4.2.1/ sudo apt-get install libtool pkg-config build-essential autoconf automake uuid-dev sudo apt-get install checkinstall ./configure make sudo checkinstall sudo ldconfig
Now, while building I am getting runtime errors
runtime: unexpected return pc for cmd/compile/internal/ssa.rewriteValuegeneric_OpLess32 called from 0x0 stack: frame={sp:0xc000161658, fp:0xc000161688} stack=[0xc00015e000,0xc000166000)
Did you encounter such issues ?
Please install 0mq with apt-get like below.
$ sudo apt-get install -y libzmq3-dev
Most helpful comment
@sun-sharma PTAL. (including #326) in terms of the test w.r.t. the PR.