From e6fbd2d8cb40dfe0ed4937a78e02b4f222d9dbdd Mon Sep 17 00:00:00 2001 From: Carson Gee Date: Tue, 13 May 2014 09:56:13 -0400 Subject: [PATCH] Fix missing variable initialization so an unspecified internal_network runs --- library/cloud/quantum_floating_ip | 1 + 1 file changed, 1 insertion(+) diff --git a/library/cloud/quantum_floating_ip b/library/cloud/quantum_floating_ip index 2ad761ec3b7..df55ccdafa1 100644 --- a/library/cloud/quantum_floating_ip +++ b/library/cloud/quantum_floating_ip @@ -142,6 +142,7 @@ def _get_server_state(module, nova): return server_info, server def _get_port_info(neutron, module, instance_id, internal_network_name=None): + subnet_id = None if internal_network_name: kwargs = { 'name': internal_network_name,