[ https://issues.apache.org/jira/browse/CLOUDSTACK-4834?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Rayees Namathponnan closed CLOUDSTACK-4834. ------------------------------------------- Resolution: Fixed not found this issue in latest master > [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 > 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)