[
https://issues.apache.org/jira/browse/CLOUDSTACK-4834?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13797736#comment-13797736
]
Gaurav Aradhye commented on CLOUDSTACK-4834:
--------------------------------------------
Could not reproduce. I also tried adding volume from UI. Operation succeeded.
Log:
test_01_create_volume (test_volumes.TestCreateVolume)
Test Volume creation for all Disk Offerings (incl. custom) ... ok
test_02_attach_volume (test_volumes.TestVolumes)
Attach a created Volume to a Running VM ... ok
test_03_download_attached_volume (test_volumes.TestVolumes)
Download a Volume attached to a VM ... ok
test_04_delete_attached_volume (test_volumes.TestVolumes)
Delete a Volume attached to a VM ... ok
test_05_detach_volume (test_volumes.TestVolumes)
Detach a Volume attached to a VM ... ok
test_06_download_detached_volume (test_volumes.TestVolumes)
Download a Volume unattached to an VM ... ok
test_07_resize_fail (test_volumes.TestVolumes)
Test resize (negative) non-existent volume ... ok
test_08_resize_volume (test_volumes.TestVolumes)
Test resize a volume ... ok
test_09_delete_detached_volume (test_volumes.TestVolumes)
Delete a Volume unattached to an VM ... ok
----------------------------------------------------------------------
Ran 9 tests in 1196.089s
OK
> [Automation] Failed to create volume; failed with error "Invalid parameter
> diskofferingid value"
> ------------------------------------------------------------------------------------------------
>
> Key: CLOUDSTACK-4834
> URL: https://issues.apache.org/jira/browse/CLOUDSTACK-4834
> Project: CloudStack
> Issue Type: Bug
> Security Level: Public(Anyone can view this level - this is the
> default.)
> Components: Volumes
> Affects Versions: 4.3.0
> Environment: KVM
> Branch Master
> Reporter: Rayees Namathponnan
> Assignee: Gaurav Aradhye
> Priority: Blocker
> Fix For: 4.3.0
>
> Attachments: CLOUDSTACK-4834.rar
>
>
> Volume test cases from BVT suite failed, test cases failed while adding new
> volume;
> i tried to new volume from UI, its failed with error
> Unable to execute API command createvolume due to invalid value. Invalid
> parameter diskofferingid value=7c5f301b-69b3-43f4-a5b8-8acb356c5e3f due to
> incorrect long value format, or entity does not exist or due to incorrect
> parameter annotation for the field in api cmd class
> Test case creating with API, observed below error in log
> Execute cmd: createvolume failed, due to: errorCode: 431, errorText:volume
> size 1073741824, but the maximum size allowed is 0 Gb
> Log from MS log
> --------------------
> 2013-10-07 12:34:58,564 DEBUG [c.c.a.ApiServlet]
> (catalina-exec-5:ctx-6b44eb58) ===START=== 10.223.240.194 -- GET
> account=test-resource_details-TestResourceDetail-IMWBHV&domainid=34f66d20-2f83-11e3-a447-1a6f7bb0d0a8&name=ndm&zoneid=79
> ed0a9e-469c-460d-b674-0a2944e5d557&apiKey=ylSEBq6mjjv1nOqm2lsFI-uBAbDbeUuX2mOIUslHLFH62Vmgl2E5scxr5lUaJ8lkZ4qJ24Mg7mY6tMgsDv6CTw&command=createVolume&signature=8ySmF7tiGjJaxpZwKs5iPXLo%2FtU%3D&diskofferingid=aeeb298c-4d10-4bab-ba13-ad67
> f2dc026c&response=json
> 2013-10-07 12:34:58,629 INFO [c.c.a.ApiServer] (catalina-exec-5:ctx-6b44eb58
> ctx-3e806b15 ctx-60ef7e57) volume size 1073741824, but the maximum size
> allowed is 0 Gb.
> 2013-10-07 12:34:58,637 DEBUG [c.c.a.ApiServlet]
> (catalina-exec-5:ctx-6b44eb58 ctx-3e806b15 ctx-60ef7e57) ===END===
> 10.223.240.194 -- GET
> account=test-resource_details-TestResourceDetail-IMWBHV&domainid=34f66d20-2f83-11e3-a447-1a6f7bb0d0a8&name=ndm&zoneid=79ed0a9e-469c-460d-b674-0a2944e5d557&apiKey=ylSEBq6mjjv1nOqm2lsFI-uBAbDbeUuX2mOIUslHLFH62Vmgl2E5scxr5lUaJ8lkZ4qJ24Mg7mY6tMgsDv6CTw&command=createVolume&signature=8ySmF7tiGjJaxpZwKs5iPXLo%2FtU%3D&diskofferingid=aeeb298c-4d10-4bab-ba13-ad67f2dc026c&response=json
> Attached MS log with defect
--
This message was sent by Atlassian JIRA
(v6.1#6144)