VPNaaS: Enhance error checking on subnet changes

Bug #1503862 reported by Paul Michali
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
neutron
Invalid
Medium
Paul Michali

Bug Description

Currently, if the CIDR of a subnet changes, and that subnet is used by VPN, there is no checking performed.

Should add a notification for subnet CIDR changes and either block the change, if in use by VPN service/endpoint group, or to cause a sync operation in VPN so that existing connections are updated (if possible).

I'm not sure which would be better. Need to ensure that we don't disrupt any existing IPSec connections that have not changed.

Need to ensure this supports the new endpoint group capability for VPNaaS, where local subnets are specified in endpoint groups (versus the older method of a sole subnet being associated with a VPN service).

tags: added: api
tags: added: liberty-rc-potential
Changed in neutron:
importance: Undecided → Medium
status: New → Confirmed
tags: added: needs-attention
Revision history for this message
Paul Michali (pcm) wrote :

The easiest thing is to block the change, which is what is done for delete and other resources, so will likely go with that solution for now.

Akihiro Motoki (amotoki)
tags: added: liberty-backport-potential
removed: liberty-rc-potential
Paul Michali (pcm)
Changed in neutron:
assignee: nobody → Paul Michali (pcm)
status: Confirmed → In Progress
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to neutron (master)

Fix proposed to branch: master
Review: https://review.openstack.org/238693

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Change abandoned on neutron (master)

Change abandoned by Paul Michali (<email address hidden>) on branch: master
Review: https://review.openstack.org/238693
Reason: The subnet CIDR is READ_ONLY, so we don't have to worry about blocking the change, when VPN is using the subnet.

Revision history for this message
Paul Michali (pcm) wrote :

Found out that the CIDR for a subnet is read-only, so we don't have to block changes, when the subnet is used by VPNaaS.

Changed in neutron:
status: In Progress → Invalid
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.