Uploaded image for project: 'Fabric'
  1. Fabric
  2. FAB-16330

Unable to create channel with multiple orgs in gen_cfgInputs script

    Details

    • Type: Task
    • Status: Closed (View Workflow)
    • Priority: Medium
    • Resolution: Done
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: fabric-quality
    • Labels:
      None

      Description

      Observed below error while creating a channel with multiple orgs using gen_cfgInputs.sh. Below are the commands

      ./gen_cfgInputs.sh -d <ConnectionProfileDIR> --nchan 3 --chan0 0 --chanprefix testorgschannel --norg 2 -c

      jenkins@rtpjenkins:~/workspace/k8s_systemTest/gopath/src/github.com/hyperledger/fabric-test/tools/PTE/CITest/CIConnProfiles/test-network$ tree
      .
      ├── connection_profile_org1.yaml
      └── connection_profile_org2.yaml

      2019-08-16T15:01:25.839Z - debug: [utils.CryptoKeyStore]: This class requires a CryptoKeyStore to save keys, using the store: {"opts":{"path":"/tmp/hfc-test-kvs_0_org1"}}
      2019-08-16T15:01:25.839Z - debug: [FileKeyValueStore.js]: constructor path=/tmp/hfc-test-kvs_0_org1
      error: [2019-08-16T15:01:25.840Z PTE 0 main]: TypeError: Cannot read property 'hasOwnProperty' of undefined
          at findOrgCA (/var/lib/jenkins/workspace/k8s_systemTest/gopath/src/github.com/hyperledger/fabric-test/tools/PTE/pte-util.js:256:22)
          at getOrgEnrollId (/var/lib/jenkins/workspace/k8s_systemTest/gopath/src/github.com/hyperledger/fabric-test/tools/PTE/pte-util.js:273:17)
          at Object.module.exports.getOrgEnrollIdSubmitter (/var/lib/jenkins/workspace/k8s_systemTest/gopath/src/github.com/hyperledger/fabric-test/tools/PTE/pte-util.js:283:12)
          at /var/lib/jenkins/workspace/k8s_systemTest/gopath/src/github.com/hyperledger/fabric-test/tools/PTE/pte-main.js:1049:35
          at new Promise (<anonymous>)
          at channelOrgName.forEach (/var/lib/jenkins/workspace/k8s_systemTest/gopath/src/github.com/hyperledger/fabric-test/tools/PTE/pte-main.js:1046:25)
          at Array.forEach (<anonymous>)
          at hfc.newDefaultKeyValueStore.then (/var/lib/jenkins/workspace/k8s_systemTest/gopath/src/github.com/hyperledger/fabric-test/tools/PTE/pte-main.js:1045:24)
          at <anonymous>
      

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                dongming Dongming Hwang
                Reporter:
                rameshthoomu Ramesh Babu Thoomu
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:

                  Git Source Code