incubator-cloudstack-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "sadhu suresh (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (CLOUDSTACK-184) inter-vlan:fail to apply the load balancer rule
Date Fri, 21 Sep 2012 11:03:07 GMT

     [ https://issues.apache.org/jira/browse/CLOUDSTACK-184?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

sadhu suresh updated CLOUDSTACK-184:
------------------------------------

    Attachment: management-server.rar

management log

Note:not seen this issue in 3.0.5.its looks like regression
                
> inter-vlan:fail to apply the load balancer rule
> -----------------------------------------------
>
>                 Key: CLOUDSTACK-184
>                 URL: https://issues.apache.org/jira/browse/CLOUDSTACK-184
>             Project: CloudStack
>          Issue Type: Bug
>          Components: Network Controller
>    Affects Versions: 4.0.0
>         Environment: Git Revision: 2a5e5b2e62a9f35d674f016e02abc1da77b95745
> Git URL: https://git-wip-us.apache.org/repos/asf/incubator-cloudstack.git
>            Reporter: sadhu suresh
>            Priority: Critical
>         Attachments: management-server.rar
>
>
> Steps:
> 1. Create a VPC with cidr - 10.1.2.0/16
> 2. Add network1(10.1.1.0/24) to this VPC. 
> 3. Deploy vm1 and vm2 in network1 
> 4.acquire an IP and create a PF rule using TCP protocol on port 22 for vm1.
> 5. Acquire another IP .
> 6. try to Create an LB rule for vm1 and vm2.
> Actual result:
> able to add PF rules successfully but while trying to add LB rule its  throws exception.
> Expected result:
> addition of  LB rule should be successful without any errors.
> Machine Credentials  MSIP:10.147.29.102(root/password)
> content of management log:
> *****************************
> 2012-09-21 16:02:42,239 DEBUG [agent.transport.Request] (Job-Executor-28:job-45) Seq
1-1619984674: Sending  { Cmd , MgmtId: 345052566032, via: 1, Ver: v1, Flags: 100001, [{"routing.LoadBalancerConfigCommand":{"loadBalancers":[{"srcIp":"10.147.49.29","srcPort":22,"protocol":"tcp","algorithm":"roundrobin","revoked":false,"alreadyAdded":false,"destinations":[{"destIp":"10.1.2.24","destPort":22,"revoked":false,"alreadyAdded":false},{"destIp":"10.1.2.228","destPort":22,"revoked":false,"alreadyAdded":false}]}],"lbStatsVisibility":"global","lbStatsPublicIP":"10.147.49.28","lbStatsPrivateIP":"169.254.1.18","lbStatsGuestIP":"10.1.2.1","lbStatsPort":"8081","lbStatsSrcCidrs":"0/0","lbStatsAuth":"admin1:AdMiN123","lbStatsUri":"/admin?stats","nic":{"deviceId":2,"networkRateMbps":200,"defaultNic":false,"uuid":"2b564dd2-bbb6-4314-91ba-79d3e5e7d04b","ip":"10.1.2.1","netmask":"255.255.255.0","gateway":"10.1.2.1","mac":"02:00:1e:a5:00:02","broadcastType":"Vlan","type":"Guest","broadcastUri":"vlan://1003","isolationUri":"vlan://1003","isSecurityGroupEnabled":false},"vpcId":3,"accessDetails":{"router.guest.ip":"10.1.2.1","zone.network.type":"Advanced","router.ip":"169.254.1.18","router.name":"r-8-VM"},"wait":0}}]
}
> 2012-09-21 16:02:42,239 DEBUG [agent.transport.Request] (Job-Executor-28:job-45) Seq
1-1619984674: Executing:  { Cmd , MgmtId: 345052566032, via: 1, Ver: v1, Flags: 100001, [{"routing.LoadBalancerConfigCommand":{"loadBalancers":[{"srcIp":"10.147.49.29","srcPort":22,"protocol":"tcp","algorithm":"roundrobin","revoked":false,"alreadyAdded":false,"destinations":[{"destIp":"10.1.2.24","destPort":22,"revoked":false,"alreadyAdded":false},{"destIp":"10.1.2.228","destPort":22,"revoked":false,"alreadyAdded":false}]}],"lbStatsVisibility":"global","lbStatsPublicIP":"10.147.49.28","lbStatsPrivateIP":"169.254.1.18","lbStatsGuestIP":"10.1.2.1","lbStatsPort":"8081","lbStatsSrcCidrs":"0/0","lbStatsAuth":"admin1:AdMiN123","lbStatsUri":"/admin?stats","nic":{"deviceId":2,"networkRateMbps":200,"defaultNic":false,"uuid":"2b564dd2-bbb6-4314-91ba-79d3e5e7d04b","ip":"10.1.2.1","netmask":"255.255.255.0","gateway":"10.1.2.1","mac":"02:00:1e:a5:00:02","broadcastType":"Vlan","type":"Guest","broadcastUri":"vlan://1003","isolationUri":"vlan://1003","isSecurityGroupEnabled":false},"vpcId":3,"accessDetails":{"router.guest.ip":"10.1.2.1","zone.network.type":"Advanced","router.ip":"169.254.1.18","router.name":"r-8-VM"},"wait":0}}]
}
> 2012-09-21 16:02:42,239 DEBUG [agent.manager.DirectAgentAttache] (DirectAgent-14:null)
Seq 1-1619984674: Executing request
> 2012-09-21 16:02:42,442 WARN  [xen.resource.CitrixResourceBase] (DirectAgent-14:null)
callHostPlugin failed for cmd: createFileInDomr with args filepath: /etc/haproxy/haproxy.cfg.new,
domrip: 169.254.1.18, filecontents: global
>         log 127.0.0.1:3914   local0 warning
>         maxconn 4096
>         chroot /var/lib/haproxy
>         user haproxy
>         group haproxy
>         daemon
> defaults
>         log     global
>         mode    tcp
>         option  dontlognull
>         retries 3
>         option redispatch
>         option forwardfor
>         option forceclose
>         timeout connect    5000
>         timeout client     50000
>         timeout server     50000
>         timeout server     50000
> listen stats_on_public 10.147.49.28:8081
>         mode http
>         option httpclose
>         stats enable
>         stats uri     /admin?stats
>         stats realm   Haproxy\ Statistics
>         stats auth    admin1:AdMiN123
> listen 10_147_49_29-22 10.147.49.29:22
>         balance roundrobin
>         server 10_147_49_29-22_0 10.1.2.24:22 check
>         server 10_147_49_29-22_1 10.1.2.228:22 check
> ,  due to UNKNOWN_XENAPI_PLUGIN_FUNCTIONcreateFileInDomr
>         at com.cloud.hypervisor.xen.resource.CitrixResourceBase.callHostPlugin(CitrixResourceBase.java:3749)
>         at com.cloud.hypervisor.xen.resource.CitrixResourceBase.VPCLoadBalancerConfig(CitrixResourceBase.java:1611)
>         at com.cloud.hypervisor.xen.resource.CitrixResourceBase.execute(CitrixResourceBase.java:1663)
>         at com.cloud.hypervisor.xen.resource.CitrixResourceBase.executeRequest(CitrixResourceBase.java:419)
>         at com.cloud.hypervisor.xen.resource.XenServer56Resource.executeRequest(XenServer56Resource.java:73)
>         at com.cloud.agent.manager.DirectAgentAttache$Task.run(DirectAgentAttache.java:191)
>         at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471)
>         at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:334)
>         at java.util.concurrent.FutureTask.run(FutureTask.java:166)
>         at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$101(ScheduledThreadPoolExecutor.java:165)
>         at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:266)
>         at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1110)
>         at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603)
>         at java.lang.Thread.run(Thread.java:679)
> 2012-09-21 16:02:42,473 DEBUG [agent.manager.DirectAgentAttache] (DirectAgent-14:null)
Seq 1-1619984674: Response Received:
> 2012-09-21 16:02:42,473 DEBUG [agent.transport.Request] (DirectAgent-14:null) Seq 1-1619984674:
Processing:  { Ans: , MgmtId: 345052566032, via: 1, Ver: v1, Flags: 0, [{"Answer":{"result":false,"details":"com.cloud.utils.exception.CloudRuntimeException:
callHostPlugin failed for cmd: createFileInDomr with args filepath: /etc/haproxy/haproxy.cfg.new,
domrip: 169.254.1.18, filecontents: global\n\tlog 127.0.0.1:3914   local0 warning\n\tmaxconn
4096\n\tchroot /var/lib/haproxy\n\tuser haproxy\n\tgroup haproxy\n\tdaemon\n\t \ndefaults\n\tlog
    global\n\tmode    tcp\n\toption  dontlognull\n\tretries 3\n\toption redispatch\n\toption
forwardfor\n\toption forceclose\n\ttimeout connect    5000\n\ttimeout client     50000\n\ttimeout
server     50000\n\nlisten stats_on_public 10.147.49.28:8081\n\tmode http\n\toption httpclose\n\tstats
enable\n\tstats uri     /admin?stats\n\tstats realm   Haproxy\\ Statistics\n\tstats auth 
  admin1:AdMiN123\n\n\t \nlisten 10_147_49_29-22 10.147.49.29:22\n\tbalance roundrobin\n\tserver
10_147_49_29-22_0 10.1.2.24:22 check\n\tserver 10_147_49_29-22_1 10.1.2.228:22 check\n\t \n\t
\n,  due to UNKNOWN_XENAPI_PLUGIN_FUNCTIONcreateFileInDomr","wait":0}}] }
> 2012-09-21 16:02:42,473 DEBUG [agent.transport.Request] (Job-Executor-28:job-45) Seq
1-1619984674: Received:  { Ans: , MgmtId: 345052566032, via: 1, Ver: v1, Flags: 0, { Answer
} }

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Mime
View raw message