[jira] [Commented] (CLOUDSTACK-7493) [Automation] Egress Firewall Rule fails to create on the Virtual Router in Hyper-V Setup - Reports Success instead of failure report
[ https://issues.apache.org/jira/browse/CLOUDSTACK-7493?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=14508951#comment-14508951 ] ASF subversion and git services commented on CLOUDSTACK-7493: - Commit f26ae6eb39fbc3d8e86aca492447fac5360ed130 in cloudstack's branch refs/heads/4.5 from [~rohit.ya...@shapeblue.com] [ https://git-wip-us.apache.org/repos/asf?p=cloudstack.git;h=f26ae6e ] CLOUDSTACK-7493: ignore errors on removal of iptables chains that don't exist Signed-off-by: Rohit Yadav rohit.ya...@shapeblue.com [Automation] Egress Firewall Rule fails to create on the Virtual Router in Hyper-V Setup - Reports Success instead of failure report Key: CLOUDSTACK-7493 URL: https://issues.apache.org/jira/browse/CLOUDSTACK-7493 Project: CloudStack Issue Type: Bug Security Level: Public(Anyone can view this level - this is the default.) Components: Automation, Test Affects Versions: 4.5.0 Reporter: Chandan Purushothama Assignee: Chandan Purushothama Priority: Blocker Fix For: 4.5.0 Attachments: client_managementLogs.zip == Error in management Server log: == {code} 2014-09-03 18:04:36,689 DEBUG [c.c.a.ApiServlet] (catalina-exec-22:ctx-a84568da ctx-c6c0fc58 ctx-985e7722) ===END=== 10.220.135.217 -- GET jobid=561bbb6c-7931-493d-a778-525086befb96apiKey=hCPmYiAF1lm_sBLrhXIEWXCJt0vYbxzkeFfv7E1ZhyPPL_TF6BvI8cVOm2AqLlzWwa2w9dO0eFQu6SafM_st3gcommand=queryAsyncJobResultresponse=jsonsignature=fWkgkcIGrOu7YQc%2Fw5GD%2B3HHGkM%3D 2014-09-03 18:04:36,701 DEBUG [c.c.a.t.Request] (API-Job-Executor-33:ctx-4c5fd3c9 job-316 ctx-8bc88918) Seq 1-4477422454536405316: Sending { Cmd , MgmtId: 174253150778429, via: 1(10.220.163.36), Ver: v1, Flags: 11, [{com.cloud.agent.api.routing.SetFirewallRulesCommand:{rules:[{id:36,srcIp:,protocol:all,revoked:false,alreadyAdded:false,sourceCidrList:[0.0.0.0/0],purpose:Firewall,trafficType:Egress,defaultEgressPolicy:false}],accessDetails:{router.guest.ip:192.168.200.1,firewall.egress.default:false,zone.network.type:Advanced,router.ip:10.220.165.184,router.name:r-45-VM},wait:0}}] } 2014-09-03 18:04:36,701 DEBUG [c.c.a.t.Request] (API-Job-Executor-33:ctx-4c5fd3c9 job-316 ctx-8bc88918) Seq 1-4477422454536405316: Executing: { Cmd , MgmtId: 174253150778429, via: 1(10.220.163.36), Ver: v1, Flags: 11, [{com.cloud.agent.api.routing.SetFirewallRulesCommand:{rules:[{id:36,srcIp:,protocol:all,revoked:false,alreadyAdded:false,sourceCidrList:[0.0.0.0/0],purpose:Firewall,trafficType:Egress,defaultEgressPolicy:false}],accessDetails:{router.guest.ip:192.168.200.1,firewall.egress.default:false,zone.network.type:Advanced,router.ip:10.220.165.184,router.name:r-45-VM},wait:0}}] } 2014-09-03 18:04:36,702 DEBUG [c.c.a.m.DirectAgentAttache] (DirectAgent-316:ctx-c363d57a) Seq 1-4477422454536405316: Executing request 2014-09-03 18:04:36,702 DEBUG [c.c.h.h.r.HypervDirectConnectResource] (DirectAgent-316:ctx-c363d57a) Use router's private IP for SSH control. IP : 10.220.165.184 2014-09-03 18:04:36,702 DEBUG [c.c.h.h.r.HypervDirectConnectResource] (DirectAgent-316:ctx-c363d57a) Run command on VR: 10.220.165.184, script: firewall_egress.sh with args: -F -E -P 0 -a :all:0:0:0.0.0.0/0:, 2014-09-03 18:04:37,394 DEBUG [c.c.a.m.AgentManagerImpl] (AgentManager-Handler-14:null) SeqA 3-604: Processing Seq 3-604: { Cmd , MgmtId: -1, via: 3, Ver: v1, Flags: 11, [{com.cloud.agent.api.ConsoleProxyLoadReportCommand:{_proxyVmId:2,_loadInfo:{\n \connections\: []\n},wait:0}}] } 2014-09-03 18:04:37,397 DEBUG [c.c.a.m.AgentManagerImpl] (AgentManager-Handler-14:null) SeqA 3-604: Sending Seq 3-604: { Ans: , MgmtId: 174253150778429, via: 3, Ver: v1, Flags: 100010, [{com.cloud.agent.api.AgentControlAnswer:{result:true,wait:0}}] } 2014-09-03 18:04:37,826 DEBUG [c.c.s.StorageManagerImpl] (StorageManager-Scavenger-3:ctx-e8a5b20a) Storage pool garbage collector found 0 templates to clean up in storage pool: XenRT-Zone-0-Pod-0-Cluster-0-Primary-Store-0 2014-09-03 18:04:37,829 DEBUG [c.c.s.StorageManagerImpl] (StorageManager-Scavenger-3:ctx-e8a5b20a) Secondary storage garbage collector found 0 templates to cleanup on template_store_ref for store: cifs://10.220.163.36/storage/secondary 2014-09-03 18:04:37,831 DEBUG [c.c.s.StorageManagerImpl] (StorageManager-Scavenger-3:ctx-e8a5b20a) Secondary storage garbage collector found 0 snapshots to cleanup on snapshot_store_ref for store: cifs://10.220.163.36/storage/secondary 2014-09-03 18:04:37,832 DEBUG [c.c.s.StorageManagerImpl] (StorageManager-Scavenger-3:ctx-e8a5b20a) Secondary
[jira] [Commented] (CLOUDSTACK-7493) [Automation] Egress Firewall Rule fails to create on the Virtual Router in Hyper-V Setup - Reports Success instead of failure report
[ https://issues.apache.org/jira/browse/CLOUDSTACK-7493?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=14508969#comment-14508969 ] ASF subversion and git services commented on CLOUDSTACK-7493: - Commit 6829399647214076060b73d7096bc8ce597d15be in cloudstack's branch refs/heads/master from [~rohit.ya...@shapeblue.com] [ https://git-wip-us.apache.org/repos/asf?p=cloudstack.git;h=6829399 ] CLOUDSTACK-7493: ignore errors on removal of iptables chains that don't exist Signed-off-by: Rohit Yadav rohit.ya...@shapeblue.com (cherry picked from commit f26ae6eb39fbc3d8e86aca492447fac5360ed130) Signed-off-by: Rohit Yadav rohit.ya...@shapeblue.com [Automation] Egress Firewall Rule fails to create on the Virtual Router in Hyper-V Setup - Reports Success instead of failure report Key: CLOUDSTACK-7493 URL: https://issues.apache.org/jira/browse/CLOUDSTACK-7493 Project: CloudStack Issue Type: Bug Security Level: Public(Anyone can view this level - this is the default.) Components: Automation, Test Affects Versions: 4.5.0 Reporter: Chandan Purushothama Assignee: Chandan Purushothama Priority: Blocker Fix For: 4.5.0 Attachments: client_managementLogs.zip == Error in management Server log: == {code} 2014-09-03 18:04:36,689 DEBUG [c.c.a.ApiServlet] (catalina-exec-22:ctx-a84568da ctx-c6c0fc58 ctx-985e7722) ===END=== 10.220.135.217 -- GET jobid=561bbb6c-7931-493d-a778-525086befb96apiKey=hCPmYiAF1lm_sBLrhXIEWXCJt0vYbxzkeFfv7E1ZhyPPL_TF6BvI8cVOm2AqLlzWwa2w9dO0eFQu6SafM_st3gcommand=queryAsyncJobResultresponse=jsonsignature=fWkgkcIGrOu7YQc%2Fw5GD%2B3HHGkM%3D 2014-09-03 18:04:36,701 DEBUG [c.c.a.t.Request] (API-Job-Executor-33:ctx-4c5fd3c9 job-316 ctx-8bc88918) Seq 1-4477422454536405316: Sending { Cmd , MgmtId: 174253150778429, via: 1(10.220.163.36), Ver: v1, Flags: 11, [{com.cloud.agent.api.routing.SetFirewallRulesCommand:{rules:[{id:36,srcIp:,protocol:all,revoked:false,alreadyAdded:false,sourceCidrList:[0.0.0.0/0],purpose:Firewall,trafficType:Egress,defaultEgressPolicy:false}],accessDetails:{router.guest.ip:192.168.200.1,firewall.egress.default:false,zone.network.type:Advanced,router.ip:10.220.165.184,router.name:r-45-VM},wait:0}}] } 2014-09-03 18:04:36,701 DEBUG [c.c.a.t.Request] (API-Job-Executor-33:ctx-4c5fd3c9 job-316 ctx-8bc88918) Seq 1-4477422454536405316: Executing: { Cmd , MgmtId: 174253150778429, via: 1(10.220.163.36), Ver: v1, Flags: 11, [{com.cloud.agent.api.routing.SetFirewallRulesCommand:{rules:[{id:36,srcIp:,protocol:all,revoked:false,alreadyAdded:false,sourceCidrList:[0.0.0.0/0],purpose:Firewall,trafficType:Egress,defaultEgressPolicy:false}],accessDetails:{router.guest.ip:192.168.200.1,firewall.egress.default:false,zone.network.type:Advanced,router.ip:10.220.165.184,router.name:r-45-VM},wait:0}}] } 2014-09-03 18:04:36,702 DEBUG [c.c.a.m.DirectAgentAttache] (DirectAgent-316:ctx-c363d57a) Seq 1-4477422454536405316: Executing request 2014-09-03 18:04:36,702 DEBUG [c.c.h.h.r.HypervDirectConnectResource] (DirectAgent-316:ctx-c363d57a) Use router's private IP for SSH control. IP : 10.220.165.184 2014-09-03 18:04:36,702 DEBUG [c.c.h.h.r.HypervDirectConnectResource] (DirectAgent-316:ctx-c363d57a) Run command on VR: 10.220.165.184, script: firewall_egress.sh with args: -F -E -P 0 -a :all:0:0:0.0.0.0/0:, 2014-09-03 18:04:37,394 DEBUG [c.c.a.m.AgentManagerImpl] (AgentManager-Handler-14:null) SeqA 3-604: Processing Seq 3-604: { Cmd , MgmtId: -1, via: 3, Ver: v1, Flags: 11, [{com.cloud.agent.api.ConsoleProxyLoadReportCommand:{_proxyVmId:2,_loadInfo:{\n \connections\: []\n},wait:0}}] } 2014-09-03 18:04:37,397 DEBUG [c.c.a.m.AgentManagerImpl] (AgentManager-Handler-14:null) SeqA 3-604: Sending Seq 3-604: { Ans: , MgmtId: 174253150778429, via: 3, Ver: v1, Flags: 100010, [{com.cloud.agent.api.AgentControlAnswer:{result:true,wait:0}}] } 2014-09-03 18:04:37,826 DEBUG [c.c.s.StorageManagerImpl] (StorageManager-Scavenger-3:ctx-e8a5b20a) Storage pool garbage collector found 0 templates to clean up in storage pool: XenRT-Zone-0-Pod-0-Cluster-0-Primary-Store-0 2014-09-03 18:04:37,829 DEBUG [c.c.s.StorageManagerImpl] (StorageManager-Scavenger-3:ctx-e8a5b20a) Secondary storage garbage collector found 0 templates to cleanup on template_store_ref for store: cifs://10.220.163.36/storage/secondary 2014-09-03 18:04:37,831 DEBUG [c.c.s.StorageManagerImpl] (StorageManager-Scavenger-3:ctx-e8a5b20a) Secondary storage garbage collector found 0 snapshots to cleanup on snapshot_store_ref for store:
[jira] [Commented] (CLOUDSTACK-7493) [Automation] Egress Firewall Rule fails to create on the Virtual Router in Hyper-V Setup - Reports Success instead of failure report
[ https://issues.apache.org/jira/browse/CLOUDSTACK-7493?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=14508945#comment-14508945 ] ASF subversion and git services commented on CLOUDSTACK-7493: - Commit f26ae6eb39fbc3d8e86aca492447fac5360ed130 in cloudstack's branch refs/heads/CLOUDSTACK-8395 from [~rohit.ya...@shapeblue.com] [ https://git-wip-us.apache.org/repos/asf?p=cloudstack.git;h=f26ae6e ] CLOUDSTACK-7493: ignore errors on removal of iptables chains that don't exist Signed-off-by: Rohit Yadav rohit.ya...@shapeblue.com [Automation] Egress Firewall Rule fails to create on the Virtual Router in Hyper-V Setup - Reports Success instead of failure report Key: CLOUDSTACK-7493 URL: https://issues.apache.org/jira/browse/CLOUDSTACK-7493 Project: CloudStack Issue Type: Bug Security Level: Public(Anyone can view this level - this is the default.) Components: Automation, Test Affects Versions: 4.5.0 Reporter: Chandan Purushothama Assignee: Chandan Purushothama Priority: Blocker Fix For: 4.5.0 Attachments: client_managementLogs.zip == Error in management Server log: == {code} 2014-09-03 18:04:36,689 DEBUG [c.c.a.ApiServlet] (catalina-exec-22:ctx-a84568da ctx-c6c0fc58 ctx-985e7722) ===END=== 10.220.135.217 -- GET jobid=561bbb6c-7931-493d-a778-525086befb96apiKey=hCPmYiAF1lm_sBLrhXIEWXCJt0vYbxzkeFfv7E1ZhyPPL_TF6BvI8cVOm2AqLlzWwa2w9dO0eFQu6SafM_st3gcommand=queryAsyncJobResultresponse=jsonsignature=fWkgkcIGrOu7YQc%2Fw5GD%2B3HHGkM%3D 2014-09-03 18:04:36,701 DEBUG [c.c.a.t.Request] (API-Job-Executor-33:ctx-4c5fd3c9 job-316 ctx-8bc88918) Seq 1-4477422454536405316: Sending { Cmd , MgmtId: 174253150778429, via: 1(10.220.163.36), Ver: v1, Flags: 11, [{com.cloud.agent.api.routing.SetFirewallRulesCommand:{rules:[{id:36,srcIp:,protocol:all,revoked:false,alreadyAdded:false,sourceCidrList:[0.0.0.0/0],purpose:Firewall,trafficType:Egress,defaultEgressPolicy:false}],accessDetails:{router.guest.ip:192.168.200.1,firewall.egress.default:false,zone.network.type:Advanced,router.ip:10.220.165.184,router.name:r-45-VM},wait:0}}] } 2014-09-03 18:04:36,701 DEBUG [c.c.a.t.Request] (API-Job-Executor-33:ctx-4c5fd3c9 job-316 ctx-8bc88918) Seq 1-4477422454536405316: Executing: { Cmd , MgmtId: 174253150778429, via: 1(10.220.163.36), Ver: v1, Flags: 11, [{com.cloud.agent.api.routing.SetFirewallRulesCommand:{rules:[{id:36,srcIp:,protocol:all,revoked:false,alreadyAdded:false,sourceCidrList:[0.0.0.0/0],purpose:Firewall,trafficType:Egress,defaultEgressPolicy:false}],accessDetails:{router.guest.ip:192.168.200.1,firewall.egress.default:false,zone.network.type:Advanced,router.ip:10.220.165.184,router.name:r-45-VM},wait:0}}] } 2014-09-03 18:04:36,702 DEBUG [c.c.a.m.DirectAgentAttache] (DirectAgent-316:ctx-c363d57a) Seq 1-4477422454536405316: Executing request 2014-09-03 18:04:36,702 DEBUG [c.c.h.h.r.HypervDirectConnectResource] (DirectAgent-316:ctx-c363d57a) Use router's private IP for SSH control. IP : 10.220.165.184 2014-09-03 18:04:36,702 DEBUG [c.c.h.h.r.HypervDirectConnectResource] (DirectAgent-316:ctx-c363d57a) Run command on VR: 10.220.165.184, script: firewall_egress.sh with args: -F -E -P 0 -a :all:0:0:0.0.0.0/0:, 2014-09-03 18:04:37,394 DEBUG [c.c.a.m.AgentManagerImpl] (AgentManager-Handler-14:null) SeqA 3-604: Processing Seq 3-604: { Cmd , MgmtId: -1, via: 3, Ver: v1, Flags: 11, [{com.cloud.agent.api.ConsoleProxyLoadReportCommand:{_proxyVmId:2,_loadInfo:{\n \connections\: []\n},wait:0}}] } 2014-09-03 18:04:37,397 DEBUG [c.c.a.m.AgentManagerImpl] (AgentManager-Handler-14:null) SeqA 3-604: Sending Seq 3-604: { Ans: , MgmtId: 174253150778429, via: 3, Ver: v1, Flags: 100010, [{com.cloud.agent.api.AgentControlAnswer:{result:true,wait:0}}] } 2014-09-03 18:04:37,826 DEBUG [c.c.s.StorageManagerImpl] (StorageManager-Scavenger-3:ctx-e8a5b20a) Storage pool garbage collector found 0 templates to clean up in storage pool: XenRT-Zone-0-Pod-0-Cluster-0-Primary-Store-0 2014-09-03 18:04:37,829 DEBUG [c.c.s.StorageManagerImpl] (StorageManager-Scavenger-3:ctx-e8a5b20a) Secondary storage garbage collector found 0 templates to cleanup on template_store_ref for store: cifs://10.220.163.36/storage/secondary 2014-09-03 18:04:37,831 DEBUG [c.c.s.StorageManagerImpl] (StorageManager-Scavenger-3:ctx-e8a5b20a) Secondary storage garbage collector found 0 snapshots to cleanup on snapshot_store_ref for store: cifs://10.220.163.36/storage/secondary 2014-09-03 18:04:37,832 DEBUG [c.c.s.StorageManagerImpl] (StorageManager-Scavenger-3:ctx-e8a5b20a)
[jira] [Commented] (CLOUDSTACK-7493) [Automation] Egress Firewall Rule fails to create on the Virtual Router in Hyper-V Setup - Reports Success instead of failure report
[ https://issues.apache.org/jira/browse/CLOUDSTACK-7493?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=14129593#comment-14129593 ] Jayapal Reddy commented on CLOUDSTACK-7493: --- Hi Chandan, The attached logs did not have information about the failure. All the logs are showing success. 1. Can you please attach logs for PROVING the rules got failed in VR ? How are you saying it is failing VR ? After rule configuration is your egress traffic is not going out ? After rule configuration did you see iptables rules configuration on the VR and saying it got failed ? 2. Is the rules configuration success when you run manually ? Please provide relevant logs for this bug description. Thanks, Jayapal [Automation] Egress Firewall Rule fails to create on the Virtual Router in Hyper-V Setup - Reports Success instead of failure report Key: CLOUDSTACK-7493 URL: https://issues.apache.org/jira/browse/CLOUDSTACK-7493 Project: CloudStack Issue Type: Bug Security Level: Public(Anyone can view this level - this is the default.) Components: Automation, Test Affects Versions: 4.5.0 Reporter: Chandan Purushothama Assignee: Jayapal Reddy Priority: Blocker Fix For: 4.5.0 Attachments: client_managementLogs.zip == Error in management Server log: == {code} 2014-09-03 18:04:36,689 DEBUG [c.c.a.ApiServlet] (catalina-exec-22:ctx-a84568da ctx-c6c0fc58 ctx-985e7722) ===END=== 10.220.135.217 -- GET jobid=561bbb6c-7931-493d-a778-525086befb96apiKey=hCPmYiAF1lm_sBLrhXIEWXCJt0vYbxzkeFfv7E1ZhyPPL_TF6BvI8cVOm2AqLlzWwa2w9dO0eFQu6SafM_st3gcommand=queryAsyncJobResultresponse=jsonsignature=fWkgkcIGrOu7YQc%2Fw5GD%2B3HHGkM%3D 2014-09-03 18:04:36,701 DEBUG [c.c.a.t.Request] (API-Job-Executor-33:ctx-4c5fd3c9 job-316 ctx-8bc88918) Seq 1-4477422454536405316: Sending { Cmd , MgmtId: 174253150778429, via: 1(10.220.163.36), Ver: v1, Flags: 11, [{com.cloud.agent.api.routing.SetFirewallRulesCommand:{rules:[{id:36,srcIp:,protocol:all,revoked:false,alreadyAdded:false,sourceCidrList:[0.0.0.0/0],purpose:Firewall,trafficType:Egress,defaultEgressPolicy:false}],accessDetails:{router.guest.ip:192.168.200.1,firewall.egress.default:false,zone.network.type:Advanced,router.ip:10.220.165.184,router.name:r-45-VM},wait:0}}] } 2014-09-03 18:04:36,701 DEBUG [c.c.a.t.Request] (API-Job-Executor-33:ctx-4c5fd3c9 job-316 ctx-8bc88918) Seq 1-4477422454536405316: Executing: { Cmd , MgmtId: 174253150778429, via: 1(10.220.163.36), Ver: v1, Flags: 11, [{com.cloud.agent.api.routing.SetFirewallRulesCommand:{rules:[{id:36,srcIp:,protocol:all,revoked:false,alreadyAdded:false,sourceCidrList:[0.0.0.0/0],purpose:Firewall,trafficType:Egress,defaultEgressPolicy:false}],accessDetails:{router.guest.ip:192.168.200.1,firewall.egress.default:false,zone.network.type:Advanced,router.ip:10.220.165.184,router.name:r-45-VM},wait:0}}] } 2014-09-03 18:04:36,702 DEBUG [c.c.a.m.DirectAgentAttache] (DirectAgent-316:ctx-c363d57a) Seq 1-4477422454536405316: Executing request 2014-09-03 18:04:36,702 DEBUG [c.c.h.h.r.HypervDirectConnectResource] (DirectAgent-316:ctx-c363d57a) Use router's private IP for SSH control. IP : 10.220.165.184 2014-09-03 18:04:36,702 DEBUG [c.c.h.h.r.HypervDirectConnectResource] (DirectAgent-316:ctx-c363d57a) Run command on VR: 10.220.165.184, script: firewall_egress.sh with args: -F -E -P 0 -a :all:0:0:0.0.0.0/0:, 2014-09-03 18:04:37,394 DEBUG [c.c.a.m.AgentManagerImpl] (AgentManager-Handler-14:null) SeqA 3-604: Processing Seq 3-604: { Cmd , MgmtId: -1, via: 3, Ver: v1, Flags: 11, [{com.cloud.agent.api.ConsoleProxyLoadReportCommand:{_proxyVmId:2,_loadInfo:{\n \connections\: []\n},wait:0}}] } 2014-09-03 18:04:37,397 DEBUG [c.c.a.m.AgentManagerImpl] (AgentManager-Handler-14:null) SeqA 3-604: Sending Seq 3-604: { Ans: , MgmtId: 174253150778429, via: 3, Ver: v1, Flags: 100010, [{com.cloud.agent.api.AgentControlAnswer:{result:true,wait:0}}] } 2014-09-03 18:04:37,826 DEBUG [c.c.s.StorageManagerImpl] (StorageManager-Scavenger-3:ctx-e8a5b20a) Storage pool garbage collector found 0 templates to clean up in storage pool: XenRT-Zone-0-Pod-0-Cluster-0-Primary-Store-0 2014-09-03 18:04:37,829 DEBUG [c.c.s.StorageManagerImpl] (StorageManager-Scavenger-3:ctx-e8a5b20a) Secondary storage garbage collector found 0 templates to cleanup on template_store_ref for store: cifs://10.220.163.36/storage/secondary 2014-09-03 18:04:37,831 DEBUG [c.c.s.StorageManagerImpl] (StorageManager-Scavenger-3:ctx-e8a5b20a) Secondary storage garbage collector found 0 snapshots to cleanup on snapshot_store_ref for
[jira] [Commented] (CLOUDSTACK-7493) [Automation] Egress Firewall Rule fails to create on the Virtual Router in Hyper-V Setup - Reports Success instead of failure report
[ https://issues.apache.org/jira/browse/CLOUDSTACK-7493?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=14129617#comment-14129617 ] Jayapal Reddy commented on CLOUDSTACK-7493: --- You can ignore the errors in details and check only result. I was suspecting that you might be looking at the logs in details. So same thing I have updated in the bug. But when you file if it has out this explicitly then it might has closed that day only. In VR when we run the script we try to delete before creating. Such commands cause these errors. We can suppress these messages in the script it self. With updated calling script mechanism, the script got called from the host itself. Earlier the script called from vmops so that error logs are not passed to MS. Thanks, Jayapal [Automation] Egress Firewall Rule fails to create on the Virtual Router in Hyper-V Setup - Reports Success instead of failure report Key: CLOUDSTACK-7493 URL: https://issues.apache.org/jira/browse/CLOUDSTACK-7493 Project: CloudStack Issue Type: Bug Security Level: Public(Anyone can view this level - this is the default.) Components: Automation, Test Affects Versions: 4.5.0 Reporter: Chandan Purushothama Assignee: Chandan Purushothama Priority: Blocker Fix For: 4.5.0 Attachments: client_managementLogs.zip == Error in management Server log: == {code} 2014-09-03 18:04:36,689 DEBUG [c.c.a.ApiServlet] (catalina-exec-22:ctx-a84568da ctx-c6c0fc58 ctx-985e7722) ===END=== 10.220.135.217 -- GET jobid=561bbb6c-7931-493d-a778-525086befb96apiKey=hCPmYiAF1lm_sBLrhXIEWXCJt0vYbxzkeFfv7E1ZhyPPL_TF6BvI8cVOm2AqLlzWwa2w9dO0eFQu6SafM_st3gcommand=queryAsyncJobResultresponse=jsonsignature=fWkgkcIGrOu7YQc%2Fw5GD%2B3HHGkM%3D 2014-09-03 18:04:36,701 DEBUG [c.c.a.t.Request] (API-Job-Executor-33:ctx-4c5fd3c9 job-316 ctx-8bc88918) Seq 1-4477422454536405316: Sending { Cmd , MgmtId: 174253150778429, via: 1(10.220.163.36), Ver: v1, Flags: 11, [{com.cloud.agent.api.routing.SetFirewallRulesCommand:{rules:[{id:36,srcIp:,protocol:all,revoked:false,alreadyAdded:false,sourceCidrList:[0.0.0.0/0],purpose:Firewall,trafficType:Egress,defaultEgressPolicy:false}],accessDetails:{router.guest.ip:192.168.200.1,firewall.egress.default:false,zone.network.type:Advanced,router.ip:10.220.165.184,router.name:r-45-VM},wait:0}}] } 2014-09-03 18:04:36,701 DEBUG [c.c.a.t.Request] (API-Job-Executor-33:ctx-4c5fd3c9 job-316 ctx-8bc88918) Seq 1-4477422454536405316: Executing: { Cmd , MgmtId: 174253150778429, via: 1(10.220.163.36), Ver: v1, Flags: 11, [{com.cloud.agent.api.routing.SetFirewallRulesCommand:{rules:[{id:36,srcIp:,protocol:all,revoked:false,alreadyAdded:false,sourceCidrList:[0.0.0.0/0],purpose:Firewall,trafficType:Egress,defaultEgressPolicy:false}],accessDetails:{router.guest.ip:192.168.200.1,firewall.egress.default:false,zone.network.type:Advanced,router.ip:10.220.165.184,router.name:r-45-VM},wait:0}}] } 2014-09-03 18:04:36,702 DEBUG [c.c.a.m.DirectAgentAttache] (DirectAgent-316:ctx-c363d57a) Seq 1-4477422454536405316: Executing request 2014-09-03 18:04:36,702 DEBUG [c.c.h.h.r.HypervDirectConnectResource] (DirectAgent-316:ctx-c363d57a) Use router's private IP for SSH control. IP : 10.220.165.184 2014-09-03 18:04:36,702 DEBUG [c.c.h.h.r.HypervDirectConnectResource] (DirectAgent-316:ctx-c363d57a) Run command on VR: 10.220.165.184, script: firewall_egress.sh with args: -F -E -P 0 -a :all:0:0:0.0.0.0/0:, 2014-09-03 18:04:37,394 DEBUG [c.c.a.m.AgentManagerImpl] (AgentManager-Handler-14:null) SeqA 3-604: Processing Seq 3-604: { Cmd , MgmtId: -1, via: 3, Ver: v1, Flags: 11, [{com.cloud.agent.api.ConsoleProxyLoadReportCommand:{_proxyVmId:2,_loadInfo:{\n \connections\: []\n},wait:0}}] } 2014-09-03 18:04:37,397 DEBUG [c.c.a.m.AgentManagerImpl] (AgentManager-Handler-14:null) SeqA 3-604: Sending Seq 3-604: { Ans: , MgmtId: 174253150778429, via: 3, Ver: v1, Flags: 100010, [{com.cloud.agent.api.AgentControlAnswer:{result:true,wait:0}}] } 2014-09-03 18:04:37,826 DEBUG [c.c.s.StorageManagerImpl] (StorageManager-Scavenger-3:ctx-e8a5b20a) Storage pool garbage collector found 0 templates to clean up in storage pool: XenRT-Zone-0-Pod-0-Cluster-0-Primary-Store-0 2014-09-03 18:04:37,829 DEBUG [c.c.s.StorageManagerImpl] (StorageManager-Scavenger-3:ctx-e8a5b20a) Secondary storage garbage collector found 0 templates to cleanup on template_store_ref for store: cifs://10.220.163.36/storage/secondary 2014-09-03 18:04:37,831 DEBUG [c.c.s.StorageManagerImpl] (StorageManager-Scavenger-3:ctx-e8a5b20a) Secondary storage garbage
[jira] [Commented] (CLOUDSTACK-7493) [Automation] Egress Firewall Rule fails to create on the Virtual Router in Hyper-V Setup - Reports Success instead of failure report
[ https://issues.apache.org/jira/browse/CLOUDSTACK-7493?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=14125192#comment-14125192 ] Jayapal Reddy commented on CLOUDSTACK-7493: --- Hi Rajesh, [~rajesh_battala] From the log the setEgressFirewallRuleCommand is success and script execution in VR is also success. [~chandanp] How did you check rule creation failed in VR ? firewall_egress.sh execution result: true 2014-09-03 18:04:37,940 DEBUG [c.c.a.m.DirectAgentAttache] (DirectAgent-316:ctx-c363d57a) Seq 1-4477422454536405316: Response Received: 2014-09-03 18:04:37,940 DEBUG [c.c.a.t.Request] (DirectAgent-316:ctx-c363d57a) Seq 1-4477422454536405316: Processing: { Ans: , MgmtId: 174253150778429, via: 1, Ver: v1, Flags: 0, [{com.cloud.agent.api.Answer:{result:true,details: [Automation] Egress Firewall Rule fails to create on the Virtual Router in Hyper-V Setup - Reports Success instead of failure report Key: CLOUDSTACK-7493 URL: https://issues.apache.org/jira/browse/CLOUDSTACK-7493 Project: CloudStack Issue Type: Bug Security Level: Public(Anyone can view this level - this is the default.) Components: Automation, Test Affects Versions: 4.5.0 Reporter: Chandan Purushothama Assignee: Jayapal Reddy Priority: Blocker Fix For: 4.5.0 == Error in management Server log: == {code} 2014-09-03 18:04:36,689 DEBUG [c.c.a.ApiServlet] (catalina-exec-22:ctx-a84568da ctx-c6c0fc58 ctx-985e7722) ===END=== 10.220.135.217 -- GET jobid=561bbb6c-7931-493d-a778-525086befb96apiKey=hCPmYiAF1lm_sBLrhXIEWXCJt0vYbxzkeFfv7E1ZhyPPL_TF6BvI8cVOm2AqLlzWwa2w9dO0eFQu6SafM_st3gcommand=queryAsyncJobResultresponse=jsonsignature=fWkgkcIGrOu7YQc%2Fw5GD%2B3HHGkM%3D 2014-09-03 18:04:36,701 DEBUG [c.c.a.t.Request] (API-Job-Executor-33:ctx-4c5fd3c9 job-316 ctx-8bc88918) Seq 1-4477422454536405316: Sending { Cmd , MgmtId: 174253150778429, via: 1(10.220.163.36), Ver: v1, Flags: 11, [{com.cloud.agent.api.routing.SetFirewallRulesCommand:{rules:[{id:36,srcIp:,protocol:all,revoked:false,alreadyAdded:false,sourceCidrList:[0.0.0.0/0],purpose:Firewall,trafficType:Egress,defaultEgressPolicy:false}],accessDetails:{router.guest.ip:192.168.200.1,firewall.egress.default:false,zone.network.type:Advanced,router.ip:10.220.165.184,router.name:r-45-VM},wait:0}}] } 2014-09-03 18:04:36,701 DEBUG [c.c.a.t.Request] (API-Job-Executor-33:ctx-4c5fd3c9 job-316 ctx-8bc88918) Seq 1-4477422454536405316: Executing: { Cmd , MgmtId: 174253150778429, via: 1(10.220.163.36), Ver: v1, Flags: 11, [{com.cloud.agent.api.routing.SetFirewallRulesCommand:{rules:[{id:36,srcIp:,protocol:all,revoked:false,alreadyAdded:false,sourceCidrList:[0.0.0.0/0],purpose:Firewall,trafficType:Egress,defaultEgressPolicy:false}],accessDetails:{router.guest.ip:192.168.200.1,firewall.egress.default:false,zone.network.type:Advanced,router.ip:10.220.165.184,router.name:r-45-VM},wait:0}}] } 2014-09-03 18:04:36,702 DEBUG [c.c.a.m.DirectAgentAttache] (DirectAgent-316:ctx-c363d57a) Seq 1-4477422454536405316: Executing request 2014-09-03 18:04:36,702 DEBUG [c.c.h.h.r.HypervDirectConnectResource] (DirectAgent-316:ctx-c363d57a) Use router's private IP for SSH control. IP : 10.220.165.184 2014-09-03 18:04:36,702 DEBUG [c.c.h.h.r.HypervDirectConnectResource] (DirectAgent-316:ctx-c363d57a) Run command on VR: 10.220.165.184, script: firewall_egress.sh with args: -F -E -P 0 -a :all:0:0:0.0.0.0/0:, 2014-09-03 18:04:37,394 DEBUG [c.c.a.m.AgentManagerImpl] (AgentManager-Handler-14:null) SeqA 3-604: Processing Seq 3-604: { Cmd , MgmtId: -1, via: 3, Ver: v1, Flags: 11, [{com.cloud.agent.api.ConsoleProxyLoadReportCommand:{_proxyVmId:2,_loadInfo:{\n \connections\: []\n},wait:0}}] } 2014-09-03 18:04:37,397 DEBUG [c.c.a.m.AgentManagerImpl] (AgentManager-Handler-14:null) SeqA 3-604: Sending Seq 3-604: { Ans: , MgmtId: 174253150778429, via: 3, Ver: v1, Flags: 100010, [{com.cloud.agent.api.AgentControlAnswer:{result:true,wait:0}}] } 2014-09-03 18:04:37,826 DEBUG [c.c.s.StorageManagerImpl] (StorageManager-Scavenger-3:ctx-e8a5b20a) Storage pool garbage collector found 0 templates to clean up in storage pool: XenRT-Zone-0-Pod-0-Cluster-0-Primary-Store-0 2014-09-03 18:04:37,829 DEBUG [c.c.s.StorageManagerImpl] (StorageManager-Scavenger-3:ctx-e8a5b20a) Secondary storage garbage collector found 0 templates to cleanup on template_store_ref for store: cifs://10.220.163.36/storage/secondary 2014-09-03 18:04:37,831 DEBUG [c.c.s.StorageManagerImpl] (StorageManager-Scavenger-3:ctx-e8a5b20a) Secondary storage garbage collector found 0 snapshots to cleanup
[jira] [Commented] (CLOUDSTACK-7493) [Automation] Egress Firewall Rule fails to create on the Virtual Router in Hyper-V Setup - Reports Success instead of failure report
[ https://issues.apache.org/jira/browse/CLOUDSTACK-7493?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=14124303#comment-14124303 ] Rajesh Battala commented on CLOUDSTACK-7493: Its specific to iptables and firewall rules configuration. [~jayapal] can you please look at the above iptables log and share your input. Thanks Rajesh Battala [Automation] Egress Firewall Rule fails to create on the Virtual Router in Hyper-V Setup - Reports Success instead of failure report Key: CLOUDSTACK-7493 URL: https://issues.apache.org/jira/browse/CLOUDSTACK-7493 Project: CloudStack Issue Type: Bug Security Level: Public(Anyone can view this level - this is the default.) Components: Automation, Test Affects Versions: 4.5.0 Reporter: Chandan Purushothama Assignee: Rajesh Battala Priority: Blocker Fix For: 4.5.0 == Error in management Server log: == {code} 2014-09-03 18:04:36,689 DEBUG [c.c.a.ApiServlet] (catalina-exec-22:ctx-a84568da ctx-c6c0fc58 ctx-985e7722) ===END=== 10.220.135.217 -- GET jobid=561bbb6c-7931-493d-a778-525086befb96apiKey=hCPmYiAF1lm_sBLrhXIEWXCJt0vYbxzkeFfv7E1ZhyPPL_TF6BvI8cVOm2AqLlzWwa2w9dO0eFQu6SafM_st3gcommand=queryAsyncJobResultresponse=jsonsignature=fWkgkcIGrOu7YQc%2Fw5GD%2B3HHGkM%3D 2014-09-03 18:04:36,701 DEBUG [c.c.a.t.Request] (API-Job-Executor-33:ctx-4c5fd3c9 job-316 ctx-8bc88918) Seq 1-4477422454536405316: Sending { Cmd , MgmtId: 174253150778429, via: 1(10.220.163.36), Ver: v1, Flags: 11, [{com.cloud.agent.api.routing.SetFirewallRulesCommand:{rules:[{id:36,srcIp:,protocol:all,revoked:false,alreadyAdded:false,sourceCidrList:[0.0.0.0/0],purpose:Firewall,trafficType:Egress,defaultEgressPolicy:false}],accessDetails:{router.guest.ip:192.168.200.1,firewall.egress.default:false,zone.network.type:Advanced,router.ip:10.220.165.184,router.name:r-45-VM},wait:0}}] } 2014-09-03 18:04:36,701 DEBUG [c.c.a.t.Request] (API-Job-Executor-33:ctx-4c5fd3c9 job-316 ctx-8bc88918) Seq 1-4477422454536405316: Executing: { Cmd , MgmtId: 174253150778429, via: 1(10.220.163.36), Ver: v1, Flags: 11, [{com.cloud.agent.api.routing.SetFirewallRulesCommand:{rules:[{id:36,srcIp:,protocol:all,revoked:false,alreadyAdded:false,sourceCidrList:[0.0.0.0/0],purpose:Firewall,trafficType:Egress,defaultEgressPolicy:false}],accessDetails:{router.guest.ip:192.168.200.1,firewall.egress.default:false,zone.network.type:Advanced,router.ip:10.220.165.184,router.name:r-45-VM},wait:0}}] } 2014-09-03 18:04:36,702 DEBUG [c.c.a.m.DirectAgentAttache] (DirectAgent-316:ctx-c363d57a) Seq 1-4477422454536405316: Executing request 2014-09-03 18:04:36,702 DEBUG [c.c.h.h.r.HypervDirectConnectResource] (DirectAgent-316:ctx-c363d57a) Use router's private IP for SSH control. IP : 10.220.165.184 2014-09-03 18:04:36,702 DEBUG [c.c.h.h.r.HypervDirectConnectResource] (DirectAgent-316:ctx-c363d57a) Run command on VR: 10.220.165.184, script: firewall_egress.sh with args: -F -E -P 0 -a :all:0:0:0.0.0.0/0:, 2014-09-03 18:04:37,394 DEBUG [c.c.a.m.AgentManagerImpl] (AgentManager-Handler-14:null) SeqA 3-604: Processing Seq 3-604: { Cmd , MgmtId: -1, via: 3, Ver: v1, Flags: 11, [{com.cloud.agent.api.ConsoleProxyLoadReportCommand:{_proxyVmId:2,_loadInfo:{\n \connections\: []\n},wait:0}}] } 2014-09-03 18:04:37,397 DEBUG [c.c.a.m.AgentManagerImpl] (AgentManager-Handler-14:null) SeqA 3-604: Sending Seq 3-604: { Ans: , MgmtId: 174253150778429, via: 3, Ver: v1, Flags: 100010, [{com.cloud.agent.api.AgentControlAnswer:{result:true,wait:0}}] } 2014-09-03 18:04:37,826 DEBUG [c.c.s.StorageManagerImpl] (StorageManager-Scavenger-3:ctx-e8a5b20a) Storage pool garbage collector found 0 templates to clean up in storage pool: XenRT-Zone-0-Pod-0-Cluster-0-Primary-Store-0 2014-09-03 18:04:37,829 DEBUG [c.c.s.StorageManagerImpl] (StorageManager-Scavenger-3:ctx-e8a5b20a) Secondary storage garbage collector found 0 templates to cleanup on template_store_ref for store: cifs://10.220.163.36/storage/secondary 2014-09-03 18:04:37,831 DEBUG [c.c.s.StorageManagerImpl] (StorageManager-Scavenger-3:ctx-e8a5b20a) Secondary storage garbage collector found 0 snapshots to cleanup on snapshot_store_ref for store: cifs://10.220.163.36/storage/secondary 2014-09-03 18:04:37,832 DEBUG [c.c.s.StorageManagerImpl] (StorageManager-Scavenger-3:ctx-e8a5b20a) Secondary storage garbage collector found 0 volumes to cleanup on volume_store_ref for store: cifs://10.220.163.36/storage/secondary 2014-09-03 18:04:37,940 DEBUG [c.c.h.h.r.HypervDirectConnectResource] (DirectAgent-316:ctx-c363d57a) firewall_egress.sh