Project

General

Profile

Actions

action #133271

open

coordination #153280: [epic] Future automation of Agama

Make agama auto installation test work for s390x

Added by syrianidou_sofia 9 months ago. Updated 3 months ago.

Status:
New
Priority:
Low
Assignee:
-
Target version:
-
Start date:
2023-07-25
Due date:
% Done:

0%

Estimated time:

Description

Currently, we have 3 agama auto installation tests on o3 for x86_64 and aarch64. We could schedule the dolomite test for z/VM on o3 as well.
The bootloader_s390 will need some modifications in order to enter the proper parameters in the parmfile. The details of auto installation on z/VM are described here.
The test schedule will have to include handle_reboot or reconnect_mgmt_console for the console reconnection.
In the autoyast profile of autoyast_zvm test suite, we have added the following script for successful reconnection:

  <scripts>
    <!-- permit root login, password login and pubkeys login -->
    <post-scripts config:type="list">
      <script>
        <filename>post-script.sh</filename>
        <interpreter>shell</interpreter>
        <location/>
        <feedback config:type="boolean">false</feedback>
        <source><![CDATA[
sshd_config_file="/etc/ssh/sshd_config.d/permit_root_login.conf"
echo -e "PermitRootLogin yes\nPubkeyAuthentication yes\nPasswordAuthentication yes" > $sshd_config_file
[ -d /root/.ssh ] || mkdir -p /root/.ssh; chmod 700 /root/.ssh
touch /root/.ssh/authorized_keys; chmod 600 /root/.ssh/authorized_keys
echo "##Authorized-Keys##" >> /root/.ssh/authorized_keys
]]>
        </source>
      </script>
    </post-scripts>
  </scripts>

Actions #1

Updated by syrianidou_sofia 9 months ago

  • Status changed from New to Workable
  • Target version set to Current
Actions #2

Updated by lmanfredi 5 months ago

  • Status changed from Workable to In Progress
  • Assignee set to lmanfredi
Actions #3

Updated by lmanfredi 5 months ago

  • Status changed from In Progress to Workable
Actions #4

Updated by lmanfredi 5 months ago

  • Assignee deleted (lmanfredi)
Actions #5

Updated by rainerkoenig 5 months ago

  • Status changed from Workable to New
Actions #6

Updated by JERiveraMoya 3 months ago

  • Priority changed from Normal to Low
Actions #7

Updated by JERiveraMoya 3 months ago

  • Parent task set to #153280
Actions #8

Updated by JERiveraMoya 3 months ago

  • Target version deleted (Current)
Actions

Also available in: Atom PDF