Error Removing Orgs from Fabric Network
Brett Tiller
I’m testing that an organization can be removed from a network and am following the steps specified in the fairly recent article https://medium.com/geekculture/remove-org-from-running-hypeledger-fabric-blockchain-744bdd05511b, as it is relevant to HLF fabric 2.3. I’m using the fabric-sample test-network, which as you know has two organizations and one orderer, for my test case. After Step 8 I stopped the Org2MSP docker container because in my view it is in process of being removed from the network so should be not endorsing transactions. The error I’m encountering is in the final step, step 11 which is to submit the channel update to the blockchain, when I run the command below.
peer channel update -f config_update_in_envelope.pb -c mychannel -o localhost:7050 --tls --cafile $ORDERER_CA
My question is where and how do I make the policy change to resolve the error above?
Thanks,
Brett Tiller Sr. Software Engineer 984-349-4239 (mobile)
https://www.linkedin.com/company/securboration
|
|
Hi Brett, I am the author of above article. In article I am using a ANY policy, that's why I only require single organization signature. If you are trying it on test-network then you will have take signature from majority of organization then only you will be able to submit the transaction. It means you will have to execute step 10 from majority of organization to take signatures. Let me know if you need any assistance. Thanks & Regards, Chandramohan Jagtap On Wed, Aug 3, 2022, 11:51 PM Brett Tiller <btiller@...> wrote:
|
|
Nikhil Gupta
Hey Brett, This tutorial on channel policies may provide some helpful background: https://hyperledger-fabric.readthedocs.io/en/release-2.2/create_channel/channel_policies.html I can only guess based on the error message, but it seems that you only signed the channel config update with one admin, when a successful update requires two. You may need to sign the channel update using another admin. Nik On Wed, Aug 3, 2022 at 2:21 PM Brett Tiller <btiller@...> wrote:
|
|
Brett Tiller
Thanks Chandramohan, I’ve got the example working by setting the policies in configtx.yaml from MAJORITY to ANY. I have the following questions.
Thanks,
Brett Tiller Sr. Software Engineer 984-349-4239 (mobile)
From: Chandramohan Jagtap <cmjagtap1@...>
Sent: Wednesday, August 3, 2022 9:43 PM To: Brett Tiller <btiller@...> Cc: fabric@... Subject: Re: [Hyperledger Fabric] Error Removing Orgs from Fabric Network
Hi Brett,
I am the author of above article. In article I am using a ANY policy, that's why I only require single organization signature. If you are trying it on test-network then you will have take signature from majority of organization then only you will be able to submit the transaction. It means you will have to execute step 10 from majority of organization to take signatures.
Let me know if you need any assistance.
Thanks & Regards, Chandramohan Jagtap
On Wed, Aug 3, 2022, 11:51 PM Brett Tiller <btiller@...> wrote:
Message Sender is EXTERNAL to Securboration. Carefully examine this message before you open any links or attachments. |
|