Bug 1212724 - [Build :29099:nvidia-open-driver-G06-signed] Dependency version conflict for kernel-firmware-nvidia-gsp-G06
Summary: [Build :29099:nvidia-open-driver-G06-signed] Dependency version conflict for ...
Status: RESOLVED FIXED
Alias: None
Product: PUBLIC SUSE Linux Enterprise Server 15 SP4
Classification: openSUSE
Component: Maintenance (show other bugs)
Version: SLES15SP4-MaintUpd
Hardware: x86-64 SLES 15
: P2 - High : Major
Target Milestone: ---
Assignee: Stefan Dirsch
QA Contact:
URL: https://openqa.suse.de/tests/11426759...
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2023-06-26 11:35 UTC by Lumir Palovsky
Modified: 2023-09-26 14:00 UTC (History)
7 users (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Lumir Palovsky 2023-06-26 11:35:51 UTC
Hello, looks like there is a version dependency conflict with S:M:29099:302027 kernel-firmware-nvidia-gsp-G06 package update on HA/SLES4SAP product. 

Tests are failing consistently on both aarch64 and x86_64 architectures.

https://openqa.suse.de/tests/11442555#step/update_install/121
0| 2023-06-26 12:24:40 <1> susetest(11153) [zypp::solver] SATResolver.cc(problems):1362 the to be installed patch:SUSE-SLE-Module-Basesystem-15-SP4-2023-29099-1.noarch conflicts with 'kernel-firmware-nvidia-gsp-G06.aarch64 < 535.54.03-150400.9.13.1' provided by the installed kernel-firmware-nvidia-gsp-G06-525.105.17-150400.9.5.1.aarch64

https://openqa.suse.de/tests/11442439#step/update_install/132
0| 2023-06-26 11:32:20 <1> susetest(9366) [zypp::solver] SATResolver.cc(problems):1362 the to be installed patch:SUSE-SLE-Module-Basesystem-15-SP4-2023-29099-1.noarch conflicts with 'kernel-firmware-nvidia-gsp-G06.x86_64 < 535.54.03-150400.9.13.1' provided by the installed kernel-firmware-nvidia-gsp-G06-525.105.17-150400.9.5.1.x86_64

Regards, 
Lumir
Comment 1 Marcus Meissner 2023-06-27 13:57:40 UTC
i revoked the incidents and will push them back to QA.
Comment 2 Lumir Palovsky 2023-06-29 07:18:00 UTC
Thanks Marcus.

Yesterday evening there was another test that failed. Is it the one you pushed back? 
https://openqa.suse.de/tests/11463245#step/update_install/132

0| 2023-06-27 21:20:43 <1> susetest(19893) [zypp::solver] SATResolver.cc(problems):1362 the installed nvidia-open-driver-G06-signed-kmp-default-525.105.17_k5.14.21_150400.24.55-150400.9.5.3.x86_64 requires 'kernel-firmware-nvidia-gsp-G06 = 525.105.17', but this requirement cannot be provided

Lumir.
Comment 3 Marcus Meissner 2023-06-29 14:32:35 UTC
yes, i think my try did not fix it. please decline again :/
Comment 6 Ednilson Miura 2023-07-05 14:13:23 UTC
Same issue is happening on 15SP5:
https://openqa.suse.de/tests/11513202#step/update_install/120

Processing conflicts -  0
0| 2023-07-05 14:22:29 <3> susetest(9024) [zypp::solver] SATResolver.cc(solving):849 Solverrun finished with an ERROR
0| 2023-07-05 14:22:29 <2> susetest(9024) [zypp::solver] SATResolver.cc(resolvePool):921 SATResolver::resolvePool() done. Ret:0
0| 2023-07-05 14:22:29 <1> susetest(9024) [zypp::solver] Resolver.cc(problems):414 Resolver::problems()
0| 2023-07-05 14:22:29 <1> susetest(9024) [zypp::solver] SATResolver.cc(problems):1353 Encountered problems! Here are the solutions:
0| 2023-07-05 14:22:29 <1> susetest(9024) [zypp::solver] SATResolver.cc(problems):1353 
0| 2023-07-05 14:22:29 <1> susetest(9024) [zypp::solver] SATResolver.cc(problems):1357 Problem 1:
0| 2023-07-05 14:22:29 <1> susetest(9024) [zypp::solver] SATResolver.cc(problems):1358 ====================================
0| 2023-07-05 14:22:29 <1> susetest(9024) [zypp::solver] SATResolver.cc(problems):1362 the installed nvidia-open-driver-G06-signed-kmp-default-525.116.04_k5.14.21_150500.53-150500.1.3.x86_64 requires 'kernel-firmware-nvidia-gsp-G06 = 525.116.04', but this requirement cannot be provided
0| 2023-07-05 14:22:29 <1> susetest(9024) [zypp::solver] SATResolver.cc(problems):1363 ------------------------------------
0| 2023-07-05 14:22:29 <1> susetest(9024) [libsolv++] PoolImpl.cc(logSat):131 solver statistics: 0 learned rules, 1 unsolvable, 0 minimization steps
Comment 7 Marcus Meissner 2023-07-06 13:33:43 UTC
provides / obsoletes of the previous versions does not seem to work.

trying to think of other ways
Comment 8 Stefan Dirsch 2023-07-06 13:48:19 UTC
I don't understand this issue. If I want to update nvidia-open-driver-G06-signed-kmp-default = 525.116.04 (with requirement kernel-firmware-nvidia-gsp-G06 = 525.116.04 installed), it should be possible to update both packages to 535.54.03 replacing the old versions.
Comment 9 Marcus Meissner 2023-07-06 14:02:19 UTC
this multiversion problem is hitting us here still and it still not fully solved.

zypper tries to keep the old version of the KMP, but wants to replace the firmware package.

we made the firmware be multiversioned only with this update, but  I think the problem is the already released packages on the customer system.
Comment 10 Stefan Dirsch 2023-07-06 14:21:23 UTC
(In reply to Marcus Meissner from comment #9)
> we made the firmware be multiversioned only with this update, but  I think
> the problem is the already released packages on the customer system.

Ok this we would never be able to fix ...
Comment 11 Stefan Dirsch 2023-07-10 08:04:39 UTC
So I guess we need either to have here a overwrite, i.e. release it nevertheless. Then customers, who already installed it (I assume only very did; more likely none at all), can't update it easily, but it's a one-time issue for them. 

Or I revert again the multi-version limiting the driver to one version available for installation. 

I would prefer the first option, since we only have one version of userspace for download available and kernel and userspace need to match on the same driver version.
Comment 12 Ednilson Miura 2023-07-20 07:08:38 UTC
We still having issues with package in HA/SAP install tests:
https://openqa.suse.de/tests/11617181#step/update_install/121
Comment 13 Stefan Dirsch 2023-07-20 09:51:53 UTC
(In reply to Ednilson Miura from comment #12)
> We still having issues with package in HA/SAP install tests:
> https://openqa.suse.de/tests/11617181#step/update_install/121

We haven't changed anything, so why should tests work suddenly?

I already commented the situation in my comment#11. A decision needs to be taken!
Comment 14 Jozef Pupava 2023-07-20 10:53:37 UTC
(In reply to Stefan Dirsch from comment #13)
> (In reply to Ednilson Miura from comment #12)
> > We still having issues with package in HA/SAP install tests:
> > https://openqa.suse.de/tests/11617181#step/update_install/121
> 
> We haven't changed anything, so why should tests work suddenly?
> 
> I already commented the situation in my comment#11. A decision needs to be
> taken!

I cloned them with my branch which I work on to improve the install test
https://suse.slack.com/archives/C02D16TCP99/p1689753817440089
Comment 16 Stefan Dirsch 2023-07-25 13:20:24 UTC
kernel-firmware-nvidia-gsp-G06

- one-time rename to kernel-firmware-nvidia-gspx-G06 to workaround
  multiversioned package update (boo#1212724)

nvidia-open-driver-G06-signed

- require one-time renamed package kernel-firmware-nvidia-gspx-G06
  from now on (boo#1212724)

Submitted to factory/TW and sle15-sp4/sp5.
Comment 17 Stefan Dirsch 2023-07-25 13:20:42 UTC
Closing as fixed.
Comment 18 OBSbugzilla Bot 2023-07-25 13:45:06 UTC
This is an autogenerated message for OBS integration:
This bug (1212724) was mentioned in
https://build.opensuse.org/request/show/1100623 Factory / nvidia-open-driver-G06-signed
Comment 20 OBSbugzilla Bot 2023-07-25 14:35:04 UTC
This is an autogenerated message for OBS integration:
This bug (1212724) was mentioned in
https://build.opensuse.org/request/show/1100651 Factory / kernel-firmware-nvidia-gspx-G06
Comment 24 OBSbugzilla Bot 2023-07-26 09:05:02 UTC
This is an autogenerated message for OBS integration:
This bug (1212724) was mentioned in
https://build.opensuse.org/request/show/1100787 Factory / kernel-firmware-nvidia-gspx-G06
Comment 28 Stefan Dirsch 2023-07-26 10:49:33 UTC
Hmm. Does adding this make sense?

Provides:       kernel-firmware-nvidia-gsp-G06 = 535.86.05
Obsoletes:      kernel-firmware-nvidia-gsp-G06 < 535.86.05
Comment 29 Takashi Iwai 2023-07-26 10:56:08 UTC
(In reply to Stefan Dirsch from comment #28)
> Hmm. Does adding this make sense?
> 
> Provides:       kernel-firmware-nvidia-gsp-G06 = 535.86.05
> Obsoletes:      kernel-firmware-nvidia-gsp-G06 < 535.86.05

I don't think so.  The previous TW package was already 535.86.05, and that's the conflicting one, right?  If any, Obsoletes should be

Obsoletes: kernel-firmware-nvidia-gsp-G06 = 535.86.05

But this looks quite strange, and I'm not sure whether it works.
Comment 30 Stefan Dirsch 2023-07-26 10:58:48 UTC
(In reply to Takashi Iwai from comment #29)
> (In reply to Stefan Dirsch from comment #28)
> > Hmm. Does adding this make sense?
> > 
> > Provides:       kernel-firmware-nvidia-gsp-G06 = 535.86.05
> > Obsoletes:      kernel-firmware-nvidia-gsp-G06 < 535.86.05
> 
> I don't think so.  The previous TW package was already 535.86.05, and that's
> the conflicting one, right?  

Yes, exactly.

> If any, Obsoletes should be
> 
> Obsoletes: kernel-firmware-nvidia-gsp-G06 = 535.86.05
> 
> But this looks quite strange, and I'm not sure whether it works.

Yeah, that's why I'm asking. And why I didn't try to add it in the first place.
Comment 31 Stefan Dirsch 2023-07-26 11:00:53 UTC
Maybe just

 Obsoletes: kernel-firmware-nvidia-gsp-G06 <= 535.86.05

Wild guessing here ...
Comment 32 Takashi Iwai 2023-07-26 11:04:02 UTC
The "<=" should certainly work, as it's a standard pattern (although it's complained by the checker).  But it means that the version before that will be dropped eventually, too.  Is it intended?
Comment 33 Stefan Dirsch 2023-07-26 11:23:56 UTC
(In reply to Takashi Iwai from comment #32)
> The "<=" should certainly work, as it's a standard pattern (although it's
> complained by the checker).  But it means that the version before that will
> be dropped eventually, too.  Is it intended?

Ah. Right. The older version don't need to be dropped, since there were no conflicts. So 

  Obsoletes: kernel-firmware-nvidia-gsp-G06 = 535.86.05

should be sufficient. We don't need Provides, do we?
Comment 34 Takashi Iwai 2023-07-26 11:31:51 UTC
Obsoletes alone should work, I *hope*.  But devils are in details, let's cross fingers :)
Comment 35 Stefan Dirsch 2023-07-26 11:46:01 UTC
Yeah. let's try it. If not, I will also add

  Provides: kernel-firmware-nvidia-gsp-G06 = 535.86.05

This shouldn't hurt either and may help then.
Comment 36 OBSbugzilla Bot 2023-07-26 12:05:04 UTC
This is an autogenerated message for OBS integration:
This bug (1212724) was mentioned in
https://build.opensuse.org/request/show/1100832 Factory / kernel-firmware-nvidia-gspx-G06
Comment 39 Maintenance Automation 2023-09-05 12:42:04 UTC
SUSE-RU-2023:3524-1: An update that has one fix can now be installed.

Category: recommended (moderate)
Bug References: 1212724
Sources used:
openSUSE Leap 15.5 (src): nvidia-open-driver-G06-signed-535.104.05-150500.3.10.1
Basesystem Module 15-SP5 (src): nvidia-open-driver-G06-signed-535.104.05-150500.3.10.1
Public Cloud Module 15-SP5 (src): nvidia-open-driver-G06-signed-535.104.05-150500.3.10.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 40 Maintenance Automation 2023-09-05 12:42:06 UTC
SUSE-RU-2023:3523-1: An update that has one fix can now be installed.

Category: recommended (moderate)
Bug References: 1212724
Sources used:
openSUSE Leap 15.4 (src): nvidia-open-driver-G06-signed-535.104.05-150400.9.17.1
Basesystem Module 15-SP4 (src): nvidia-open-driver-G06-signed-535.104.05-150400.9.17.1
Public Cloud Module 15-SP4 (src): nvidia-open-driver-G06-signed-535.104.05-150400.9.17.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.