Skip to content

fix: SSH not disabled issue on AzureLinux and add E2E to guard#7190

Merged
norshtein merged 5 commits intomasterfrom
tosi/disablessh-fix
Oct 15, 2025
Merged

fix: SSH not disabled issue on AzureLinux and add E2E to guard#7190
norshtein merged 5 commits intomasterfrom
tosi/disablessh-fix

Conversation

@norshtein
Copy link
Copy Markdown
Member

What type of PR is this?
This PR fix an issue that SSH daemon is not correctly disabled on AzureLinux when SSHStatus is set to off.

What this PR does / why we need it:

Which issue(s) this PR fixes:

Fixes #

Requirements:

  • uses conventional commit messages
  • includes documentation
  • adds unit tests
  • tested upgrade from previous version
  • commits are GPG signed and Github marks them as verified

Special notes for your reviewer:

Release note:

none

@norshtein
Copy link
Copy Markdown
Member Author

All newly added E2E succeeded:

✓ AzureLinuxV2 disable SSH (144.44s)
✓ MarinerV2 disable SSH (141.22s)
✓ Ubuntu2204 disable SSH (345.79s)

Comment thread e2e/scenario_test.go
Comment thread e2e/scenario_test.go
BootstrapConfigMutator: func(nbc *datamodel.NodeBootstrappingConfiguration) {
nbc.SSHStatus = datamodel.SSHOff
},
SkipSSHConnectivityValidation: true, // Skip SSH connectivity validation since SSH is down
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

we should probably adapt our default validation to work with run command as well so we don't have to skip it in these scenarios, that's another PR though

@cameronmeissner cameronmeissner changed the title Fix SSH not disabled issue on AzureLinux and add E2E to guard fix: SSH not disabled issue on AzureLinux and add E2E to guard Oct 14, 2025
@norshtein
Copy link
Copy Markdown
Member Author

Hey @cameronmeissner , I've merged master in order to resolve conflict, could you help reapprove the PR? Thanks!

@norshtein
Copy link
Copy Markdown
Member Author

Thanks @cameronmeissner and @awesomenix for reviewing and approving! I'll merge the PR then.

@norshtein norshtein merged commit fbce438 into master Oct 15, 2025
38 of 39 checks passed
@norshtein norshtein deleted the tosi/disablessh-fix branch October 15, 2025 03:50
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.

4 participants