[ 
https://issues.apache.org/jira/browse/CLOUDSTACK-6578?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14176866#comment-14176866
 ] 

Jayapal Reddy commented on CLOUDSTACK-6578:
-------------------------------------------

Problem:
-----------
When enable the Remote VPN access on a particular IP address, report error "A 
Remote Access VPN already exists for this public Ip address"

Root Cause Analysis:
---------------------------
Configured remote access vpn on public ip and it is failed in the backend due 
to resource unreachable.
The state entry in db 'remote_access_vpn' is marked as 'Running' (previous 
state). Due to this on the same public ip UI shows option to enable.


Proposed solution:
-----------------------
On remote access vpn failure state should be set to previous state that is 
Running .

Verification steps:
----------------------
1. configure the remote access vpn on public ip.
2. enable vpn is failed on public ip due to resource unreachable. 
(You can tweak router script to return error or put host in alert state)
The status entry in db is marked as 'Removed'. Due to this on the same public 
ip UI shows option to enable.
But in back end remote access vpn is not stopped.
3. Now in UI it should show status as enabled. If you try to enable it show the 
error message got from back end.

Second way:
1. Enable remote access gateway on on public ip
2. Set up the state to 'Removed' in DB
3. Go to UI, it allow you enable.If you enable then it should shows error in UI.

> DeleteRemoteAccessVpnCmd failed block enable Remote VPN access again on the 
> IP address
> --------------------------------------------------------------------------------------
>
>                 Key: CLOUDSTACK-6578
>                 URL: https://issues.apache.org/jira/browse/CLOUDSTACK-6578
>             Project: CloudStack
>          Issue Type: Bug
>      Security Level: Public(Anyone can view this level - this is the 
> default.) 
>    Affects Versions: 4.3.0
>            Reporter: Jayapal Reddy
>            Assignee: Jayapal Reddy
>             Fix For: 4.4.0
>
>
> 1. configure the remote access vpn on public ip.
> 2. enable vpn is failed on public ip due to resource unreachable. The status 
> entry in db is marked as 'Removed'. Due to this on the same public ip UI 
> shows option to enable.
> On remote access vpn failure db should be cleaned.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to