openstack-kilo--issue(十七) heat创建网络Quota exceeded for resources OverQuotaClient: resources.dmz_prote
Posted my_cool2007
tags:
篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了openstack-kilo--issue(十七) heat创建网络Quota exceeded for resources OverQuotaClient: resources.dmz_prote相关的知识,希望对你有一定的参考价值。
----- 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_prote的主要内容,如果未能解决你的问题,请参考以下文章
openstack-kilo--issue WARNING: nova has no endpoint in ! Available endpoints for this service:(示例(代码
[原]openstack-kilo--issue neutron-agent服务实际是active的-但是显示为XXX
[原]openstack-kilo--issue(二十一) instance can't get ip 虚拟机不能得到ip
openstack-kilo--issue(十五) WARNING keystonemiddleware.auth_token Authorization failed for token Could