Error While Upgrading Network (Edit Channel ACLs) #hyperledger-fabric #fabric
Faisal
Hi Everyone, I was attempting to upgrade the network from 1.4.2 --> 2.0. I have completed all steps except the step where one has to Edit the Channel ACLs. The error and details are given below can anyone please provide an insight on it? Secondly the documentation states that it is an Optional step, if I skip this step would it effect any operations of the network and what functionalities might not be available as a result of it? Environment HLF (1.4.2) --> 2.0 {
"payload": {
"header": {
"channel_header": {
"channel_id": "mychannel",
"type": 2
}
},
"data": {
"config_update": {
"channel_id": "mychannel",
"isolated_data": {},
"read_set": {
"groups": {
"Application": {
"groups": {
"ORG2MSP": {
"groups": {},
"mod_policy": "",
"policies": {},
"values": {},
"version": "2"
},
"ORG1MSP": {
"groups": {},
"mod_policy": "",
"policies": {},
"values": {},
"version": "2"
}
},
"mod_policy": "",
"policies": {
"Admins": {
"mod_policy": "",
"policy": null,
"version": "0"
},
"Endorsement": {
"mod_policy": "",
"policy": null,
"version": "0"
},
"LifecycleEndorsement": {
"mod_policy": "",
"policy": null,
"version": "0"
},
"Readers": {
"mod_policy": "",
"policy": null,
"version": "0"
},
"Writers": {
"mod_policy": "",
"policy": null,
"version": "0"
}
},
"values": {
"Capabilities": {
"mod_policy": "",
"value": null,
"version": "1"
}
},
"version": "2"
}
},
"mod_policy": "",
"policies": {},
"values": {},
"version": "0"
},
"write_set": {
"groups": {
"Application": {
"groups": {
"ORG2MSP": {
"groups": {},
"mod_policy": "",
"policies": {},
"values": {},
"version": "2"
},
"ORG1MSP": {
"groups": {},
"mod_policy": "",
"policies": {},
"values": {},
"version": "2"
}
},
"mod_policy": "Admins",
"policies": {
"Admins": {
"mod_policy": "",
"policy": null,
"version": "0"
},
"Endorsement": {
"mod_policy": "",
"policy": null,
"version": "0"
},
"LifecycleEndorsement": {
"mod_policy": "",
"policy": null,
"version": "0"
},
"Readers": {
"mod_policy": "",
"policy": null,
"version": "0"
},
"Writers": {
"mod_policy": "",
"policy": null,
"version": "0"
}
},
"values": {
"ACLs": {
"mod_policy": "",
"value": {
"acls": {
"_lifecycle/CheckCommitReadiness": {
"policy_ref": "/Channel/Application/Writers"
},
"_lifecycle/CommitChaincodeDefinition": {
"policy_ref": "/Channel/Application/Writers"
},
"_lifecycle/QueryChaincodeDefinition": {
"policy_ref": "/Channel/Application/Readers"
},
"_lifecycle/QueryChaincodeDefinitions": {
"policy_ref": "/Channel/Application/Readers"
}
}
},
"version": "0"
},
"Capabilities": {
"mod_policy": "",
"value": null,
"version": "1"
}
},
"version": "3"
}
},
"mod_policy": "",
"policies": {},
"values": {},
"version": "0"
}
}
}
}
}
2020-04-29 22:17:09.543 UTC [channelCmd] InitCmdFactory -> INFO 001 Endorser and orderer connections initialized
Error: got unexpected status: BAD_REQUEST -- error applying config update to existing channel 'mychannel': error authorizing update: error validating DeltaSet: invalid mod_policy for element [Value] /Channel/Application/ACLs: mod_policy not set
|
|