首页 > 代码库 > openstack-kilo--issue(十七) heat创建网络Quota exceeded for resources OverQuotaClient: resources.dmz_protected_network_sub
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
问题解决
openstack-kilo--issue(十七) heat创建网络Quota exceeded for resources OverQuotaClient: resources.dmz_protected_network_sub
声明:以上内容来自用户投稿及互联网公开渠道收集整理发布,本网站不拥有所有权,未作人工编辑处理,也不承担相关法律责任,若内容有误或涉及侵权可进行投诉: 投诉/举报 工作人员会在5个工作日内联系你,一经查实,本站将立刻删除涉嫌侵权内容。