You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@atlas.apache.org by "Mohana (JIRA)" <ji...@apache.org> on 2015/12/15 07:11:46 UTC

[jira] [Commented] (ATLAS-390) Unable to Deploy VM using Custom Service Offering from application

    [ https://issues.apache.org/jira/browse/ATLAS-390?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15057416#comment-15057416 ] 

Mohana commented on ATLAS-390:
------------------------------

 
Platform :CloudStack 4.6.0. 

ERROR : "unable to verify user credentials and/or request signature"

Request to CloudStack without custom offering through application :

apiKey=lGMCRQI6maiFCDsKuZAHI63u1upxCrUnNrWbXAnUZZE_qyEv7ozK_yNzYvNfXgX5x5mRcedIKynzSyLA5hf8yg&command=deployVirtualMachine&displayname=admin&displayvm=true&domainid=3776269a-949d-11e5-b907-e06995a35804&keyboard=us&name=priya&networkids=7efa5852-7e1f-4a26-9351-00f9d863aa3e&projectid=527ebed8-23f6-4c9f-9ee0-05926b035b1e&response=json&serviceofferingid=cb9fe060-1870-4bd0-8c0e-3980107acce6&templateid=96e753af-5e1a-4bf9-a28a-9f609ee06202&zoneid=af3ed220-7e36-4459-a6ea-9587a18246c0&signature=FU4xL%2FdGsYoihfWdvT%2FPrwwzthQ%3D
This is working fine. 

Request to CloudStack with custom offering  through application :

apiKey=lGMCRQI6maiFCDsKuZAHI63u1upxCrUnNrWbXAnUZZE_qyEv7ozK_yNzYvNfXgX5x5mRcedIKynzSyLA5hf8yg&command=deployVirtualMachine&details%5B0%5D.cpuNumber=3&details%5B0%5D.cpuSpeed=1500&details%5B0%5D.memory=512&hypervisor=KVM&iptonetworklist%5B0%5D.networkid=7efa5852-7e1f-4a26-9351-00f9d863aa3e&response=json&serviceofferingid=a1613485-8cdf-4d84-8b97-8c2695128a2f&templateid=37acb430-949d-11e5-b907-e06995a35804&zoneid=af3ed220-7e36-4459-a6ea-9587a18246c0&signature=FU4xL%2FdGsYoihfWdvT%2FPrwwzthQ%3D

ERROR : "unable to verify user credentials and/or request signature"

Values are mapped same as  CloudStack command string formation.
It is generating same signature for both. Noticed difference  in CloudStack is cpuSpeed and cpuNumber. In  both Speed and Number, first letter in  upper case. During signature generation we will convert all the values to lower case.


> Unable to Deploy VM using Custom Service Offering from application
> ------------------------------------------------------------------
>
>                 Key: ATLAS-390
>                 URL: https://issues.apache.org/jira/browse/ATLAS-390
>             Project: Atlas
>          Issue Type: Bug
>            Reporter: Mohana
>




--
This message was sent by Atlassian JIRA
(v6.3.4#6332)