[ 
https://issues.apache.org/jira/browse/CLOUDSTACK-3432?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

angeline shen reopened CLOUDSTACK-3432:
---------------------------------------


build   CloudPlatform-4.2-316-rhel6.3.tar.gz

http://10.223.195.117:8080/client/api?command=associateUcsProfileToBlade&response=json&sessionkey=qgB4f%2BUVDmNI1EgH8dbUFFNA6U0%3D&ucsmanagerid=e17249fa-edfe-460c-a6e5-67e539976789&profiledn=org-root%2Fls-profile-for-blade-1&bladeid=abc01993-7959-4392-8a68-5737a855c1f5&_=1375408154784

{ "queryasyncjobresultresponse" : 
{"accountid":"9aecb35c-fb01-11e2-bb0a-06f804000713","userid":"9aed2454-fb01-11e2-bb0a-06f804000713","cmd":"org.apache.cloudstack.api.AssociateUcsProfileToBladeCmd","jobstatus":2,"jobprocstatus":0,"jobresultcode":530,"jobresulttype":"object","jobresult":{"errorcode":530,"errortext":"ucs
 call failed:\nsubmitted doc:<lsClone 
cookie=\"1375407749/6142af6f-192d-4c6c-abba-e47ef9947bb2\" 
inHierarchical=\"false\" inServerName=\"profile-for-blade-1\" 
inTargetOrg=\"org-root\" dn=\"org-root/ls-profile-for-blade-1\" />\nresponse: 
<lsClone dn=\"org-root/ls-profile-for-blade-1\" 
cookie=\"1375407749/6142af6f-192d-4c6c-abba-e47ef9947bb2\" response=\"yes\" 
errorCode=\"103\" invocationResult=\"unidentified-fail\" errorDescr=\"Cannot 
create; object already exists.\"> 
</lsClone>\n"},"created":"2013-08-01T18:39:06-0700","jobid":"1af9cb5c-4912-4a13-880c-0799d3c5f032"}
 }

http://10.223.195.117:8080/client/api?command=associateUcsProfileToBlade&response=json&sessionkey=qgB4f%2BUVDmNI1EgH8dbUFFNA6U0%3D&ucsmanagerid=e17249fa-edfe-460c-a6e5-67e539976789&profiledn=org-root%2Fls-simpleProfile&bladeid=0c7ddb4b-f6fa-459a-9c94-5bb9b02bf7fb&_=1375408711111
{ "queryasyncjobresultresponse" : 
{"accountid":"9aecb35c-fb01-11e2-bb0a-06f804000713","userid":"9aed2454-fb01-11e2-bb0a-06f804000713","cmd":"org.apache.cloudstack.api.AssociateUcsProfileToBladeCmd","jobstatus":2,"jobprocstatus":0,"jobresultcode":530,"jobresulttype":"object","jobresult":{"errorcode":530,"errortext":"ucs
 call failed:\nsubmitted doc:<lsClone 
cookie=\"1375408478/ee0e5b7b-1440-417c-a7bc-4658009963b8\" 
inHierarchical=\"false\" inServerName=\"profile-for-blade-4\" 
inTargetOrg=\"org-root\" dn=\"org-root/ls-simpleProfile\" />\nresponse: 
<lsClone dn=\"org-root/ls-simpleProfile\" 
cookie=\"1375408478/ee0e5b7b-1440-417c-a7bc-4658009963b8\" response=\"yes\" 
errorCode=\"103\" invocationResult=\"unidentified-fail\" errorDescr=\"Cannot 
create; object already exists.\"> 
</lsClone>\n"},"created":"2013-08-01T18:48:22-0700","jobid":"17196ddd-282a-470b-8c74-7cf6ffbf7d44"}
 }


                
> UCS:API: associatesUscProfileToBlade fails with authentication error.
> ---------------------------------------------------------------------
>
>                 Key: CLOUDSTACK-3432
>                 URL: https://issues.apache.org/jira/browse/CLOUDSTACK-3432
>             Project: CloudStack
>          Issue Type: Bug
>      Security Level: Public(Anyone can view this level - this is the 
> default.) 
>          Components: API
>    Affects Versions: 4.2.0
>         Environment: Master with UCS and Baremetal
>            Reporter: Parth Jagirdar
>            Assignee: Amogh Vasekar
>            Priority: Blocker
>
> associatesUscProfileToBlade fails with authentication error.
> Refer to request and response below.
> Request is 
> http://10.223.132.160:8080/client/api?command=associatesUcsProfileToBlade&ucsmanagerid=14&profiledn=org-root/ls-UCS_Testing&bladeid=26&response=json&sessionkey=AgmkzfbrMK3YEVyj1qPahEtaPk4%3D&fetchLatest=false&sortBy=usage&page=0&pagesize=8&_=1373411256093
> Response is
> { "associateucsprofiletobladeresponse" : 
> {"uuidList":[],"errorcode":530,"cserrorcode":9999,"errortext":"ucs call 
> failed:\nsubmitted doc:<configConfMos 
> inHierarchical=\"true\"><inConfigs><pair 
> key=\"org-root/ls-profile-for-blade-26\"><lsServer 
> statsPolicyName=\"default\" mgmtFwPolicyName=\"\" status=\"\" 
> dynamicConPolicyName=\"\" usrLbl=\"\" hostFwPolicyName=\"\" 
> vconProfileName=\"\" agentPolicyName=\"\" biosProfileName=\"\" 
> powerPolicyName=\"\" extIPState=\"none\" scrubPolicyName=\"\" 
> localDiskPolicyName=\"\" mgmtAccessPolicyName=\"\" identPoolName=\"\" 
> solPolicyName=\"\" bootPolicyName=\"\" srcTemplName=\"\" uuid=\"\" 
> dn=\"org-root/ls-profile-for-blade-26\" descr=\"\" 
> maintPolicyName=\"\"><lsBinding rn=\"pn\" restrictMigration=\"no\" 
> pnDn=\"sys/chassis-1/blade-2\" 
> /></lsServer></pair></inConfigs></configConfMos>\nresponse: <configConfMos 
> cookie=\"\" response=\"yes\" errorCode=\"552\" 
> invocationResult=\"service-unavailable\" errorDescr=\"Authorization 
> required\"> </configConfMos>\n"} }
> is cookie missing?

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Reply via email to