-
Notifications
You must be signed in to change notification settings - Fork 282
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
Enable Agama auto install on Bare Metal server #20777
Conversation
0f6e486
to
ed54fae
Compare
In general LGTM, just need to decide to choose solution to match the installation finished page, the situation like s390x and powerVM. |
Thanks for providing the PR.
Both verification jobs are red. Is this expected? Besides, it will be good to add regression test for other supported installation ways in ipxe_install.pm, eg SLM 6.1 pxe boot, SLES pxe boot, and also aarch64 and SLM6.0 usb boot when test machines are available again(NUE2 arm machines and machines with usb(x86) are not usable after CC isolation). |
Sorry for the accidental PR close. I closed a comment but it turned out as PR close. Reopen it. |
@lemon-suse @jknphy What's the best solution for now and in long term? |
For now we are working on puppeteer to match the auto installation finished page, PR is on reviewing. I'm not sure it is the best solution but for us is a good solution. Besides that, we have thought to loop listen the agama log to know the installation finished, but that is not so stable and complicated, so we drop that. Joaquin will share you his idea for the long term solution. :) |
Thank you @lemon-suse ! A workable stable solution is acceptable as temporary solution, IMHO. BTW, just to double confirm my understanding is correct, so something like https://openqa.suse.de/tests/16082855#step/agama_auto/26 is not available for ipmi machines, and what we are talking about is solution to workaround it, right? Would you please share the puppeteer PR? I am interested to have a look :) |
For ipmi agama test VNC not work also same as s390x and powerVM, so we are working on a solution to fix it. The puppeteer PR is jknphy/agama-integration-test-webpack#46. |
The best solution is to wait for a tool that the developers will provide to monitor the installation, but for now each squad can pick whatever it fits (no need to block each other): |
a36014e
to
a224d88
Compare
tests/installation/ipxe_install.pm
Outdated
} | ||
if (is_ipmi) { | ||
my $sol_console = is_aarch64 ? get_var('SERIALDEV', 'ttyAMA0') : get_var('SERIALDEV', 'ttyS1'); | ||
$cmdline_extra .= "console=$sol_console,115200 linuxrc.log=/dev/$sol_console linuxrc.core=/dev/$sol_console linuxrc.debug=4,trace "; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please use IPXE_CONSOLE
variable and don't use hardcoded speed values.
Great PR! Please pay attention to the following items before merging: Files matching
This is an automatically generated QA checklist based on modified files. |
1bb3699
to
8e94d48
Compare
You specified the wrong server. The machines have the server in their definition on OSD, which is IPXE_HTTPSERVER=http://baremetal-support.qa.suse.de:8080 - that was the original one. For the machines located in nue2 we have that defined along the machine definition. |
d7e2caf
to
54aae95
Compare
Thanks! For 64bit-ipmi-uefi, you can specify with worker_class='bare-metal1', this one works now. |
passed :) http://openqa.suse.de/tests/16233654# |
224ddd3
to
51ba290
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for the effort!
Thanks all for your comments and reviews! I plan to merge this PR now. and make it a milestone. as I can't solve all problem from this single commit, some new agama features will come soon [scc support/post scripts etc], there are still some pending issues/bugs like: |
AGAMA_AUTO | string | | The auto-installation is started by passing |
I find the code verify_agama_auto_install_done_cmdline() implement this feature to confirm installation complete. |
https://progress.opensuse.org/issues/173758
aarch64: http://10.200.129.6/tests/81288
x86_64:
root disk: sda
root disk: nvme0n1
Now vnc console access during the installation has some problems, see https://progress.opensuse.org/issues/170434
So adding some workarounds to configure the serial console and root ssh login before rebooting the host from harddisk after installation
Currently, we are still in early phase of agama, so some new changes are expected in next few weeks