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:
- Finding the Registration with an error,
- Looking up the Registration object's RegCode Secret,
- Login to SCC,
- Go to their Products page,
- Find the code they entered on that list,
- Review what Products that code includes
- 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.
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:
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.