From 41e144f3278c455c1068d5571ea89c1e4e7560f4 Mon Sep 17 00:00:00 2001 From: ratnakar Date: Mon, 19 Feb 2018 22:28:44 -0500 Subject: [PATCH] [FAB-8386] eyfn fails to execute invoke on org3 org3 peer role is not enabled in org3-artifacts/org3-crypto.yaml which causes failure in executing the transaction on org3. adding the following configuration fixes the issue "EnableNodeOUs: true" Change-Id: Id345583a7f5a1f8fb970c8e6113a094de82b6358 Signed-off-by: ratnakar --- first-network/org3-artifacts/org3-crypto.yaml | 1 + first-network/scripts/script.sh | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/first-network/org3-artifacts/org3-crypto.yaml b/first-network/org3-artifacts/org3-crypto.yaml index 24b5dd889c..4711620d78 100644 --- a/first-network/org3-artifacts/org3-crypto.yaml +++ b/first-network/org3-artifacts/org3-crypto.yaml @@ -12,6 +12,7 @@ PeerOrgs: # --------------------------------------------------------------------------- - Name: Org3 Domain: org3.example.com + EnableNodeOUs: true Template: Count: 2 Users: diff --git a/first-network/scripts/script.sh b/first-network/scripts/script.sh index 3f9953a322..0cadf09f2b 100755 --- a/first-network/scripts/script.sh +++ b/first-network/scripts/script.sh @@ -33,7 +33,7 @@ echo "Channel name : "$CHANNEL_NAME . scripts/utils.sh createChannel() { - setGlobals 0 0 + setGlobals 0 1 if [ -z "$CORE_PEER_TLS_ENABLED" -o "$CORE_PEER_TLS_ENABLED" = "false" ]; then peer channel create -o orderer.example.com:7050 -c $CHANNEL_NAME -f ./channel-artifacts/channel.tx >&log.txt