【发布时间】:2021-06-29 10:00:40
【问题描述】:
我有现有的超级账本结构设置,包含 2 个组织、5 个订购者和 1 个渠道,我想创建一个新渠道,并且只想将 3 个订购者(共 5 个)作为新渠道的一部分,因为我已经提到通道配置部分的订购者详细信息如下:
NewChannel:
Consortium: SampleConsortium
<<: *ChannelDefaults
Capabilities:
<<: *ChannelCapabilities
Orderer:
<<: *OrdererDefaults
OrdererType: etcdraft
EtcdRaft:
Consenters:
- Host: orderer3.example.com
Port: 13050
ClientTLSCert: ../organizations/ordererOrganizations/example.com/orderers/orderer3.example.com/tls/server.crt
ServerTLSCert: ../organizations/ordererOrganizations/example.com/orderers/orderer3.example.com/tls/server.crt
- Host: orderer4.example.com
Port: 14050
ClientTLSCert: ../organizations/ordererOrganizations/example.com/orderers/orderer4.example.com/tls/server.crt
ServerTLSCert: ../organizations/ordererOrganizations/example.com/orderers/orderer4.example.com/tls/server.crt
- Host: orderer5.example.com
Port: 15050
ClientTLSCert: ../organizations/ordererOrganizations/example.com/orderers/orderer5.example.com/tls/server.crt
ServerTLSCert: ../organizations/ordererOrganizations/example.com/orderers/orderer5.example.com/tls/server.crt
Addresses:
- orderer3.example.com:13050
- orderer4.example.com:14050
- orderer5.example.com:15050
Organizations:
- *OrdererOrg
Capabilities:
<<: *OrdererCapabilities
Application:
<<: *ApplicationDefaults
Organizations:
- *Org1
- *Org2
Capabilities:
<<: *ApplicationCapabilities
我使用-channelCreateTxBaseProfile 参数创建了没有任何问题的通道事务文件,但是在创建通道时出现以下错误:
错误:出现意外状态:BAD_REQUEST -- 验证通道错误 新频道“channel11”的创建事务,不能 成功将更新应用到模板配置:授权错误 更新:验证 DeltaSet 时出错:[Value] 的策略 /Channel/OrdererAddresses 不满足:隐式策略评估 失败 - 满足 0 个子策略,但该策略需要 1 个 要满足的“管理员”子策略
我无法确定政策的确切问题,任何人都可以就该问题以及如何解决它提出建议。
【问题讨论】:
-
我有一个问题,如果你使用
-channelCreateTxBaseProfile,它会创建一个不安全的单通道发送,我认为你应该使用-profilenewchanel -
我使用
-channelCreateTxBaseProfile来指定orderer 系统通道配置文件以及-profile
标签: hyperledger-fabric hyperledger