open-horizon / open-horizon/devops
Error running make publish-only: ARCH=amd64 make publish-service-overwrite
Open
Nobody has claimed this yet.
- Dominant language
- Shell
- Stars
- 12
- Forks
- 46
- PR merge metrics
- No merged PRs in 30d
Description
The latest changes to deploy-mgmt-hub.sh is not completing the installation. Installation is successful with the previous commit.
Using examples repo tag v2.30.0-934 derived from the hzn version
Cloning https://github.com/open-horizon/examples.git to /tmp/open-horizon/examples ...
Switching to tag v2.30.0-934 ...
Publishing services and patterns of edge/services/cpu_percent to IBM org...
Publishing services and patterns of edge/services/gps to IBM org...
Publishing services and patterns of edge/services/helloworld to IBM org...
Publishing deployment policy of edge/services/helloworld to myhub org...
Publishing services and patterns of edge/services/helloMMS to IBM org...
Publishing services and patterns of edge/services/helloSecretWorld to IBM org...
Publishing services and patterns of edge/services/nginx-operator to IBM org...
Publishing deployment policy of edge/services/nginx-operator to myhub org...
Publishing services and patterns of edge/evtstreams/cpu2evtstreams to IBM org...
Error running make publish-only: ARCH=amd64 make publish-service-overwrite
make[1]: Entering directory '/tmp/open-horizon/examples/edge/evtstreams/cpu2evtstreams'
hzn exchange service publish -O -P --public=true -f horizon/service.definition.json
Checking private key file format ...
Signing service...
Pulling openhorizon/ibm.cpu2evtstreams_amd64:1.0.0...
Error: could not inspect image openhorizon/ibm.cpu2evtstreams_amd64:1.0.0: no such image.
make[1]: *** [Makefile:75: publish-service-overwrite] Error 7
make[1]: Leaving directory '/tmp/open-horizon/examples/edge/evtstreams/cpu2evtstreams'
make: *** [Makefile:87: publish-only] Error 2
Error: exit code 2 from: publishing examples```
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start with deploy-mgmt-hub.sh and the examples/edge/evtstreams/cpu2evtstreams/Makefile target publish-service-overwrite, then run ARCH=amd64 make publish-service-overwrite to reproduce the missing-image error. Trace why openhorizon/ibm.cpu2evtstreams_amd64:1.0.0 cannot be inspected; done means the installation and publish-only flow completes successfully.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- docker, shell
- Domain
- devops
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100