Starting Orderer: Failed validating bootstrap block: initializing channelconfig failed: could not create channel Orderer sub-group config #hyperledger-fabric #fabric-orderer


Marek Malik <info@...>
 

Hi all,
Could I please ask you guys for help?

When starting the orderer I'm getting the following error: 

2021-01-20 22:57:02.487 UTC [orderer.common.server] Main -> PANI 113 Failed validating bootstrap block: initializing channelconfig failed: could not create channel Orderer sub-group config: setting up the MSP manager failed: administrators must be declared when no admin ou classification is set
panic: Failed validating bootstrap block: initializing channelconfig failed: could not create channel Orderer sub-group config: setting up the MSP manager failed: administrators must be declared when no admin ou classification is set

goroutine 1 [running]:
go.uber.org/zap/zapcore.(*CheckedEntry).Write(0xc0003b4000, 0x0, 0x0, 0x0)
/go/src/github.com/hyperledger/fabric/vendor/go.uber.org/zap/zapcore/entry.go:230 +0x545
go.uber.org/zap.(*SugaredLogger).log(0xc000010168, 0x11aff04, 0x1025645, 0x25, 0xc00052b8e8, 0x1, 0x1, 0x0, 0x0, 0x0)
/go/src/github.com/hyperledger/fabric/vendor/go.uber.org/zap/sugar.go:234 +0x100
go.uber.org/zap.(*SugaredLogger).Panicf(...)
/go/src/github.com/hyperledger/fabric/vendor/go.uber.org/zap/sugar.go:159
github.com/hyperledger/fabric/common/flogging.(*FabricLogger).Panicf(...)
/go/src/github.com/hyperledger/fabric/common/flogging/zap.go:74
github.com/hyperledger/fabric/orderer/common/server.Main()
/go/src/github.com/hyperledger/fabric/orderer/common/server/main.go:118 +0x1c83
main.main()
/go/src/github.com/hyperledger/fabric/cmd/orderer/main.go:15 +0x20

Does anyone have any idea where this may be coming from? 

In the Orderer, the msp folder contains the config file with the cert (and admin OU). The Cert is the one that I got when enrolling the orderer user (registered with `--id.type orderer` flag). 
The orderer reads the file and locates the cert correctly (if I change the path to it fails).

This is the Profile part from the configtx.yaml file: 

################################################################################
Profiles:

amvoxChannel:
Consortium: SampleConsortium
<<: *ChannelDefaults
Application:
<<: *ApplicationDefaults
Organizations:
- *Amvox
- *Org2
- *Org3
Capabilities:
<<: *ApplicationCapabilities

OrdererGenesis:
<<: *ChannelDefaults
Orderer:
<<: *OrdererDefaults

Organizations:
- *AmvoxDLT
Capabilities:
<<: *OrdererCapabilities
Consortiums:
SampleConsortium:
Organizations:
- *Amvox
- *Org2
- *Org3


Please, could someone help with the orderer?

Join {fabric@lists.hyperledger.org to automatically receive all group messages.