action #112151
closedUse yast2 registration instead of SUSEConnect in YaST MU
Description
Motivation¶
Solve sporadic failures like this one when using SUSEConnect command line tool.
Instead of implementing a retry for each single command like it has been done in other places specifically for registration, we should focus in YaST scope for testing and stop using the command line tool and extend testing a bit with the YaST module.
Scope¶
All products in maintenance:
https://openqa.suse.de/tests/overview?arch=&flavor=&machine=&test=&modules=yast2_registration&module_re=&distri=sle&build=20220607-1&groupid=421#
Acceptance criteria¶
AC1: Use only YaST module yast2 registration
to re-register the system and verification of the registration.
AC2: Unschedule next test module console/suseconnect
Suggestions¶
Instead of using the command line tool to clean up the registration at the beginning, we can use the option of the YaST Module 'Register again'.
As you could notice, switching off networking in an installed system and calling yast2 registration
troughs an error, which mean that internally is connecting to the server in similar way that the command line tool would do. Therefore the final verification of the current installed product modules can also be done reopening the yast module again.
Discard libyui REST for now as the goal is just stabilize and probably this would require no much code and a couple of needles (one at the beginning, one at the end) per each product, in other words, it should be cheap to do it in theory.
Updated by JERiveraMoya over 2 years ago
- Tags deleted (
qe-yast-refinement) - Status changed from New to Workable
Updated by geor over 2 years ago
- Status changed from Workable to In Progress
- Assignee set to geor
Updated by geor over 2 years ago
Updated by JERiveraMoya over 2 years ago
- Status changed from In Progress to Feedback
Updated by JERiveraMoya over 2 years ago
- Status changed from Feedback to In Progress
Updated by geor over 2 years ago
- Status changed from In Progress to Closed
- % Done changed from 0 to 100
Updated by geor over 2 years ago
- Status changed from Closed to In Progress
PR merged, will keep an eye on consequent runs.