Skip to content
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

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

pdostal
Copy link
Member

@pdostal pdostal commented Nov 29, 2024

Copy link

Great PR! Please pay attention to the following items before merging:

Files matching lib/publiccloud/**.pm:

  • Provide VRs for both QE-C as well as QE-SAP (check Confluence for more info)

This is an automatically generated QA checklist based on modified files.

@m-dati
Copy link
Contributor

m-dati commented Nov 29, 2024

I think some other different types of VRs are needed here, like SAP too 🙂.

Copy link
Member

@asmorodskyi asmorodskyi left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

Copy link
Contributor

@mpagot mpagot left a 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);
Copy link
Contributor

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.

Copy link
Member Author

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.

@pdostal
Copy link
Member Author

pdostal commented Dec 3, 2024

@m-dati SAP VR done (see the description).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

6 participants