Uploaded image for project: 'CloudStack'
  1. CloudStack
  2. CLOUDSTACK-5865

Unable to use login API if domainId parameter is id and not uuid

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 4.3.0
    • 4.4.0
    • API
    • Security Level: Public (Anyone can view this level - this is the default.)
    • None

    Description

      Unable to use login API with if domainId parameter is id and not uuid.

      http://<mgmt-server-ip>:8080/client/api?command=login&username=user1&domainid=1&apikey=<apiKey>&signature=signature>"

      API log
      --------
      2013-11-18 13:33:17,263 INFO [cloud.api.ApiServer] (catalina-exec-1:null) 10.9.159.4 – GET command=login unknown exception writing api response

      Login is successful when the format is changed for domain id parameter in the API call from id format to UUID format.

      Attachments

        Activity

          People

            likithas Likitha Shetty
            likithas Likitha Shetty
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: