用于mountimage和prepimage的IBM VDP Rest API无法正常工作

问题描述

我正在尝试使用以下代码连接到IBM VDP并执行Mountimage coomand:

    sourceImageName="Image_0404502";
    RequestSpecification httpRequest = RestAssured.given().relaxedHTTPSValidation();
    
    Response response = httpRequest.request(Method.GET,"/actifio/api/task/mountimage?image=" + sourceImageName
            + "&host=EST-VDP&allvolumes=true&exportedname=mountimageExportedname"+randomNumber+"&label=apimountdb" + randomNumber + "&sessionid=" + sessionID);

    String responseBody = response.getBody().asstring();

我得到以下结果作为响应:

Response Body is => {"errormessage":"Invalid request","errorcode":10017}

任何人都可以帮助我理解为什么会发生这种情况吗?

注意:我能够成功登录,mkslt,mksla等。仅在挂载Image和prepimage时,我对如何解决此问题一无所知。

解决方法

暂无找到可以解决该程序问题的有效方法,小编努力寻找整理中!

如果你已经找到好的解决方法,欢迎将解决方案带上本链接一起发送给小编。

小编邮箱:dio#foxmail.com (将#修改为@)