Chaincode Container Exiting #fabric #fabric-chaincode


soumya nayak <soumyarjnnayak@...>
 

Hi Team,

Fabric - v1.4.3

RAFT Orderer Set up ( 5 Orderers)

I am facing a issue where the chaincode container is exiting, not sure why. 
I have installed the same chaincode (different versions) many times and upgraded just to see if the issue is still replicating.

Step - 1 -- *Installed the chaincode* ---> peer chaincode install -n ldbc -v 1.8 -p ldbc
Step - 2 -- *Upgraded the chaincode* ---> peer chaincode upgrade -o $ORDERER_ADDRESS --tls --cafile $CORE_PEER_TLS_ROOTCERT_FILE -C legaldescriptionchannel -n ldbc -v 1.8 -c '{"Args":[]}' --clientauth --keyfile $CORE_PEER_TLS_CLIENTKEY_FILE --certfile $CORE_PEER_TLS_CLIENTCERT_FILE
Step -3 -- *List of Instantiated Chaincode* --> peer chaincode list --instantiated -C legaldescriptionchannel

The issue is attached. 

The same chaincode is running successfully in another set up (v1.4.3 - kafka zookeeper orderer)

Regards,
Soumya


soumya nayak <soumyarjnnayak@...>
 

Also attached the docker container logs for the chaincode exited container 


soumya nayak <soumyarjnnayak@...>
 

Hi All,

This issue is resolved . Actually there was an issue in the configtx.yaml where the allignment of the key - Organization under Application section was not proper it was under the ACLs.

Configtxgen tool generated the genesis file successfully, but that was the issue. So its a advice to everybody . Check the proper spacing and allignment in configtx.yaml before generating the artifacts

Regards,
Soumya


Srinivasan Muralidharan
 

Hi Sowmya,
Its worth investigating why a user-level invalid configtx.yaml entry should cause a delayed side effect of a chaincode crash (as a side note, surprised its the chaincode that's crashing given the entry). Would you mind opening a JIRA with logs and full recreate please ?

Thanks!
Murali

On Wed, Sep 18, 2019 at 5:12 AM soumya nayak <soumyarjnnayak@...> wrote:
Hi All,

This issue is resolved . Actually there was an issue in the configtx.yaml where the allignment of the key - Organization under Application section was not proper it was under the ACLs.

Configtxgen tool generated the genesis file successfully, but that was the issue. So its a advice to everybody . Check the proper spacing and allignment in configtx.yaml before generating the artifacts

Regards,
Soumya



--
Thanks,
Murali
"Practice is a means of inviting the perfection desired." - Martha Graham
“We ran and ran. We were exhausted, but we kept running.” - Homare Sawa after winning 2011 Women's Soccer world cup


soumya nayak <soumyarjnnayak@...>
 

Hi Murali,

Will raise the JIRA and update here.

Regards,
Soumya

 


soumya nayak <soumyarjnnayak@...>
 

Hi Murali and Team,

The issue has been raised in JIRA. Find the below link

https://jira.hyperledger.org/browse/FAB-16652

Regards,
Soumya