免费注册 查看新帖 |

Chinaunix

  平台 论坛 博客 文库
最近访问板块 发新帖
查看: 3346 | 回复: 1
打印 上一主题 下一主题

[CloudStack] cloudstack的AutoScale设置问题? [复制链接]

论坛徽章:
0
跳转到指定楼层
1 [收藏(0)] [报告]
发表于 2013-11-09 17:44 |只看该作者 |倒序浏览
    我在配置AutoScale的时候出现了问题,开始配置的时候提示我没有用户api,我生成用户admin api之后,又提示我endpointe.url错误,我又配置endpointe.ur:http://192.168.1.102:8080/client ... iKeWf9bhHdU7txsuhDQ
不知道格式是不是错误,最后全配置完了还是提示AutoScale is not supported in the network

2013-11-09 17:37:52,283 DEBUG [cloud.async.AsyncJobManagerImpl] (Job-Executor-44:job-129) Done executing org.apache.cloudstack.api.command.user.autoscale.CreateAutoScalePolicyCmd for job-129
2013-11-09 17:37:52,284 DEBUG [agent.manager.AgentManagerImpl] (AgentManager-Handler-8:null) SeqA 4-25942: Processing Seq 4-25942:  { Cmd , MgmtId: -1, via: 4, Ver: v1, Flags: 11, [{"ConsoleProxyLoadReportCommand":{"_proxyVmId":1,"_loadInfo":"{\n  \"connections\": []\n}","wait":0}}] }
2013-11-09 17:37:52,325 DEBUG [agent.manager.AgentManagerImpl] (AgentManager-Handler-8:null) SeqA 4-25942: Sending Seq 4-25942:  { Ans: , MgmtId: 132241039578104, via: 4, Ver: v1, Flags: 100010, [{"AgentControlAnswer":{"result":true,"wait":0}}] }
2013-11-09 17:37:53,638 DEBUG [cloud.server.StatsCollector] (StatsCollector-2:null) StorageCollector is running...
2013-11-09 17:37:53,696 DEBUG [agent.transport.Request] (StatsCollector-2:null) Seq 3-1265763480: Received:  { Ans: , MgmtId: 132241039578104, via: 3, Ver: v1, Flags: 10, { GetStorageStatsAnswer } }
2013-11-09 17:37:53,754 DEBUG [agent.transport.Request] (StatsCollector-2:null) Seq 10-42337432: Received:  { Ans: , MgmtId: 132241039578104, via: 10, Ver: v1, Flags: 10, { GetStorageStatsAnswer } }
2013-11-09 17:37:53,774 DEBUG [agent.transport.Request] (StatsCollector-2:null) Seq 1-1366757881: Received:  { Ans: , MgmtId: 132241039578104, via: 1, Ver: v1, Flags: 10, { GetStorageStatsAnswer } }
2013-11-09 17:37:54,061 DEBUG [agent.transport.Request] (StatsCollector-2:null) Seq 5-770707487: Received:  { Ans: , MgmtId: 132241039578104, via: 5, Ver: v1, Flags: 10, { GetStorageStatsAnswer } }
2013-11-09 17:37:54,122 DEBUG [agent.transport.Request] (StatsCollector-2:null) Seq 5-770707488: Received:  { Ans: , MgmtId: 132241039578104, via: 5, Ver: v1, Flags: 10, { GetStorageStatsAnswer } }
2013-11-09 17:37:54,128 DEBUG [agent.manager.DirectAgentAttache] (DirectAgent-373:null) Seq 6-1870400946: Executing request
2013-11-09 17:37:54,568 DEBUG [agent.manager.DirectAgentAttache] (DirectAgent-373:null) Seq 6-1870400946: Response Received:
2013-11-09 17:37:54,569 DEBUG [agent.transport.Request] (StatsCollector-2:null) Seq 6-1870400946: Received:  { Ans: , MgmtId: 132241039578104, via: 6, Ver: v1, Flags: 10, { GetStorageStatsAnswer } }
2013-11-09 17:37:54,575 DEBUG [agent.manager.DirectAgentAttache] (DirectAgent-410:null) Seq 6-1870400947: Executing request
2013-11-09 17:37:55,018 DEBUG [agent.manager.DirectAgentAttache] (DirectAgent-410:null) Seq 6-1870400947: Response Received:
2013-11-09 17:37:55,019 DEBUG [agent.transport.Request] (StatsCollector-2:null) Seq 6-1870400947: Received:  { Ans: , MgmtId: 132241039578104, via: 6, Ver: v1, Flags: 10, { GetStorageStatsAnswer } }
2013-11-09 17:37:55,630 DEBUG [cloud.api.ApiServlet] (catalina-exec-18:null) ===START===  172.16.200.150 -- GET  command=queryAsyncJobResult&jobId=c2758bb6-0483-4306-adcf-8a5f3d491c3e&response=json&sessionkey=TZ7NqxlPEOkG%2Fc%2B0Ckl26vcTBh4%3D&_=1383989934037
2013-11-09 17:37:55,643 DEBUG [cloud.async.AsyncJobManagerImpl] (catalina-exec-18:null) Async job-129 completed
2013-11-09 17:37:55,649 DEBUG [cloud.api.ApiServlet] (catalina-exec-18:null) ===END===  172.16.200.150 -- GET  command=queryAsyncJobResult&jobId=c2758bb6-0483-4306-adcf-8a5f3d491c3e&response=json&sessionkey=TZ7NqxlPEOkG%2Fc%2B0Ckl26vcTBh4%3D&_=1383989934037
2013-11-09 17:37:56,122 DEBUG [cloud.api.ApiServlet] (catalina-exec-20:null) ===START===  172.16.200.150 -- GET  command=createAutoScaleVmProfile&response=json&sessionkey=TZ7NqxlPEOkG%2Fc%2B0Ckl26vcTBh4%3D&zoneid=a8c8d2e6-f897-43eb-be57-758836107fe8&serviceofferingid=615d844f-ebef-48d6-b227-3c2ef51fe137&templateid=1f8c5936-22be-4e5b-8b3f-fcf0c2b8f1bd&destroyvmgraceperiod=30&counterparam%5B0%5D.name=snmpcommunity&counterparam%5B0%5D.value=public&counterparam%5B1%5D.name=snmpport&counterparam%5B1%5D.value=161&autoscaleuserid=12b6024e-4760-11e3-b094-f554c2d2d4b0&_=1383989934523
2013-11-09 17:37:56,138 DEBUG [cloud.api.ApiDispatcher] (catalina-exec-20:null) InfrastructureEntity name is:com.cloud.offering.ServiceOffering
2013-11-09 17:37:56,140 DEBUG [cloud.api.ApiDispatcher] (catalina-exec-20:null) ControlledEntity name is:com.cloud.template.VirtualMachineTemplate
2013-11-09 17:37:56,186 INFO  [network.as.AutoScaleManagerImpl] (catalina-exec-20:null) Successfully create AutoScale Vm Profile with Id: 7
2013-11-09 17:37:56,326 DEBUG [cloud.async.AsyncJobManagerImpl] (catalina-exec-20:null) submit async job-130, details: AsyncJobVO {id:130, userId: 2, accountId: 2, sessionKey: null, instanceType: AutoScaleVmProfile, instanceId: 7, cmd: org.apache.cloudstack.api.command.user.autoscale.CreateAutoScaleVmProfileCmd, cmdOriginator: null, cmdInfo: {"serviceofferingid":"615d844f-ebef-48d6-b227-3c2ef51fe137","sessionkey":"TZ7NqxlPEOkG/c+0Ckl26vcTBh4\u003d","destroyvmgraceperiod":"30","ctxUserId":"2","counterparam[0].name":"snmpcommunity","zoneid":"a8c8d2e6-f897-43eb-be57-758836107fe8","templateid":"1f8c5936-22be-4e5b-8b3f-fcf0c2b8f1bd","counterparam[1].value":"161","counterparam[0].value":"public","response":"json","id":"7","autoscaleuserid":"12b6024e-4760-11e3-b094-f554c2d2d4b0","counterparam[1].name":"snmpport","_":"1383989934523","ctxAccountId":"2","ctxStartEventId":"396"}, cmdVersion: 0, callbackType: 0, callbackAddress: null, status: 0, processStatus: 0, resultCode: 0, result: null, initMsid: 132241039578104, completeMsid: null, lastUpdated: null, lastPolled: null, created: null}
2013-11-09 17:37:56,328 DEBUG [cloud.async.AsyncJobManagerImpl] (Job-Executor-45:job-130) Executing org.apache.cloudstack.api.command.user.autoscale.CreateAutoScaleVmProfileCmd for job-130
2013-11-09 17:37:56,329 DEBUG [cloud.api.ApiServlet] (catalina-exec-20:null) ===END===  172.16.200.150 -- GET  command=createAutoScaleVmProfile&response=json&sessionkey=TZ7NqxlPEOkG%2Fc%2B0Ckl26vcTBh4%3D&zoneid=a8c8d2e6-f897-43eb-be57-758836107fe8&serviceofferingid=615d844f-ebef-48d6-b227-3c2ef51fe137&templateid=1f8c5936-22be-4e5b-8b3f-fcf0c2b8f1bd&destroyvmgraceperiod=30&counterparam%5B0%5D.name=snmpcommunity&counterparam%5B0%5D.value=public&counterparam%5B1%5D.name=snmpport&counterparam%5B1%5D.value=161&autoscaleuserid=12b6024e-4760-11e3-b094-f554c2d2d4b0&_=1383989934523
2013-11-09 17:37:56,348 DEBUG [cloud.async.AsyncJobManagerImpl] (Job-Executor-45:job-130) Complete async job-130, jobStatus: 1, resultCode: 0, result: org.apache.cloudstack.api.response.AutoScaleVmProfileResponse@4bdd98ce
2013-11-09 17:37:56,393 DEBUG [cloud.async.AsyncJobManagerImpl] (Job-Executor-45:job-130) Done executing org.apache.cloudstack.api.command.user.autoscale.CreateAutoScaleVmProfileCmd for job-130
2013-11-09 17:37:56,603 DEBUG [agent.manager.AgentManagerImpl] (AgentManager-Handler-15:null) SeqA 11-24094: Processing Seq 11-24094:  { Cmd , MgmtId: -1, via: 11, Ver: v1, Flags: 11, [{"ConsoleProxyLoadReportCommand":{"_proxyVmId":4,"_loadInfo":"{\n  \"connections\": []\n}","wait":0}}] }
2013-11-09 17:37:56,635 DEBUG [agent.manager.AgentManagerImpl] (AgentManager-Handler-15:null) SeqA 11-24094: Sending Seq 11-24094:  { Ans: , MgmtId: 132241039578104, via: 11, Ver: v1, Flags: 100010, [{"AgentControlAnswer":{"result":true,"wait":0}}] }
2013-11-09 17:37:57,399 DEBUG [agent.manager.AgentManagerImpl] (AgentManager-Handler-11:null) Ping from 1
2013-11-09 17:37:59,763 DEBUG [cloud.api.ApiServlet] (catalina-exec-19:null) ===START===  172.16.200.150 -- GET  command=queryAsyncJobResult&jobId=3152ed73-155c-405e-a716-d248286ad2b0&response=json&sessionkey=TZ7NqxlPEOkG%2Fc%2B0Ckl26vcTBh4%3D&_=1383989938151
2013-11-09 17:37:59,777 DEBUG [cloud.async.AsyncJobManagerImpl] (catalina-exec-19:null) Async job-130 completed
2013-11-09 17:37:59,781 DEBUG [cloud.api.ApiServlet] (catalina-exec-19:null) ===END===  172.16.200.150 -- GET  command=queryAsyncJobResult&jobId=3152ed73-155c-405e-a716-d248286ad2b0&response=json&sessionkey=TZ7NqxlPEOkG%2Fc%2B0Ckl26vcTBh4%3D&_=1383989938151
2013-11-09 17:37:59,823 DEBUG [cloud.api.ApiServlet] (catalina-exec-14:null) ===START===  172.16.200.150 -- GET  command=createLoadBalancerRule&response=json&sessionkey=TZ7NqxlPEOkG%2Fc%2B0Ckl26vcTBh4%3D&algorithm=roundrobin&name=80&privateport=80&publicport=80&openfirewall=false&networkid=e617bfa0-ce57-4f44-896f-b5e0ff637668&publicipid=8b601c8d-1539-42cd-9cc6-ae61108d4d4d&_=1383989938220
2013-11-09 17:37:59,872 DEBUG [network.firewall.FirewallManagerImpl] (catalina-exec-14:null) No network rule conflicts detected for Rule[15-LoadBalancing-Staged] against 1 existing rules
2013-11-09 17:37:59,874 DEBUG [network.lb.LoadBalancingRulesManagerImpl] (catalina-exec-14:null) Load balancer 15 for Ip address id=2, public port 80, private port 80 is added successfully.
2013-11-09 17:38:00,052 DEBUG [cloud.async.AsyncJobManagerImpl] (catalina-exec-14:null) submit async job-131, details: AsyncJobVO {id:131, userId: 2, accountId: 2, sessionKey: null, instanceType: FirewallRule, instanceId: 15, cmd: org.apache.cloudstack.api.command.user.loadbalancer.CreateLoadBalancerRuleCmd, cmdOriginator: null, cmdInfo: {"sessionkey":"TZ7NqxlPEOkG/c+0Ckl26vcTBh4\u003d","ctxUserId":"2","openfirewall":"false","publicipid":"8b601c8d-1539-42cd-9cc6-ae61108d4d4d","algorithm":"roundrobin","privateport":"80","response":"json","id":"15","name":"80","publicport":"80","_":"1383989938220","ctxAccountId":"2","networkid":"e617bfa0-ce57-4f44-896f-b5e0ff637668","ctxStartEventId":"399"}, cmdVersion: 0, callbackType: 0, callbackAddress: null, status: 0, processStatus: 0, resultCode: 0, result: null, initMsid: 132241039578104, completeMsid: null, lastUpdated: null, lastPolled: null, created: null}
2013-11-09 17:38:00,056 DEBUG [cloud.async.AsyncJobManagerImpl] (Job-Executor-46:job-131) Executing org.apache.cloudstack.api.command.user.loadbalancer.CreateLoadBalancerRuleCmd for job-131
2013-11-09 17:38:00,058 DEBUG [cloud.api.ApiServlet] (catalina-exec-14:null) ===END===  172.16.200.150 -- GET  command=createLoadBalancerRule&response=json&sessionkey=TZ7NqxlPEOkG%2Fc%2B0Ckl26vcTBh4%3D&algorithm=roundrobin&name=80&privateport=80&publicport=80&openfirewall=false&networkid=e617bfa0-ce57-4f44-896f-b5e0ff637668&publicipid=8b601c8d-1539-42cd-9cc6-ae61108d4d4d&_=1383989938220
2013-11-09 17:38:00,073 DEBUG [cloud.async.AsyncJobManagerImpl] (Job-Executor-46:job-131) Complete async job-131, jobStatus: 1, resultCode: 0, result: org.apache.cloudstack.api.response.LoadBalancerResponse@7b293ecd
2013-11-09 17:38:00,118 DEBUG [cloud.async.AsyncJobManagerImpl] (Job-Executor-46:job-131) Done executing org.apache.cloudstack.api.command.user.loadbalancer.CreateLoadBalancerRuleCmd for job-131
2013-11-09 17:38:02,245 DEBUG [agent.manager.AgentManagerImpl] (AgentManager-Handler-14:null) SeqA 4-25943: Processing Seq 4-25943:  { Cmd , MgmtId: -1, via: 4, Ver: v1, Flags: 11, [{"ConsoleProxyLoadReportCommand":{"_proxyVmId":1,"_loadInfo":"{\n  \"connections\": []\n}","wait":0}}] }
2013-11-09 17:38:02,285 DEBUG [agent.manager.AgentManagerImpl] (AgentManager-Handler-14:null) SeqA 4-25943: Sending Seq 4-25943:  { Ans: , MgmtId: 132241039578104, via: 4, Ver: v1, Flags: 100010, [{"AgentControlAnswer":{"result":true,"wait":0}}] }
2013-11-09 17:38:03,171 DEBUG [cloud.api.ApiServlet] (catalina-exec-21:null) ===START===  172.16.200.150 -- GET  command=queryAsyncJobResult&jobId=aec0e4ff-f674-4922-b986-43399a108a6d&response=json&sessionkey=TZ7NqxlPEOkG%2Fc%2B0Ckl26vcTBh4%3D&_=1383989941536
2013-11-09 17:38:03,183 DEBUG [cloud.async.AsyncJobManagerImpl] (catalina-exec-21:null) Async job-131 completed
2013-11-09 17:38:03,188 DEBUG [cloud.api.ApiServlet] (catalina-exec-21:null) ===END===  172.16.200.150 -- GET  command=queryAsyncJobResult&jobId=aec0e4ff-f674-4922-b986-43399a108a6d&response=json&sessionkey=TZ7NqxlPEOkG%2Fc%2B0Ckl26vcTBh4%3D&_=1383989941536
2013-11-09 17:38:03,238 DEBUG [cloud.api.ApiServlet] (catalina-exec-15:null) ===START===  172.16.200.150 -- GET  command=createAutoScaleVmGroup&lbruleid=040585c1-f60e-47d1-8b3d-ffa008fe4649&minMembers=1&maxMembers=3&vmprofileid=55ca5917-465c-4812-85c6-bd6327eedf87&interval=5&scaleuppolicyids=cea3d71b-c261-45e4-b3cd-271772491b2d&scaledownpolicyids=b231041e-c34b-476f-8207-cc88ae5b77ca&response=json&sessionkey=TZ7NqxlPEOkG%2Fc%2B0Ckl26vcTBh4%3D&_=1383989941639
2013-11-09 17:38:03,320 INFO  [cloud.api.ApiServer] (catalina-exec-15:null) AutoScale is not supported in the network
2013-11-09 17:38:03,320 DEBUG [cloud.api.ApiServlet] (catalina-exec-15:null) ===END===  172.16.200.150 -- GET  command=createAutoScaleVmGroup&lbruleid=040585c1-f60e-47d1-8b3d-ffa008fe4649&minMembers=1&maxMembers=3&vmprofileid=55ca5917-465c-4812-85c6-bd6327eedf87&interval=5&scaleuppolicyids=cea3d71b-c261-45e4-b3cd-271772491b2d&scaledownpolicyids=b231041e-c34b-476f-8207-cc88ae5b77ca&response=json&sessionkey=TZ7NqxlPEOkG%2Fc%2B0Ckl26vcTBh4%3D&_=1383989941639
2013-11-09 17:38:06,645 DEBUG [agent.manager.AgentManagerImpl] (AgentManager-Handler-9:null) SeqA 11-24095: Processing Seq 11-24095:  { Cmd , MgmtId: -1, via: 11, Ver: v1, Flags: 11, [{"ConsoleProxyLoadReportCommand":{"_proxyVmId":4,"_loadInfo":"{\n  \"connections\": []\n}","wait":0}}] }
2013-11-09 17:38:06,687 DEBUG [agent.manager.AgentManagerImpl] (AgentManager-Handler-9:null) SeqA 11-24095: Sending Seq 11-24095:  { Ans: , MgmtId: 132241039578104, via: 11, Ver: v1, Flags: 100010, [{"AgentControlAnswer":{"result":true,"wait":0}}] }
2013-11-09 17:38:07,245 DEBUG [agent.manager.AgentManagerImpl] (AgentManager-Handler-1:null) SeqA 4-25944: Processing Seq 4-25944:  { Cmd , MgmtId: -1, via: 4, Ver: v1, Flags: 11, [{"ConsoleProxyLoadReportCommand":{"_proxyVmId":1,"_loadInfo":"{\n  \"connections\": []\n}","wait":0}}] }
2013-11-09 17:38:07,287 DEBUG [agent.manager.AgentManagerImpl] (AgentManager-Handler-1:null) SeqA 4-25944: Sending Seq 4-25944:  { Ans: , MgmtId: 132241039578104, via: 4, Ver: v1, Flags: 100010, [{"AgentControlAnswer":{"result":true,"wait":0}}] }
2013-11-09 17:38:11,305 DEBUG [cloud.server.StatsCollector] (StatsCollector-3:null) VmStatsCollector is running...
2013-11-09 17:38:11,394 DEBUG [agent.transport.Request] (StatsCollector-3:null) Seq 1-1366757882: Received:  { Ans: , MgmtId: 132241039578104, via: 1, Ver: v1, Flags: 10, { GetVmStatsAnswer } }
2013-11-09 17:38:11,505 DEBUG [agent.transport.Request] (StatsCollector-3:null) Seq 5-770707489: Received:  { Ans: , MgmtId: 132241039578104, via: 5, Ver: v1, Flags: 10, { GetVmStatsAnswer } }
2013-11-09 17:38:12,849 DEBUG [agent.manager.AgentManagerImpl] (AgentManager-Handler-7:null) Ping from 5
2013-11-09 17:38:13,156 DEBUG [agent.manager.AgentManagerImpl] (AgentManager-Handler-6:null) SeqA 4-25945: Processing Seq 4-25945:  { Cmd , MgmtId: -1, via: 4, Ver: v1, Flags: 11, [{"ConsoleProxyLoadReportCommand":{"_proxyVmId":1,"_loadInfo":"{\n  \"connections\": []\n}","wait":0}}] }
2013-11-09 17:38:13,213 DEBUG [agent.manager.AgentManagerImpl] (AgentManager-Handler-6:null) SeqA 4-25945: Sending Seq 4-25945:  { Ans: , MgmtId: 132241039578104, via: 4, Ver: v1, Flags: 100010, [{"AgentControlAnswer":{"result":true,"wait":0}}] }
2013-11-09 17:38:15,631 DEBUG [storage.secondary.SecondaryStorageManagerImpl] (secstorage-1:null) Zone 1 is ready to launch secondary storage VM
2013-11-09 17:38:15,644 DEBUG [storage.secondary.SecondaryStorageManagerImpl] (secstorage-1:null) Zone 2 is ready to launch secondary storage VM
2013-11-09 17:38:16,220 DEBUG [cloud.consoleproxy.ConsoleProxyManagerImpl] (consoleproxy-1:null) Zone 1 is ready to launch console proxy
2013-11-09 17:38:16,226 DEBUG [cloud.consoleproxy.ConsoleProxyManagerImpl] (consoleproxy-1:null) Zone 2 is ready to launch console proxy
2013-11-09 17:38:16,607 DEBUG [agent.manager.AgentManagerImpl] (AgentManager-Handler-8:null) SeqA 11-24096: Processing Seq 11-24096:  { Cmd , MgmtId: -1, via: 11, Ver: v1, Flags: 11, [{"ConsoleProxyLoadReportCommand":{"_proxyVmId":4,"_loadInfo":"{\n  \"connections\": []\n}","wait":0}}] }
2013-11-09 17:38:16,664 DEBUG [agent.manager.AgentManagerImpl] (AgentManager-Handler-8:null) SeqA 11-24096: Sending Seq 11-24096:  { Ans: , MgmtId: 132241039578104, via: 11, Ver: v1, Flags: 100010, [{"AgentControlAnswer":{"result":true,"wait":0}}] }
2013-11-09 17:38:16,733 INFO  [cloud.ha.HighAvailabilityManagerImpl] (HA-2:null) checking health of usage server
2013-11-09 17:38:16,735 DEBUG [cloud.ha.HighAvailabilityManagerImpl] (HA-2:null) usage server running? false, heartbeat: null

论坛徽章:
0
2 [报告]
发表于 2013-11-10 10:42 |只看该作者

只是本着“看贴(虽然看不懂)回贴,利人利己的中华民族优秀传统美德”,顺便赚点积分。
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

北京盛拓优讯信息技术有限公司. 版权所有 京ICP备16024965号-6 北京市公安局海淀分局网监中心备案编号:11010802020122 niuxiaotong@pcpop.com 17352615567
未成年举报专区
中国互联网协会会员  联系我们:huangweiwei@itpub.net
感谢所有关心和支持过ChinaUnix的朋友们 转载本站内容请注明原作者名及出处

清除 Cookies - ChinaUnix - Archiver - WAP - TOP