[jira] [Commented] (CLOUDSTACK-6906) [Automation] volume resize test cases failing in BVT

2014-08-04 Thread Alex Brett (JIRA)

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

Alex Brett commented on CLOUDSTACK-6906:


The failure I observe running this in the KVM BVT is:
{noformat}
test_08_resize_volume (integration.smoke.test_volumes.TestVolumes): DEBUG: 
Response : {jobprocstatus : 0, created : u'2014-08-04T11:55:28+', cmd : 
u'org.apache.cloudstack.api.command.admin.volume.ResizeVolumeCmdByAdmin', 
userid : u'cdc58a94-1bbf-11e4-b6e9-6265c6def035', jobstatus : 2, jobid : 
u'd89ab1eb-495b-495a-8eb1-ecd68920eb42', jobresultcode : 530, jobresulttype : 
u'object', jobresult : {errorcode : 530, errortext : u'Job failed due to 
exception Unable to shrink volumes of type QCOW2'}, accountid : 
u'cdc57c66-1bbf-11e4-b6e9-6265c6def035'}
{noformat}

So it appears the test is attempting to shrink a volume, when this isn't 
supported for QCOW2 - should the test be modified not to shrink the volume, or 
do we expect shrink to actually work?

> [Automation] volume resize test cases failing in BVT 
> -
>
> Key: CLOUDSTACK-6906
> URL: https://issues.apache.org/jira/browse/CLOUDSTACK-6906
> Project: CloudStack
>  Issue Type: Test
>  Security Level: Public(Anyone can view this level - this is the 
> default.) 
>  Components: Automation
>Affects Versions: 4.4.0
>Reporter: Rayees Namathponnan
>Assignee: Girish Shilamkar
>Priority: Critical
> Fix For: 4.4.0, 4.5.0
>
>




--
This message was sent by Atlassian JIRA
(v6.2#6252)


[jira] [Commented] (CLOUDSTACK-6906) [Automation] volume resize test cases failing in BVT

2014-06-20 Thread ASF subversion and git services (JIRA)

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

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

Commit ba270efd4b842480482953ec2c4f7641e8ad04ca in cloudstack's branch 
refs/heads/4.4-forward from [~gpshilamkar]
[ https://git-wip-us.apache.org/repos/asf?p=cloudstack.git;h=ba270ef ]

CLOUDSTACK-6906: Fixing volume resize BVT


> [Automation] volume resize test cases failing in BVT 
> -
>
> Key: CLOUDSTACK-6906
> URL: https://issues.apache.org/jira/browse/CLOUDSTACK-6906
> Project: CloudStack
>  Issue Type: Test
>  Security Level: Public(Anyone can view this level - this is the 
> default.) 
>  Components: Automation
>Affects Versions: 4.4.0
>Reporter: Rayees Namathponnan
>Assignee: Girish Shilamkar
>Priority: Critical
> Fix For: 4.4.0, 4.5.0
>
>




--
This message was sent by Atlassian JIRA
(v6.2#6252)


[jira] [Commented] (CLOUDSTACK-6906) [Automation] volume resize test cases failing in BVT

2014-06-20 Thread ASF subversion and git services (JIRA)

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

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

Commit 5638c493ff71766b8ccb74af08aa70c323e87032 in cloudstack's branch 
refs/heads/master from [~gpshilamkar]
[ https://git-wip-us.apache.org/repos/asf?p=cloudstack.git;h=5638c49 ]

CLOUDSTACK-6906: Fixing volume resize BVT


> [Automation] volume resize test cases failing in BVT 
> -
>
> Key: CLOUDSTACK-6906
> URL: https://issues.apache.org/jira/browse/CLOUDSTACK-6906
> Project: CloudStack
>  Issue Type: Test
>  Security Level: Public(Anyone can view this level - this is the 
> default.) 
>  Components: Automation
>Affects Versions: 4.4.0
>Reporter: Rayees Namathponnan
>Assignee: Girish Shilamkar
>Priority: Critical
> Fix For: 4.4.0, 4.5.0
>
>




--
This message was sent by Atlassian JIRA
(v6.2#6252)


[jira] [Commented] (CLOUDSTACK-6906) [Automation] volume resize test cases failing in BVT

2014-06-18 Thread ASF subversion and git services (JIRA)

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

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

Commit 8aea23a4e36559e8113d7bc0427aa950ae8082eb in cloudstack's branch 
refs/heads/4.4-forward from [~gauravaradhye]
[ https://git-wip-us.apache.org/repos/asf?p=cloudstack.git;h=8aea23a ]

 CLOUDSTACK-6906: Fixed volume resize BVT failure


> [Automation] volume resize test cases failing in BVT 
> -
>
> Key: CLOUDSTACK-6906
> URL: https://issues.apache.org/jira/browse/CLOUDSTACK-6906
> Project: CloudStack
>  Issue Type: Test
>  Security Level: Public(Anyone can view this level - this is the 
> default.) 
>  Components: Automation
>Affects Versions: 4.4.0
>Reporter: Rayees Namathponnan
>Priority: Critical
> Fix For: 4.4.0
>
>




--
This message was sent by Atlassian JIRA
(v6.2#6252)


[jira] [Commented] (CLOUDSTACK-6906) [Automation] volume resize test cases failing in BVT

2014-06-18 Thread ASF subversion and git services (JIRA)

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

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

Commit e65b746b346f33fc4f879479f7e45a081e06f90a in cloudstack's branch 
refs/heads/master from [~gauravaradhye]
[ https://git-wip-us.apache.org/repos/asf?p=cloudstack.git;h=e65b746 ]

 CLOUDSTACK-6906: Fixed volume resize BVT failure


> [Automation] volume resize test cases failing in BVT 
> -
>
> Key: CLOUDSTACK-6906
> URL: https://issues.apache.org/jira/browse/CLOUDSTACK-6906
> Project: CloudStack
>  Issue Type: Test
>  Security Level: Public(Anyone can view this level - this is the 
> default.) 
>  Components: Automation
>Affects Versions: 4.4.0
>Reporter: Rayees Namathponnan
>Priority: Critical
> Fix For: 4.4.0
>
>




--
This message was sent by Atlassian JIRA
(v6.2#6252)


[jira] [Commented] (CLOUDSTACK-6906) [Automation] volume resize test cases failing in BVT

2014-06-12 Thread Rayees Namathponnan (JIRA)

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

Rayees Namathponnan commented on CLOUDSTACK-6906:
-

volume test case 
integration.smoke.test_volumes.TestVolumes.test_08_resize_volume  trying resize 
volume without service offering.

if you want to resize volume without service offering , you need to create 
volume with custom diskoffering 

please see the mail from Marcus 

Thanks Marcus, then we need to update volume test cases in our BVT automation 
suite. 

Regards,
Rayees

-Original Message-
From: Marcus [mailto:shadow...@gmail.com]
Sent: Wednesday, June 11, 2014 11:04 PM
To: d...@cloudstack.apache.org
Subject: Re: Resize volume API without service offering failing in 4.4

Service offering is required if current offering is not a 'custom' sized 
offering. That is, if the volume is a locked into a fixed size because of the 
current service offering, the offering needs to be changed to a custom, or to a 
service offering of the desired size.


On Wed, Jun 11, 2014 at 11:39 PM, Rayees Namathponnan < 
rayees.namathpon...@citrix.com> wrote:

> Hi,
>
> I am trying to resize data volume in KVM and Xen, created new data 
> volume with 5 GB and trying to resize to 10 GB.
>
> Followed 4.4 API doc , in this service offering id is not a required 
> field; I am expecting volume should be resized even if we are not 
> passing service offering id, used below API
>
> http://10.xxx.xxx.xxx:8096/?&command=resizeVolume&shrinkok=true
> &size=10&id=f25a958c-48f7-42aa-bb1f-f3749370d064&<
> http://10.xx.xxx.xxx:8096/?&command=resizeVolume&shrinkok=true%20&size
> =10&id=f25a958c-48f7-42aa-bb1f-f3749370d064&
> >
>
> resize volume failed with below error, is service offering id 
> mandatory field in 4.4 ? is there any change in this area ?
>
>
> 2014-06-11 22:36:01,710 DEBUG [o.a.c.f.j.i.AsyncJobManagerImpl]
> (API-Job-Executor-51:ctx-eee5edb4 job-5203) Executing AsyncJobVO 
> {id:5203,
> userId: 1, accountId: 1, instanceType: Volume, instanceId: null, cmd:
> org.apache.cloudstack.api.command.admin.volume.ResizeVolumeCmdByAdmin,
> cmdInfo:
> {"id":"f25a958c-48f7-42aa-bb1f-f3749370d064","ctxDetails":"{\"com.clou
> d.storage.Volume\":710,\"Volume\":\"f25a958c-48f7-42aa-bb1f-f3749370d0
> 64\"}","shrinkok":"true","cmdEventType":"VOLUME.RESIZE","ctxUserId":"1
> ","httpmethod":"GET","uuid":"f25a958c-48f7-42aa-bb1f-f3749370d064","ct
> xAccountId":"1","ctxStartEventId":"15109","size":"10"},
> cmdVersion: 0, status: IN_PROGRESS, processStatus: 0, resultCode: 0,
> result: null, initMsid: 29066118877352, completeMsid: null, lastUpdated:
> null, lastPolled: null, created: null}
> 2014-06-11 22:36:01,718 DEBUG [o.a.c.f.j.i.AsyncJobManagerImpl]
> (ApiServer-6:ctx-b68d99d4 ctx-5a82aa93) submit async job-5203, details:
> AsyncJobVO {id:5203, userId: 1, accountId: 1, instanceType: Volume,
> instanceId: null, cmd:
> org.apache.cloudstack.api.command.admin.volume.ResizeVolumeCmdByAdmin,
> cmdInfo:
> {"id":"f25a958c-48f7-42aa-bb1f-f3749370d064","ctxDetails":"{\"com.clou
> d.storage.Volume\":710,\"Volume\":\"f25a958c-48f7-42aa-bb1f-f3749370d0
> 64\"}","shrinkok":"true","cmdEventType":"VOLUME.RESIZE","ctxUserId":"1
> ","httpmethod":"GET","uuid":"f25a958c-48f7-42aa-bb1f-f3749370d064","ct
> xAccountId":"1","ctxStartEventId":"15109","size":"10"},
> cmdVersion: 0, status: IN_PROGRESS, processStatus: 0, resultCode: 0,
> result: null, initMsid: 29066118877352, completeMsid: null, lastUpdated:
> null, lastPolled: null, created: null}
> 2014-06-11 22:36:01,721 WARN  [c.c.a.d.ParamGenericValidationWorker]
> (API-Job-Executor-51:ctx-eee5edb4 job-5203 ctx-2e64d0b5) Received 
> unknown parameters for command resizeVolume. Unknown parameters :
> ctxdetails
> 2014-06-11 22:36:01,756 ERROR [c.c.a.ApiAsyncJobDispatcher]
> (API-Job-Executor-51:ctx-eee5edb4 job-5203) Unexpected exception while 
> executing 
> org.apache.cloudstack.api.command.admin.volume.ResizeVolumeCmdByAdmin
> com.cloud.exception.InvalidParameterValueException: current offering4 
> cannot be resized, need to specify a disk offering
> at
> com.cloud.storage.VolumeApiServiceImpl.resizeVolume(VolumeApiServiceImpl.java:724)
> at
> com.cloud.storage.VolumeApiServiceImpl.resizeVolume(VolumeApiServiceImpl.java:148)
> 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:606)
> at
> org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:317)
> at
> org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:183)
> at
> org.springframework.