Error when creating VPN tunnels with same Outside IP #14706
Labels
severity: medium
Results in substantial degraded or broken functionality for specfic workflows
status: accepted
This issue has been accepted for implementation
type: bug
A confirmed report of unexpected behavior in the application
Deployment Type
Self-hosted
NetBox Version
v3.7.0
Python Version
3.9
Steps to Reproduce
Setup for test device:
Now the actual VPN tunnels:
Expected Behavior
Both tunnels and terminations are created successfully, as they will both terminate on the same Outside IP. That is the usual way of using several tunnels on the same device.
Observed Behavior
When pressing the Create button for the second tunnel:
"
Server Error
There was a problem with your request. Please contact an administrator.
The complete exception is provided below:
<class 'django.db.utils.IntegrityError'>
duplicate key value violates unique constraint "vpn_tunneltermination_outside_ip_id_key"
DETAIL: Key (outside_ip_id)=(14) already exists.
Python version: 3.9.2
NetBox version: 3.7.0
Plugins: None installed
"
The text was updated successfully, but these errors were encountered: