Edge-home-orchestration-go: [DataStorage] 升级到 EdgeX v2.0(爱尔兰)

创建于 2021-07-01  ·  7评论  ·  资料来源: lf-edge/edge-home-orchestration-go

我们应该退出临时使用,需要检查 Home Edge 官方 EdgeX v2.0 的可能性。

enhancement

最有用的评论

@sun-sharma PTAL。 (包括#326)就 PR 的测试而言。

所有7条评论

我创建了ds_ireland分支以使用 edgex v2.0 测试 DataStorage。

  1. 在没有安全性的情况下运行 EdgeX 容器
$ cd deployments/datastorage
$ docker-compose up -d
  1. configs/datastorage 文件夹中的配置文件夹和文件保存到/var/edge-orchestration/datastorage/
  2. 将 0mq 安装为共享库。
$ sudo apt-get install -y libzmq3-dev
  1. 创建容器镜像
$ ./build.sh container x86_64
  1. 运行边缘编排
$ 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

我创建了ds_ireland分支以使用 edgex v2.0 测试 DataStorage。

  1. 在没有安全性的情况下运行 EdgeX 容器
$ cd deployments/datastorage
$ docker-compose up -d
  1. configs/datastorage 文件夹中的配置文件夹和文件保存到/var/edge-orchestration/datastorage/
  2. 创建容器镜像
$ ./build.sh container x86_64
  1. 运行边缘编排
$ 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这真是一个不错的方法。

@sun-sharma PTAL。 (包括#326)就 PR 的测试而言。

@tdrozdovsky PTAL 在构建方法方面受到 EdgeX v2.0 升级的影响。

@tdrozdovsky PTAL 在构建方法方面受到 EdgeX v2.0 升级的影响。

当一个新的构建系统被接受时,我们可以很容易地添加任何选项

@t25kim

我在尝试使用构建时遇到了错误
$ ./build.sh container x86_64

早些时候我遇到了与 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

我尝试进行必要的安装

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

现在,在构建时,我遇到了运行时错误

runtime: unexpected return pc for cmd/compile/internal/ssa.rewriteValuegeneric_OpLess32 called from 0x0
stack: frame={sp:0xc000161658, fp:0xc000161688} stack=[0xc00015e000,0xc000166000)

你遇到过这样的问题吗?

@t25kim

我在尝试使用构建时遇到了错误
$ ./build.sh container x86_64

早些时候我遇到了与 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

我尝试进行必要的安装

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

现在,在构建时,我遇到了运行时错误

runtime: unexpected return pc for cmd/compile/internal/ssa.rewriteValuegeneric_OpLess32 called from 0x0
stack: frame={sp:0xc000161658, fp:0xc000161688} stack=[0xc00015e000,0xc000166000)

你遇到过这样的问题吗?

请使用 apt-get 安装 0mq,如下所示。

$ sudo apt-get install -y libzmq3-dev
此页面是否有帮助?
0 / 5 - 0 等级

相关问题

MoonkiHong picture MoonkiHong  ·  7评论

t25kim picture t25kim  ·  5评论

t25kim picture t25kim  ·  10评论

mchittineni picture mchittineni  ·  33评论

t25kim picture t25kim  ·  17评论