After digging a bit more I found that fixed_ips are not set to "allocated" when creating a instance hence not giving get_allocated_ips the ips it should have when it does "ips = db.fixed_ip_get_all(admin_context)"
After digging a bit more I found that fixed_ips are not set to "allocated" when creating a instance hence not giving get_allocated_ips the ips it should have when it does "ips = db.fixed_ ip_get_ all(admin_ context) "