minifabric
minifabric copied to clipboard
Issue while committing chaincode when two organizations are added to the same channel
-
Followed the tutorial -> https://dilumbandara.medium.com/custom-hyperledger-fabric-network-with-minifabric-fd362ee34343
-
Issue arrises when committing the chain code on organization 1 after joining organization 1 and 2 to the same channel.
-
Error Message is as follows The task includes an option with an undefined variable. The error was: 'dict object' has no attribute 'Layouts'
The error appears to be in '/home/playbooks/common/peerselection.yaml': line 25, column 5, but may be elsewhere in the file depending on the exact syntax problem.
The offending line appears to be:
- name: Select a random endorser group
^ here
HI @PreethiVuchuru27916 try cleaning up the network ,
- minifab down
- minifab cleanup
- minifab up -e true -s couchdb
Just try to use the spec file in the docs , exapand your network and try so !!!!!! it worked for me with that spec.yaml file change
I'm having the same problem, is there a way to fix it?