Activity log for bug #1289195

Date Who What changed Old value New value Message
2014-03-07 08:00:22 Lee Li bug added bug
2014-03-07 08:00:54 Lee Li neutron: assignee Lee Li (lilinguo)
2014-03-07 08:18:43 Lee Li information type Private Security Public
2014-03-10 07:56:51 OpenStack Infra neutron: status New In Progress
2014-03-11 02:39:47 Lee Li description When create a security group, the duplicate name is allowed. In create a instance, which security group to use is designed by sg name, this may cause the user don't know witch sg is used and it may be not the user wanted. So the duplicate name of sg should be not allowed. In create instance, it's use set to filter the duplicate sg like: sg_names = list(set(sg_names)) When create a security group, the duplicate name is allowed. In create a instance, duplicate sg name will cause exception. So the duplicate name of sg should be not allowed. In nova.network.neutronv2.API:allocate_for_instance for security_group in security_groups: name_match = None uuid_match = None for user_security_group in user_security_groups: if user_security_group['name'] == security_group: # if have duplicate sg name, the name_match will not be None for the second matching. if name_match: raise exception.NoUniqueMatch( _("Multiple security groups found matching" " '%s'. Use an ID to be more specific.") % security_group) name_match = user_security_group['id'] if user_security_group['id'] == security_group: uuid_match = user_security_group['id']
2014-03-11 02:41:46 Lee Li description When create a security group, the duplicate name is allowed. In create a instance, duplicate sg name will cause exception. So the duplicate name of sg should be not allowed. In nova.network.neutronv2.API:allocate_for_instance for security_group in security_groups: name_match = None uuid_match = None for user_security_group in user_security_groups: if user_security_group['name'] == security_group: # if have duplicate sg name, the name_match will not be None for the second matching. if name_match: raise exception.NoUniqueMatch( _("Multiple security groups found matching" " '%s'. Use an ID to be more specific.") % security_group) name_match = user_security_group['id'] if user_security_group['id'] == security_group: uuid_match = user_security_group['id'] When create a security group, the duplicate name is allowed. In create a instance, duplicate sg name will cause exception and the instance will be started fail. So the duplicate name of sg should be not allowed. In nova.network.neutronv2.API:allocate_for_instance for security_group in security_groups:     name_match = None     uuid_match = None     for user_security_group in user_security_groups:         if user_security_group['name'] == security_group: # if have duplicate sg name, the name_match will not be None for the second matching.             if name_match:                 raise exception.NoUniqueMatch(                     _("Multiple security groups found matching"                        " '%s'. Use an ID to be more specific.") %                     security_group)             name_match = user_security_group['id']         if user_security_group['id'] == security_group:             uuid_match = user_security_group['id']
2014-03-11 02:43:51 Lee Li summary The duplicate security group name cause don't know witch security group use in instance Duplicate security group name cause fail to start instance
2014-03-11 08:34:24 yong sheng gong neutron: status In Progress Opinion
2014-03-12 08:39:18 Xurong Yang bug task added nova
2014-03-12 08:39:27 Xurong Yang nova: assignee Xurong Yang (idopra)
2014-03-12 08:39:34 Xurong Yang nova: status New In Progress
2014-03-12 08:43:50 Xurong Yang neutron: status Opinion Invalid
2014-04-01 03:18:58 Lee Li bug task deleted neutron
2014-04-01 03:50:22 Aaron Rosen tags duplicate group name security network
2014-05-08 11:21:48 Qiu Yu bug added subscriber Qiu Yu
2014-07-10 01:39:46 Tracy Jones nova: status In Progress Triaged
2015-03-23 12:42:15 Davanum Srinivas (DIMS) nova: importance Undecided Low
2015-03-30 16:57:59 Sean Dague tags network network neutron
2015-03-30 16:58:05 Sean Dague nova: status Triaged Confirmed
2015-05-13 04:01:25 Han Zhou bug added subscriber Han Zhou
2015-08-27 06:38:25 OpenStack Infra nova: status Confirmed In Progress
2015-08-27 06:38:25 OpenStack Infra nova: assignee Xurong Yang (idopra) Radomir Dopieralski (thesheep)
2016-03-06 15:15:44 Davanum Srinivas (DIMS) nova: assignee Radomir Dopieralski (thesheep)
2016-03-06 15:15:47 Davanum Srinivas (DIMS) nova: status In Progress Confirmed
2016-04-25 09:26:16 Abhilash Goyal nova: assignee Abhilash Goyal (abhilash-goyal)
2016-04-28 07:05:03 OpenStack Infra nova: status Confirmed In Progress
2016-11-15 17:16:41 Anusha Unnam nova: assignee Abhilash Goyal (abhilash-goyal)
2016-11-15 17:16:43 Anusha Unnam nova: status In Progress Confirmed
2017-01-18 08:33:58 Ravali Gudipati nova: assignee Ravali Gudipati (ravali.gudipati)
2017-06-23 16:29:28 Sean Dague nova: assignee Ravali Gudipati (ravali.gudipati)