[jira] [Commented] (CLOUDSTACK-7622) Can't delete the network when providers this network uses, are disabled

2014-09-24 Thread Jayapal Reddy (JIRA)

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

Jayapal Reddy commented on CLOUDSTACK-7622:
---

MS logs:


2014-09-24 15:35:18,719 DEBUG [o.a.c.f.j.i.AsyncJobManagerImpl] 
(1949422689@qtp-2019457093-0:ctx-fe1d81bc ctx-ecb8d94c) submit async job-29, 
details: AsyncJobVO {id:29, userId: 2, accountId: 2, instanceType: None, 
instanceId: null, cmd: com.cloud.api.commands.AddSrxFirewallCmd, cmdInfo: 
{"physicalnetworkid":"5a343691-932d-4f4c-9e65-da754b5b93cb","sessionkey":"0is9qGB4EiFibf2X7eQD8KKitIs\u003d","cmdEventType":"PHYSICAL.FIREWALL.ADD","ctxUserId":"2","httpmethod":"POST","password":"password","url":"https://10.147.40.3?publicinterface\u003dfe00\u0026privateinterface\u003dfe01\u0026numretries\u003d2\u0026timeout\u003d300\u0026fwdevicededicated\u003dfalse","response":"json","ctxDetails":"{\"com.cloud.network.PhysicalNetwork\":\"5a343691-932d-4f4c-9e65-da754b5b93cb\"}","username":"admin","networkdevicetype":"JuniperSRXFirewall","ctxAccountId":"2","ctxStartEventId":"78"},
 cmdVersion: 0, status: IN_PROGRESS, processStatus: 0, resultCode: 0, result: 
null, initMsid: 1, completeMsid: null, lastUpdated: null, lastPolled: null, 
created: null}
2014-09-24 15:35:18,720 INFO  [o.a.c.f.j.i.AsyncJobMonitor] 
(API-Job-Executor-2:ctx-5ec8cde4 job-29) Add job-29 into job monitoring
2014-09-24 15:35:18,721 DEBUG [o.a.c.f.j.i.AsyncJobManagerImpl] 
(API-Job-Executor-2:ctx-5ec8cde4 job-29) Executing AsyncJobVO {id:29, userId: 
2, accountId: 2, instanceType: None, instanceId: null, cmd: 
com.cloud.api.commands.AddSrxFirewallCmd, cmdInfo: 
{"physicalnetworkid":"5a343691-932d-4f4c-9e65-da754b5b93cb","sessionkey":"0is9qGB4EiFibf2X7eQD8KKitIs\u003d","cmdEventType":"PHYSICAL.FIREWALL.ADD","ctxUserId":"2","httpmethod":"POST","password":"password","url":"https://10.147.40.3?publicinterface\u003dfe00\u0026privateinterface\u003dfe01\u0026numretries\u003d2\u0026timeout\u003d300\u0026fwdevicededicated\u003dfalse","response":"json","ctxDetails":"{\"com.cloud.network.PhysicalNetwork\":\"5a343691-932d-4f4c-9e65-da754b5b93cb\"}","username":"admin","networkdevicetype":"JuniperSRXFirewall","ctxAccountId":"2","ctxStartEventId":"78"},
 cmdVersion: 0, status: IN_PROGRESS, processStatus: 0, resultCode: 0, result: 
null, initMsid: 1, completeMsid: null, lastUpdated: null, lastPolled: null, 
created: null}


> Can't delete the network when providers this network uses, are disabled
> ---
>
> Key: CLOUDSTACK-7622
> URL: https://issues.apache.org/jira/browse/CLOUDSTACK-7622
> Project: CloudStack
>  Issue Type: Bug
>  Security Level: Public(Anyone can view this level - this is the 
> default.) 
>  Components: Network Controller
>Affects Versions: 4.0.0
>Reporter: Jayapal Reddy
>Assignee: Jayapal Reddy
> Fix For: 4.5.0
>
>
> Steps to reproduce:
> create network, use VR as a provider for its services
> disable VR provider
> try to delete the network. Shutdown network fails due to disabled provider. 
> Shutdown should be successful even when provider is disabled



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


[jira] [Commented] (CLOUDSTACK-7622) Can't delete the network when providers this network uses, are disabled

2014-09-24 Thread ASF subversion and git services (JIRA)

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

ASF subversion and git services commented on CLOUDSTACK-7622:
-

Commit 8c8c54f9f59249c47ff5985626579b4f9565d9fd in cloudstack's branch 
refs/heads/master from Jayapal
[ https://git-wip-us.apache.org/repos/asf?p=cloudstack.git;h=8c8c54f ]

CLOUDSTACK-7622: Fixed deleting network when provider is disable


> Can't delete the network when providers this network uses, are disabled
> ---
>
> Key: CLOUDSTACK-7622
> URL: https://issues.apache.org/jira/browse/CLOUDSTACK-7622
> Project: CloudStack
>  Issue Type: Bug
>  Security Level: Public(Anyone can view this level - this is the 
> default.) 
>  Components: Network Controller
>Affects Versions: 4.0.0
>Reporter: Jayapal Reddy
>Assignee: Jayapal Reddy
> Fix For: 4.5.0
>
>
> Steps to reproduce:
> create network, use VR as a provider for its services
> disable VR provider
> try to delete the network. Shutdown network fails due to disabled provider. 
> Shutdown should be successful even when provider is disabled



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


[jira] [Commented] (CLOUDSTACK-7622) Can't delete the network when providers this network uses, are disabled

2014-09-24 Thread Jayapal Reddy (JIRA)

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

Jayapal Reddy commented on CLOUDSTACK-7622:
---


Problem:
---
When network provider is disabled state network is not able to shutdown, delete.

Root Cause Analysis:
---
On network shutdown and deleting checking for wether provide is enabled or not, 
if is enabled then only allowed to perform.

Proposed solution:

Removing the condition of checking provider enabled .

Verification steps:
-
1. Create isolated network and deploy vms.
2. Delete the vm in this network.
3. Network state change to shutdown with out errors and then to allocated.
4. Delete network should also successful.


> Can't delete the network when providers this network uses, are disabled
> ---
>
> Key: CLOUDSTACK-7622
> URL: https://issues.apache.org/jira/browse/CLOUDSTACK-7622
> Project: CloudStack
>  Issue Type: Bug
>  Security Level: Public(Anyone can view this level - this is the 
> default.) 
>  Components: Network Controller
>Affects Versions: 4.0.0
>Reporter: Jayapal Reddy
>Assignee: Jayapal Reddy
> Fix For: 4.5.0
>
>
> Steps to reproduce:
> create network, use VR as a provider for its services
> disable VR provider
> try to delete the network. Shutdown network fails due to disabled provider. 
> Shutdown should be successful even when provider is disabled



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