[NETVIRT-1125] Ping works when Network is updated with disable port security Created: 28/Feb/18  Updated: 12/May/18  Resolved: 12/May/18

Status: Resolved
Project: netvirt
Component/s: None
Affects Version/s: None
Fix Version/s: Oxygen

Type: Bug Priority: Medium
Reporter: Y Ananth Assignee: Unassigned
Resolution: Won't Do Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified


 Description   

Ping works between VM Instances when network is updated with disable port security.

 

Steps to reproduce:

openstack  network create network_1 --provider-network-type vxlan

openstack subnet create --network network_1 --subnet-range 40.0.0.0/24 l2_subnet_1

openstack server create --image cirros --flavor m1.nano --nic net-id=network_1 VM1 --security-group default

openstack server create --image cirros --flavor m1.nano --nic net-id=network_1 VM2 --security-group default

openstack network set network_1 --provider-network-type vxlan --disable-port-security

Check ping from VM1 to VM2 (expected to fail but, ping works)

 



 Comments   
Comment by Nishchya Gupta [ 26/Apr/18 ]

openstack  network create network_1 --provider-network-type vxlan

openstack subnet create --network network_1 --subnet-range 40.0.0.0/24 l2_subnet_1

openstack server create --image cirros --flavor m1.nano --nic net-id=network_1 VM1 --security-group default

openstack server create --image cirros --flavor m1.nano --nic net-id=network_1 VM2 --security-group default

openstack network set network_1 --provider-network-type vxlan --disable-port-security

openstack server create --image cirros --flavor m1.nano --nic net-id=network_1 VM3

openstack server create --image cirros --flavor m1.nano --nic net-id=network_1 VM4

 

By trying the above steps on master distribution, below is what i observerd.

  1. VM1 - VM2 ping is working.
  2. VM3-VM4 ping is working.
  3. VM3 - VM1,VM2 ping is not working.

This is the expected behaviour and it is working as expected.

Please try the same with latest master distribution.

 

 

 

Comment by Vinh Nguyen [ 12/May/18 ]

The scenario is invalid because pIngs from VMs should work after disabling port security.

 

Generated at Wed Feb 07 20:23:17 UTC 2024 using Jira 8.20.10#820010-sha1:ace47f9899e9ee25d7157d59aa17ab06aee30d3d.