Uploaded image for project: 'HipChat'
  1. HipChat
  2. HCPUB-1685

Adding users from external directory fails when using evaluation license

    Details

    • Type: Bug
    • Status: Closed (View Workflow)
    • Priority: Low
    • Resolution: Fixed
    • Affects Version/s: HCS 2.0.4
    • Fix Version/s: None
    • Component/s: Admin issues
    • Labels:
      None
    • Last commented by user?:
      true
    • Symptom Severity:
      Critical
    • Platform:
      HipChat Server

      Description

      Summary

      When using an evaluation license for HipChat Server v2.0.4, adding users from an external user directory fails. The following error is thrown in the /var/log/hipchat/atlassian-crowd.log file:

      2016-09-19 21:00:14,638 hipchat-httpclient-callbacks:thread-219 ERROR [hipchat.sync.crowd.CrowdSyncManager] Failed to create user: HipChatUser{uid=null, external_id={hcs}test.user, email=test.user@exampleserver.com, name=Kerianne Menon, mention_name=null, title=null, timezone=null, is_deleted=false, group_admin=false, roles=[]}
      2016-09-19 21:00:14,638 hipchat-httpclient-callbacks:thread-219 ERROR [hipchat.sync.crowd.CrowdSyncManager] Got HTTP error 400 (Bad Request), with body
      {
        "error": {
          "code": 400,
          "message": "Unable to create user.  You must purchase more licenses in order to add additional users",
          "type": "Bad Request"
        }
      }
      
      
      

      Environment

      • HipChat Server v2.0.4
      • Connected to an external user directory
      • Evaluation license in use

      Steps to Reproduce

      1. Install HipChat Server
      2. Apply an evaluation license
      3. Upgrade to v2.0.4
      4. Integrate with an external user directory containing users that do not currently exist in HipChat Server
      5. Synchronize the directory

      Expected Results

      Users will be added to HipChat Server successfully.

      Actual Results

      The below exception is thrown in the altassian-crowd.log file:

      2016-09-19 21:00:14,638 hipchat-httpclient-callbacks:thread-219 ERROR [hipchat.sync.crowd.CrowdSyncManager] Failed to create user: HipChatUser{uid=null, external_id={hcs}test.user, email=test.user@exampleserver.com, name=Kerianne Menon, mention_name=null, title=null, timezone=null, is_deleted=false, group_admin=false, roles=[]}
       2016-09-19 21:00:14,638 hipchat-httpclient-callbacks:thread-219 ERROR [hipchat.sync.crowd.CrowdSyncManager] Got HTTP error 400 (Bad Request), with body
       {
         "error": {
           "code": 400,
           "message": "Unable to create user.  You must purchase more licenses in order to add additional users",
           "type": "Bad Request"
         }
       }
      

      Workaround

      No workarounds have been identified as this time.

        Attachments

          Issue Links

            Activity

              People

              • Votes:
                0 Vote for this issue
                Watchers:
                4 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:
                  Last commented:
                  41 weeks, 2 days ago