Hi Heiner,

 

Interestingly, I made this suggestion a year ago - https://github.com/uyuni-project/uyuni/issues/2645

 

It was actioned and the documentation updated, but I have noted in the past few updates that the docs are missing this, so I suspect the change got lost somewhere along the way.

 

+1 for a dev revisiting it, as it will no doubt catch others out too.

 

S

 

From: Heiner Wulfhorst <email@heiwu.de>
Sent: 01 October 2021 09:38
To: Julio Gonzalez <jgonzalez@suse.com>
Cc: uyuni-users@opensuse.org; users@lists.uyuni-project.org; Simon Avery <Simon.Avery@atass-sports.co.uk>
Subject: [EXTERNAL EMAIL] Re: Upgrade 2021.09 - Wrong vendor on packages?

 

Hi all,

 

I just did the upgrade on my test and prod system, coming from 2021.08, following Minor Upgrade Guide. Both upgrades did not cause any error. Looks like the bug fix is working: https://bugzilla.opensuse.org/show_bug.cgi?id=1190851#c2

 

One hint about the Minor Upgrade Guide:

This note is written below the steps: "By default, zypper refreshes the repository every ten minutes (see repo.refresh.delay in /etc/zypp/zypp.conf). If autorefresh is disabled, run zypper ref to refresh all repositories.". According to Murphy's law, of course I did not have autorefresh enabled and also did not follow best practices to always refresh before doing anything else with zypper. Result was a nicely patched OS still running Uyuni 2021.08. After doing "zypper ref" and repeating all upgrade steps everything was upgraded as desired.

I suggest putting that Note above the upgrade steps.

Is there any known issue/pitfall regarding autorefresh and uyuni or is it safe to activate it for all channels?

 

 

BR, have a nice weekend!

Heiner

 

 

 

 

 

 

Am Fr., 24. Sept. 2021 um 14:02 Uhr schrieb Julio Gonzalez <jgonzalez@suse.com>:

On viernes, 24 de septiembre de 2021 13:57:49 (CEST) Simon Avery wrote:
> Thanks for your quick response, Julio.
>
> Doing as you suggested has allowed the packages to upgrade and Zypper
> reports things are fully up to date.
>
> A quick reboot and Uyuni is up and behaving normally.

No problem!

For reference, there's now a bug for openSUSE, and an Uyuni issue with the
workaround documented:
https://github.com/uyuni-project/uyuni/issues/4244

I just announced it at the lists, twitter and site.

Sorry about the inconvenience.

> Regards
>
> S
>
>
> -----Original Message-----
> From: Julio Gonzalez <jgonzalez@suse.com>
> Sent: 24 September 2021 11:51
> To: uyuni-users@opensuse.org; users@lists.uyuni-project.org
> Cc: Simon Avery <Simon.Avery@atass-sports.co.uk>
> Subject: [EXTERNAL EMAIL] Re: Upgrade 2021.09 - Wrong vendor on packages?
>
> I am afraid that's an unexpected problem created by openSUSE Leap 15.3
>
> openSUSE Leap 15.3 should NOT have those packages, but you got them
> installed, probably during the upgrade to 15.3 because of the vendor
> change.
>
> For **this specific list of packages**: Run the call to zypper up with `--
> allow-vendor-change` (stop services firt, of course)
>
> Other users: if any of you get this but other packages are on the list, do
> not call zypper with `--allow-vendor-change`, as that can break your
> Server.
> On viernes, 24 de septiembre de 2021 12:18:25 (CEST) Simon Avery wrote:
> > Hi
> >
> > Thanks to all involved in the latest  version - good to see it keep
> > growing in strength!
> >
> > I did the upgrade from 2021.08 this morning, following the usual MINOR
> > procedure.
> >
> > All seemed to have go well and Uyuni came back after rebooting and
> > functioned normally.
> >
> > However - a question following the update and reboot - some updates
> > and flagged as below.
> >
> > I'm guessing it is safe to override the vendor and install the new
> > packages
> >
> > Thanks
> >
> >
> > ata-oxy-uyuni01:/home/simon # zypper up Loading repository data...
> > Reading installed packages...
> >
> > The following 6 package updates will NOT be installed:
> >   mgr-osa-dispatcher python3-mgr-osa-common python3-mgr-osa-dispatcher
> >
> > python3-rhnlib python3-suseRegisterInfo suseRegisterInfo Nothing to do.
> > ata-oxy-uyuni01:/home/simon # zypper up mgr-osa-dispatcher Loading
> > repository data...
> > Reading installed packages...
> > There is an update candidate for 'mgr-osa-dispatcher' from vendor
> > 'obs://build.opensuse.org/systemsmanagement:Uyuni', while the current
> > vendor is 'SUSE LLC https://www.suse.com/'. Use 'zypper install
> > mgr-osa-dispatcher-4.3.1-1.2.uyuni1.noarch' to install this candidate.
> > Resolving package dependencies...
> > Nothing to do.
> >
> >
> > simon@ata-oxy-uyuni01:~> zypper repos
> > Repository priorities are without effect. All enabled repositories
> > share the same priority.
> >
> > # | Alias                       | Name
> >
> >                                                  | Enabled | GPG Check
> > |
> > | Refresh
> >
> > --+-----------------------------+-------------------------------------
> > --+-----------------------------+-----
> > ---------------------------------------------------+---------+-----------+
> > -- ------ 1 | repo-backports-debug-update | Update repository with updates
> > for openSUSE Leap debuginfo packages from openSUSE Backports | No      |
> > ---->
> >    | ---- 2 | repo-backports-update       | Update repository of openSUSE
> >
> > Backports                                                     | Yes     |
> > (r ) Yes  | Yes 3 | repo-non-oss                | Non-OSS Repository
> >
> >                                                                   | Yes
> > |
> > | (r ) Yes  | Yes 4 | repo-oss                    | Main Repository
> > |
> >                                                                     | Yes
> >   |
> >   | (r ) Yes  | Yes 5 | repo-sle-debug-update       | Update repository
> >
> > with debuginfo for updates from SUSE Linux Enterprise 15                 
> > |
> > No      | ----      | ---- 6 | repo-sle-update             | Update
> > repository wiht updates from SUSE Linux Enterprise 15
> >
> >          | Yes     | (r ) Yes  | Yes 7 | repo-update                 |
> >          | Main
> >
> > Update Repository
> >
> >            | Yes     | (r ) Yes  | Yes 8 | repo-update-non-oss         |
> >
> > Update Repository (Non-Oss)
> >
> >                 | Yes     | (r ) Yes  | Yes 9 | uyuni-server-stable
> > |
> > | Uyuni Server Stable
> > |
> >                   | Yes     | (r ) Yes  | Yes
> >
> > Simon Avery
> > Linux Systems Administrator
>
> --
> Julio González Gil
> Release Engineer, SUSE Manager and Uyuni jgonzalez@suse.com


--
Julio González Gil
Release Engineer, SUSE Manager and Uyuni
jgonzalez@suse.com