hashgraph / hashgraph/fabric-hcs
unable to bootstrap orderer. Error reading genesis block file: read /var/hyperledger/orderer/orderer.genesis.block: is a directory
- Dominant language
- Go
- Stars
- 5
- Forks
- 5
- PR merge metrics
- No merged PRs in 30d
Description
Hi, This is the general HLF bug for 2.0.0v and your first-network example has a same bug.
https://jira.hyperledger.org/browse/FAB-17125
Bug: Unable to bootstrap orderer - error reading genesis block file.
**Error Detail:**
panic: unable to bootstrap orderer. Error reading genesis block file: read /var/hyperledger/orderer/orderer.genesis.block: is a directory
goroutine 1 [running]:
github.com/hyperledger/fabric/orderer/common/bootstrap/file.(*fileBootstrapper).GenesisBlock(0xc00044c310, 0xc00044c310)
/go/src/github.com/hyperledger/fabric/orderer/common/bootstrap/file/bootstrap.go:39 +0x1c0
github.com/hyperledger/fabric/orderer/common/server.extractBootstrapBlock(0xc000140d80, 0xc0003865b0)
/go/src/github.com/hyperledger/fabric/orderer/common/server/main.go:595 +0x13f
github.com/hyperledger/fabric/orderer/common/server.Main()
/go/src/github.com/hyperledger/fabric/orderer/common/server/main.go:129 +0x12c1
main.main()
/go/src/github.com/hyperledger/fabric/cmd/orderer/main.go:15 +0x20
Contributor guide
Research direction
Start with the stack-trace entry points in orderer/common/bootstrap/file/bootstrap.go:39 and orderer/common/server/main.go:595, then compare the reported behavior with FAB-17125 and the first-network example. Done means the orderer can bootstrap without treating /var/hyperledger/orderer/orderer.genesis.block as a directory, with the relevant failure or regression covered.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- go
- Domain
- blockchain
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100