You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cloudstack.apache.org by "Sowmya Krishnan (JIRA)" <ji...@apache.org> on 2013/07/11 13:19:47 UTC

[jira] [Commented] (CLOUDSTACK-3475) [Autoscale] [VPC] [UI] Autoscale configuration fails with "Tier is required" within a VPC with NS as external LB provider

    [ https://issues.apache.org/jira/browse/CLOUDSTACK-3475?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13705710#comment-13705710 ] 

Sowmya Krishnan commented on CLOUDSTACK-3475:
---------------------------------------------

Also, Tier is selected before configuring autoscale.
                
> [Autoscale] [VPC] [UI] Autoscale configuration fails with "Tier is required" within a VPC with NS as external LB provider
> -------------------------------------------------------------------------------------------------------------------------
>
>                 Key: CLOUDSTACK-3475
>                 URL: https://issues.apache.org/jira/browse/CLOUDSTACK-3475
>             Project: CloudStack
>          Issue Type: Bug
>      Security Level: Public(Anyone can view this level - this is the default.) 
>          Components: Management Server
>    Affects Versions: 4.2.0
>         Environment: 4.2 branch, NS as external provider, Xen Server 6.1
>            Reporter: Sowmya Krishnan
>            Priority: Critical
>             Fix For: 4.2.0
>
>
> Autoscale configuration is failing from within a VPC while it succeeds outside VPC in a normal isolated guest network.
> Steps: (From UI)
> =====
> Add a Netscaler as dedicated device
> Create VPC with public lb enabled
> Create a network offering with with Nestcaler as public lb provider
> Create network tier within VPC with the above offering
> Acquire Public IP
> Configure autoscale LB rule with the public IP
> Result
> =====
> Fails after creation of AutoScaleVmProfile with the error message "Tier is required"
> I tried created an autoscale configuration with similar settings from outside a VPC and it goes through fine.
> Logs show the following exception after creation of autoscale vm profile, but I am not sure if that's the cause:
> 2013-07-11 16:36:01,058 DEBUG [cloud.async.AsyncJobManagerImpl] (Job-Executor-35:job-87) Done executing org.apache.cloudstack.api.command.user.autoscale.Crea
> teAutoScaleVmProfileCmd for job-87
> 2013-07-11 16:36:04,125 DEBUG [cloud.api.ApiServlet] (catalina-exec-11:null) ===START===  10.151.138.80 -- GET  command=queryAsyncJobResult&jobId=f531d132-c1
> cf-4395-a75a-9409589ea6f9&response=json&sessionkey=XcsJytPG7p62G7AKK1WBQerdmgM%3D&_=1373540582818
> 2013-07-11 16:36:04,139 DEBUG [cloud.async.AsyncJobManagerImpl] (catalina-exec-11:null) Async job-87 completed
> 2013-07-11 16:36:04,144 DEBUG [cloud.api.ApiServlet] (catalina-exec-11:null) ===END===  10.151.138.80 -- GET  command=queryAsyncJobResult&jobId=f531d132-c1cf
> -4395-a75a-9409589ea6f9&response=json&sessionkey=XcsJytPG7p62G7AKK1WBQerdmgM%3D&_=1373540582818
> 2013-07-11 16:36:09,042 DEBUG [agent.manager.AgentManagerImpl] (AgentManager-Handler-9:null) SeqA 4-11096: Processing Seq 4-11096:  { Cmd , MgmtId: -1, via:
> 4, Ver: v1, Flags: 11, [{"ConsoleProxyLoadReportCommand":{"_proxyVmId":2,"_loadInfo":"{\n  \"connections\": []\n}","wait":0}}] }
> 2013-07-11 16:36:09,047 DEBUG [agent.manager.AgentManagerImpl] (AgentManager-Handler-9:null) SeqA 4-11096: Sending Seq 4-11096:  { Ans: , MgmtId: 22277152361
> 7711, via: 4, Ver: v1, Flags: 100010, [{"AgentControlAnswer":{"result":true,"wait":0}}] }
> 2013-07-11 16:36:13,201 DEBUG [agent.manager.AgentManagerImpl] (AgentManager-Handler-10:null) Ping from 3
> 2013-07-11 16:36:18,276 DEBUG [cloud.user.AccountManagerImpl] (AgentConnectTaskPool-58:null) Access granted to Acct[1-system] to Domain:1/ by DomainChecker_E
> nhancerByCloudStack_7ca779c
> 2013-07-11 16:36:18,281 ERROR [agent.manager.AgentManagerImpl] (AgentConnectTaskPool-58:null) Monitor DownloadListener says there is an error in the connect
> process for 3 due to null
> java.lang.NumberFormatException: null
>         at java.lang.Long.parseLong(Long.java:401)
>         at java.lang.Long.parseLong(Long.java:478)
>         at com.cloud.utils.UriUtils.getRemoteSize(UriUtils.java:95)
>         at com.cloud.storage.download.DownloadMonitorImpl.handleTemplateSync(DownloadMonitorImpl.java:887)
>         at com.cloud.storage.download.DownloadMonitorImpl.handleSync(DownloadMonitorImpl.java:648)
>         at com.cloud.storage.download.DownloadListener.processConnect(DownloadListener.java:439)
>         at com.cloud.agent.manager.AgentManagerImpl.notifyMonitorsOfConnection(AgentManagerImpl.java:614)
>         at com.cloud.agent.manager.AgentManagerImpl.handleConnectedAgent(AgentManagerImpl.java:1114)
>         at com.cloud.agent.manager.AgentManagerImpl.access$100(AgentManagerImpl.java:148)
>         at com.cloud.agent.manager.AgentManagerImpl$HandleAgentConnectTask.run(AgentManagerImpl.java:1189)
>         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)
> 2013-07-11 16:36:18,287 INFO  [agent.manager.AgentManagerImpl] (AgentConnectTaskPool-58:null) Host 3 is disconnecting with event AgentDisconnected
> 2013-07-11 16:36:18,289 DEBUG [agent.manager.AgentManagerImpl] (AgentConnectTaskPool-58:null) The next status of agent 3is Alert, current status is Connecting
> I found similar exceptions during autoscale creation from outside VPC too.. but it went through fine.
> Firebug logs just before it failed:
> { "autoscalevmprofileresponse" : {"id":"952010ab-e855-40e2-9d89-b41430a4d1f8","jobid":"f531d132-c1cf-4395-a75a-9409589ea6f9"} }
> { "queryasyncjobresultresponse" : {"accountid":"bc0e4124-e93e-11e2-b5cd-ca9c098803af","userid":"bc0ea25e-e93e-11e2-b5cd-ca9c098803af","cmd":"org.apache.cloudstack.api.command.user.autoscale.CreateAutoScaleVmProfileCmd","jobstatus":1,"jobprocstatus":0,"jobresultcode":0,"jobresulttype":"object","jobresult":{"autoscalevmprofile":{"id":"952010ab-e855-40e2-9d89-b41430a4d1f8","zoneid":"2e15553c-0639-4304-823c-363354987b46","serviceofferingid":"865ec786-ed7d-4e45-9af7-82b0d81661d0","templateid":"99619089-6570-4a4c-bfd3-fa6031a59ce3","destroyvmgraceperiod":30,"counterparam":{"snmpport":"161","snmpcommunity":"public"},"autoscaleuserid":"bc0ea25e-e93e-11e2-b5cd-ca9c098803af","account":"admin","domainid":"9468b79e-e93e-11e2-b5cd-ca9c098803af","domain":"ROOT"}},"created":"2013-07-11T16:36:01+0530","jobid":"f531d132-c1cf-4395-a75a-9409589ea6f9"} }

--
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