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

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

Parth Jagirdar created CLOUDSTACK-3432:
------------------------------------------

             Summary: 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
            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