升级Hyperledger Fabric网络后通道创建失败

莫里亚蒂

我将开发超级账本结构网络从1.4.1更新为1.4.4,并且由于通道策略在v1.4.1中没有失败而无法再创建通道或无法与网络交互

以下是当我尝试通过节点sdk创建通道时发生的情况

来自节点SDK的错误

error: Status: BAD_REQUEST
Info: error validating channel creation transaction for new channel 'mychannel', could not successfully apply update to template configuration: error authorizing update: error validating DeltaSet: policy for [Group]  /Channel/Application not satisfied: implicit policy evaluation failed - 0 sub-policies were satisfied, but this policy requires 1 of the 'Admins' sub-policies to be satisfied

来自订购者Docker容器的错误

[orderer.common.broadcast] ProcessMessage -> WARN 00e [channel: farm] Rejecting broadcast of config message from 172.18.0.1:40866 because of error: error validating channel creation transaction for new channel 'farm', could not succesfully apply update to template configuration: error authorizing update: error validating DeltaSet: policy for [Group]  /Channel/Application not satisfied: implicit policy evaluation failed - 0 sub-policies were satisfied, but this policy requires 1 of the 'Admins' sub-policies to be satisfied

crypto-config部分

Application: &ApplicationDefaults

    # Organizations is the list of orgs which are defined as participants on
    # the application side of the network
    Organizations:

    # Policies defines the set of policies at this level of the config tree
    # For Application policies, their canonical path is
    #   /Channel/Application/<PolicyName>
    Policies:
        Readers:
            Type: ImplicitMeta
            Rule: "ANY Readers"
        Writers:
            Type: ImplicitMeta
            Rule: "ANY Writers"
        Admins:
            Type: ImplicitMeta
            Rule: "MAJORITY Admins"
莫里亚蒂

在使用v1.4.4的fabric-samples configtx.yaml作为模板之后,我发现唯一的区别是此Capabilities部分

Application: &ApplicationDefaults

    # Organizations is the list of orgs which are defined as participants on
    # the application side of the network
    Organizations:

    # Policies defines the set of policies at this level of the config tree
    # For Application policies, their canonical path is
    #   /Channel/Application/<PolicyName>
    Policies:
        Readers:
            Type: ImplicitMeta
            Rule: "ANY Readers"
        Writers:
            Type: ImplicitMeta
            Rule: "ANY Writers"
        Admins:
            Type: ImplicitMeta
            Rule: "MAJORITY Admins"

    Capabilities:
        <<: *ApplicationCapabilities

本文收集自互联网,转载请注明来源。

如有侵权,请联系[email protected] 删除。

编辑于
0

我来说两句

0条评论
登录后参与评论

相关文章

来自分类Dev

在 Hyperledger Fabric 中创建通道失败

来自分类Dev

Hyperledger Fabric 中的对等通道创建失败

来自分类Dev

对等通道创建 - 评估失败仅满足 0 个策略 Hyperledger Fabric

来自分类Dev

Hyperledger Fabric 通道

来自分类Dev

升级flutter后创建方法通道-无法解析方法getFlutterView()

来自分类Dev

Hyperledger 网络中的不相交通道

来自分类Dev

如何使用grafana监视Hyperledger Fabric网络?

来自分类Dev

在Hyperledger Fabric中评估生产网络

来自分类Dev

Hyperledger Fabric网络中的Chaincode问题

来自分类Dev

Hyperledger Fabric 更新分类帐失败

来自分类Dev

升级后Kali Linux失败

来自分类Dev

Hyperledger Fabric 通道 queryInfo 抛出访问被拒绝错误

来自分类Dev

Hyperledger Fabric 中的动态通道工件 (channel.tx)

来自分类Dev

VBox升级到ubuntu 13.10后无法打开/创建内部网络

来自分类Dev

VBox升级到ubuntu 13.10后无法打开/创建内部网络

来自分类Dev

14.04.5远程升级后LTS网络断开

来自分类Dev

在Hyperledger Fabric中启动自定义网络时出错

来自分类Dev

从零开始的Hyperledger Fabric区块链网络

来自分类Dev

适用于不同网络的Hyperledger Fabric Orderer

来自分类Dev

在Hyperledger Fabric 1.4.4中跨多个网络使用对等节点

来自分类Dev

多台机器/节点上的Hyperledger Fabric网络

来自分类Dev

网络设置后退出Hyperledger Fabric对等Docker实例

来自分类Dev

Hyperledger Fabric:第一个网络的用户界面

来自分类Dev

从本地网络访问本地托管的 Hyperledger Fabric

来自分类Dev

Hyperledger fabric Crypto materials

来自分类Dev

Hyperledger Fabric的ChannelCreationPolicy

来自分类Dev

Hyperledger Fabric 中的 GOPATH

来自分类Dev

Hyperledger Composer 网络安装

来自分类Dev

升级后,apt-get更新失败

Related 相关文章

热门标签

归档