hyperledger-labs / hyperledger-labs/fabric-operator
sample-network's cc deploy step fails on k3s environment
- Dominant language
- Go
- Stars
- 78
- Forks
- 47
- Avg merge
- 1h 24m
- Merged PRs (30d)
- 3
Description
Hello,
I have tested fabric-operator with its sample-network, first with KIND and was able to confirm up to a point where chaincode deployment and invoke/query were successful.
Then I have tried k3s setup and it seems that cc deploy step keeps failing.
I tried k9s to verify the situation and it seems `-ccaas-` chaincode container cannot start, with `d` description says `failed to pull and unpack image "docker.io/fabric-samples/asset-transfer-basic/chaincode-java:latest": failed to resolve reference "docker.io/fabric-samples/asset-transfer-basic/chaincode-java:latest": pull access denied, repository does not exist or may require authorization: server message: insufficient_scope: authorization failed`. I suppose its calling for a wrong image reference.
How could I fix this issue so that I can use chaincode with fabric-operator on k3s? Any help is appreciated please.
Thanks.
Here are some screenshots:
[1]

[2]

Contributor guide
Research direction
Start with the sample-network chaincode deployment and the image reference shown in the k3s error, then compare the working KIND setup with the k3s configuration. Verify the referenced image can be pulled and that the chaincode container starts; done means the sample-network chaincode deploy, invoke, and query steps succeed on k3s.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- docker, kubernetes
- Domain
- devops, infrastructure
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100