Skip to content
This repository has been archived by the owner on Nov 9, 2023. It is now read-only.

Error when provisioning Fabric 2.5.0 #381

Open
maciejjedrzejczyk opened this issue Apr 18, 2023 · 1 comment
Open

Error when provisioning Fabric 2.5.0 #381

maciejjedrzejczyk opened this issue Apr 18, 2023 · 1 comment

Comments

@maciejjedrzejczyk
Copy link

** Brief Description of the issue **

When running Hyperledger Fabric 2.5.0 with a -i switch command, I am encountering the following error:

# Use fabric tools container to create channel artifacts ******
  non-zero return code
  2023-04-18 22:37:32.645 UTC 0001 INFO [common.tools.configtxgen] main -> Loading configuration
  2023-04-18 22:37:32.700 UTC 0002 PANI [common.tools.configtxgen.localconfig] Load -> Could not find profile: OrdererGenesis
  2023-04-18 22:37:32.700 UTC 0003 ERRO [common.tools.configtxgen] func1 -> Could not find profile: OrdererGenesis. Please make sure that FABRIC_CFG_PATH or -configPath is set to a path which contains configtx.yaml with the specified profile
  2023-04-18 22:37:32.759 UTC 0001 INFO [common.tools.configtxgen] main -> Loading configuration
  2023-04-18 22:37:32.801 UTC 0002 INFO [common.tools.configtxgen.localconfig] completeInitialization -> orderer type: solo
  2023-04-18 22:37:32.802 UTC 0003 INFO [common.tools.configtxgen.localconfig] LoadTopLevel -> Loaded configuration: /var/hyperledger/fabric/config/configtx.yaml
  2023-04-18 22:37:32.802 UTC 0004 FATA [common.tools.configtxgen] main -> Error on printOrg: organization org0-example-com not found
  2023-04-18 22:37:32.860 UTC 0001 INFO [common.tools.configtxgen] main -> Loading configuration
  2023-04-18 22:37:32.902 UTC 0002 INFO [common.tools.configtxgen.localconfig] completeInitialization -> orderer type: solo
  2023-04-18 22:37:32.902 UTC 0003 INFO [common.tools.configtxgen.localconfig] LoadTopLevel -> Loaded configuration: /var/hyperledger/fabric/config/configtx.yaml
  2023-04-18 22:37:32.902 UTC 0004 FATA [common.tools.configtxgen] main -> Error on printOrg: organization org1-example-com not found

However, when I inspect configtx.yaml generated by minifabric and placed in vars folder, I clearly see OrdererGenesis section.

I am using a default spec.

** How to reproduce an issue **

Launch a new network with minifab up -i 2.5 command.

@lekshmi-mb
Copy link

lekshmi-mb commented Jun 13, 2023

Is this issue solved? I am also facing same issue while bringing up network with version 2.5

2023-06-13 05:16:48.466 UTC 0002 PANI [common.tools.configtxgen.localconfig] Load -> Could not find profile: OrdererGenesis
2023-06-13 05:16:48.466 UTC 0003 ERRO [common.tools.configtxgen] func1 -> Could not find profile: OrdererGenesis. Please make sure that FABRIC_CFG_PATH or -configPath is set to a path which contains configtx.yaml with the specified profile

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants