[ https://issues.apache.org/jira/browse/CLOUDSTACK-6867?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Abhinav Roy closed CLOUDSTACK-6867. ----------------------------------- Closing the issue after fix validation > [Hyper-V][UI] No option to upload a volume with .vhdx format > ------------------------------------------------------------ > > Key: CLOUDSTACK-6867 > URL: https://issues.apache.org/jira/browse/CLOUDSTACK-6867 > Project: CloudStack > Issue Type: Bug > Security Level: Public(Anyone can view this level - this is the > default.) > Components: UI > Affects Versions: 4.4.0 > Environment: Hyper-V > Reporter: Abhinav Roy > Assignee: Anshul Gangwar > Priority: Critical > Labels: hyper-V,, hyper-v, hyperv > Fix For: 4.4.0 > > Attachments: CS-6867.jpg > > > Steps : > =================== > 1. Deploy a advanced zone hyperv setup. > 2. Try to upload a volume with .vhdx format > There is no option in the UI to upload .vhdx format volumes, only vhd is > there > 3. Try to upload the .vhdx volume by selecting the format as .vhd > Then we get this error > 2014-06-09 13:23:28,381 ERROR [c.c.a.ApiAsyncJobDispatcher] > (API-Job-Executor-9:ctx-c149c622 job-84) Unexpected exception while executing > org.apache.cloudstack.api.command.admin.volume.UploadVolumeCmdByAdmin > com.cloud.exception.InvalidParameterValueException: Please specify a valid > URL. URL:http://10.144.7.13/upload-data.vhdx is an invalid for the format vhd > at > com.cloud.storage.VolumeApiServiceImpl.validateVolume(VolumeApiServiceImpl.java:314) > at > com.cloud.storage.VolumeApiServiceImpl.uploadVolume(VolumeApiServiceImpl.java:252) > at > com.cloud.storage.VolumeApiServiceImpl.uploadVolume(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:601) > at > org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:317) > at > org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:183) > at > org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:150) > at > org.apache.cloudstack.network.contrail.management.EventUtils$EventInterceptor.invoke(EventUtils.java:106) > at > org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:161) > at > com.cloud.event.ActionEventInterceptor.invoke(ActionEventInterceptor.java:51) > at > org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:161) > at > org.springframework.aop.interceptor.ExposeInvocationInterceptor.invoke(ExposeInvocationInterceptor.java:91) > at > org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172) > at > org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:204) > at $Proxy181.uploadVolume(Unknown Source) > at > org.apache.cloudstack.api.command.admin.volume.UploadVolumeCmdByAdmin.execute(UploadVolumeCmdByAdmin.java:46) > at com.cloud.api.ApiDispatcher.dispatch(ApiDispatcher.java:141) > at > com.cloud.api.ApiAsyncJobDispatcher.runJob(ApiAsyncJobDispatcher.java:108) > at > org.apache.cloudstack.framework.jobs.impl.AsyncJobManagerImpl$5.runInContext(AsyncJobManagerImpl.java:503) > at > org.apache.cloudstack.managed.context.ManagedContextRunnable$1.run(ManagedContextRunnable.java:49) > at > org.apache.cloudstack.managed.context.impl.DefaultManagedContext$1.call(DefaultManagedContext.java:56) > at > org.apache.cloudstack.managed.context.impl.DefaultManagedContext.callWithContext(DefaultManagedContext.java:103) > at > org.apache.cloudstack.managed.context.impl.DefaultManagedContext.runWithContext(DefaultManagedContext.java:53) > at > org.apache.cloudstack.managed.context.ManagedContextRunnable.run(ManagedContextRunnable.java:46) > at > org.apache.cloudstack.framework.jobs.impl.AsyncJobManagerImpl$5.run(AsyncJobManagerImpl.java:460) > at > java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471) > at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:334) > at java.util.concurrent.FutureTask.run(FutureTask.java:166) > 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:722) > 2014-06-09 13:23:28,384 DEBUG [o.a.c.f.j.i.AsyncJobManagerImpl] > (API-Job-Executor-9:ctx-c149c622 job-84) Complete async job-84, jobStatus: > FAILED, resultCode: 530, result: > org.apache.cloudstack.api.response.ExceptionResponse/null/{"uuidList":[],"errorcode":530,"errortext":"Please > specify a valid URL. URL:http://10.144.7.13/upload-data.vhdx is an invalid > for the format vhd"} -- This message was sent by Atlassian JIRA (v6.2#6252)