-
Notifications
You must be signed in to change notification settings - Fork 280
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Log out after system is registered #20712
base: master
Are you sure you want to change the base?
Conversation
pdostal
commented
Nov 29, 2024
•
edited
Loading
edited
- Related ticket: poo#170356
- Verification run: SLES, SAP
Great PR! Please pay attention to the following items before merging: Files matching
This is an automatically generated QA checklist based on modified files. |
I think some other different types of VRs are needed here, like SAP too 🙂. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
@@ -116,6 +116,7 @@ sub registercloudguest { | |||
# Check what version of registercloudguest binary we use | |||
$instance->ssh_script_run(cmd => "rpm -qa cloud-regionsrv-client"); | |||
$instance->ssh_script_retry(cmd => "sudo $suseconnect -r $regcode", timeout => 420, retry => 3, delay => 120); | |||
assert_script_run('ssh -O exit ' . $instance->username . '@' . $instance->public_ip); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think we need to do this on every console that is opened.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think your suggestion applies only to TUNNELED=1
tests. But even in those we don't (re)register the system after publiccloud/ssh_interactive_start
test module.
The publiccloud::utils::registercloudguest
subroutine is currently used in the following test modules:
publiccloud/registration
publiccloud/migration
publiccloud/slem_basic
publiccloud/run_ltp
publiccloud/check_registercloudguest
publiccloud/storage_perf
sles4sap/publiccloud/qesap_terraform
sles4sap/cloud_netconfig/deploy
I think think that we are safe. But please feel free to suggest more VRs.
@m-dati SAP VR done (see the description). |