Comment 1 for bug 1163394

Revision history for this message
David Ripton (dripton) wrote :

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 FloatingIpCommands.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.