1.create n/w,subnet
2.create a dvr and attach the subnet
3/create external network and attach the router gateway
4.now boot a vm in that subnet
5.ping to external network -successful
6.create a new network,subnet attach it to router created in step 2.
7.boot a vm and ping to external network -fails
8.try to ping to external network using vm created in step 4 -fails
Reason:
=======
when new subnet is added ,all the sg ports inside snat namespace are updated with default gateway of subnet added
say i had subnet 4.4.4.0/24 already attached to router its sg port had ip 4.4.4.2,now when i add new subnet say 5.5.5.0/24 this router
sg port of 4.4.4.0/24 becomes 5.5.5.1 also sg ip of 5.5.5.0/24 also becomes 5.5.5.1 (even though 5.5.5.1 has device owner =network:router_interface_distributed and 5.5.5.2 has device owner as network:router_centralized_snat)
Fix proposed to branch: master /review. openstack. org/113412
Review: https:/