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

Add permit_root_ssh because of forbidden password [WIP] #12757

Closed
wants to merge 3 commits into from
Closed

Add permit_root_ssh because of forbidden password [WIP] #12757

wants to merge 3 commits into from

Conversation

skriesch
Copy link
Member

@skriesch skriesch commented Jun 21, 2021

Tests for s390x are failing because of forbidden passwords in reconnect_mgmt_console (poo#93949).
I want to reuse the workaround solution with a change in the ssh config.

Tests for s390x are failing because of forbidden passwords in reconnect_mgmt_console (poo#93949).
I want to reuse the workaround solution with a change in the ssh config.
lib/utils.pm Outdated
@@ -1359,6 +1359,7 @@ sub reconnect_mgmt_console {
my (%args) = @_;
$args{timeout} //= 300;
$args{grub_expected_twice} //= 0;
permit_root_ssh();
Copy link
Contributor

Choose a reason for hiding this comment

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

This can only be executed while being logged in as root on the machine via console to reconfigure ssh.

Copy link
Member Author

Choose a reason for hiding this comment

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

Thank you for the hint! I thought that the used user is the root user (user with root access) because of the possibility to install.

@rfan1
Copy link
Contributor

rfan1 commented Jun 22, 2021

For s390x, reconnect_mgmt_console may need to ssh access into the SUT via root rather than connect it via VNC root console, "permit_root_ssh" may not help.

IMO, we may need change the user to "bernhard"? (hopefully it can help)

./consoles/sshIucvconn.pm: my $ttyconn = $self->backend->new_ssh_connection(hostname => $hostname, password => $args->{password}, username => 'root');

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