Improve error message when subnet is not connected to router
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Neutron VPNaaS dashboard |
New
|
Undecided
|
Unassigned |
Bug Description
When adding a VPN connection and the local subnet inside the endpoint group is not connected to
the corresponding OpenStack router, horizon throws an error message that the connection could not be created without any more insights about the error.
Performing the same action via the CLI shows a more detailed error message and informs the user that a subnet inside the local endpoint group is not connected to the router.
It would make sense to improve the error message inside horizon so debugging the error is made simpler.
CLI Command:
❯ openstack vpn ipsec site connection create \
--local-
--peer-
--peer-id 192.168.90.10 --peer-address 192.168.90.10 \
--psk secure --vpnservice cb0474ac-
--ikepolicy efb8c28a-
--ipsecpolicy 1a5d163b-
test-vpn
Subnet 4a58154a-
Neutron server returns request_ids: ['req-cf708e70-
Openstack Release: Wallaby