Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Closed
TahaYousufAli52 opened this issue Feb 20, 2024 · 1 comment
Labels

Comments

@TahaYousufAli52
Copy link

TahaYousufAli52 commented Feb 20, 2024

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.

@satota2
Copy link
Contributor

satota2 commented Feb 21, 2024

@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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants