Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How to add new peers to the existing org #186

Open
abhisamant7 opened this issue Aug 20, 2023 · 3 comments
Open

How to add new peers to the existing org #186

abhisamant7 opened this issue Aug 20, 2023 · 3 comments

Comments

@abhisamant7
Copy link

What would you like to be added?

Want to add new peers like if I have 2 peers in an existing org then I can add another one or two peers so I can join them to a different channel.

Why is this needed?

I was looking doc of bevel-operator-fabric however I am unable to find anything on how to add new peers to the existing org. could you please help me how to get it?

Thanks

@adityajoshi12
Copy link
Contributor

Follow these step

  1. Register the identities for new peer
  2. Create the peer node
  3. join the peer to the channel

@vigneshbalu96
Copy link

After Registering a peer, I try to Deploy the peer but it throws me some error :
[$ kubectl hlf peer create --statedb=couchdb --image=$PEER_IMAGE --version=$PEER_VERSION --storage-class=standard --enroll-id=peer --mspid=Org1MSP
--enroll-pw=peerpw --capacity=5Gi --name=org1-peer0 --ca-name=org1-ca.default
--hosts=peer0-org1.localho.st --istio-port=443
W1101 12:43:08.129100 13521 warnings.go:70] unknown field "spec.gatewayApi"
W1101 12:43:08.129129 13521 warnings.go:70] unknown field "spec.secret.enrollment.component.external"
W1101 12:43:08.129135 13521 warnings.go:70] unknown field "spec.secret.enrollment.tls.external"
Error: FabricPeer.hlf.kungfusoftware.es "org1-peer0" is invalid: [spec.tag: Invalid value: "": spec.tag in body should be at least 1 chars long, spec.image: Invalid value: "": spec.image in body should be at least 1 chars long]

As I am following this documentation : [https://hyperledger.github.io/bevel-operator-fabric/docs/getting-started/]

@adityajoshi12
Copy link
Contributor

Hi @vigneshbalu96, did you set the $PEER_IMAGE before creating the peer node?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants