Public bug reported: The IP address filtering logic implemented in the compute API can duplicate instances if a given instance either: - Has a fixed IP address in more then 1 network that matches the filter - Has more then 1 fixed IP address in the same network matches the filter
For example: $ nova list +-----+-----------------+-------------------------------------------------+ | ID | Name | Networks | +-----+-----------------+-------------------------------------------------+ | 123 | InstanceTest | gre_shared_1=192.168.0.11; network=194.168.0.14 | | 456 | InstanceOne | gre_shared_1=192.168.0.3 | +-----+-----------------+-------------------------------------------------+ $ nova list --ip 19 +-----+-----------------+-------------------------------------------------+ | ID | Name | Networks | +-----+-----------------+-------------------------------------------------+ | 123 | InstanceTest | gre_shared_1=192.168.0.11; network=194.168.0.14 | | 123 | InstanceTest | gre_shared_1=192.168.0.11; network=194.168.0.14 | | 456 | InstanceOne | gre_shared_1=192.168.0.3 | +-----+-----------------+-------------------------------------------------+ ** Affects: nova Importance: Undecided Assignee: Steven Kaufer (kaufer) Status: New ** Description changed: The IP address filtering logic implemented in the compute API can duplicate instances if a given instance either: - Has a fixed IP address in more then 1 network that matches the filter - Has more then 1 fixed IP address in the same network matches the filter For example: $ nova list - +--------------------------------------+-----------------+-------------------------------------------------+ - | ID | Name | Networks | - +--------------------------------------+-----------------+-------------------------------------------------+ - | 3fd9a96c-b71b-4121-934c-c7c316a5fe69 | InstanceTest | gre_shared_1=192.168.0.11; network=194.168.0.14 | - | 783d89a6-bad0-461d-8684-3328c8e270a3 | InstanceOne | gre_shared_1=192.168.0.3 | - +--------------------------------------+-----------------+-------------------------------------------------+ + +-----+-----------------+-------------------------------------------------+ + | ID | Name | Networks | + +-----+-----------------+-------------------------------------------------+ + | 123 | InstanceTest | gre_shared_1=192.168.0.11; network=194.168.0.14 | + | 456 | InstanceOne | gre_shared_1=192.168.0.3 | + +-----+-----------------+-------------------------------------------------+ $ nova list --ip 19 - +--------------------------------------+-----------------+-------------------------------------------------+ - | ID | Name | Networks | - +--------------------------------------+-----------------+-------------------------------------------------+ - | 3fd9a96c-b71b-4121-934c-c7c316a5fe69 | InstanceTest | gre_shared_1=192.168.0.11; network=194.168.0.14 | - | 3fd9a96c-b71b-4121-934c-c7c316a5fe69 | InstanceTest | gre_shared_1=192.168.0.11; network=194.168.0.14 | - | 783d89a6-bad0-461d-8684-3328c8e270a3 | InstanceOne | gre_shared_1=192.168.0.3 | - +--------------------------------------+-----------------+-------------------------------------------------+ + +-----+-----------------+-------------------------------------------------+ + | ID | Name | Networks | + +-----+-----------------+-------------------------------------------------+ + | 123 | InstanceTest | gre_shared_1=192.168.0.11; network=194.168.0.14 | + | 123 | InstanceTest | gre_shared_1=192.168.0.11; network=194.168.0.14 | + | 456 | InstanceOne | gre_shared_1=192.168.0.3 | + +-----+-----------------+-------------------------------------------------+ ** Changed in: nova Assignee: (unassigned) => Steven Kaufer (kaufer) -- You received this bug notification because you are a member of Yahoo! Engineering Team, which is subscribed to OpenStack Compute (nova). https://bugs.launchpad.net/bugs/1417798 Title: IP filtering can include duplicate instances Status in OpenStack Compute (Nova): New Bug description: The IP address filtering logic implemented in the compute API can duplicate instances if a given instance either: - Has a fixed IP address in more then 1 network that matches the filter - Has more then 1 fixed IP address in the same network matches the filter For example: $ nova list +-----+-----------------+-------------------------------------------------+ | ID | Name | Networks | +-----+-----------------+-------------------------------------------------+ | 123 | InstanceTest | gre_shared_1=192.168.0.11; network=194.168.0.14 | | 456 | InstanceOne | gre_shared_1=192.168.0.3 | +-----+-----------------+-------------------------------------------------+ $ nova list --ip 19 +-----+-----------------+-------------------------------------------------+ | ID | Name | Networks | +-----+-----------------+-------------------------------------------------+ | 123 | InstanceTest | gre_shared_1=192.168.0.11; network=194.168.0.14 | | 123 | InstanceTest | gre_shared_1=192.168.0.11; network=194.168.0.14 | | 456 | InstanceOne | gre_shared_1=192.168.0.3 | +-----+-----------------+-------------------------------------------------+ To manage notifications about this bug go to: https://bugs.launchpad.net/nova/+bug/1417798/+subscriptions -- Mailing list: https://launchpad.net/~yahoo-eng-team Post to : yahoo-eng-team@lists.launchpad.net Unsubscribe : https://launchpad.net/~yahoo-eng-team More help : https://help.launchpad.net/ListHelp