Uploaded image for project: 'Qt License server'
  1. Qt License server
  2. QLS-1036

Doesn't fetch the existing reservation when there are multiple licenses

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • P1: Critical
    • 3.2
    • 3.2
    • Server common
    • None
    • 247cd7651 (dev)

    Description

      Recreation steps - 

      Should have similar license a mix of (floating and site) with same consumer and version. 

      1. Request a license (It will create a new reservation)
      2. With same data (payload) request another reservation (expect - It should give the existing reservation). Issue - It will create new reservation from the same license and concurrent number of users are increased. 

      Recreation Steps for License Reservation Issue

      1. Prepare License Setup
        • Ensure that the licenses in use are a mix of floating and site licenses.
        • Verify that the licenses are for the same consumer and version.
      1. Initial License Reservation
        • Request a license using the desired payload.
        • Confirm that a new reservation is created successfully.
      1. Duplicate License Request
        • Using the same payload as the initial request, submit another license reservation request.
        • Expected Behavior: The system should recognize the existing reservation and not create a new one. It should return the existing reservation.
        • Observed Issue: The system creates a new reservation instead of returning the existing one. As a result, the number of concurrent users increases

      Use the attached entitlement.json
       
       
      entitlement.json

      Attachments

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            aswalpit Ashan Walpitage
            aswalpit Ashan Walpitage
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes