cloudstack-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "ASF subversion and git services (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (CLOUDSTACK-9229) Autoscale policy creation failing in VPC due to zoneid missing in createAutoScaleVmProfile
Date Wed, 20 Jan 2016 21:40:40 GMT

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

ASF subversion and git services commented on CLOUDSTACK-9229:
-------------------------------------------------------------

Commit 8e778151e1cc6064ea46b457be266a8ec3afc7d7 in cloudstack's branch refs/heads/master from
[~nitin.maharana]
[ https://git-wip-us.apache.org/repos/asf?p=cloudstack.git;h=8e77815 ]

CLOUDSTACK-9229: Autoscale policy creation failing in VPC due to zoneid missing in createAutoScaleVmProfile

Added a conditon to check whether the zoneid in networks is undefined,
If that is undefined, it gets the zoneid from ipaddresses argument.
Fixed a localization issue.


> Autoscale policy creation failing in VPC due to zoneid missing in createAutoScaleVmProfile
> ------------------------------------------------------------------------------------------
>
>                 Key: CLOUDSTACK-9229
>                 URL: https://issues.apache.org/jira/browse/CLOUDSTACK-9229
>             Project: CloudStack
>          Issue Type: Bug
>      Security Level: Public(Anyone can view this level - this is the default.) 
>            Reporter: Nitin Kumar Maharana
>
> Autoscale policy creation is failing on VPC while creating autoscalevmprofile since zoneid
parameter is missing.
> Steps to Reproduce:
> ================
> 1. Create VPC Network offering with NS as service provider for LB
> 2. Create VPC using offering which has NetScaler as LB provider
> 3. Add a tier using the network offering created in Step1
> 4. Launch a VM
> 5. Acquire a public IP
> 6. Create an auto scale policy with all required parameters on an LB rule
> Result
> =====
> Fails during autoscalevmprofile creation with the following error:
> 2015-12-30 12:17:45,243 DEBUG [c.c.a.ApiServlet] (catalina-exec-10:ctx-58bcf6cf) (logid:ae6742c8)
===START===  10.144.7.6 -- GET  command=createAutoScaleVmProfile&response=json&serviceofferingid=05ac866f-604c-43e2-a48b-47e83ef7c4f1&templateid=3cdd83c4-ad27-11e5-9eaf-42407779c24b&destroyvmgraceperiod=30&counterparam%5B0%5D.name=snmpcommunity&counterparam%5B0%5D.value=public&counterparam%5B1%5D.name=snmpport&counterparam%5B1%5D.value=161&_=1451458073663
> 2015-12-30 12:17:45,248 DEBUG [o.a.c.a.BaseCmd] (catalina-exec-10:ctx-58bcf6cf ctx-f5123e30)
(logid:ae6742c8) Ignoring paremeter fordisplay as the caller is not authorized to pass it
in
> 2015-12-30 12:17:45,248 INFO  [c.c.a.ApiServer] (catalina-exec-10:ctx-58bcf6cf ctx-f5123e30)
(logid:ae6742c8) Unable to execute API command autoscalevmprofile due to missing parameter
zoneid
> Expected Result
> =============
> Autoscale policy creation should be successful and the "min" number of VMs specified
in the policy should be deployed.
> Following should be the params for autoscalevmprofile creation:
> command=createAutoScaleVmProfile&response=json&zoneid=0b43fff3-c069-417b-ac0c-e4dc46b407ea&serviceofferingid=0
> 5ac866f-604c-43e2-a48b-47e83ef7c4f1&templateid=3cdd83c4-ad27-11e5-9eaf-42407779c24b&destroyvmgraceperiod=30&counterparam%5B0%5D
> .name=snmpcommunity&counterparam%5B0%5D.value=public&counterparam%5B1%5D.name=snmpport&counterparam%5B1%5D.value=161



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message