#fabric #fabricca #fabric #fabric #fabricca


soumya nayak <soumyarjnnayak@...>
 

Hi Everybody,

When I am trying to run the peer command for channel creation the below errors are being thrown in peer logs

2019-06-21 16:24:35.032 IST [grpc] HandleSubConnStateChange -> DEBU 04a pickfirstBalancer: HandleSubConnStateChange: 0xc0004c5e80, READY
Error: got unexpected status: BAD_REQUEST -- error validating channel creation transaction for new channel 'legaldescriptionchannel', could not succesfully apply update to template configuration: error authorizing update: error validating DeltaSet: policy for [Group]  /Channel/Application not satisfied: implicit policy evaluation failed - 0 sub-policies were satisfied, but this policy requires 1 of the 'Admins' sub-policies to be satisfied

Orderer logs :-
2019-06-21 16:24:35.074 IST [cauthdsl] func1 -> DEBU 3bb 0xc0003d81f0 gate 1561114475074170887 evaluation starts
2019-06-21 16:24:35.074 IST [cauthdsl] func2 -> DEBU 3bc 0xc0003d81f0 signed by 0 principal evaluation starts (used [false])
2019-06-21 16:24:35.074 IST [cauthdsl] func2 -> DEBU 3bd 0xc0003d81f0 processing identity 0 with bytes of f2e0b0
2019-06-21 16:24:35.074 IST [msp] satisfiesPrincipalInternalPreV13 -> DEBU 3be Checking if identity satisfies ADMIN role for Org1MSP
2019-06-21 16:24:35.074 IST [cauthdsl] func2 -> DEBU 3bf 0xc0003d81f0 identity 0 does not satisfy principal: This identity is not an admin
2019-06-21 16:24:35.074 IST [cauthdsl] func2 -> DEBU 3c0 0xc0003d81f0 principal evaluation fails
2019-06-21 16:24:35.074 IST [cauthdsl] func1 -> DEBU 3c1 0xc0003d81f0 gate 1561114475074170887 evaluation fails
2019-06-21 16:24:35.074 IST [policies] Evaluate -> DEBU 3c2 Signature set did not satisfy policy /Channel/Application/Org1/Admins
2019-06-21 16:24:35.074 IST [policies] Evaluate -> DEBU 3c3 == Done Evaluating *cauthdsl.policy Policy /Channel/Application/Org1/Admins
2019-06-21 16:24:35.074 IST [policies] func1 -> DEBU 3c4 Evaluation Failed: Only 0 policies were satisfied, but needed 1 of [ Org1/Admins ]
2019-06-21 16:24:35.074 IST [policies] Evaluate -> DEBU 3c5 Signature set did not satisfy policy /Channel/Application/ChannelCreationPolicy
2019-06-21 16:24:35.074 IST [policies] Evaluate -> DEBU 3c6 == Done Evaluating *policies.implicitMetaPolicy Policy /Channel/Application/ChannelCreationPolicy
2019-06-21 16:24:35.074 IST [orderer.common.broadcast] ProcessMessage -> WARN 3c7 [channel: legaldescriptionchannel] Rejecting broadcast of config message from 172.23.155.115:59200 because of error: error validating channel creation transaction for new channel 'legaldescriptionchannel', could not succesfully apply update to template configuration: error authorizing update: error validating DeltaSet: policy for [Group]  /Channel/Application not satisfied: implicit policy evaluation failed - 0 sub-policies were satisfied, but this policy requires 1 of the 'Admins' sub-policies to be satisfied

I have generated the identities using fabric-ca server for both orderer and org1 as admins. I am not able to locate where the issue is?

Regards,
Soumya

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