Community
 
 
 

CloudPlatform 4.x

팔로워 284명
 
Avatar
Pankaj Paliwal

cloudplatform4.3.0.2 GSLB can't work

Avatar

cloudplatform4.3.0.2 GSLB can't work

Hi,everyone:

   My environment information is as follows?

1. I Have one  cloudplatform4.3.0.2 setup with at  2 advanced zones.
2. Enable each zone with Netscaler(NSVPX-ESX-10.5-52.1115.e_nc) with GSLB
3. As a root user, create a GSLB rule
4. assign one LB rule (bj-ssh) from zone1.
5. assign another LB(nj-ssh) rule from another zone2.

6.In the region,assign more load balancing, select bj-ssh or nj-ssh in the Load balancing rule.

But it't don't work and the log is ad follows:

 

 

2014-11-24 08:31:25,436 DEBUG [c.c.a.m.DirectAgentAttache] (DirectAgent-409:ctx-22993192) Ping from 16(201-NetscalerVPXLoadBalancer-192.167.1.7)
2014-11-24 08:31:26,348 DEBUG [c.c.a.ApiServlet] (catalina-exec-11:ctx-acc60e00) ===START===  192.167.1.66 -- GET  command=assignToGlobalLoadBalancerRule&response=json&sessionkey=bIj8e72PJKAY7lNZIqIaivWplyE%3D&id=633f725e-ba0c-4b8e-af4d-ad0d7cfa56ea&loadbalancerrulelist=c6c1ae69-cf3b-4662-93e6-95c19327a718&_=1416789271771
2014-11-24 08:31:26,374 DEBUG [o.a.c.f.j.i.AsyncJobManagerImpl] (catalina-exec-11:ctx-acc60e00 ctx-b52bb4f9) submit async job-443, details: AsyncJobVO {id:443, userId: 2, accountId: 2, instanceType: None, instanceId: null, cmd: org.apache.cloudstack.api.command.user.region.ha.gslb.AssignToGlobalLoadBalancerRuleCmd, cmdInfo: {"response":"json","id":"633f725e-ba0c-4b8e-af4d-ad0d7cfa56ea","sessionkey":"bIj8e72PJKAY7lNZIqIaivWplyE\u003d","cmdEventType":"GLOBAL.LB.ASSIGN","loadbalancerrulelist":"c6c1ae69-cf3b-4662-93e6-95c19327a718","ctxUserId":"2","httpmethod":"GET","_":"1416789271771","ctxAccountId":"2","ctxStartEventId":"932"}, cmdVersion: 0, status: IN_PROGRESS, processStatus: 0, resultCode: 0, result: null, initMsid: 52231992512, completeMsid: null, lastUpdated: null, lastPolled: null, created: null}
2014-11-24 08:31:26,376 DEBUG [c.c.a.ApiServlet] (catalina-exec-11:ctx-acc60e00 ctx-b52bb4f9) ===END===  192.167.1.66 -- GET  command=assignToGlobalLoadBalancerRule&response=json&sessionkey=bIj8e72PJKAY7lNZIqIaivWplyE%3D&id=633f725e-ba0c-4b8e-af4d-ad0d7cfa56ea&loadbalancerrulelist=c6c1ae69-cf3b-4662-93e6-95c19327a718&_=1416789271771
2014-11-24 08:31:26,376 INFO  [o.a.c.f.j.i.AsyncJobMonitor] (API-Job-Executor-42:ctx-becf381e job-443) Add job-443 into job monitoring
2014-11-24 08:31:26,376 DEBUG [o.a.c.f.j.i.AsyncJobManagerImpl] (API-Job-Executor-42:ctx-becf381e job-443) Executing AsyncJobVO {id:443, userId: 2, accountId: 2, instanceType: None, instanceId: null, cmd: org.apache.cloudstack.api.command.user.region.ha.gslb.AssignToGlobalLoadBalancerRuleCmd, cmdInfo: {"response":"json","id":"633f725e-ba0c-4b8e-af4d-ad0d7cfa56ea","sessionkey":"bIj8e72PJKAY7lNZIqIaivWplyE\u003d","cmdEventType":"GLOBAL.LB.ASSIGN","loadbalancerrulelist":"c6c1ae69-cf3b-4662-93e6-95c19327a718","ctxUserId":"2","httpmethod":"GET","_":"1416789271771","ctxAccountId":"2","ctxStartEventId":"932"}, cmdVersion: 0, status: IN_PROGRESS, processStatus: 0, resultCode: 0, result: null, initMsid: 52231992512, completeMsid: null, lastUpdated: null, lastPolled: null, created: null}
2014-11-24 08:31:26,430 ERROR [c.c.a.ApiAsyncJobDispatcher] (API-Job-Executor-42:ctx-becf381e job-443) Unexpected exception while executing org.apache.cloudstack.api.command.user.region.ha.gslb.AssignToGlobalLoadBalancerRuleCmd
com.cloud.utils.exception.CloudRuntimeException: No GSLB provider is available
        at org.apache.cloudstack.region.gslb.GlobalLoadBalancingRulesServiceImpl.checkGslbServiceEnabledInZone(GlobalLoadBalancingRulesServiceImpl.java:723)
        at org.apache.cloudstack.region.gslb.GlobalLoadBalancingRulesServiceImpl.assignToGlobalLoadBalancerRule(GlobalLoadBalancingRulesServiceImpl.java:246)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
        at java.lang.reflect.Method.invoke(Method.java:601)
        at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:317)
        at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:183)
        at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:150)
        at com.cloud.event.ActionEventInterceptor.invoke(ActionEventInterceptor.java:50)
        at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:161)
        at org.springframework.aop.interceptor.ExposeInvocationInterceptor.invoke(ExposeInvocationInterceptor.java:91)
        at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172)
        at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:204)
        at $Proxy239.assignToGlobalLoadBalancerRule(Unknown Source)
        at org.apache.cloudstack.api.command.user.region.ha.gslb.AssignToGlobalLoadBalancerRuleCmd.execute(AssignToGlobalLoadBalancerRuleCmd.java:154)
        at com.cloud.api.ApiDispatcher.dispatch(ApiDispatcher.java:167)
        at com.cloud.api.ApiAsyncJobDispatcher.runJob(ApiAsyncJobDispatcher.java:97)
        at org.apache.cloudstack.framework.jobs.impl.AsyncJobManagerImpl$5.runInContext(AsyncJobManagerImpl.java:543)
        at org.apache.cloudstack.managed.context.ManagedContextRunnable$1.run(ManagedContextRunnable.java:50)
        at org.apache.cloudstack.managed.context.impl.DefaultManagedContext$1.call(DefaultManagedContext.java:56)
        at org.apache.cloudstack.managed.context.impl.DefaultManagedContext.callWithContext(DefaultManagedContext.java:103)
        at org.apache.cloudstack.managed.context.impl.DefaultManagedContext.runWithContext(DefaultManagedContext.java:53)
        at org.apache.cloudstack.managed.context.ManagedContextRunnable.run(ManagedContextRunnable.java:47)
        at org.apache.cloudstack.framework.jobs.impl.AsyncJobManagerImpl$5.run(AsyncJobManagerImpl.java:500)
        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.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1110)
        at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603)
        at java.lang.Thread.run(Thread.java:722)
2014-11-24 08:31:26,433 DEBUG [o.a.c.f.j.i.AsyncJobManagerImpl] (API-Job-Executor-42:ctx-becf381e job-443) Complete async job-443, jobStatus: FAILED, resultCode: 530, result: org.apache.cloudstack.api.response.ExceptionResponse/null/{"uuidList":[],"errorcode":530,"errortext":"No GSLB provider is available"}
2014-11-24 08:31:26,436 DEBUG [o.a.c.f.j.i.AsyncJobManagerImpl] (API-Job-Executor-42:ctx-becf381e job-443) Publish async job-443 complete on message bus
2014-11-24 08:31:26,436 DEBUG [o.a.c.f.j.i.AsyncJobManagerImpl] (API-Job-Executor-42:ctx-becf381e job-443) Wake up jobs related to job-443
2014-11-24 08:31:26,436 DEBUG [o.a.c.f.j.i.AsyncJobManagerImpl] (API-Job-Executor-42:ctx-becf381e job-443) Update db status for job-443
2014-11-24 08:31:26,437 DEBUG [o.a.c.f.j.i.AsyncJobManagerImpl] (API-Job-Executor-42:ctx-becf381e job-443) Wake up jobs joined with job-443 and disjoin all subjobs created from job- 443
2014-11-24 08:31:26,451 DEBUG [o.a.c.f.j.i.AsyncJobManagerImpl] (API-Job-Executor-42:ctx-becf381e job-443) Done executing org.apache.cloudstack.api.command.user.region.ha.gslb.AssignToGlobalLoadBalancerRuleCmd for job-443
2014-11-24 08:31:26,451 INFO  [o.a.c.f.j.i.AsyncJobMonitor] (API-Job-Executor-42:ctx-becf381e job-443) Remove job-443 from job monitoring
2014-11-24 08:31:29,419 DEBUG [c.c.a.ApiServlet] (catalina-exec-10:ctx-679f594d) ===START===  192.167.1.66 -- GET  command=queryAsyncJobResult&jobId=9a13d40f-d1f2-4c46-a53a-eb452033a5ce&response=json&sessionkey=bIj8e72PJKAY7lNZIqIaivWplyE%3D&_=1416789274917
2014-11-24 08:31:29,471 DEBUG [c.c.a.ApiServlet] (catalina-exec-10:ctx-679f594d ctx-677a86fe) ===END===  192.167.1.66 -- GET  command=queryAsyncJobResult&jobId=9a13d40f-d1f2-4c46-a53a-eb452033a5ce&response=json&sessionkey=bIj8e72PJKAY7lNZIqIaivWplyE%3D&_=1416789274917
2014-11-24 08:31:31,267 DEBUG [c.c.a.m.AgentManagerImpl] (AgentManager-Handler-2:null) SeqA 2-13344: Processing Seq 2-13344:  { Cmd , MgmtId: -1, via: 2, Ver: v1, Flags: 11, [{"com.cloud.agent.api.ConsoleProxyLoadReportCommand":{"_proxyVmId":2,"_loadInfo":"{\n  \"connections\": []\n}","wait":0}}] }
2014-11-24 08:31:31,296 DEBUG [c.c.a.m.AgentManagerImpl] (AgentManager-Handler-2:null) SeqA 2-13344: Sending Seq 2-13344:  { Ans: , MgmtId: 52231992512, via: 2, Ver: v1, Flags: 100010, [{"com.cloud.agent.api.AgentControlAnswer":{"result":true,"wait":0}}] }
2014-11-24 08:31:31,683 DEBUG [c.c.a.m.AgentManagerImpl] (AgentManager-Handler-3:null) SeqA 5-10511: Processing Seq 5-10511:  { Cmd , MgmtId: -1, via: 5, Ver: v1, Flags: 11, [{"com.cloud.agent.api.ConsoleProxyLoadReportCommand":{"_proxyVmId":12,"_loadInfo":"{\n  \"connections\": []\n}","wait":0}}] }
2014-11-24 08:31:31,689 DEBUG [c.c.a.m.AgentManagerImpl] (AgentManager-Handler-3:null) SeqA 5-10511: Sending Seq 5-10511:  { Ans: , MgmtId: 52231992512, via: 5, Ver: v1, Flags: 100010, [{"com.cloud.agent.api.AgentControlAnswer":{"result":true,"wait":0}}] }
 

Attached Thumbnails

  • 1.png
  • 2.png
  • 3.png

wei sun MEMBERS
댓글 3개
0

댓글을 남기려면 로그인하세요.

 
 

Previous 댓글 3개

Avatar
Pankaj Paliwal
Avatar

cloudplatform4.3.0.2 GSLB can't work

Hi wei sun,

 

I see this post quire old now. Are you still facing this issue? If so, I would request you to open a support ticket with us in order to troubleshoot this issue. This seems to be a complex one and needs detailed analysis.

 

Regards,

 

Abhisek


Abhisek Basu CITRIX EMPLOYEES
댓글 작업 고유 링크
Avatar
Pankaj Paliwal
Avatar

HI  Abhisek Basu:

                         Thank you very much,I am still facing this problem?We are partners of the citrix.

 

I find that is a bug  from this link https://issues.apache.org/jira/browse/CLOUDSTACK-7144
 So I do not have to solve this problem?If you need some log ,please  Please contact me


wei sun MEMBERS
댓글 작업 고유 링크
Avatar
Pankaj Paliwal
Avatar

Hi wei sun,

 

Thanks for the update. Looks like we have already resolved it in future version 4.5 (https://issues.apache.org/jira/browse/CLOUDSTACK-7144).

 

Regards,

 

Abhisek


Abhisek Basu CITRIX EMPLOYEES
댓글 작업 고유 링크

Top Contributors