#fabric-questions #fabric-questions


edlshinde@...
 

When i am running the channel create command of peer i am getting the below issue 
2019-06-21 14:13:20.975 IST [msp] setupSigningIdentity -> DEBU 033 Signing identity expires at 2020-06-11 10:37:00 +0000 UTC
2019-06-21 14:13:20.975 IST [msp] Validate -> DEBU 034 MSP Org1MSP validating identity
2019-06-21 14:13:20.975 IST [msp] GetDefaultSigningIdentity -> DEBU 035 Obtaining default signing identity
2019-06-21 14:13:20.975 IST [grpc] DialContext -> DEBU 036 parsed scheme: ""
2019-06-21 14:13:20.976 IST [grpc] DialContext -> DEBU 037 scheme "" not registered, fallback to default scheme
2019-06-21 14:13:20.976 IST [grpc] watcher -> DEBU 038 ccResolverWrapper: sending new addresses to cc: [{172.23.155.122:7050 0 <nil>}]
2019-06-21 14:13:20.976 IST [grpc] switchBalancer -> DEBU 039 ClientConn switching balancer to "pick_first"
2019-06-21 14:13:20.976 IST [grpc] HandleSubConnStateChange -> DEBU 03a pickfirstBalancer: HandleSubConnStateChange: 0xc0001af6f0, CONNECTING
2019-06-21 14:13:20.978 IST [grpc] HandleSubConnStateChange -> DEBU 03b pickfirstBalancer: HandleSubConnStateChange: 0xc0001af6f0, READY
2019-06-21 14:13:20.978 IST [channelCmd] InitCmdFactory -> INFO 03c Endorser and orderer connections initialized
2019-06-21 14:13:20.979 IST [msp] GetDefaultSigningIdentity -> DEBU 03d Obtaining default signing identity
2019-06-21 14:13:20.979 IST [msp] GetDefaultSigningIdentity -> DEBU 03e Obtaining default signing identity
2019-06-21 14:13:20.979 IST [msp.identity] Sign -> DEBU 03f Sign: plaintext: 0AE1070A074F7267314D535012D5072D...697074696F6E436F6E736F727469756D
2019-06-21 14:13:20.979 IST [msp.identity] Sign -> DEBU 040 Sign: digest: 84EB0A1EC23D8FCBDAAA707BF8E3597049ACD5A8A397F5A443ED5039E83D9CDE
2019-06-21 14:13:20.979 IST [msp] GetDefaultSigningIdentity -> DEBU 041 Obtaining default signing identity
2019-06-21 14:13:20.979 IST [msp] GetDefaultSigningIdentity -> DEBU 042 Obtaining default signing identity
2019-06-21 14:13:20.979 IST [msp.identity] Sign -> DEBU 043 Sign: plaintext: 0AA6080A2308021A0608A8B1B2E80522...300EA19073662B3E8D018B9D2664B9E8
2019-06-21 14:13:20.980 IST [msp.identity] Sign -> DEBU 044 Sign: digest: 732DE76F88D1615E619CA658551700A2B125E281073AB150000CC541ED0E910A
2019-06-21 14:13:20.980 IST [grpc] DialContext -> DEBU 045 parsed scheme: ""
2019-06-21 14:13:20.980 IST [grpc] DialContext -> DEBU 046 scheme "" not registered, fallback to default scheme
2019-06-21 14:13:20.980 IST [grpc] watcher -> DEBU 047 ccResolverWrapper: sending new addresses to cc: [{172.23.155.122:7050 0 <nil>}]
2019-06-21 14:13:20.980 IST [grpc] switchBalancer -> DEBU 048 ClientConn switching balancer to "pick_first"
2019-06-21 14:13:20.980 IST [grpc] HandleSubConnStateChange -> DEBU 049 pickfirstBalancer: HandleSubConnStateChange: 0xc0005963e0, CONNECTING
2019-06-21 14:13:20.981 IST [grpc] HandleSubConnStateChange -> DEBU 04a pickfirstBalancer: HandleSubConnStateChange: 0xc0005963e0, 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

Can anybody please help


Nye Liu <nye@...>
 

Unfortunately this was very hard for me to figure out as well. The documentation isn't clear exactly what "ADMIN" means.

There are several different context/definitions

1) CA-server (e.g. bootstrap admin)

2) Ledger policy (Organization MSPDir admincerts/)

3) Peer/orderer permissions (LOCALMSPDIR admincerts/)

. In this case, "admin" means the public cert for that identity is in the peer's msp/admincerts/ directory (to give permission for the peer action), and also in the channel member org msp/admincerts/ directory (to give permission to the channel action)

Hope this helps.

On 6/21/2019 4:04 AM, edlshinde@... wrote:

When i am running the channel create command of peer i am getting the below issue 
2019-06-21 14:13:20.975 IST [msp] setupSigningIdentity -> DEBU 033 Signing identity expires at 2020-06-11 10:37:00 +0000 UTC
2019-06-21 14:13:20.975 IST [msp] Validate -> DEBU 034 MSP Org1MSP validating identity
2019-06-21 14:13:20.975 IST [msp] GetDefaultSigningIdentity -> DEBU 035 Obtaining default signing identity
2019-06-21 14:13:20.975 IST [grpc] DialContext -> DEBU 036 parsed scheme: ""
2019-06-21 14:13:20.976 IST [grpc] DialContext -> DEBU 037 scheme "" not registered, fallback to default scheme
2019-06-21 14:13:20.976 IST [grpc] watcher -> DEBU 038 ccResolverWrapper: sending new addresses to cc: [{172.23.155.122:7050 0 <nil>}]
2019-06-21 14:13:20.976 IST [grpc] switchBalancer -> DEBU 039 ClientConn switching balancer to "pick_first"
2019-06-21 14:13:20.976 IST [grpc] HandleSubConnStateChange -> DEBU 03a pickfirstBalancer: HandleSubConnStateChange: 0xc0001af6f0, CONNECTING
2019-06-21 14:13:20.978 IST [grpc] HandleSubConnStateChange -> DEBU 03b pickfirstBalancer: HandleSubConnStateChange: 0xc0001af6f0, READY
2019-06-21 14:13:20.978 IST [channelCmd] InitCmdFactory -> INFO 03c Endorser and orderer connections initialized
2019-06-21 14:13:20.979 IST [msp] GetDefaultSigningIdentity -> DEBU 03d Obtaining default signing identity
2019-06-21 14:13:20.979 IST [msp] GetDefaultSigningIdentity -> DEBU 03e Obtaining default signing identity
2019-06-21 14:13:20.979 IST [msp.identity] Sign -> DEBU 03f Sign: plaintext: 0AE1070A074F7267314D535012D5072D...697074696F6E436F6E736F727469756D
2019-06-21 14:13:20.979 IST [msp.identity] Sign -> DEBU 040 Sign: digest: 84EB0A1EC23D8FCBDAAA707BF8E3597049ACD5A8A397F5A443ED5039E83D9CDE
2019-06-21 14:13:20.979 IST [msp] GetDefaultSigningIdentity -> DEBU 041 Obtaining default signing identity
2019-06-21 14:13:20.979 IST [msp] GetDefaultSigningIdentity -> DEBU 042 Obtaining default signing identity
2019-06-21 14:13:20.979 IST [msp.identity] Sign -> DEBU 043 Sign: plaintext: 0AA6080A2308021A0608A8B1B2E80522...300EA19073662B3E8D018B9D2664B9E8
2019-06-21 14:13:20.980 IST [msp.identity] Sign -> DEBU 044 Sign: digest: 732DE76F88D1615E619CA658551700A2B125E281073AB150000CC541ED0E910A
2019-06-21 14:13:20.980 IST [grpc] DialContext -> DEBU 045 parsed scheme: ""
2019-06-21 14:13:20.980 IST [grpc] DialContext -> DEBU 046 scheme "" not registered, fallback to default scheme
2019-06-21 14:13:20.980 IST [grpc] watcher -> DEBU 047 ccResolverWrapper: sending new addresses to cc: [{172.23.155.122:7050 0 <nil>}]
2019-06-21 14:13:20.980 IST [grpc] switchBalancer -> DEBU 048 ClientConn switching balancer to "pick_first"
2019-06-21 14:13:20.980 IST [grpc] HandleSubConnStateChange -> DEBU 049 pickfirstBalancer: HandleSubConnStateChange: 0xc0005963e0, CONNECTING
2019-06-21 14:13:20.981 IST [grpc] HandleSubConnStateChange -> DEBU 04a pickfirstBalancer: HandleSubConnStateChange: 0xc0005963e0, 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

Can anybody please help