rmt icon indicating copy to clipboard operation
rmt copied to clipboard

Check LTSS product to verify

Open jesusbv opened this issue 5 months ago • 0 comments

Description

After a non free extension has been activated successfully on a PAYG system, RMT calls ZypperAuth verify_instance method without any other information, the SCC verification of the activation would fail as there is no product info to check against

Adding the product id present in the request params, that way RMT can fetch the product class and verify properly

This Fixes bsc#1230154

  • Related Issue / Ticket / Trello card: 1230154

How to test

  • clean up registration of a PAYG system
  • re-register the instance
  • register a LTSS extension on that registered PAYG instance (i.e. 15.4) -> should work
  • remove LTSS extension
  • register a LTSS extension on that registered PAYG instance -> should work

Change Type

Please select the correct option.

  • [X] Bug Fix (a non-breaking change which fixes an issue)
  • [ ] New Feature (a non-breaking change which adds new functionality)
  • [ ] Documentation Update (a change which only updates documentation)

Checklist

Please check off each item if the requirement is met.

  • [X] I have reviewed my own code and believe that it's ready for an external review.
  • [X] I have provided comments for any hard-to-understand code.
  • [ ] I have documented the MANUAL.md file with any changes to the user experience.
  • [ ] If my changes are non-trivial, I have added a changelog entry to notify users at package/obs/rmt-server.changes.

Review

Please check out our review guidelines and get in touch with the author to get a shared understanding of the change.

jesusbv avatar Sep 04 '24 18:09 jesusbv