You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cloudstack.apache.org by "Rayees Namathponnan (JIRA)" <ji...@apache.org> on 2014/05/21 01:18:39 UTC

[jira] [Created] (CLOUDSTACK-6730) [Automation] test_egress_fw_rules test case failing while applying FW rule

Rayees Namathponnan created CLOUDSTACK-6730:
-----------------------------------------------

             Summary: [Automation] test_egress_fw_rules test case failing while applying FW rule 
                 Key: CLOUDSTACK-6730
                 URL: https://issues.apache.org/jira/browse/CLOUDSTACK-6730
             Project: CloudStack
          Issue Type: Bug
      Security Level: Public (Anyone can view this level - this is the default.)
          Components: Automation
    Affects Versions: 4.4.0
            Reporter: Rayees Namathponnan
            Priority: Blocker
             Fix For: 4.4.0


Test case integration.component.test_egress_fw_rules.TestEgressFWRules.test_07_1_egress_fr7 failing with latest run.

This test case performing below steps 

 658         # Validate the following:
 659         # 1. deploy VM using network offering with egress policy true.
 660         # 2. create egress rule without specific end port.
 661         # 3. login to VM.
 662         # 4. access to public network for tcp port 80 is blocked.

SetFirewallRulesCommand failing with error "No chain/target/match by that name.\niptables: No chain/target/match by that"

2014-05-19 21:52:27,304 DEBUG [c.c.a.t.Request] (API-Job-Executor-99:job-7298 ctx-93fb812a) Seq 2-453737662457584256: Executing:  { Cmd , MgmtId: 90928106758
026, via: 2(10.223.250.131), Ver: v1, Flags: 100001, [{"com.cloud.agent.api.routing.SetFirewallRulesCommand":{"rules":[{"id":562,"srcIp":"","protocol":"tcp",
"srcPortRange":[80,80],"revoked":false,"alreadyAdded":false,"sourceCidrList":["10.1.1.0/24"],"purpose":"Firewall","trafficType":"Egress","defaultEgressPolicy
":true}],"accessDetails":{"router.guest.ip":"10.1.1.13","firewall.egress.default":"true","zone.network.type":"Advanced","router.ip":"10.223.250.182","router.
name":"r-1086-TestVM"},"wait":0}}] }
2014-05-19 21:52:27,304 DEBUG [c.c.a.m.DirectAgentAttache] (DirectAgent-120:ctx-15d72251) Seq 2-453737662457584256: Executing request
2014-05-19 21:52:27,304 DEBUG [c.c.h.v.r.VmwareResource] (DirectAgent-120:ctx-15d72251 10.223.250.131) Use router's private IP for SSH control. IP : 10.223.2
50.182
2014-05-19 21:52:27,304 DEBUG [c.c.h.v.r.VmwareResource] (DirectAgent-120:ctx-15d72251 10.223.250.131) Run command on VR: 10.223.250.182, script: firewall_eg
ress.sh with args:  -F -E -P 1 -a :tcp:80:80:10.1.1.0/24:,
2014-05-19 21:52:27,759 DEBUG [c.c.h.v.r.VmwareResource] (DirectAgent-120:ctx-15d72251 10.223.250.131) firewall_egress.sh execution result: true
2014-05-19 21:52:27,759 DEBUG [c.c.a.m.DirectAgentAttache] (DirectAgent-120:ctx-15d72251) Seq 2-453737662457584256: Response Received:
2014-05-19 21:52:27,759 DEBUG [c.c.a.t.Request] (DirectAgent-120:ctx-15d72251) Seq 2-453737662457584256: Processing:  { Ans: , MgmtId: 90928106758026, via: 2
, Ver: v1, Flags: 0, [{"com.cloud.agent.api.Answer":{"result":true,"details":"iptables v1.4.14: Couldn't load target `_FW_EGRESS_RULES':No such file or direc
tory\n\nTry `iptables -h' or 'iptables --help' for more information.\niptables: No chain/target/match by that name.\niptables: No chain/target/match by that
name.\n","wait":0}}] }




--
This message was sent by Atlassian JIRA
(v6.2#6252)