nova-manage out of memory error creating many floating IPs
Bug #1163394 reported by
David Ripton
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack Compute (nova) |
Fix Released
|
Medium
|
David Ripton | ||
Grizzly |
Fix Released
|
Medium
|
Pádraig Brady |
Bug Description
https:/
Summarizing the downstream bug report, if we do something silly like CONFIG_
The workaround is to loop over the range and not create more than BIG_NOT_HUGE_NUMBER of floating IP addresses in one call to floating_
Changed in nova: | |
assignee: | nobody → David Ripton (dripton) |
tags: | added: grizzly-backport-potential |
tags: | removed: grizzly-backport-potential |
Changed in nova: | |
milestone: | none → havana-1 |
status: | Fix Committed → Fix Released |
Changed in nova: | |
importance: | Undecided → Medium |
Changed in nova: | |
milestone: | havana-1 → 2013.2 |
To post a comment you must log in.
floating_ ip_bulk_ create reads all existing floating IPs out of the database and shoves them into a dict. So fixing nova-manage to work in chunks will actually just move the problem, and we'll run out of memory in floating_ ip_bulk_ create instead.
So I think the real fix is to make nova-manage FloatingIpComma nds.address_ to_hosts raise an exception up front if we give it silly input like "192.168.2.224/2", rather than having it attempt to create millions of IPs then blow up later.