Skip to content

[RFE] Return error message with better product differentiation errors #29

Description

@mallardduck

Issue

When a user enters a SUSE RegCode for a different Product the error code simply says: "Invalid Reg Code". This is a vague error which via feedback from QA was requested to be improved.

To understand the vague error the user will have to execute a number of steps to go from the Registration with the error back to understanding where the issue started. This takes quite a bit of context unwinding and the process may not be the users first instincts. It would involve:

  1. Finding the Registration with an error,
  2. Looking up the Registration object's RegCode Secret,
  3. Login to SCC,
  4. Go to their Products page,
  5. Find the code they entered on that list,
  6. Review what Products that code includes
  7. Find the correct Rancher covering RegCode

Solution

If possible we could try to "lookup" the product type of a code and use that do provide additional error context.
If we had that info, then we could make the error specifically say "The reg code provided is for X and doesn't cover Rancher". The SCC team explained the APIs for this already exist.

Metadata

Metadata

Labels

No labels
No labels

Type

No type

Fields

No fields configured for issues without a type.

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions