[ https://issues.apache.org/jira/browse/CLOUDSTACK-3432?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Amogh Vasekar reassigned CLOUDSTACK-3432: ----------------------------------------- Assignee: Amogh Vasekar > 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