hyperledger/fabric

External Chaincode NOT WORKING on v2.5.x specifically and working fine for v2.4.x and earlier versions

TahaYousufAli52 opened this issue · 1 comments

Description

We have encountered issues with External Chaincode implementation after upgrading from Hyperledger Fabric v2.0.1 to v2.5.5. Previously, our external chaincode implementation functioned without issues on v2.0.1; however, after the upgrade, we encountered failures during the installation process of external chaincode. Extensive debugging efforts led us to manipulate the code of the default External Chaincode Sample-Builders and somehow we were able to commit the External Chaincode but invocation still failed, leading to a deadlock in our progress.

To validate whether the issue stemmed from our environment or the upgrade itself, we deployed a test network running various versions (v2.0.1, v2.4.1, v2.5.5). Our observations revealed that external chaincode worked seamlessly on versions 2.0.1 and 2.4.1 but failed on 2.5.5, with an error message indicating an "unknown chaincodeType: EXTERNAL" and further, an "Illegal option -o" in the peer logs. This discrepancy prompted us to delve deeper into potential environmental changes.

Attachments:

Screenshots showcasing successful External Chaincode installations on versions 2.0.1 and 2.4.1, contrasted with failure on 2.5.5.

v2.0.1
image
v2.4.1
image
v2.5.5
image
Peer Logs - v2.5.5
image

CORE.YAML
image

Steps to Reproduce:

  • Deploy Hyperledger Fabric v2.5.5.
  • Implement External Chaincode by referring to above core.yaml.
  • Attempt Installation of external chaincode.
  • Observe the failure with the error "unknown chaincodeType: EXTERNAL" and "Illegal option -o" in the peer logs.

Expected Behavior:

External Chaincode implementation should execute without errors or discrepancies, as observed in previous versions (v2.0.1, v2.4.1).

We kindly request your prompt assistance in investigating and resolving this issue to ensure the seamless operation of external chaincode implementations in Hyperledger Fabric v2.5.x release. Your support in rectifying this matter would be greatly appreciated.

@TahaYousufAli52
This issue seems to have been resolved on the mailing list exchange, so please close this Issue.
https://lists.hyperledger.org/g/fabric/message/12167