为什么这个错误发生在 hyperledger Fabric 2.2 中,无法验证身份的 OU:certifiersIdentifier 不匹配?

why does this error occured in hyperledger Fabric 2.2 ,could not validate identity's OUs: certifiersIdentifier does not match?

当我尝试使用 docker-compose 启动网络时,对等方退出并显示以下消息。

恐慌:无法将我们自己的身份放入身份映射器:无法分类身份:无法从对等身份中提取 msp.Identity:无法验证身份的 OU:certifiersIdentifier 不匹配

这里是一个同行的完整日志-

goroutine 1 [running]:
github.com/hyperledger/fabric/gossip/identity.NewIdentityMapper({0x18218e0, 0xc00007d140}, {0xc00012d400, 0x3c7, 0x3c7}, 0xc002a2e410, {0x17f0020, 0xc000070fb0})
    /go/src/github.com/hyperledger/fabric/gossip/identity/identity.go:83 +0x24e
github.com/hyperledger/fabric/gossip/gossip.New(0xc0002a2640, 0x113dba6, {0x17f0020, 0xc000070fb0}, {0x18218e0, 0xc00007d140}, {0xc00012d400, 0x3c7, 0x3c7}, 0xc002a2e120, ...)
    /go/src/github.com/hyperledger/fabric/gossip/gossip/gossip_impl.go:98 +0x4f0
github.com/hyperledger/fabric/gossip/service.New({0x7f94b7e4e898, 0xc0003659e0}, 0xc002a2d290, {0xc000042152, 0x20}, 0x0, {0x18218e0, 0xc00007d140}, {0x17f0020, 0xc000070fb0}, ...)
    /go/src/github.com/hyperledger/fabric/gossip/service/gossip_service.go:258 +0x1d0
github.com/hyperledger/fabric/internal/peer/node.initGossipService({0x17f19e0, 0xc0004fdae0}, {0x1802940, 0x21044e0}, 0xc000091f90, {0x182c888, 0xc0003659e0}, 0x0, {0xc000042152, 0x20}, ...)
    /go/src/github.com/hyperledger/fabric/internal/peer/node/start.go:1208 +0x827
github.com/hyperledger/fabric/internal/peer/node.serve({0x11dd300, 0xc0001bdd30, 0xc0001bdd08})
    /go/src/github.com/hyperledger/fabric/internal/peer/node/start.go:453 +0x2450
github.com/hyperledger/fabric/internal/peer/node.glob..func6(0x1fbcbc0, {0x21044e0, 0x0, 0x0})
    /go/src/github.com/hyperledger/fabric/internal/peer/node/start.go:127 +0x56
github.com/spf13/cobra.(*Command).execute(0x1fbcbc0, {0x21044e0, 0x0, 0x0})
    /go/src/github.com/hyperledger/fabric/vendor/github.com/spf13/cobra/command.go:762 +0x60e
github.com/spf13/cobra.(*Command).ExecuteC(0x1fbd2e0)
    /go/src/github.com/hyperledger/fabric/vendor/github.com/spf13/cobra/command.go:852 +0x2dc
github.com/spf13/cobra.(*Command).Execute(...)
    /go/src/github.com/hyperledger/fabric/vendor/github.com/spf13/cobra/command.go:800
main.main()
    /go/src/github.com/hyperledger/fabric/cmd/peer/main.go:54 +0x347

由于 config.yaml 文件中的 NodeOU 配置不正确,我遇到了这个问题。 证书有不同的 OU,在 config.yaml 中我声明了不同的 OU。