Bug 1198981

Summary: New install of Leap 15.2 with NET iso as VM on KVM failing
Product: [openSUSE] openSUSE Distribution Reporter: Bryan Gartner <bryan.gartner>
Component: InstallationAssignee: E-mail List <yast2-maintainers>
Status: RESOLVED INVALID QA Contact: Jiri Srain <jsrain>
Severity: Normal    
Priority: P5 - None CC: bryan.gartner, igonzalezsosa, jreidinger
Version: Leap 15.2   
Target Milestone: ---   
Hardware: Other   
OS: Other   
Whiteboard:
Found By: --- Services Priority:
Business Priority: Blocker: ---
Marketing QA Status: --- IT Deployment: ---
Attachments: ctrl-alt-f3 output
ctrl-alt-f4 output

Description Bryan Gartner 2022-04-28 13:38:28 UTC
Created attachment 858504 [details]
ctrl-alt-f3 output

Steps to replicate (on KVM hosts, tried on SLE15-SP3, openSUSE Leap 15.3 across multiple geos to access different CDN repo mirrors as well):

Using virt-manager
- Create a new VM with local install media - openSUSE-Leap-15.2-NET-x86_64.iso
- minimal cpu/memory/disk settings
- boot, Installation
- using default answers (and it updated installer, given DHCP n/w settings)
  - accept License Agreement (Next)
  - Activate online repositories now (Yes)
  - left 4 default repos (Update/Non-OSS/Main Update/Main) checked (Next)

and when doing "Add Repository: Main Repository" drops to text quickly and then back to UI with "An error occurred during the installation"

Ctrl-Alt-F3/F4 screen capture will be attached
Comment 1 Bryan Gartner 2022-04-28 13:38:49 UTC
Created attachment 858505 [details]
ctrl-alt-f4 output
Comment 2 Josef Reidinger 2022-04-29 07:41:02 UTC
Well, on comment#1 you can see OOM in action. So question is how much RAM you use? Note that for net iso it needs more ram than for full iso.
Comment 3 Bryan Gartner 2022-04-29 14:31:26 UTC
(In reply to Josef Reidinger from comment #2)
> Well, on comment#1 you can see OOM in action. So question is how much RAM
> you use? Note that for net iso it needs more ram than for full iso.

Good point/question, by default have always used (for simplistic test installs), just 1024 MB of RAM for the VM in the past. And did some more test runs, that if that is raised to >= 1280 MB, the install does work.

And just out of curiosity, I thought that maybe the installer update might have been consuming more RAM as well, so tried another install (via the DVD) and with the NIC pointed to a non-DHCP subnet (to skip the automatic Installer update step), but even after configuring the NIC (with a static IP), it still fails with the 1024MB memory setting.
Comment 4 Josef Reidinger 2022-04-29 20:08:30 UTC
(In reply to Bryan Gartner from comment #3)
> (In reply to Josef Reidinger from comment #2)
> > Well, on comment#1 you can see OOM in action. So question is how much RAM
> > you use? Note that for net iso it needs more ram than for full iso.
> 
> Good point/question, by default have always used (for simplistic test
> installs), just 1024 MB of RAM for the VM in the past. And did some more
> test runs, that if that is raised to >= 1280 MB, the install does work.
> 
> And just out of curiosity, I thought that maybe the installer update might
> have been consuming more RAM as well, so tried another install (via the DVD)
> and with the NIC pointed to a non-DHCP subnet (to skip the automatic
> Installer update step), but even after configuring the NIC (with a static
> IP), it still fails with the 1024MB memory setting.

I think bigger player here is size of repositories as in net case it needs to be downloaded, including metadata and I know in TW we have that issue for long time as TW has more packages.
And because here it also fails when adding repos I expect that it simply contain too many packages.

So general recommendation is if you use minimal memory requirements, that use text based installer and full iso.
Comment 5 Imobach Gonzalez Sosa 2022-06-13 15:01:39 UTC
Hi all,

As Josef commented, the problem is most probably related to the amount of memory we need to keep the repositories metadata. And I guess that using the NET medium makes things worse.

I checked the hardware requirements for Leap and Tumbleweed in the openSUSE page and it seems to be 2GiB (I have not checked for 15.2, though).

Bryan, if you are fine, I will close the bug because I think there is little we can do about it.

Regards,
Imo