You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cloudstack.apache.org by "Amogh Vasekar (JIRA)" <ji...@apache.org> on 2013/07/12 02:05:48 UTC

[jira] [Commented] (CLOUDSTACK-3432) UCS:API: associatesUscProfileToBlade fails with authentication error.

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

Amogh Vasekar commented on CLOUDSTACK-3432:
-------------------------------------------

Works now. Sample response

<?xml version="1.0" encoding="UTF-8"?><associateucsprofiletobladeresponse cloud-stack-version="4.2.0-SNAPSHOT"><ucsblade><id>xxxx</id><ucsmanagerid>xxxx</ucsmanagerid><bladedn>xxxx</bladedn></ucsblade></associateucsprofiletobladeresponse>
                
> 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