Comment # 7 on bug 1200104 from
Thanks for the pointer to the error reporting configuration. I've changed the
errors timeout to 10 and this allows an automated installation. But with the
same side effect that I've mentioned in my last comment: The repos that are
reported as "failed to add product from" during the installation are missing in
the cloned system:

localhost:/home/opensuse # zypper repos
Repository priorities are without effect. All enabled repositories share the
same priority.

# | Alias                       | Name                                         
                                              | Enabled | GPG Check | Refresh
--+-----------------------------+---------------------------------------------------------------------------------------------+---------+-----------+--------
1 | openSUSE-Leap-15.4-1        | openSUSE-Leap-15.4-1                         
                                              | Yes     | (r ) Yes  | No
2 | repo-backports-debug-update | Update repository with updates for openSUSE
Leap debuginfo packages from openSUSE Backports | No      | ----      | ----
3 | repo-backports-update       | Update repository of openSUSE Backports      
                                              | Yes     | (r ) Yes  | Yes
4 | repo-sle-debug-update       | Update repository with debuginfo for updates
from SUSE Linux Enterprise 15                  | No      | ----      | ----
5 | repo-sle-update             | Update repository with updates from SUSE
Linux Enterprise 15                                | Yes     | (r ) Yes  | Yes


I found the following lines in the YaST2/y2log-1.gz:

2022-06-01 03:56:21 <1> install(3739) [zypp::media++]
MediaCurl.cc(doGetFileCopyFile):1187 URL:
http://download.opensuse.org/update/leap/15.4/backports/media.1/products?alias=repo-backports-update
2022-06-01 03:56:21 <3> install(3739) [zypp::media]
MediaCurl.cc(doGetFileCopyFile):1252 curl error: 6: Could not resolve host:
download.opensuse.org, temp file size 0 bytes.
2022-06-01 03:56:21 <5> install(3739) [zypp-core] Exception.cc(log):186
MediaCurl.cc(evaluateCurlCode):868 THROW:    Download (curl) error for
'http://download.opensuse.org/update/leap/15.4/backports/media.1/products?alias=repo-backports-update':
2022-06-01 03:56:21 <5> install(3739) [zypp-core] Exception.cc(log):186 Error
code: Connection failed
2022-06-01 03:56:21 <5> install(3739) [zypp-core] Exception.cc(log):186 Error
message: Could not resolve host: download.opensuse.org
...
2022-06-01 03:56:21 <3> install(3739) [Ruby]
clients/add-on_auto.rb(report_error_for):315 Failed to add product from
http://download.opensuse.org/update/leap/15.4/backports/

I think this supports your guess with the network activation logic. 

Based on this finding in the logs I've added netsetup=dhcp to the command line:

"netsetup=dhcp autoyast=file:///autoinst.xml"

With this addition I can avoid the error pop-up during the unattended
installation, which is fine for me.

However it would be nice if either the network activation logic could handle
this scenario directly or if the documentation about invoking autoyast on
https://doc.opensuse.org/documentation/leap/archive/15.3/autoyast/html/book-autoyast/Invoking.html#invoking-autoinst
could include a hint to add "netsetup=dhcp" when online repos are used during
the installation process.


You are receiving this mail because: