You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users-cn@cloudstack.apache.org by "aix.niuy" <ai...@gmail.com> on 2014/05/11 15:47:43 UTC
关于 deployVirtualMachine 接口验证失败
hi :
错误描述 User signature xx is not equaled to computed signature: xx
目前测试只有部分接口存在这样的问题,能否给些帮助 感谢!
基于Cloudstack4.3的接口进行自定义计算方案虚机发布的测试,apiKey、secretKey验证其他接口没有问题,但在deployVirtualMachine接口测试的时候报错,新增自定义属性。
vhopts.put("details[0].cpuNumber", "1"); //1 CPU
vhopts.put("details[0].cpuSpeed", "1600"); //1600MHz
vhopts.put("details[0].memory", "512"); //512 momory
2014-05-09 19:08:05,183 DEBUG [c.c.a.ApiServlet] (catalina-exec-20:ctx-620e4924) ===START=== 192.168.5.1 -- GET account=ecloudadmin&apiKey=DXwcS8hIvGnmUH9d2WwiJxRIdYAb-q0pH203T9zcePbfD5ZPeyytW4Zdmkx1rto7JXyh119LhjQBJNgJr07OZA&command=deployVirtualMachine&cpu=1&cpu+speed=1600&domainid=3d229ad6-471d-4c16-8abc-39f6f49dbe0c&hypervisor=KVM&ipaddress=192.168.40.140&memory=512&response=json&securitygroupids=a4097cc7-063e-4a9d-ac55-0f56fe79b343&serviceofferingid=f0d8ec2c-e9c4-4d61-b070-75f2cefd47cd&templateid=da16d527-8839-43ec-aa91-ac87dee1bd92&zoneid=da29754d-c7f8-4979-9e63-efe6a93a00df&signature=xnyf59QNwDPNjTJ%2BKD3rXO4T5pg%3D
2014-05-09 19:08:05,185 INFO [c.c.a.ApiServer] (catalina-exec-20:ctx-620e4924 ctx-72ed2d96) User signature: xnyf59QNwDPNjTJ+KD3rXO4T5pg= is not equaled to computed signature: gIUMEotICS3J+CAsYu0Grh5gnqE=
感谢支持!
2014-05-11
aix.niuy
回复: Re: 关于 deployVirtualMachine 接口验证失败
Posted by "aix.niuy" <ai...@gmail.com>.
好的 感谢
2014-05-13
aix.niuy
发件人:"linuxbqj@gmail.com" <li...@gmail.com>
发送时间:2014-05-12 18:04
主题:Re: 关于 deployVirtualMachine 接口验证失败
收件人:"users-cn"<us...@cloudstack.apache.org>
抄送:
不懂开发,建议发到开发者邮件列表问问。或者建议你先用cloudmonkey试试
2014-05-11 21:47 GMT+08:00 aix.niuy <ai...@gmail.com>:
> hi :
> 错误描述 User signature xx is not equaled to computed signature: xx
> 目前测试只有部分接口存在这样的问题,能否给些帮助 感谢!
> 基于Cloudstack4.3的接口进行自定义计算方案虚机发布的测试,apiKey、secretKey验证其他接口没有问题,但在deployVirtualMachine接口测试的时候报错,新增自定义属性。
> vhopts.put("details[0].cpuNumber", "1"); //1 CPU
> vhopts.put("details[0].cpuSpeed", "1600"); //1600MHz
> vhopts.put("details[0].memory", "512"); //512 momory
>
> 2014-05-09 19:08:05,183 DEBUG [c.c.a.ApiServlet] (catalina-exec-20:ctx-620e4924) ===START=== 192.168.5.1 -- GET account=ecloudadmin&apiKey=DXwcS8hIvGnmUH9d2WwiJxRIdYAb-q0pH203T9zcePbfD5ZPeyytW4Zdmkx1rto7JXyh119LhjQBJNgJr07OZA&command=deployVirtualMachine&cpu=1&cpu+speed=1600&domainid=3d229ad6-471d-4c16-8abc-39f6f49dbe0c&hypervisor=KVM&ipaddress=192.168.40.140&memory=512&response=json&securitygroupids=a4097cc7-063e-4a9d-ac55-0f56fe79b343&serviceofferingid=f0d8ec2c-e9c4-4d61-b070-75f2cefd47cd&templateid=da16d527-8839-43ec-aa91-ac87dee1bd92&zoneid=da29754d-c7f8-4979-9e63-efe6a93a00df&signature=xnyf59QNwDPNjTJ%2BKD3rXO4T5pg%3D
> 2014-05-09 19:08:05,185 INFO [c.c.a.ApiServer] (catalina-exec-20:ctx-620e4924 ctx-72ed2d96) User signature: xnyf59QNwDPNjTJ+KD3rXO4T5pg= is not equaled to computed signature: gIUMEotICS3J+CAsYu0Grh5gnqE=
>
> 感谢支持!
> 2014-05-11
>
>
>
> aix.niuy
--
白清杰 (Born Bai)
北京开源愿景信息技术有限公司
Mail: linuxbqj@gmail.com
Re: 关于 deployVirtualMachine 接口验证失败
Posted by "linuxbqj@gmail.com" <li...@gmail.com>.
不懂开发,建议发到开发者邮件列表问问。或者建议你先用cloudmonkey试试
2014-05-11 21:47 GMT+08:00 aix.niuy <ai...@gmail.com>:
> hi :
> 错误描述 User signature xx is not equaled to computed signature: xx
> 目前测试只有部分接口存在这样的问题,能否给些帮助 感谢!
> 基于Cloudstack4.3的接口进行自定义计算方案虚机发布的测试,apiKey、secretKey验证其他接口没有问题,但在deployVirtualMachine接口测试的时候报错,新增自定义属性。
> vhopts.put("details[0].cpuNumber", "1"); //1 CPU
> vhopts.put("details[0].cpuSpeed", "1600"); //1600MHz
> vhopts.put("details[0].memory", "512"); //512 momory
>
> 2014-05-09 19:08:05,183 DEBUG [c.c.a.ApiServlet] (catalina-exec-20:ctx-620e4924) ===START=== 192.168.5.1 -- GET account=ecloudadmin&apiKey=DXwcS8hIvGnmUH9d2WwiJxRIdYAb-q0pH203T9zcePbfD5ZPeyytW4Zdmkx1rto7JXyh119LhjQBJNgJr07OZA&command=deployVirtualMachine&cpu=1&cpu+speed=1600&domainid=3d229ad6-471d-4c16-8abc-39f6f49dbe0c&hypervisor=KVM&ipaddress=192.168.40.140&memory=512&response=json&securitygroupids=a4097cc7-063e-4a9d-ac55-0f56fe79b343&serviceofferingid=f0d8ec2c-e9c4-4d61-b070-75f2cefd47cd&templateid=da16d527-8839-43ec-aa91-ac87dee1bd92&zoneid=da29754d-c7f8-4979-9e63-efe6a93a00df&signature=xnyf59QNwDPNjTJ%2BKD3rXO4T5pg%3D
> 2014-05-09 19:08:05,185 INFO [c.c.a.ApiServer] (catalina-exec-20:ctx-620e4924 ctx-72ed2d96) User signature: xnyf59QNwDPNjTJ+KD3rXO4T5pg= is not equaled to computed signature: gIUMEotICS3J+CAsYu0Grh5gnqE=
>
> 感谢支持!
> 2014-05-11
>
>
>
> aix.niuy
--
白清杰 (Born Bai)
北京开源愿景信息技术有限公司
Mail: linuxbqj@gmail.com