shuvo@shuvo-VirtualBox:~/Desktop/fabric-operations-console$ sudo ./scripts/setupNetwork.sh up Stopping network /usr/lib/python3/dist-packages/paramiko/transport.py:236: CryptographyDeprecationWarning: Blowfish has been deprecated "class": algorithms.Blowfish, Stopping cli ... done Stopping peer0.org1.example.com ... done Stopping peer0.org2.example.com ... done Stopping couchdb0 ... done Stopping orderer.example.com ... done Stopping couchdb1 ... done Stopping ca_orderer ... done Stopping ca_org2 ... done Stopping ca_org1 ... done Removing cli ... done Removing peer0.org1.example.com ... done Removing peer0.org2.example.com ... done Removing couchdb0 ... done Removing orderer.example.com ... done Removing couchdb1 ... done Removing ca_orderer ... done Removing ca_org2 ... done Removing ca_org1 ... done Removing network fabric_test Removing volume docker_orderer.example.com Removing volume docker_peer0.org1.example.com Removing volume docker_peer0.org2.example.com /usr/lib/python3/dist-packages/paramiko/transport.py:236: CryptographyDeprecationWarning: Blowfish has been deprecated "class": algorithms.Blowfish, Removing network fabric_test WARNING: Network fabric_test not found. Removing volume docker_peer0.org3.example.com WARNING: Volume docker_peer0.org3.example.com not found. No containers available for deletion No images available for deletion Clone hyperledger/fabric-samples repo ===> Changing directory to fabric-samples ===> Checking out v2.2.3 of hyperledger/fabric-samples Pull Hyperledger Fabric binaries ===> Downloading version 2.2.3 platform specific fabric binaries ===> Downloading: https://github.com/hyperledger/fabric/releases/download/v2.2.3/hyperledger-fabric-linux-amd64-2.2.3.tar.gz % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 65.0M 100 65.0M 0 0 1403k 0 0:00:47 0:00:47 --:--:-- 1442k ==> Done. ===> Downloading version 1.5.2 platform specific fabric-ca-client binary ===> Downloading: https://github.com/hyperledger/fabric-ca/releases/download/v1.5.2/hyperledger-fabric-ca-linux-amd64-1.5.2.tar.gz % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 25.4M 100 25.4M 0 0 1332k 0 0:00:19 0:00:19 --:--:-- 1362k ==> Done. Pull Hyperledger Fabric docker images FABRIC_IMAGES: peer orderer ccenv tools baseos ===> Pulling fabric Images ====> docker.io/hyperledger/fabric-peer:2.2.3 2.2.3: Pulling from hyperledger/fabric-peer Digest: sha256:f3191ba7919b4f2447b0e70bd28f2aa0ecb6b951fea5dae27579cd5a6ac329ee Status: Image is up to date for hyperledger/fabric-peer:2.2.3 docker.io/hyperledger/fabric-peer:2.2.3 ====> docker.io/hyperledger/fabric-orderer:2.2.3 2.2.3: Pulling from hyperledger/fabric-orderer Digest: sha256:e09ea991a0167d5b33005b3fc1bcde81097bace84b589049952a2cdd9aafea5a Status: Image is up to date for hyperledger/fabric-orderer:2.2.3 docker.io/hyperledger/fabric-orderer:2.2.3 ====> docker.io/hyperledger/fabric-ccenv:2.2.3 2.2.3: Pulling from hyperledger/fabric-ccenv Digest: sha256:bbdf184bb928e9bfcfd1f6583f8d9962e440f867bcd2ce643bf6872534d04219 Status: Image is up to date for hyperledger/fabric-ccenv:2.2.3 docker.io/hyperledger/fabric-ccenv:2.2.3 ====> docker.io/hyperledger/fabric-tools:2.2.3 2.2.3: Pulling from hyperledger/fabric-tools Digest: sha256:2dca43950c30809d92663f4722f0e08d569f086646aaca1afdf89f8182ba2e66 Status: Image is up to date for hyperledger/fabric-tools:2.2.3 docker.io/hyperledger/fabric-tools:2.2.3 ====> docker.io/hyperledger/fabric-baseos:2.2.3 2.2.3: Pulling from hyperledger/fabric-baseos Digest: sha256:eb43e230cf5b230bf24abd9f93ea22acf95cee4de27f31f944b28db65f2141bc Status: Image is up to date for hyperledger/fabric-baseos:2.2.3 docker.io/hyperledger/fabric-baseos:2.2.3 ===> Pulling fabric ca Image ====> docker.io/hyperledger/fabric-ca:1.5.2 1.5.2: Pulling from hyperledger/fabric-ca Digest: sha256:faa3b743d9ed391c30f518a7cc1168160bf335f3bf60ba6aaaf1aa49c1ed023e Status: Image is up to date for hyperledger/fabric-ca:1.5.2 docker.io/hyperledger/fabric-ca:1.5.2 ===> List out hyperledger docker images hyperledger/fabric-ca 1.5.7 0f07bbee6fb8 2 months ago 223MB hyperledger/fabric-tools 2.5 b2f3af4021be 3 months ago 551MB hyperledger/fabric-tools 2.5.4 b2f3af4021be 3 months ago 551MB hyperledger/fabric-peer 2.5 4f8d1b54d8b0 3 months ago 135MB hyperledger/fabric-peer 2.5.4 4f8d1b54d8b0 3 months ago 135MB hyperledger/fabric-orderer 2.5 7a73187b5c49 3 months ago 106MB hyperledger/fabric-orderer 2.5.4 7a73187b5c49 3 months ago 106MB hyperledger/fabric-ccenv 2.5 6dac93f94c87 3 months ago 656MB hyperledger/fabric-ccenv 2.5.4 6dac93f94c87 3 months ago 656MB hyperledger/fabric-baseos 2.5 3854817b987d 3 months ago 122MB hyperledger/fabric-baseos 2.5.4 3854817b987d 3 months ago 122MB hyperledger/fabric-nodeenv 2.5 ebd94088ab9e 4 months ago 445MB hyperledger/fabric-ca 1.5 4ea287b75c63 2 years ago 69.8MB hyperledger/fabric-ca 1.5.2 4ea287b75c63 2 years ago 69.8MB hyperledger/fabric-ca latest 4ea287b75c63 2 years ago 69.8MB hyperledger/fabric-tools 2.2 b6acbfaac0ef 2 years ago 431MB hyperledger/fabric-tools 2.2.3 b6acbfaac0ef 2 years ago 431MB hyperledger/fabric-tools latest b6acbfaac0ef 2 years ago 431MB hyperledger/fabric-peer 2.2 17cd44c37a94 2 years ago 52.6MB hyperledger/fabric-peer 2.2.3 17cd44c37a94 2 years ago 52.6MB hyperledger/fabric-peer latest 17cd44c37a94 2 years ago 52.6MB hyperledger/fabric-orderer 2.2 345ca8c4b4b1 2 years ago 36.5MB hyperledger/fabric-orderer 2.2.3 345ca8c4b4b1 2 years ago 36.5MB hyperledger/fabric-orderer latest 345ca8c4b4b1 2 years ago 36.5MB hyperledger/fabric-ccenv 2.2 bd77faf79f92 2 years ago 514MB hyperledger/fabric-ccenv 2.2.3 bd77faf79f92 2 years ago 514MB hyperledger/fabric-ccenv latest bd77faf79f92 2 years ago 514MB hyperledger/fabric-baseos 2.2 f98af14c474f 2 years ago 6.86MB hyperledger/fabric-baseos 2.2.3 f98af14c474f 2 years ago 6.86MB hyperledger/fabric-baseos latest f98af14c474f 2 years ago 6.86MB Previous HEAD position was ad8fc2f test-network: Make the regexp of checking version more strict (backpo… (#516) Switched to branch 'release-2.2' Your branch is up to date with 'origin/release-2.2'. Creating channel 'mychannel'. If network is not up, starting nodes with CLI timeout of '5' tries and CLI delay of '3' seconds and using database 'couchdb with crypto from 'Certificate Authorities' Bringing up network LOCAL_VERSION=2.2.3 DOCKER_IMAGE_VERSION=2.2.3 CA_LOCAL_VERSION=1.5.2 CA_DOCKER_IMAGE_VERSION=1.5.2 Generating certificates using Fabric CA /usr/lib/python3/dist-packages/paramiko/transport.py:236: CryptographyDeprecationWarning: Blowfish has been deprecated "class": algorithms.Blowfish, Creating network "fabric_test" with the default driver Creating ca_orderer ... done Creating ca_org2 ... done Creating ca_org1 ... done Creating Org1 Identities Enrolling the CA admin + fabric-ca-client enroll -u https://admin:adminpw@localhost:7054 --caname ca-org1 --tls.certfiles /home/shuvo/Desktop/fabric-operations-console/fabric-samples/test-network/organizations/fabric-ca/org1/tls-cert.pem 2023/11/02 07:44:59 [INFO] Created a default configuration file at /home/shuvo/Desktop/fabric-operations-console/fabric-samples/test-network/organizations/peerOrganizations/org1.example.com/fabric-ca-client-config.yaml 2023/11/02 07:44:59 [INFO] TLS Enabled 2023/11/02 07:44:59 [INFO] generating key: &{A:ecdsa S:256} 2023/11/02 07:44:59 [INFO] encoded CSR 2023/11/02 07:44:59 [INFO] Stored client certificate at /home/shuvo/Desktop/fabric-operations-console/fabric-samples/test-network/organizations/peerOrganizations/org1.example.com/msp/signcerts/cert.pem 2023/11/02 07:44:59 [INFO] Stored root CA certificate at /home/shuvo/Desktop/fabric-operations-console/fabric-samples/test-network/organizations/peerOrganizations/org1.example.com/msp/cacerts/localhost-7054-ca-org1.pem 2023/11/02 07:44:59 [INFO] Stored Issuer public key at /home/shuvo/Desktop/fabric-operations-console/fabric-samples/test-network/organizations/peerOrganizations/org1.example.com/msp/IssuerPublicKey 2023/11/02 07:44:59 [INFO] Stored Issuer revocation public key at /home/shuvo/Desktop/fabric-operations-console/fabric-samples/test-network/organizations/peerOrganizations/org1.example.com/msp/IssuerRevocationPublicKey Registering peer0 + fabric-ca-client register --caname ca-org1 --id.name peer0 --id.secret peer0pw --id.type peer --tls.certfiles /home/shuvo/Desktop/fabric-operations-console/fabric-samples/test-network/organizations/fabric-ca/org1/tls-cert.pem 2023/11/02 07:45:00 [INFO] Configuration file location: /home/shuvo/Desktop/fabric-operations-console/fabric-samples/test-network/organizations/peerOrganizations/org1.example.com/fabric-ca-client-config.yaml 2023/11/02 07:45:00 [INFO] TLS Enabled 2023/11/02 07:45:00 [INFO] TLS Enabled Password: peer0pw Registering user + fabric-ca-client register --caname ca-org1 --id.name user1 --id.secret user1pw --id.type client --tls.certfiles /home/shuvo/Desktop/fabric-operations-console/fabric-samples/test-network/organizations/fabric-ca/org1/tls-cert.pem 2023/11/02 07:45:00 [INFO] Configuration file location: /home/shuvo/Desktop/fabric-operations-console/fabric-samples/test-network/organizations/peerOrganizations/org1.example.com/fabric-ca-client-config.yaml 2023/11/02 07:45:00 [INFO] TLS Enabled 2023/11/02 07:45:00 [INFO] TLS Enabled Password: user1pw Registering the org admin + fabric-ca-client register --caname ca-org1 --id.name org1admin --id.secret org1adminpw --id.type admin --tls.certfiles /home/shuvo/Desktop/fabric-operations-console/fabric-samples/test-network/organizations/fabric-ca/org1/tls-cert.pem 2023/11/02 07:45:00 [INFO] Configuration file location: /home/shuvo/Desktop/fabric-operations-console/fabric-samples/test-network/organizations/peerOrganizations/org1.example.com/fabric-ca-client-config.yaml 2023/11/02 07:45:00 [INFO] TLS Enabled 2023/11/02 07:45:00 [INFO] TLS Enabled Password: org1adminpw Generating the peer0 msp + fabric-ca-client enroll -u https://peer0:peer0pw@localhost:7054 --caname ca-org1 -M /home/shuvo/Desktop/fabric-operations-console/fabric-samples/test-network/organizations/peerOrganizations/org1.example.com/peers/peer0.org1.example.com/msp --csr.hosts peer0.org1.example.com --tls.certfiles /home/shuvo/Desktop/fabric-operations-console/fabric-samples/test-network/organizations/fabric-ca/org1/tls-cert.pem 2023/11/02 07:45:01 [INFO] TLS Enabled 2023/11/02 07:45:01 [INFO] generating key: &{A:ecdsa S:256} 2023/11/02 07:45:01 [INFO] encoded CSR 2023/11/02 07:45:01 [INFO] Stored client certificate at /home/shuvo/Desktop/fabric-operations-console/fabric-samples/test-network/organizations/peerOrganizations/org1.example.com/peers/peer0.org1.example.com/msp/signcerts/cert.pem 2023/11/02 07:45:01 [INFO] Stored root CA certificate at /home/shuvo/Desktop/fabric-operations-console/fabric-samples/test-network/organizations/peerOrganizations/org1.example.com/peers/peer0.org1.example.com/msp/cacerts/localhost-7054-ca-org1.pem 2023/11/02 07:45:01 [INFO] Stored Issuer public key at /home/shuvo/Desktop/fabric-operations-console/fabric-samples/test-network/organizations/peerOrganizations/org1.example.com/peers/peer0.org1.example.com/msp/IssuerPublicKey 2023/11/02 07:45:01 [INFO] Stored Issuer revocation public key at /home/shuvo/Desktop/fabric-operations-console/fabric-samples/test-network/organizations/peerOrganizations/org1.example.com/peers/peer0.org1.example.com/msp/IssuerRevocationPublicKey Generating the peer0-tls certificates + fabric-ca-client enroll -u https://peer0:peer0pw@localhost:7054 --caname ca-org1 -M /home/shuvo/Desktop/fabric-operations-console/fabric-samples/test-network/organizations/peerOrganizations/org1.example.com/peers/peer0.org1.example.com/tls --enrollment.profile tls --csr.hosts peer0.org1.example.com --csr.hosts localhost --tls.certfiles /home/shuvo/Desktop/fabric-operations-console/fabric-samples/test-network/organizations/fabric-ca/org1/tls-cert.pem 2023/11/02 07:45:01 [INFO] TLS Enabled 2023/11/02 07:45:01 [INFO] generating key: &{A:ecdsa S:256} 2023/11/02 07:45:01 [INFO] encoded CSR 2023/11/02 07:45:01 [INFO] Stored client certificate at /home/shuvo/Desktop/fabric-operations-console/fabric-samples/test-network/organizations/peerOrganizations/org1.example.com/peers/peer0.org1.example.com/tls/signcerts/cert.pem 2023/11/02 07:45:01 [INFO] Stored TLS root CA certificate at /home/shuvo/Desktop/fabric-operations-console/fabric-samples/test-network/organizations/peerOrganizations/org1.example.com/peers/peer0.org1.example.com/tls/tlscacerts/tls-localhost-7054-ca-org1.pem 2023/11/02 07:45:01 [INFO] Stored Issuer public key at /home/shuvo/Desktop/fabric-operations-console/fabric-samples/test-network/organizations/peerOrganizations/org1.example.com/peers/peer0.org1.example.com/tls/IssuerPublicKey 2023/11/02 07:45:01 [INFO] Stored Issuer revocation public key at /home/shuvo/Desktop/fabric-operations-console/fabric-samples/test-network/organizations/peerOrganizations/org1.example.com/peers/peer0.org1.example.com/tls/IssuerRevocationPublicKey Generating the user msp + fabric-ca-client enroll -u https://user1:user1pw@localhost:7054 --caname ca-org1 -M /home/shuvo/Desktop/fabric-operations-console/fabric-samples/test-network/organizations/peerOrganizations/org1.example.com/users/User1@org1.example.com/msp --tls.certfiles /home/shuvo/Desktop/fabric-operations-console/fabric-samples/test-network/organizations/fabric-ca/org1/tls-cert.pem 2023/11/02 07:45:01 [INFO] TLS Enabled 2023/11/02 07:45:01 [INFO] generating key: &{A:ecdsa S:256} 2023/11/02 07:45:01 [INFO] encoded CSR 2023/11/02 07:45:01 [INFO] Stored client certificate at /home/shuvo/Desktop/fabric-operations-console/fabric-samples/test-network/organizations/peerOrganizations/org1.example.com/users/User1@org1.example.com/msp/signcerts/cert.pem 2023/11/02 07:45:01 [INFO] Stored root CA certificate at /home/shuvo/Desktop/fabric-operations-console/fabric-samples/test-network/organizations/peerOrganizations/org1.example.com/users/User1@org1.example.com/msp/cacerts/localhost-7054-ca-org1.pem 2023/11/02 07:45:01 [INFO] Stored Issuer public key at /home/shuvo/Desktop/fabric-operations-console/fabric-samples/test-network/organizations/peerOrganizations/org1.example.com/users/User1@org1.example.com/msp/IssuerPublicKey 2023/11/02 07:45:01 [INFO] Stored Issuer revocation public key at /home/shuvo/Desktop/fabric-operations-console/fabric-samples/test-network/organizations/peerOrganizations/org1.example.com/users/User1@org1.example.com/msp/IssuerRevocationPublicKey Generating the org admin msp + fabric-ca-client enroll -u https://org1admin:org1adminpw@localhost:7054 --caname ca-org1 -M /home/shuvo/Desktop/fabric-operations-console/fabric-samples/test-network/organizations/peerOrganizations/org1.example.com/users/Admin@org1.example.com/msp --tls.certfiles /home/shuvo/Desktop/fabric-operations-console/fabric-samples/test-network/organizations/fabric-ca/org1/tls-cert.pem 2023/11/02 07:45:01 [INFO] TLS Enabled 2023/11/02 07:45:01 [INFO] generating key: &{A:ecdsa S:256} 2023/11/02 07:45:01 [INFO] encoded CSR 2023/11/02 07:45:01 [INFO] Stored client certificate at /home/shuvo/Desktop/fabric-operations-console/fabric-samples/test-network/organizations/peerOrganizations/org1.example.com/users/Admin@org1.example.com/msp/signcerts/cert.pem 2023/11/02 07:45:01 [INFO] Stored root CA certificate at /home/shuvo/Desktop/fabric-operations-console/fabric-samples/test-network/organizations/peerOrganizations/org1.example.com/users/Admin@org1.example.com/msp/cacerts/localhost-7054-ca-org1.pem 2023/11/02 07:45:01 [INFO] Stored Issuer public key at /home/shuvo/Desktop/fabric-operations-console/fabric-samples/test-network/organizations/peerOrganizations/org1.example.com/users/Admin@org1.example.com/msp/IssuerPublicKey 2023/11/02 07:45:01 [INFO] Stored Issuer revocation public key at /home/shuvo/Desktop/fabric-operations-console/fabric-samples/test-network/organizations/peerOrganizations/org1.example.com/users/Admin@org1.example.com/msp/IssuerRevocationPublicKey Creating Org2 Identities Enrolling the CA admin + fabric-ca-client enroll -u https://admin:adminpw@localhost:8054 --caname ca-org2 --tls.certfiles /home/shuvo/Desktop/fabric-operations-console/fabric-samples/test-network/organizations/fabric-ca/org2/tls-cert.pem 2023/11/02 07:45:02 [INFO] Created a default configuration file at /home/shuvo/Desktop/fabric-operations-console/fabric-samples/test-network/organizations/peerOrganizations/org2.example.com/fabric-ca-client-config.yaml 2023/11/02 07:45:02 [INFO] TLS Enabled 2023/11/02 07:45:02 [INFO] generating key: &{A:ecdsa S:256} 2023/11/02 07:45:02 [INFO] encoded CSR 2023/11/02 07:45:02 [INFO] Stored client certificate at /home/shuvo/Desktop/fabric-operations-console/fabric-samples/test-network/organizations/peerOrganizations/org2.example.com/msp/signcerts/cert.pem 2023/11/02 07:45:02 [INFO] Stored root CA certificate at /home/shuvo/Desktop/fabric-operations-console/fabric-samples/test-network/organizations/peerOrganizations/org2.example.com/msp/cacerts/localhost-8054-ca-org2.pem 2023/11/02 07:45:02 [INFO] Stored Issuer public key at /home/shuvo/Desktop/fabric-operations-console/fabric-samples/test-network/organizations/peerOrganizations/org2.example.com/msp/IssuerPublicKey 2023/11/02 07:45:02 [INFO] Stored Issuer revocation public key at /home/shuvo/Desktop/fabric-operations-console/fabric-samples/test-network/organizations/peerOrganizations/org2.example.com/msp/IssuerRevocationPublicKey Registering peer0 + fabric-ca-client register --caname ca-org2 --id.name peer0 --id.secret peer0pw --id.type peer --tls.certfiles /home/shuvo/Desktop/fabric-operations-console/fabric-samples/test-network/organizations/fabric-ca/org2/tls-cert.pem 2023/11/02 07:45:02 [INFO] Configuration file location: /home/shuvo/Desktop/fabric-operations-console/fabric-samples/test-network/organizations/peerOrganizations/org2.example.com/fabric-ca-client-config.yaml 2023/11/02 07:45:02 [INFO] TLS Enabled 2023/11/02 07:45:02 [INFO] TLS Enabled Password: peer0pw Registering user + fabric-ca-client register --caname ca-org2 --id.name user1 --id.secret user1pw --id.type client --tls.certfiles /home/shuvo/Desktop/fabric-operations-console/fabric-samples/test-network/organizations/fabric-ca/org2/tls-cert.pem 2023/11/02 07:45:02 [INFO] Configuration file location: /home/shuvo/Desktop/fabric-operations-console/fabric-samples/test-network/organizations/peerOrganizations/org2.example.com/fabric-ca-client-config.yaml 2023/11/02 07:45:02 [INFO] TLS Enabled 2023/11/02 07:45:02 [INFO] TLS Enabled Password: user1pw Registering the org admin + fabric-ca-client register --caname ca-org2 --id.name org2admin --id.secret org2adminpw --id.type admin --tls.certfiles /home/shuvo/Desktop/fabric-operations-console/fabric-samples/test-network/organizations/fabric-ca/org2/tls-cert.pem 2023/11/02 07:45:02 [INFO] Configuration file location: /home/shuvo/Desktop/fabric-operations-console/fabric-samples/test-network/organizations/peerOrganizations/org2.example.com/fabric-ca-client-config.yaml 2023/11/02 07:45:02 [INFO] TLS Enabled 2023/11/02 07:45:02 [INFO] TLS Enabled Password: org2adminpw Generating the peer0 msp + fabric-ca-client enroll -u https://peer0:peer0pw@localhost:8054 --caname ca-org2 -M /home/shuvo/Desktop/fabric-operations-console/fabric-samples/test-network/organizations/peerOrganizations/org2.example.com/peers/peer0.org2.example.com/msp --csr.hosts peer0.org2.example.com --tls.certfiles /home/shuvo/Desktop/fabric-operations-console/fabric-samples/test-network/organizations/fabric-ca/org2/tls-cert.pem 2023/11/02 07:45:02 [INFO] TLS Enabled 2023/11/02 07:45:02 [INFO] generating key: &{A:ecdsa S:256} 2023/11/02 07:45:02 [INFO] encoded CSR 2023/11/02 07:45:03 [INFO] Stored client certificate at /home/shuvo/Desktop/fabric-operations-console/fabric-samples/test-network/organizations/peerOrganizations/org2.example.com/peers/peer0.org2.example.com/msp/signcerts/cert.pem 2023/11/02 07:45:03 [INFO] Stored root CA certificate at /home/shuvo/Desktop/fabric-operations-console/fabric-samples/test-network/organizations/peerOrganizations/org2.example.com/peers/peer0.org2.example.com/msp/cacerts/localhost-8054-ca-org2.pem 2023/11/02 07:45:03 [INFO] Stored Issuer public key at /home/shuvo/Desktop/fabric-operations-console/fabric-samples/test-network/organizations/peerOrganizations/org2.example.com/peers/peer0.org2.example.com/msp/IssuerPublicKey 2023/11/02 07:45:03 [INFO] Stored Issuer revocation public key at /home/shuvo/Desktop/fabric-operations-console/fabric-samples/test-network/organizations/peerOrganizations/org2.example.com/peers/peer0.org2.example.com/msp/IssuerRevocationPublicKey Generating the peer0-tls certificates + fabric-ca-client enroll -u https://peer0:peer0pw@localhost:8054 --caname ca-org2 -M /home/shuvo/Desktop/fabric-operations-console/fabric-samples/test-network/organizations/peerOrganizations/org2.example.com/peers/peer0.org2.example.com/tls --enrollment.profile tls --csr.hosts peer0.org2.example.com --csr.hosts localhost --tls.certfiles /home/shuvo/Desktop/fabric-operations-console/fabric-samples/test-network/organizations/fabric-ca/org2/tls-cert.pem 2023/11/02 07:45:03 [INFO] TLS Enabled 2023/11/02 07:45:03 [INFO] generating key: &{A:ecdsa S:256} 2023/11/02 07:45:03 [INFO] encoded CSR 2023/11/02 07:45:03 [INFO] Stored client certificate at /home/shuvo/Desktop/fabric-operations-console/fabric-samples/test-network/organizations/peerOrganizations/org2.example.com/peers/peer0.org2.example.com/tls/signcerts/cert.pem 2023/11/02 07:45:03 [INFO] Stored TLS root CA certificate at /home/shuvo/Desktop/fabric-operations-console/fabric-samples/test-network/organizations/peerOrganizations/org2.example.com/peers/peer0.org2.example.com/tls/tlscacerts/tls-localhost-8054-ca-org2.pem 2023/11/02 07:45:03 [INFO] Stored Issuer public key at /home/shuvo/Desktop/fabric-operations-console/fabric-samples/test-network/organizations/peerOrganizations/org2.example.com/peers/peer0.org2.example.com/tls/IssuerPublicKey 2023/11/02 07:45:03 [INFO] Stored Issuer revocation public key at /home/shuvo/Desktop/fabric-operations-console/fabric-samples/test-network/organizations/peerOrganizations/org2.example.com/peers/peer0.org2.example.com/tls/IssuerRevocationPublicKey Generating the user msp + fabric-ca-client enroll -u https://user1:user1pw@localhost:8054 --caname ca-org2 -M /home/shuvo/Desktop/fabric-operations-console/fabric-samples/test-network/organizations/peerOrganizations/org2.example.com/users/User1@org2.example.com/msp --tls.certfiles /home/shuvo/Desktop/fabric-operations-console/fabric-samples/test-network/organizations/fabric-ca/org2/tls-cert.pem 2023/11/02 07:45:03 [INFO] TLS Enabled 2023/11/02 07:45:03 [INFO] generating key: &{A:ecdsa S:256} 2023/11/02 07:45:03 [INFO] encoded CSR 2023/11/02 07:45:03 [INFO] Stored client certificate at /home/shuvo/Desktop/fabric-operations-console/fabric-samples/test-network/organizations/peerOrganizations/org2.example.com/users/User1@org2.example.com/msp/signcerts/cert.pem 2023/11/02 07:45:03 [INFO] Stored root CA certificate at /home/shuvo/Desktop/fabric-operations-console/fabric-samples/test-network/organizations/peerOrganizations/org2.example.com/users/User1@org2.example.com/msp/cacerts/localhost-8054-ca-org2.pem 2023/11/02 07:45:03 [INFO] Stored Issuer public key at /home/shuvo/Desktop/fabric-operations-console/fabric-samples/test-network/organizations/peerOrganizations/org2.example.com/users/User1@org2.example.com/msp/IssuerPublicKey 2023/11/02 07:45:03 [INFO] Stored Issuer revocation public key at /home/shuvo/Desktop/fabric-operations-console/fabric-samples/test-network/organizations/peerOrganizations/org2.example.com/users/User1@org2.example.com/msp/IssuerRevocationPublicKey Generating the org admin msp + fabric-ca-client enroll -u https://org2admin:org2adminpw@localhost:8054 --caname ca-org2 -M /home/shuvo/Desktop/fabric-operations-console/fabric-samples/test-network/organizations/peerOrganizations/org2.example.com/users/Admin@org2.example.com/msp --tls.certfiles /home/shuvo/Desktop/fabric-operations-console/fabric-samples/test-network/organizations/fabric-ca/org2/tls-cert.pem 2023/11/02 07:45:03 [INFO] TLS Enabled 2023/11/02 07:45:03 [INFO] generating key: &{A:ecdsa S:256} 2023/11/02 07:45:03 [INFO] encoded CSR 2023/11/02 07:45:03 [INFO] Stored client certificate at /home/shuvo/Desktop/fabric-operations-console/fabric-samples/test-network/organizations/peerOrganizations/org2.example.com/users/Admin@org2.example.com/msp/signcerts/cert.pem 2023/11/02 07:45:03 [INFO] Stored root CA certificate at /home/shuvo/Desktop/fabric-operations-console/fabric-samples/test-network/organizations/peerOrganizations/org2.example.com/users/Admin@org2.example.com/msp/cacerts/localhost-8054-ca-org2.pem 2023/11/02 07:45:03 [INFO] Stored Issuer public key at /home/shuvo/Desktop/fabric-operations-console/fabric-samples/test-network/organizations/peerOrganizations/org2.example.com/users/Admin@org2.example.com/msp/IssuerPublicKey 2023/11/02 07:45:03 [INFO] Stored Issuer revocation public key at /home/shuvo/Desktop/fabric-operations-console/fabric-samples/test-network/organizations/peerOrganizations/org2.example.com/users/Admin@org2.example.com/msp/IssuerRevocationPublicKey Creating Orderer Org Identities Enrolling the CA admin + fabric-ca-client enroll -u https://admin:adminpw@localhost:9054 --caname ca-orderer --tls.certfiles /home/shuvo/Desktop/fabric-operations-console/fabric-samples/test-network/organizations/fabric-ca/ordererOrg/tls-cert.pem 2023/11/02 07:45:03 [INFO] Created a default configuration file at /home/shuvo/Desktop/fabric-operations-console/fabric-samples/test-network/organizations/ordererOrganizations/example.com/fabric-ca-client-config.yaml 2023/11/02 07:45:03 [INFO] TLS Enabled 2023/11/02 07:45:03 [INFO] generating key: &{A:ecdsa S:256} 2023/11/02 07:45:03 [INFO] encoded CSR 2023/11/02 07:45:03 [INFO] Stored client certificate at /home/shuvo/Desktop/fabric-operations-console/fabric-samples/test-network/organizations/ordererOrganizations/example.com/msp/signcerts/cert.pem 2023/11/02 07:45:03 [INFO] Stored root CA certificate at /home/shuvo/Desktop/fabric-operations-console/fabric-samples/test-network/organizations/ordererOrganizations/example.com/msp/cacerts/localhost-9054-ca-orderer.pem 2023/11/02 07:45:03 [INFO] Stored Issuer public key at /home/shuvo/Desktop/fabric-operations-console/fabric-samples/test-network/organizations/ordererOrganizations/example.com/msp/IssuerPublicKey 2023/11/02 07:45:03 [INFO] Stored Issuer revocation public key at /home/shuvo/Desktop/fabric-operations-console/fabric-samples/test-network/organizations/ordererOrganizations/example.com/msp/IssuerRevocationPublicKey Registering orderer + fabric-ca-client register --caname ca-orderer --id.name orderer --id.secret ordererpw --id.type orderer --tls.certfiles /home/shuvo/Desktop/fabric-operations-console/fabric-samples/test-network/organizations/fabric-ca/ordererOrg/tls-cert.pem 2023/11/02 07:45:03 [INFO] Configuration file location: /home/shuvo/Desktop/fabric-operations-console/fabric-samples/test-network/organizations/ordererOrganizations/example.com/fabric-ca-client-config.yaml 2023/11/02 07:45:03 [INFO] TLS Enabled 2023/11/02 07:45:03 [INFO] TLS Enabled Password: ordererpw Registering the orderer admin + fabric-ca-client register --caname ca-orderer --id.name ordererAdmin --id.secret ordererAdminpw --id.type admin --tls.certfiles /home/shuvo/Desktop/fabric-operations-console/fabric-samples/test-network/organizations/fabric-ca/ordererOrg/tls-cert.pem 2023/11/02 07:45:03 [INFO] Configuration file location: /home/shuvo/Desktop/fabric-operations-console/fabric-samples/test-network/organizations/ordererOrganizations/example.com/fabric-ca-client-config.yaml 2023/11/02 07:45:03 [INFO] TLS Enabled 2023/11/02 07:45:03 [INFO] TLS Enabled Password: ordererAdminpw Generating the orderer msp + fabric-ca-client enroll -u https://orderer:ordererpw@localhost:9054 --caname ca-orderer -M /home/shuvo/Desktop/fabric-operations-console/fabric-samples/test-network/organizations/ordererOrganizations/example.com/orderers/orderer.example.com/msp --csr.hosts orderer.example.com --csr.hosts localhost --tls.certfiles /home/shuvo/Desktop/fabric-operations-console/fabric-samples/test-network/organizations/fabric-ca/ordererOrg/tls-cert.pem 2023/11/02 07:45:04 [INFO] TLS Enabled 2023/11/02 07:45:04 [INFO] generating key: &{A:ecdsa S:256} 2023/11/02 07:45:04 [INFO] encoded CSR 2023/11/02 07:45:04 [INFO] Stored client certificate at /home/shuvo/Desktop/fabric-operations-console/fabric-samples/test-network/organizations/ordererOrganizations/example.com/orderers/orderer.example.com/msp/signcerts/cert.pem 2023/11/02 07:45:04 [INFO] Stored root CA certificate at /home/shuvo/Desktop/fabric-operations-console/fabric-samples/test-network/organizations/ordererOrganizations/example.com/orderers/orderer.example.com/msp/cacerts/localhost-9054-ca-orderer.pem 2023/11/02 07:45:04 [INFO] Stored Issuer public key at /home/shuvo/Desktop/fabric-operations-console/fabric-samples/test-network/organizations/ordererOrganizations/example.com/orderers/orderer.example.com/msp/IssuerPublicKey 2023/11/02 07:45:04 [INFO] Stored Issuer revocation public key at /home/shuvo/Desktop/fabric-operations-console/fabric-samples/test-network/organizations/ordererOrganizations/example.com/orderers/orderer.example.com/msp/IssuerRevocationPublicKey Generating the orderer-tls certificates + fabric-ca-client enroll -u https://orderer:ordererpw@localhost:9054 --caname ca-orderer -M /home/shuvo/Desktop/fabric-operations-console/fabric-samples/test-network/organizations/ordererOrganizations/example.com/orderers/orderer.example.com/tls --enrollment.profile tls --csr.hosts orderer.example.com --csr.hosts localhost --tls.certfiles /home/shuvo/Desktop/fabric-operations-console/fabric-samples/test-network/organizations/fabric-ca/ordererOrg/tls-cert.pem 2023/11/02 07:45:04 [INFO] TLS Enabled 2023/11/02 07:45:04 [INFO] generating key: &{A:ecdsa S:256} 2023/11/02 07:45:04 [INFO] encoded CSR 2023/11/02 07:45:04 [INFO] Stored client certificate at /home/shuvo/Desktop/fabric-operations-console/fabric-samples/test-network/organizations/ordererOrganizations/example.com/orderers/orderer.example.com/tls/signcerts/cert.pem 2023/11/02 07:45:04 [INFO] Stored TLS root CA certificate at /home/shuvo/Desktop/fabric-operations-console/fabric-samples/test-network/organizations/ordererOrganizations/example.com/orderers/orderer.example.com/tls/tlscacerts/tls-localhost-9054-ca-orderer.pem 2023/11/02 07:45:04 [INFO] Stored Issuer public key at /home/shuvo/Desktop/fabric-operations-console/fabric-samples/test-network/organizations/ordererOrganizations/example.com/orderers/orderer.example.com/tls/IssuerPublicKey 2023/11/02 07:45:04 [INFO] Stored Issuer revocation public key at /home/shuvo/Desktop/fabric-operations-console/fabric-samples/test-network/organizations/ordererOrganizations/example.com/orderers/orderer.example.com/tls/IssuerRevocationPublicKey Generating the admin msp + fabric-ca-client enroll -u https://ordererAdmin:ordererAdminpw@localhost:9054 --caname ca-orderer -M /home/shuvo/Desktop/fabric-operations-console/fabric-samples/test-network/organizations/ordererOrganizations/example.com/users/Admin@example.com/msp --tls.certfiles /home/shuvo/Desktop/fabric-operations-console/fabric-samples/test-network/organizations/fabric-ca/ordererOrg/tls-cert.pem 2023/11/02 07:45:04 [INFO] TLS Enabled 2023/11/02 07:45:04 [INFO] generating key: &{A:ecdsa S:256} 2023/11/02 07:45:04 [INFO] encoded CSR 2023/11/02 07:45:04 [INFO] Stored client certificate at /home/shuvo/Desktop/fabric-operations-console/fabric-samples/test-network/organizations/ordererOrganizations/example.com/users/Admin@example.com/msp/signcerts/cert.pem 2023/11/02 07:45:04 [INFO] Stored root CA certificate at /home/shuvo/Desktop/fabric-operations-console/fabric-samples/test-network/organizations/ordererOrganizations/example.com/users/Admin@example.com/msp/cacerts/localhost-9054-ca-orderer.pem 2023/11/02 07:45:04 [INFO] Stored Issuer public key at /home/shuvo/Desktop/fabric-operations-console/fabric-samples/test-network/organizations/ordererOrganizations/example.com/users/Admin@example.com/msp/IssuerPublicKey 2023/11/02 07:45:04 [INFO] Stored Issuer revocation public key at /home/shuvo/Desktop/fabric-operations-console/fabric-samples/test-network/organizations/ordererOrganizations/example.com/users/Admin@example.com/msp/IssuerRevocationPublicKey Generating CCP files for Org1 and Org2 /home/shuvo/Desktop/fabric-operations-console/fabric-samples/test-network/../bin/configtxgen Generating Orderer Genesis block + configtxgen -profile TwoOrgsOrdererGenesis -channelID system-channel -outputBlock ./system-genesis-block/genesis.block 2023-11-02 07:45:04.509 +06 [common.tools.configtxgen] main -> INFO 001 Loading configuration 2023-11-02 07:45:04.546 +06 [common.tools.configtxgen.localconfig] completeInitialization -> INFO 002 orderer type: etcdraft 2023-11-02 07:45:04.546 +06 [common.tools.configtxgen.localconfig] completeInitialization -> INFO 003 Orderer.EtcdRaft.Options unset, setting to tick_interval:"500ms" election_tick:10 heartbeat_tick:1 max_inflight_blocks:5 snapshot_interval_size:16777216 2023-11-02 07:45:04.546 +06 [common.tools.configtxgen.localconfig] Load -> INFO 004 Loaded configuration: /home/shuvo/Desktop/fabric-operations-console/fabric-samples/test-network/configtx/configtx.yaml 2023-11-02 07:45:04.548 +06 [common.tools.configtxgen] doOutputBlock -> INFO 005 Generating genesis block 2023-11-02 07:45:04.548 +06 [common.tools.configtxgen] doOutputBlock -> INFO 006 Writing genesis block + res=0 /usr/lib/python3/dist-packages/paramiko/transport.py:236: CryptographyDeprecationWarning: Blowfish has been deprecated "class": algorithms.Blowfish, Creating volume "docker_orderer.example.com" with default driver Creating volume "docker_peer0.org1.example.com" with default driver Creating volume "docker_peer0.org2.example.com" with default driver WARNING: Found orphan containers (ca_org1, ca_orderer, ca_org2) for this project. If you removed or renamed this service in your compose file, you can run this command with the --remove-orphans flag to clean it up. Creating orderer.example.com ... done Creating couchdb0 ... done Creating couchdb1 ... done Creating peer0.org1.example.com ... done Creating peer0.org2.example.com ... done Creating cli ... done CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMES dd93a1e9c6b5 hyperledger/fabric-tools:latest "/bin/bash" Less than a second ago Up Less than a second cli 13a4aa878f04 hyperledger/fabric-peer:latest "peer node start" 1 second ago Up Less than a second 0.0.0.0:9051->9051/tcp, :::9051->9051/tcp, 7051/tcp, 0.0.0.0:9445->9445/tcp, :::9445->9445/tcp peer0.org2.example.com b2c4d5a9fa0c hyperledger/fabric-peer:latest "peer node start" 2 seconds ago Up Less than a second 0.0.0.0:7051->7051/tcp, :::7051->7051/tcp, 0.0.0.0:9444->9444/tcp, :::9444->9444/tcp peer0.org1.example.com 684110f2d197 couchdb:3.1.1 "tini -- /docker-ent…" 3 seconds ago Up 1 second 4369/tcp, 9100/tcp, 0.0.0.0:7984->5984/tcp, :::7984->5984/tcp couchdb1 b145acb59143 hyperledger/fabric-orderer:latest "orderer" 3 seconds ago Up 1 second 0.0.0.0:7050->7050/tcp, :::7050->7050/tcp, 0.0.0.0:9443->9443/tcp, :::9443->9443/tcp orderer.example.com a5888ab13749 couchdb:3.1.1 "tini -- /docker-ent…" 3 seconds ago Up 1 second 4369/tcp, 9100/tcp, 0.0.0.0:5984->5984/tcp, :::5984->5984/tcp couchdb0 737d394d6142 hyperledger/fabric-ca:latest "sh -c 'fabric-ca-se…" 12 seconds ago Up 10 seconds 0.0.0.0:7054->7054/tcp, :::7054->7054/tcp, 0.0.0.0:17054->17054/tcp, :::17054->17054/tcp ca_org1 a059cc211b81 hyperledger/fabric-ca:latest "sh -c 'fabric-ca-se…" 12 seconds ago Up 10 seconds 0.0.0.0:8054->8054/tcp, :::8054->8054/tcp, 7054/tcp, 0.0.0.0:18054->18054/tcp, :::18054->18054/tcp ca_org2 fe47ab082c5a hyperledger/fabric-ca:latest "sh -c 'fabric-ca-se…" 12 seconds ago Up 10 seconds 0.0.0.0:9054->9054/tcp, :::9054->9054/tcp, 7054/tcp, 0.0.0.0:19054->19054/tcp, :::19054->19054/tcp ca_orderer Generating channel create transaction 'mychannel.tx' + configtxgen -profile TwoOrgsChannel -outputCreateChannelTx ./channel-artifacts/mychannel.tx -channelID mychannel 2023-11-02 07:45:08.737 +06 [common.tools.configtxgen] main -> INFO 001 Loading configuration 2023-11-02 07:45:08.784 +06 [common.tools.configtxgen.localconfig] Load -> INFO 002 Loaded configuration: /home/shuvo/Desktop/fabric-operations-console/fabric-samples/test-network/configtx/configtx.yaml 2023-11-02 07:45:08.784 +06 [common.tools.configtxgen] doOutputChannelCreateTx -> INFO 003 Generating new channel configtx 2023-11-02 07:45:08.788 +06 [common.tools.configtxgen] doOutputChannelCreateTx -> INFO 004 Writing new channel tx + res=0 Creating channel mychannel Using organization 1 + peer channel create -o localhost:7050 -c mychannel --ordererTLSHostnameOverride orderer.example.com -f ./channel-artifacts/mychannel.tx --outputBlock ./channel-artifacts/mychannel.block --tls --cafile /home/shuvo/Desktop/fabric-operations-console/fabric-samples/test-network/organizations/ordererOrganizations/example.com/orderers/orderer.example.com/msp/tlscacerts/tlsca.example.com-cert.pem + res=0 2023-11-02 07:45:11.934 +06 [channelCmd] InitCmdFactory -> INFO 001 Endorser and orderer connections initialized 2023-11-02 07:45:11.973 +06 [cli.common] readBlock -> INFO 002 Expect block, but got status: &{NOT_FOUND} 2023-11-02 07:45:11.979 +06 [channelCmd] InitCmdFactory -> INFO 003 Endorser and orderer connections initialized 2023-11-02 07:45:12.182 +06 [cli.common] readBlock -> INFO 004 Expect block, but got status: &{SERVICE_UNAVAILABLE} 2023-11-02 07:45:12.685 +06 [channelCmd] InitCmdFactory -> INFO 005 Endorser and orderer connections initialized 2023-11-02 07:45:12.886 +06 [cli.common] readBlock -> INFO 006 Expect block, but got status: &{SERVICE_UNAVAILABLE} 2023-11-02 07:45:12.889 +06 [channelCmd] InitCmdFactory -> INFO 007 Endorser and orderer connections initialized 2023-11-02 07:45:13.092 +06 [cli.common] readBlock -> INFO 008 Received block: 0 Channel 'mychannel' created Joining org1 peer to the channel... Using organization 1 + peer channel join -b ./channel-artifacts/mychannel.block + res=0 2023-11-02 07:45:16.172 +06 [channelCmd] InitCmdFactory -> INFO 001 Endorser and orderer connections initialized 2023-11-02 07:45:16.365 +06 [channelCmd] executeJoin -> INFO 002 Successfully submitted proposal to join channel Joining org2 peer to the channel... Using organization 2 + peer channel join -b ./channel-artifacts/mychannel.block + res=0 2023-11-02 07:45:19.853 +06 [channelCmd] InitCmdFactory -> INFO 001 Endorser and orderer connections initialized 2023-11-02 07:45:20.044 +06 [channelCmd] executeJoin -> INFO 002 Successfully submitted proposal to join channel Setting anchor peer for org1... Using organization 1 Fetching channel config for channel mychannel Using organization 1 Fetching the most recent configuration block for the channel + peer channel fetch config config_block.pb -o orderer.example.com:7050 --ordererTLSHostnameOverride orderer.example.com -c mychannel --tls --cafile /opt/gopath/src/github.com/hyperledger/fabric/peer/organizations/ordererOrganizations/example.com/orderers/orderer.example.com/msp/tlscacerts/tlsca.example.com-cert.pem 2023-11-02 01:45:20.236 UTC [channelCmd] InitCmdFactory -> INFO 001 Endorser and orderer connections initialized 2023-11-02 01:45:20.238 UTC [cli.common] readBlock -> INFO 002 Received block: 0 2023-11-02 01:45:20.238 UTC [channelCmd] fetch -> INFO 003 Retrieving last config block: 0 2023-11-02 01:45:20.240 UTC [cli.common] readBlock -> INFO 004 Received block: 0 Decoding config block to JSON and isolating config to Org1MSPconfig.json + configtxlator proto_decode --input config_block.pb --type common.Block + jq '.data.data[0].payload.data.config' Generating anchor peer update transaction for Org1 on channel mychannel + jq '.channel_group.groups.Application.groups.Org1MSP.values += {"AnchorPeers":{"mod_policy": "Admins","value":{"anchor_peers": [{"host": "peer0.org1.example.com","port": 7051}]},"version": "0"}}' Org1MSPconfig.json + configtxlator proto_encode --input Org1MSPconfig.json --type common.Config + configtxlator proto_encode --input Org1MSPmodified_config.json --type common.Config + configtxlator compute_update --channel_id mychannel --original original_config.pb --updated modified_config.pb + configtxlator proto_decode --input config_update.pb --type common.ConfigUpdate + jq . ++ cat config_update.json + echo '{"payload":{"header":{"channel_header":{"channel_id":"mychannel", "type":2}},"data":{"config_update":{' '"channel_id":' '"mychannel",' '"isolated_data":' '{},' '"read_set":' '{' '"groups":' '{' '"Application":' '{' '"groups":' '{' '"Org1MSP":' '{' '"groups":' '{},' '"mod_policy":' '"",' '"policies":' '{' '"Admins":' '{' '"mod_policy":' '"",' '"policy":' null, '"version":' '"0"' '},' '"Endorsement":' '{' '"mod_policy":' '"",' '"policy":' null, '"version":' '"0"' '},' '"Readers":' '{' '"mod_policy":' '"",' '"policy":' null, '"version":' '"0"' '},' '"Writers":' '{' '"mod_policy":' '"",' '"policy":' null, '"version":' '"0"' '}' '},' '"values":' '{' '"MSP":' '{' '"mod_policy":' '"",' '"value":' null, '"version":' '"0"' '}' '},' '"version":' '"0"' '}' '},' '"mod_policy":' '"",' '"policies":' '{},' '"values":' '{},' '"version":' '"1"' '}' '},' '"mod_policy":' '"",' '"policies":' '{},' '"values":' '{},' '"version":' '"0"' '},' '"write_set":' '{' '"groups":' '{' '"Application":' '{' '"groups":' '{' '"Org1MSP":' '{' '"groups":' '{},' '"mod_policy":' '"Admins",' '"policies":' '{' '"Admins":' '{' '"mod_policy":' '"",' '"policy":' null, '"version":' '"0"' '},' '"Endorsement":' '{' '"mod_policy":' '"",' '"policy":' null, '"version":' '"0"' '},' '"Readers":' '{' '"mod_policy":' '"",' '"policy":' null, '"version":' '"0"' '},' '"Writers":' '{' '"mod_policy":' '"",' '"policy":' null, '"version":' '"0"' '}' '},' '"values":' '{' '"AnchorPeers":' '{' '"mod_policy":' '"Admins",' '"value":' '{' '"anchor_peers":' '[' '{' '"host":' '"peer0.org1.example.com",' '"port":' 7051 '}' ']' '},' '"version":' '"0"' '},' '"MSP":' '{' '"mod_policy":' '"",' '"value":' null, '"version":' '"0"' '}' '},' '"version":' '"1"' '}' '},' '"mod_policy":' '"",' '"policies":' '{},' '"values":' '{},' '"version":' '"1"' '}' '},' '"mod_policy":' '"",' '"policies":' '{},' '"values":' '{},' '"version":' '"0"' '}' '}}}}' + configtxlator proto_encode --input config_update_in_envelope.json --type common.Envelope 2023-11-02 01:45:20.606 UTC [channelCmd] InitCmdFactory -> INFO 001 Endorser and orderer connections initialized 2023-11-02 01:45:20.624 UTC [channelCmd] update -> INFO 002 Successfully submitted channel update Anchor peer set for org 'Org1MSP' on channel 'mychannel' Setting anchor peer for org2... Using organization 2 Fetching channel config for channel mychannel Using organization 2 Fetching the most recent configuration block for the channel + peer channel fetch config config_block.pb -o orderer.example.com:7050 --ordererTLSHostnameOverride orderer.example.com -c mychannel --tls --cafile /opt/gopath/src/github.com/hyperledger/fabric/peer/organizations/ordererOrganizations/example.com/orderers/orderer.example.com/msp/tlscacerts/tlsca.example.com-cert.pem 2023-11-02 01:45:21.352 UTC [channelCmd] InitCmdFactory -> INFO 001 Endorser and orderer connections initialized 2023-11-02 01:45:21.354 UTC [cli.common] readBlock -> INFO 002 Received block: 1 2023-11-02 01:45:21.355 UTC [channelCmd] fetch -> INFO 003 Retrieving last config block: 1 2023-11-02 01:45:21.356 UTC [cli.common] readBlock -> INFO 004 Received block: 1 Decoding config block to JSON and isolating config to Org2MSPconfig.json + jq '.data.data[0].payload.data.config' + configtxlator proto_decode --input config_block.pb --type common.Block Generating anchor peer update transaction for Org2 on channel mychannel + jq '.channel_group.groups.Application.groups.Org2MSP.values += {"AnchorPeers":{"mod_policy": "Admins","value":{"anchor_peers": [{"host": "peer0.org2.example.com","port": 9051}]},"version": "0"}}' Org2MSPconfig.json + configtxlator proto_encode --input Org2MSPconfig.json --type common.Config + configtxlator proto_encode --input Org2MSPmodified_config.json --type common.Config + configtxlator compute_update --channel_id mychannel --original original_config.pb --updated modified_config.pb + configtxlator proto_decode --input config_update.pb --type common.ConfigUpdate + jq . ++ cat config_update.json + echo '{"payload":{"header":{"channel_header":{"channel_id":"mychannel", "type":2}},"data":{"config_update":{' '"channel_id":' '"mychannel",' '"isolated_data":' '{},' '"read_set":' '{' '"groups":' '{' '"Application":' '{' '"groups":' '{' '"Org2MSP":' '{' '"groups":' '{},' '"mod_policy":' '"",' '"policies":' '{' '"Admins":' '{' '"mod_policy":' '"",' '"policy":' null, '"version":' '"0"' '},' '"Endorsement":' '{' '"mod_policy":' '"",' '"policy":' null, '"version":' '"0"' '},' '"Readers":' '{' '"mod_policy":' '"",' '"policy":' null, '"version":' '"0"' '},' '"Writers":' '{' '"mod_policy":' '"",' '"policy":' null, '"version":' '"0"' '}' '},' '"values":' '{' '"MSP":' '{' '"mod_policy":' '"",' '"value":' null, '"version":' '"0"' '}' '},' '"version":' '"0"' '}' '},' '"mod_policy":' '"",' '"policies":' '{},' '"values":' '{},' '"version":' '"1"' '}' '},' '"mod_policy":' '"",' '"policies":' '{},' '"values":' '{},' '"version":' '"0"' '},' '"write_set":' '{' '"groups":' '{' '"Application":' '{' '"groups":' '{' '"Org2MSP":' '{' '"groups":' '{},' '"mod_policy":' '"Admins",' '"policies":' '{' '"Admins":' '{' '"mod_policy":' '"",' '"policy":' null, '"version":' '"0"' '},' '"Endorsement":' '{' '"mod_policy":' '"",' '"policy":' null, '"version":' '"0"' '},' '"Readers":' '{' '"mod_policy":' '"",' '"policy":' null, '"version":' '"0"' '},' '"Writers":' '{' '"mod_policy":' '"",' '"policy":' null, '"version":' '"0"' '}' '},' '"values":' '{' '"AnchorPeers":' '{' '"mod_policy":' '"Admins",' '"value":' '{' '"anchor_peers":' '[' '{' '"host":' '"peer0.org2.example.com",' '"port":' 9051 '}' ']' '},' '"version":' '"0"' '},' '"MSP":' '{' '"mod_policy":' '"",' '"value":' null, '"version":' '"0"' '}' '},' '"version":' '"1"' '}' '},' '"mod_policy":' '"",' '"policies":' '{},' '"values":' '{},' '"version":' '"1"' '}' '},' '"mod_policy":' '"",' '"policies":' '{},' '"values":' '{},' '"version":' '"0"' '}' '}}}}' + configtxlator proto_encode --input config_update_in_envelope.json --type common.Envelope 2023-11-02 01:45:21.758 UTC [channelCmd] InitCmdFactory -> INFO 001 Endorser and orderer connections initialized 2023-11-02 01:45:21.782 UTC [channelCmd] update -> INFO 002 Successfully submitted channel update Anchor peer set for org 'Org2MSP' on channel 'mychannel' Channel 'mychannel' joined deploying chaincode on channel 'mychannel' executing with the following - CHANNEL_NAME: mychannel - CC_NAME: fabcar - CC_SRC_PATH: ../chaincode/fabcar/go/ - CC_SRC_LANGUAGE: go - CC_VERSION: 1 - CC_SEQUENCE: 1 - CC_END_POLICY: NA - CC_COLL_CONFIG: NA - CC_INIT_FCN: initLedger - DELAY: 3 - MAX_RETRY: 5 - VERBOSE: false Vendoring Go dependencies at ../chaincode/fabcar/go/ /home/shuvo/Desktop/fabric-operations-console/fabric-samples/chaincode/fabcar/go /home/shuvo/Desktop/fabric-operations-console/fabric-samples/test-network scripts/deployCC.sh: line 59: go: command not found /home/shuvo/Desktop/fabric-operations-console/fabric-samples/test-network Finished vendoring Go dependencies + peer lifecycle chaincode package fabcar.tar.gz --path ../chaincode/fabcar/go/ --lang golang --label fabcar_1 + res=1 Error: failed to normalize chaincode path: failed to determine module root: exec: "go": executable file not found in $PATH Chaincode packaging has failed Deploying chaincode failed shuvo@shuvo-VirtualBox:~/Desktop/fabric-operations-console$