zoukankan      html  css  js  c++  java
  • [原]openstack-kilo--issue(十七) heat创建网络Quota exceeded for resources OverQuotaClient: resources.dmz_protected_network_sub

    -----  1  -------

    在使用heat创建网络的时候,报错如下

     10967 INFO heat.engine.stack [-] Stack CREATE FAILED (mmsc_network_stack): Resource CREATE failed: OverQuotaClient: resources.dmz_protected_network: Quota exceeded for resources: ['network']
     10967 INFO heat.engine.service [-] Stack create failed, status FAILED

    问题点分析:是因为neutron的network数量进行了限制:

    vim  /etc/neutron/neutron.conf
    
    # quota_network = 10
    quota_network = 30         //将默认的10改大,超过需要创建的网络数

    重启neutron

    ]# systemctl restart neutron-dhcp-agent.service neutron-l3-agent.service neutron-metadata-agent.service neutron-openvswitch-agent.service neutron-server.service neutron-ovs-cleanup.service

    --------  2  -------

    在使用heat创建网络的时候,解决了网络数量问题依然报错如下:

    10975 INFO heat.engine.stack [-] Stack CREATE FAILED (mmsc_network_stack): Resource CREATE failed: OverQuotaClient: resources.dmz_protected_network_sub: Quota exceeded for resources: ['subnet']
    10975 INFO heat.engine.service [-] Stack create failed, status FAILED

    问题分析,在报错中发现有dmz_protected_network_sub字样,查看子网络的个数是否没有达到需要创建的子网数量并进行修改:

    vim  /etc/neutron/neutron.conf
    
    # quota_subnet = 10
    quota_subnet = 30        //修改subnet数量
    
    # quota_port = 50
    quota_port = 100
    
    # quota_vip = 10
    quota_vip = 20

    重启neutron

    ]# systemctl restart neutron-dhcp-agent.service neutron-l3-agent.service neutron-metadata-agent.service neutron-openvswitch-agent.service neutron-server.service neutron-ovs-cleanup.service

    --- 3-----

    解决了子网问题:依然报错如下:

    10981 TRACE heat.engine.resource BadRequest: Bad router request: Cidr 10.68.125.0/24 of subnet d498b539-9eba-4bfc-91cd-6370b781ba8a overlaps with cidr 10.68.125.0/24 of subnet 7e8b4e32-423c-4d5a-b9ae-22cf2e9d3417
    10981 TRACE heat.engine.resource 
    10981 INFO heat.engine.stack [-] Stack CREATE FAILED (mmsc_network_stack): Resource CREATE failed: BadRequest: resources.vmmsc_oam_router_interface: Bad router request: Cidr 10.68.125.0/24 of subnet d498b539-9eba-4bfc-91cd-6370b781ba8a overlaps with cidr 10.68.125.0/24 of subnet 7e8b4e32-423c-4d5a-b9ae-22cf2e9d3417
    10981 INFO heat.engine.service [-] Stack create failed, status FAILED

    查看报错说有两个子网重复了,检查yaml文件,果然有两个子网重复

    修改为唯一的子网并删除创建失败的stack后,再重新heat创建,

    重启neutron

    ]# systemctl restart neutron-dhcp-agent.service neutron-l3-agent.service neutron-metadata-agent.service neutron-openvswitch-agent.service neutron-server.service neutron-ovs-cleanup.service

     问题解决

  • 相关阅读:
    比较两个集合元素是否相同?
    如何将list集合转成String对象
    如何对金额进行判断
    微信网页授权
    什么是微信小程序?简单介绍
    关于买家买入一件商品以后需要进行的逻辑
    设置快捷的模板的生成
    IDEA优秀插件分享之---Mybatis Log Plugin
    破解Beyond Compare 4
    JPA-save()方法会将字段更新为null的解决方法
  • 原文地址:https://www.cnblogs.com/horizonli/p/6295905.html
Copyright © 2011-2022 走看看