Project

General

Profile

Actions

action #45053

closed

Test installation over ssh as root on Tumbleweed with latest update forbidding root-password login

Added by okurz almost 6 years ago. Updated 10 months ago.

Status:
Rejected
Priority:
Low
Assignee:
-
Target version:
QA (public, currently private due to #173521) - future
Start date:
2018-12-12
Due date:
% Done:

0%

Estimated time:

Description

Motivation

I had been thinking about the recent change of ssh to not allow password-based logins for root anymore, we don't offer to give authorized keys to the system during installation, right? So if one selects to not create a user and install over ssh, try to login as root, doomed?
https://build.opensuse.org/request/show/652023 brought in this change into openSUSE Tumbleweed . We already have tests adjusted for this change, we should make sure to cover the ssh-installation test as well

Acceptance criteria

  • AC1: We have an automatic test skipping user creation, root only, with ssh-based-installation
  • AC2: The test ensures we can login after boot of the installed system (or according bugs reported if this is not possible)

Suggestions

  • Try out a test scenario based on ssh-installation together with ROOTONLY=1, e.g. clone an s390x-zVM installation but set additionally ROOTONLY=1
  • Check if normal test modules work in this scenario, e.g. console tests
  • Optional (if considered trivial or other test modules fail): Schedule only installation plus individual module(s) checking the login after boot
  • Optional (if the above steps do not work because of product issues): Report according bugs and keep this ticket in e.g. "test development" until the bugs are resolved

Further details

Could be split among the multiple ACs but probably AC2 is trivial based on what we already have present as tests


Related issues 3 (0 open3 closed)

Related to openQA Tests (public) - action #43703: [functional][u] openssh: test needs to use key-based login for rootResolveddheidler2018-11-13

Actions
Related to openQA Tests (public) - coordination #44147: [functional][u][epic] openssh: extend testsRejectedmgriessmeier2019-02-13

Actions
Blocked by openQA Tests (public) - action #47846: [functional][y] openSUSE ROOTONLY=1 testResolvedokurz2019-02-132019-03-12

Actions
Actions

Also available in: Atom PDF