Bug 1202234 - Release packages of addon products are not installed by autoyast
Summary: Release packages of addon products are not installed by autoyast
Status: REOPENED
: 1211154 1211970 (view as bug list)
Alias: None
Product: PUBLIC SUSE Linux Enterprise Server 15 SP3
Classification: SUSE Linux Enterprise Server
Component: AutoYaST (show other bugs)
Version: SLES15SP3Maint-Upd
Hardware: Other Other
: P2 - High : Normal
Target Milestone: unspecified
Assignee: Ladislav Slezák
QA Contact: E-mail List
URL: https://openqa.suse.de/tests/9274096/...
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2022-08-08 14:49 UTC by Jonathan Rivrain
Modified: 2023-10-04 12:09 UTC (History)
8 users (show)

See Also:
Found By: openQA
Services Priority:
Business Priority:
Blocker: Yes
Marketing QA Status: ---
IT Deployment: ---


Attachments
installation y2logs (7.75 MB, application/x-xz)
2022-08-08 14:49 UTC, Jonathan Rivrain
Details
full-logs (2.22 MB, application/x-xz)
2022-08-12 12:49 UTC, Imobach Gonzalez Sosa
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Jonathan Rivrain 2022-08-08 14:49:31 UTC
Created attachment 860673 [details]
installation y2logs

In sle 15 sp3 and sp4, after autoyast installation, release packages for add-on products (eg sle-module-basesystem-release) are not installed.

For example, in the installation here https://openqa.suse.de/tests/9274096. 
If we run rpm -qa in the resulting qcow, we see that only sles-release (sles-release-15.3-55.4.1.x86_64) was installed, but none of the other add-on product release packages. 
But if we do the same installation with interactive installation (like , the -release packages are installed.
Comment 1 David Diaz 2022-08-12 11:25:27 UTC
Hi @Jonathan

Sorry for the delay. Could you please attach the AutoYaST profile?

Thanks!
Comment 2 Imobach Gonzalez Sosa 2022-08-12 12:49:08 UTC
Created attachment 860765 [details]
full-logs

Hi all,

I was able to reproduce the issue on a virtual machine. I am attaching my logs because QA ones are incomplete (y2log-5 does not contain the beginning of the installation).

In the logs I can see that AutoYaST is selecting the product for installation:

2022-08-12 08:33:00 <1> install(3981) [Ruby] clients/add-on_auto.rb(install_product):390 Installing product: sle-module-basesystem

We need to find out why the release package is not included.
Comment 3 Imobach Gonzalez Sosa 2022-08-12 12:50:44 UTC
The logs are not required anymore. I asked for them because I was thinking about some product name mismatch, but that's not the case. Sorry for the noise. Something like this causes the problem:

  <add-on>
    <add_on_products config:type="list">
      <listentry>
        <media_url><![CDATA[cd:///?devices=/dev/sr0]]></media_url>
        <product_dir>/Module-Basesystem</product_dir>
        <product>sle-module-basesystem</product>
      </listentry>
      <listentry>
        <media_url><![CDATA[cd:///?devices=/dev/sr0]]></media_url>
        <product_dir>/Module-Server-Applications</product_dir>
        <product>sle-module-server-applications</product>
      </listentry>
    </add_on_products>
  </add-on>
Comment 4 Imobach Gonzalez Sosa 2022-08-12 13:32:42 UTC
(In reply to Imobach Gonzalez Sosa from comment #3)
> The logs are not required anymore.

I meant the profile.
Comment 7 Stefan Hundhammer 2023-05-09 07:09:51 UTC
See also bug #1211154.
Comment 8 Lukas Ocilka 2023-05-10 07:37:47 UTC
This hasn't got much attention so far and we don't have any L3 from customer, but now there is a similar bug for LTSS (again, internal bugreport). Ladislav, can you, please, check the logs and try to find the cause of this issue? Maybe there are wrong dependencies in the product, maybe Installer selects the product including the release package, but then it's reset somewhere? Maybe it should use PackagesProposal during Installation, but doesn't? Something else?
Comment 9 Stefan Hundhammer 2023-05-10 08:13:55 UTC
*** Bug 1211154 has been marked as a duplicate of this bug. ***
Comment 10 Ladislav Slezák 2023-05-10 08:29:14 UTC
Some more details: https://bugzilla.suse.com/show_bug.cgi?id=1211154#c22

The problem is that the PackagesProposal cannot restore the selected products after resetting the package manager. 

The solution should be to support products in PackagesProposal and use it in the registration code.
Comment 14 Ladislav Slezák 2023-05-23 15:18:22 UTC
Fixes:

- SLE15-SP3: https://github.com/yast/yast-autoinstallation/pull/867
- SLE15-SP4: https://github.com/yast/yast-autoinstallation/pull/868
- SLE15-SP5: https://github.com/yast/yast-autoinstallation/pull/869

(ALP: https://github.com/yast/yast-autoinstallation/pull/870)



To the maintenance team: please release the fixes also in the INSTALLER-UPDATE channel, thank you!
Comment 17 Maintenance Automation 2023-06-19 16:30:03 UTC
SUSE-RU-2023:2550-1: An update that has nine recommended fixes can now be installed.

Category: recommended (moderate)
Bug References: 1191112, 1198097, 1199020, 1202234, 1209565, 1210591, 1211354, 1212187, 1212189
Sources used:
openSUSE Leap Micro 5.3 (src): libzypp-17.31.13-150400.3.32.1, zchunk-1.1.16-150400.3.4.1, libsolv-0.7.24-150400.3.8.1
openSUSE Leap 15.4 (src): libyui-ncurses-4.3.7-150400.3.3.1, zchunk-1.1.16-150400.3.4.1, libyui-qt-graph-4.3.7-150400.3.3.1, libyui-ncurses-rest-api-4.3.7-150400.3.3.1, yast2-pkg-bindings-4.4.6-150400.3.6.1, libyui-qt-4.3.7-150400.3.3.1, libyui-bindings-4.3.7-150400.3.3.1, libyui-rest-api-4.3.7-150400.3.3.1, libsolv-0.7.24-150400.3.8.1, yast2-pkg-bindings-devel-doc-4.4.6-150400.3.6.1, libyui-4.3.7-150400.3.3.1, libyui-ncurses-pkg-4.3.7-150400.3.3.1, libzypp-17.31.13-150400.3.32.1, autoyast2-4.4.45-150400.3.19.1, libyui-qt-rest-api-4.3.7-150400.3.3.1, libyui-qt-pkg-4.3.7-150400.3.3.1
openSUSE Leap 15.5 (src): libzypp-17.31.13-150400.3.32.1, zchunk-1.1.16-150400.3.4.1, libsolv-0.7.24-150400.3.8.1
SUSE Linux Enterprise High Performance Computing 15 SP4 (src): libyui-ncurses-4.3.7-150400.3.3.1, libyui-qt-rest-api-4.3.7-150400.3.3.1, zchunk-1.1.16-150400.3.4.1, libyui-qt-graph-4.3.7-150400.3.3.1, libyui-4.3.7-150400.3.3.1, libyui-ncurses-pkg-4.3.7-150400.3.3.1, libzypp-17.31.13-150400.3.32.1, autoyast2-4.4.45-150400.3.19.1, libyui-ncurses-rest-api-4.3.7-150400.3.3.1, yast2-pkg-bindings-4.4.6-150400.3.6.1, libyui-qt-4.3.7-150400.3.3.1, libyui-qt-pkg-4.3.7-150400.3.3.1, libyui-rest-api-4.3.7-150400.3.3.1, libsolv-0.7.24-150400.3.8.1
SUSE Linux Enterprise Server 15 SP4 (src): libyui-ncurses-4.3.7-150400.3.3.1, libyui-qt-rest-api-4.3.7-150400.3.3.1, zchunk-1.1.16-150400.3.4.1, libyui-qt-graph-4.3.7-150400.3.3.1, libyui-4.3.7-150400.3.3.1, libyui-ncurses-pkg-4.3.7-150400.3.3.1, libzypp-17.31.13-150400.3.32.1, autoyast2-4.4.45-150400.3.19.1, libyui-ncurses-rest-api-4.3.7-150400.3.3.1, yast2-pkg-bindings-4.4.6-150400.3.6.1, libyui-qt-4.3.7-150400.3.3.1, libyui-qt-pkg-4.3.7-150400.3.3.1, libyui-rest-api-4.3.7-150400.3.3.1, libsolv-0.7.24-150400.3.8.1
SUSE Manager Server 4.3 (src): libyui-ncurses-4.3.7-150400.3.3.1, libyui-qt-rest-api-4.3.7-150400.3.3.1, zchunk-1.1.16-150400.3.4.1, libyui-qt-graph-4.3.7-150400.3.3.1, libyui-4.3.7-150400.3.3.1, libyui-ncurses-pkg-4.3.7-150400.3.3.1, libzypp-17.31.13-150400.3.32.1, autoyast2-4.4.45-150400.3.19.1, libyui-ncurses-rest-api-4.3.7-150400.3.3.1, yast2-pkg-bindings-4.4.6-150400.3.6.1, libyui-qt-4.3.7-150400.3.3.1, libyui-qt-pkg-4.3.7-150400.3.3.1, libyui-rest-api-4.3.7-150400.3.3.1, libsolv-0.7.24-150400.3.8.1
SUSE Linux Enterprise Server for SAP Applications 15 SP4 (src): libyui-ncurses-4.3.7-150400.3.3.1, libyui-qt-rest-api-4.3.7-150400.3.3.1, zchunk-1.1.16-150400.3.4.1, libyui-qt-graph-4.3.7-150400.3.3.1, libyui-4.3.7-150400.3.3.1, libyui-ncurses-pkg-4.3.7-150400.3.3.1, libzypp-17.31.13-150400.3.32.1, autoyast2-4.4.45-150400.3.19.1, libyui-ncurses-rest-api-4.3.7-150400.3.3.1, yast2-pkg-bindings-4.4.6-150400.3.6.1, libyui-qt-4.3.7-150400.3.3.1, libyui-qt-pkg-4.3.7-150400.3.3.1, libyui-rest-api-4.3.7-150400.3.3.1, libsolv-0.7.24-150400.3.8.1
SUSE Linux Enterprise Desktop 15 SP4 (src): libyui-ncurses-4.3.7-150400.3.3.1, libyui-qt-rest-api-4.3.7-150400.3.3.1, zchunk-1.1.16-150400.3.4.1, libyui-qt-graph-4.3.7-150400.3.3.1, libyui-4.3.7-150400.3.3.1, libyui-ncurses-pkg-4.3.7-150400.3.3.1, libzypp-17.31.13-150400.3.32.1, autoyast2-4.4.45-150400.3.19.1, libyui-ncurses-rest-api-4.3.7-150400.3.3.1, yast2-pkg-bindings-4.4.6-150400.3.6.1, libyui-qt-4.3.7-150400.3.3.1, libyui-qt-pkg-4.3.7-150400.3.3.1, libyui-rest-api-4.3.7-150400.3.3.1, libsolv-0.7.24-150400.3.8.1
SUSE Manager Retail Branch Server 4.3 (src): libyui-ncurses-4.3.7-150400.3.3.1, libyui-qt-rest-api-4.3.7-150400.3.3.1, zchunk-1.1.16-150400.3.4.1, libyui-qt-graph-4.3.7-150400.3.3.1, libyui-4.3.7-150400.3.3.1, libyui-ncurses-pkg-4.3.7-150400.3.3.1, libzypp-17.31.13-150400.3.32.1, autoyast2-4.4.45-150400.3.19.1, libyui-ncurses-rest-api-4.3.7-150400.3.3.1, yast2-pkg-bindings-4.4.6-150400.3.6.1, libyui-qt-4.3.7-150400.3.3.1, libyui-qt-pkg-4.3.7-150400.3.3.1, libyui-rest-api-4.3.7-150400.3.3.1, libsolv-0.7.24-150400.3.8.1
SUSE Manager Proxy 4.3 (src): libyui-ncurses-4.3.7-150400.3.3.1, libyui-qt-rest-api-4.3.7-150400.3.3.1, zchunk-1.1.16-150400.3.4.1, libyui-qt-graph-4.3.7-150400.3.3.1, libyui-4.3.7-150400.3.3.1, libyui-ncurses-pkg-4.3.7-150400.3.3.1, libzypp-17.31.13-150400.3.32.1, autoyast2-4.4.45-150400.3.19.1, libyui-ncurses-rest-api-4.3.7-150400.3.3.1, yast2-pkg-bindings-4.4.6-150400.3.6.1, libyui-qt-4.3.7-150400.3.3.1, libyui-qt-pkg-4.3.7-150400.3.3.1, libyui-rest-api-4.3.7-150400.3.3.1, libsolv-0.7.24-150400.3.8.1
SUSE Linux Enterprise High Performance Computing 15 SP5 (src): libzypp-17.31.13-150400.3.32.1, libsolv-0.7.24-150400.3.8.1
SUSE Linux Enterprise Server 15 SP5 (src): libzypp-17.31.13-150400.3.32.1, libsolv-0.7.24-150400.3.8.1
SUSE Linux Enterprise Server for SAP Applications 15 SP5 (src): libzypp-17.31.13-150400.3.32.1, libsolv-0.7.24-150400.3.8.1
SUSE Linux Enterprise Desktop 15 SP5 (src): libzypp-17.31.13-150400.3.32.1, libsolv-0.7.24-150400.3.8.1
SUSE Linux Enterprise Micro for Rancher 5.3 (src): libzypp-17.31.13-150400.3.32.1, zchunk-1.1.16-150400.3.4.1, libsolv-0.7.24-150400.3.8.1
SUSE Linux Enterprise Micro 5.3 (src): libzypp-17.31.13-150400.3.32.1, zchunk-1.1.16-150400.3.4.1, libsolv-0.7.24-150400.3.8.1
SUSE Linux Enterprise Micro for Rancher 5.4 (src): libzypp-17.31.13-150400.3.32.1, zchunk-1.1.16-150400.3.4.1, libsolv-0.7.24-150400.3.8.1
SUSE Linux Enterprise Micro 5.4 (src): libzypp-17.31.13-150400.3.32.1, zchunk-1.1.16-150400.3.4.1, libsolv-0.7.24-150400.3.8.1
Basesystem Module 15-SP4 (src): libyui-ncurses-4.3.7-150400.3.3.1, zchunk-1.1.16-150400.3.4.1, libyui-qt-graph-4.3.7-150400.3.3.1, libyui-4.3.7-150400.3.3.1, libyui-ncurses-pkg-4.3.7-150400.3.3.1, libzypp-17.31.13-150400.3.32.1, autoyast2-4.4.45-150400.3.19.1, yast2-pkg-bindings-4.4.6-150400.3.6.1, libyui-qt-4.3.7-150400.3.3.1, libsolv-0.7.24-150400.3.8.1
Basesystem Module 15-SP5 (src): libzypp-17.31.13-150400.3.32.1, zchunk-1.1.16-150400.3.4.1, libsolv-0.7.24-150400.3.8.1
Desktop Applications Module 15-SP4 (src): libyui-qt-pkg-4.3.7-150400.3.3.1
Development Tools Module 15-SP4 (src): libyui-rest-api-4.3.7-150400.3.3.1, libyui-ncurses-rest-api-4.3.7-150400.3.3.1, libyui-qt-rest-api-4.3.7-150400.3.3.1, libsolv-0.7.24-150400.3.8.1
Development Tools Module 15-SP5 (src): libsolv-0.7.24-150400.3.8.1
SUSE Package Hub 15 15-SP5 (src): zchunk-1.1.16-150400.3.4.1

NOTE: This line indicates an update has been released for the listed product(s). At times this might be only a partial fix. If you have questions please reach out to maintenance coordination.
Comment 18 Maintenance Automation 2023-06-30 12:30:16 UTC
SUSE-RU-2023:2742-1: An update that has five recommended fixes can now be installed.

Category: recommended (moderate)
Bug References: 1202234, 1209565, 1211261, 1212187, 1212222
Sources used:
openSUSE Leap Micro 5.3 (src): protobuf-3.9.2-150200.4.21.1
openSUSE Leap 15.4 (src): protobuf-3.9.2-150200.4.21.1
openSUSE Leap 15.5 (src): protobuf-3.9.2-150200.4.21.1
SUSE Linux Enterprise Server 15 SP2 (src): libzypp-17.31.14-150200.70.1, protobuf-3.9.2-150200.4.21.1, libsolv-0.7.24-150200.20.2, yast2-pkg-bindings-4.2.16-150200.3.19.1
SUSE Linux Enterprise Server 15 SP3 (src): libzypp-17.31.14-150200.70.1, autoyast2-4.3.106-150300.3.56.1, protobuf-3.9.2-150200.4.21.1, libsolv-0.7.24-150200.20.2, yast2-pkg-bindings-4.3.12-150300.3.3.2
SUSE Linux Enterprise Micro for Rancher 5.3 (src): protobuf-3.9.2-150200.4.21.1
SUSE Linux Enterprise Micro 5.3 (src): protobuf-3.9.2-150200.4.21.1
SUSE Linux Enterprise Micro for Rancher 5.4 (src): protobuf-3.9.2-150200.4.21.1
SUSE Linux Enterprise Micro 5.4 (src): protobuf-3.9.2-150200.4.21.1
Basesystem Module 15-SP4 (src): protobuf-3.9.2-150200.4.21.1
Basesystem Module 15-SP5 (src): protobuf-3.9.2-150200.4.21.1
Development Tools Module 15-SP4 (src): protobuf-3.9.2-150200.4.21.1
Development Tools Module 15-SP5 (src): protobuf-3.9.2-150200.4.21.1
SUSE Package Hub 15 15-SP4 (src): protobuf-3.9.2-150200.4.21.1
SUSE Package Hub 15 15-SP5 (src): protobuf-3.9.2-150200.4.21.1
Public Cloud Module 15-SP2 (src): protobuf-3.9.2-150200.4.21.1
Public Cloud Module 15-SP3 (src): protobuf-3.9.2-150200.4.21.1
Public Cloud Module 15-SP4 (src): protobuf-3.9.2-150200.4.21.1
Public Cloud Module 15-SP5 (src): protobuf-3.9.2-150200.4.21.1
SUSE Manager Server 4.2 Module 4.2 (src): protobuf-3.9.2-150200.4.21.1
SUSE Manager Server 4.3 Module 4.3 (src): protobuf-3.9.2-150200.4.21.1
SUSE Linux Enterprise High Performance Computing 15 SP2 LTSS 15-SP2 (src): libzypp-17.31.14-150200.70.1, zypper-1.14.61-150200.54.1, protobuf-3.9.2-150200.4.21.1, libsolv-0.7.24-150200.20.2, yast2-pkg-bindings-4.2.16-150200.3.19.1
SUSE Linux Enterprise High Performance Computing ESPOS 15 SP3 (src): libzypp-17.31.14-150200.70.1, yast2-update-4.3.5-150300.3.9.1, zypper-1.14.61-150200.54.1, autoyast2-4.3.106-150300.3.56.1, protobuf-3.9.2-150200.4.21.1, libsolv-0.7.24-150200.20.2, yast2-pkg-bindings-4.3.12-150300.3.3.2
SUSE Linux Enterprise High Performance Computing LTSS 15 SP3 (src): libzypp-17.31.14-150200.70.1, yast2-update-4.3.5-150300.3.9.1, zypper-1.14.61-150200.54.1, autoyast2-4.3.106-150300.3.56.1, protobuf-3.9.2-150200.4.21.1, libsolv-0.7.24-150200.20.2, yast2-pkg-bindings-4.3.12-150300.3.3.2
SUSE Linux Enterprise Real Time 15 SP3 (src): libzypp-17.31.14-150200.70.1, yast2-update-4.3.5-150300.3.9.1, zypper-1.14.61-150200.54.1, autoyast2-4.3.106-150300.3.56.1, protobuf-3.9.2-150200.4.21.1, libsolv-0.7.24-150200.20.2, yast2-pkg-bindings-4.3.12-150300.3.3.2
SUSE Linux Enterprise Server 15 SP2 LTSS 15-SP2 (src): libzypp-17.31.14-150200.70.1, zypper-1.14.61-150200.54.1, protobuf-3.9.2-150200.4.21.1, libsolv-0.7.24-150200.20.2, yast2-pkg-bindings-4.2.16-150200.3.19.1
SUSE Linux Enterprise Server 15 SP3 LTSS 15-SP3 (src): libzypp-17.31.14-150200.70.1, yast2-update-4.3.5-150300.3.9.1, zypper-1.14.61-150200.54.1, autoyast2-4.3.106-150300.3.56.1, protobuf-3.9.2-150200.4.21.1, libsolv-0.7.24-150200.20.2, yast2-pkg-bindings-4.3.12-150300.3.3.2
SUSE Linux Enterprise Server for SAP Applications 15 SP2 (src): libzypp-17.31.14-150200.70.1, zypper-1.14.61-150200.54.1, protobuf-3.9.2-150200.4.21.1, libsolv-0.7.24-150200.20.2, yast2-pkg-bindings-4.2.16-150200.3.19.1
SUSE Linux Enterprise Server for SAP Applications 15 SP3 (src): libzypp-17.31.14-150200.70.1, yast2-update-4.3.5-150300.3.9.1, zypper-1.14.61-150200.54.1, autoyast2-4.3.106-150300.3.56.1, protobuf-3.9.2-150200.4.21.1, libsolv-0.7.24-150200.20.2, yast2-pkg-bindings-4.3.12-150300.3.3.2
SUSE Manager Proxy 4.2 (src): libzypp-17.31.14-150200.70.1, yast2-update-4.3.5-150300.3.9.1, zypper-1.14.61-150200.54.1, autoyast2-4.3.106-150300.3.56.1, protobuf-3.9.2-150200.4.21.1, libsolv-0.7.24-150200.20.2, yast2-pkg-bindings-4.3.12-150300.3.3.2
SUSE Manager Retail Branch Server 4.2 (src): libzypp-17.31.14-150200.70.1, yast2-update-4.3.5-150300.3.9.1, zypper-1.14.61-150200.54.1, autoyast2-4.3.106-150300.3.56.1, protobuf-3.9.2-150200.4.21.1, libsolv-0.7.24-150200.20.2, yast2-pkg-bindings-4.3.12-150300.3.3.2
SUSE Manager Server 4.2 (src): libzypp-17.31.14-150200.70.1, yast2-update-4.3.5-150300.3.9.1, zypper-1.14.61-150200.54.1, autoyast2-4.3.106-150300.3.56.1, protobuf-3.9.2-150200.4.21.1, libsolv-0.7.24-150200.20.2, yast2-pkg-bindings-4.3.12-150300.3.3.2
SUSE Enterprise Storage 7.1 (src): libzypp-17.31.14-150200.70.1, yast2-update-4.3.5-150300.3.9.1, zypper-1.14.61-150200.54.1, autoyast2-4.3.106-150300.3.56.1, protobuf-3.9.2-150200.4.21.1, libsolv-0.7.24-150200.20.2, yast2-pkg-bindings-4.3.12-150300.3.3.2
SUSE Enterprise Storage 7 (src): libzypp-17.31.14-150200.70.1, zypper-1.14.61-150200.54.1, protobuf-3.9.2-150200.4.21.1, libsolv-0.7.24-150200.20.2, yast2-pkg-bindings-4.2.16-150200.3.19.1
SUSE Linux Enterprise Micro 5.1 (src): libzypp-17.31.14-150200.70.1, zypper-1.14.61-150200.54.1, protobuf-3.9.2-150200.4.21.1, libsolv-0.7.24-150200.20.2
SUSE Linux Enterprise Micro 5.2 (src): libzypp-17.31.14-150200.70.1, zypper-1.14.61-150200.54.1, protobuf-3.9.2-150200.4.21.1, libsolv-0.7.24-150200.20.2
SUSE Linux Enterprise Micro for Rancher 5.2 (src): libzypp-17.31.14-150200.70.1, zypper-1.14.61-150200.54.1, protobuf-3.9.2-150200.4.21.1, libsolv-0.7.24-150200.20.2

NOTE: This line indicates an update has been released for the listed product(s). At times this might be only a partial fix. If you have questions please reach out to maintenance coordination.
Comment 19 Jonathan Rivrain 2023-07-14 15:54:42 UTC
*** Bug 1211970 has been marked as a duplicate of this bug. ***
Comment 21 Jozef Pupava 2023-10-04 12:09:02 UTC
This issue is present also on 15-SP2