Re: Error Removing Orgs from Fabric Network


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:

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

  1. Error: got unexpected status: BAD_REQUEST -- error applying config update to existing channel 'mychannel': error authorizing update: error validating DeltaSet: policy for [Group]  /Channel/Application not satisfied: implicit policy evaluation failed - 1 sub-policies were satisfied, but this policy requires 2 of the 'Admins' sub-policies to be satisfied

 

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)

btiller@...

 

https://www.linkedin.com/company/securboration

 

Join fabric@lists.hyperledger.org to automatically receive all group messages.