Bug 1329128

Summary: Spacewalk seems to change the metadata of SUSE rpms
Product: [Community] Spacewalk Reporter: thomas.seip
Component: ServerAssignee: Michael Mráka <mmraka>
Status: CLOSED EOL QA Contact: Red Hat Satellite QA List <satqe-list>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 2.4CC: thomas.seip
Target Milestone: ---   
Target Release: ---   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2019-10-21 13:12:11 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:

Description thomas.seip 2016-04-21 09:26:11 UTC
Description of problem:
Spacewalk seems to change the metadata of SLES 12 RPMs.
For instance the attribute "Support Level" is missing (this is not critical) and for pattern RPMs the requirements & recommended packages change (this is critical).

Version-Release number of selected component (if applicable):
Spacewalk 2.4

How reproducible:
always

Steps to Reproduce:
1. Register SLES 12 SP1 client to Spacewalk 2.4 Server. Spacewalk Server is synchronizing its repository data from a local SUSE SMT server.
2. Run "zypper info --requires patterns-sle-gnome-basic"
3. Pay attention to the output sections "Support Level" and "Requires"

Actual results:
This is the output from when the system is checking against the Spacewalk repo:

zypper info --requires patterns-sle-gnome-basic

Information for package patterns-sle-gnome-basic:
-------------------------------------------------
Repository: smt-sles12sp1
Name: patterns-sle-gnome-basic
Version: 12-5.8
Arch: x86_64
Vendor: SUSE LLC <https://www.suse.com/>
Support Level: unknown
Installed: No
Status: not installed
Installed Size: 57 B
Summary: GNOME Desktop Environment
Description:
  The GNOME desktop environment is an intuitive and attractive desktop for users.
Requires:
  gnome-session
  gsettings-backend-dconf
  pattern() == basesystem
  pattern() == x11
  rpmlib(PayloadFilesHavePrefix) <= 4.0-1
  rpmlib(CompressedFileNames) <= 3.0.4-1
  rpmlib(PayloadIsLzma) <= 4.4.6-1



zypper info --recommends patterns-sle-gnome-basic

Information for package patterns-sle-gnome-basic:
-------------------------------------------------
Repository: smt-sles12sp1
Name: patterns-sle-gnome-basic
Version: 12-5.8
Arch: x86_64
Vendor: SUSE LLC <https://www.suse.com/>
Support Level: unknown
Installed: No
Status: not installed
Installed Size: 57 B
Summary: GNOME Desktop Environment
Description:
  The GNOME desktop environment is an intuitive and attractive desktop for users.
Recommends:
  at-spi2-atk-gtk2



Expected results:
This is the output when the system is checking against the SMT repo directly:
zypper info --requires patterns-sle-gnome-basic

Information for package patterns-sle-gnome-basic:
-------------------------------------------------
Repository: smttest
Name: patterns-sle-gnome-basic
Version: 12-5.8
Arch: x86_64
Vendor: SUSE LLC <https://www.suse.com/>
Support Level: Level 2
Installed: No
Status: not installed
Installed Size: 57 B
Summary: GNOME Desktop Environment
Description:
  The GNOME desktop environment is an intuitive and attractive desktop for users.
Requires:
  gnome-session
  gsettings-backend-dconf
  pattern() == basesystem
  pattern() == x11


zypper info --recommends patterns-sle-gnome-basic

Information for package patterns-sle-gnome-basic:
-------------------------------------------------
Repository: smt-sles12sp1
Name: patterns-sle-gnome-basic
Version: 12-5.8
Arch: x86_64
Vendor: SUSE LLC <https://www.suse.com/>
Support Level: Level 2
Installed: No
Status: not installed
Installed Size: 57 B
Summary: GNOME Desktop Environment
Description:
  The GNOME desktop environment is an intuitive and attractive desktop for users.
Recommends:
  pulseaudio
  gdm
  gnome-keyring
  nautilus
  susehelp
  brasero
  file-roller
  evince
  shared-mime-info
  yelp
  gedit
  gucharmap
  eog
  gconf-editor
  gnome-keyring-pam
  gnome-nettool
  gnome-packagekit
  gnome-power-manager
  gnome-system-monitor
  gnome-terminal
  gnome-tweak-tool
  gnome-user-docs
  nautilus-open-terminal
  nautilus-share
  polkit-gnome
  vino
  xdg-user-dirs-gtk
  desktop-file-utils
  xscreensaver
  input-utils
  at-spi2-atk-gtk2
  desktop-translations
  gconf2-branding
  gnome-mime-data
  gnome-shell-classic
  pulseaudio-module-x11
  yast2-control-center-gnome
  yast2-sound
  gnome-screensaver
  pinentry-gtk2
  pulseaudio-module-gconf



Additional info:
As you see almost all the recommended packages are missing and also the required packages have changed.
SUSE manager 2.1 (which is based on Spacewalk afaik) doesn't show this behavior. I've created a custom channel there too, set it to synchronize against the SMT Repo and there are no issues.

Comment 1 Michael Mráka 2019-10-21 13:12:11 UTC
Spacewalk 2.8 (and older) has already reached it's End Of Life.

Thank you for reporting this issue and we are sorry that we were not
able to fix it before end of life. If you would still like
to see this bug fixed and are able to reproduce it against current version
of Spacewalk 2.9, you are encouraged change the 'version' and re-open it.