open-horizon-services / service-edgelake

Deployment of EdgeLake using OpenHorizon
0 stars 2 forks source link

`agent-run` behavior fails to execute anything #6

Closed oshadmon closed 4 months ago

oshadmon commented 4 months ago

Commit: os-dev branch in oshadmon/service-anylog fork commit # d374ab8154030a5046c84654434f732c5428b36e

Steps:

  1. connect to the enterprise version for OpenHorizon

    • export params
    • install agent / start hello-world
    • Unregister
  2. Clone EdgeLake service

    git clone -b os-dev https://github.com/oshadmon/service-anylog service-edgelake
  3. Create Service and Service-Policy

    make publish-service EDGELAKE_TYPE=master
    make publish-service-policy EDGELAKE_TYPE=master
  4. Create Deployment Policy

    make publish-deployment-policy EDGELAKE_TYPE=master
  5. Start Agent

    make agent-run EDGELAKE_TYPE=master

Expect: Success Actual: Fails – On the OpenHorizon Web Application it looks like all the policies are there, and the image did download. However, deployment isn’t starting

root@anylog-openhorizon-test:~/service-edgelake# hzn agreement list 
[]

root@anylog-openhorizon-test:~/service-edgelake# docker image ls 
REPOSITORY                         TAG       IMAGE ID       CREATED        SIZE
anylogco/edgelake                  latest    ddb4eac2c953   37 hours ago   767MB
openhorizon/ibm.helloworld_amd64   <none>    472029755049   3 years ago    5.62MB

root@anylog-openhorizon-test:~/service-edgelake# hzn eventlog list 
  "2024-03-27 16:24:08:   Start node configuration/registration for node anylog-openhorizon-test.",
  "2024-03-27 16:24:09:   Complete node configuration/registration for node anylog-openhorizon-test."

Note: @t-fine and @joewxboy should have a copy the full documentation in their email