uyuni-project / uyuni

Source code for Uyuni
https://www.uyuni-project.org/
GNU General Public License v2.0
445 stars 185 forks source link

YaST module Uyuni Setup missing #3273

Open afaerber opened 3 years ago

afaerber commented 3 years ago

Additional Information

Version of Uyuni Server

zypper info Uyuni-Server-release:

Loading repository data...
Reading installed packages...

Information for package Uyuni-Server-release:
---------------------------------------------
Repository     : Uyuni
Name           : Uyuni-Server-release
Version        : 2021.01-107.1.uyuni
Arch           : aarch64
Vendor         : obs://build.opensuse.org/systemsmanagement:Uyuni
Installed Size : 1.4 KiB
Installed      : Yes (automatically)
Status         : up-to-date
Source package : Uyuni-Server-release-2021.01-107.1.uyuni.src
Summary        : Uyuni Server
Description    : 
    Uyuni lets you efficiently manage physical, virtual,
    and cloud-based Linux systems. It provides automated and cost-effective
    configuration and software management, asset management, and system
    provisioning.

Details about issue

After installation of patterns-uyuni_server (compare issue #3272 - syslinux-x86_64 is installed from images repo), documentation instructs to run Uyuni Setup from YaST: https://www.uyuni-project.org/pages/stable-version.html https://www.uyuni-project.org/uyuni-docs/uyuni/installation/uyuni-server-setup.html https://www.uyuni-project.org/doc/2021.01/release-notes-uyuni-server.html#_installation

YaST does not have any Uyuni Setup module under Network Settings or elsewhere though:

# yast2 # TAB
add-on              host                lan                 ntp-client          repositories        support             vendor
alternatives        hwinfo              language            online_update       samba-client        sw_single           view_anymsg
apparmor            inst_release_notes  ldapkrb             partitioner         samba-server        sysconfig           virtualization
auth-client         iscsi-client        ldap-server         printer             security            system_settings     vpn
bootloader          journal             mail                proxy               services-manager    tftp-server         
checkmedia          keyboard            nfs                 relocation-server   snapper             timezone            
firewall            krb-server          nis                 remote              sudo                users               

There is no yast2-uyuni or uyuni-yast or similar package in the repos (nor for spacewalk) that the pattern might've forgotten to install - not in the x86_64 repos either.

Shirocco88 commented 3 years ago

@afaerber Are you sure, that AARCH64 is supported ?

https://www.uyuni-project.org/pages/stable-version.html#serversetup ==> Requirements: x86_64

afaerber commented 3 years ago

@Shirocco88 I was told by @paususe that it's being built for Leap 15.2 aarch64. I'm used to documentation focusing on x86_64, but obviously there's still problems - openSUSE_Leap_15.2 #3273 only reported one missing package, but it seems the Media1 repo hid further missing packages with various dependency problems:

# LANG=C zypper in -f patterns-uyuni_server
Loading repository data...
Reading installed packages...
Forcing installation of 'patterns-uyuni_server-2021.01-2.1.uyuni.aarch64' from repository 'Uyuni'.
Resolving package dependencies...

Problem: nothing provides perl-Mail-RFC822-Address needed by spacewalk-setup-4.2.4-1.1.uyuni.noarch
 Solution 1: do not install patterns-uyuni_server-2021.01-2.1.uyuni.aarch64
 Solution 2: break spacewalk-setup-4.2.4-1.1.uyuni.noarch by ignoring some of its dependencies

Choose from above solutions by number or cancel [1/2/c/d/?] (c): 2
Resolving dependencies...
Resolving package dependencies...

Problem: nothing provides (apache2-mod_xsendfile or mod_xsendfile) needed by spacewalk-config-4.2.3-1.1.uyuni.noarch
 Solution 1: do not install patterns-uyuni_server-2021.01-2.1.uyuni.aarch64
 Solution 2: break spacewalk-config-4.2.3-1.1.uyuni.noarch by ignoring some of its dependencies

Choose from above solutions by number or cancel [1/2/c/d/?] (c): 2
Resolving dependencies...
Resolving package dependencies...

Problem: nothing provides simple-core needed by spacewalk-taskomatic-4.2.7-1.3.uyuni.noarch
 Solution 1: do not install patterns-uyuni_server-2021.01-2.1.uyuni.aarch64
 Solution 2: break spacewalk-taskomatic-4.2.7-1.3.uyuni.noarch by ignoring some of its dependencies

Choose from above solutions by number or cancel [1/2/c/d/?] (c): 2
Resolving dependencies...
Resolving package dependencies...

Problem: nothing provides simple-core needed by spacewalk-search-4.2.3-1.2.uyuni.noarch
 Solution 1: do not install patterns-uyuni_server-2021.01-2.1.uyuni.aarch64
 Solution 2: break spacewalk-search-4.2.3-1.2.uyuni.noarch by ignoring some of its dependencies

Choose from above solutions by number or cancel [1/2/c/d/?] (c): 2
Resolving dependencies...
Resolving package dependencies...

Problem: nothing provides simple-core needed by spacewalk-java-4.2.7-1.3.uyuni.noarch
 Solution 1: do not install patterns-uyuni_server-2021.01-2.1.uyuni.aarch64
 Solution 2: break spacewalk-java-4.2.7-1.3.uyuni.noarch by ignoring some of its dependencies

Choose from above solutions by number or cancel [1/2/c/d/?] (c): 2
Resolving dependencies...
Resolving package dependencies...

Problem: nothing provides python3-dmidecode needed by python3-spacewalk-client-tools-4.2.5-1.3.uyuni.noarch
 Solution 1: do not install patterns-uyuni_server-2021.01-2.1.uyuni.aarch64
 Solution 2: break python3-spacewalk-client-tools-4.2.5-1.3.uyuni.noarch by ignoring some of its dependencies

Choose from above solutions by number or cancel [1/2/c/d/?] (c): 2
Resolving dependencies...
Resolving package dependencies...

With those broken dependencies ignored, the installed packages from the Media1 repo now do show Uyuni Setup under Network Services (although seemingly not with tab completion).

afaerber commented 3 years ago

Workaround is to use this Leap 15.2 repo from Master: https://build.opensuse.org/project/show/systemsmanagement:Uyuni:Master:Other

paususe commented 3 years ago

Workaround is to use this Leap 15.2 repo from Master: build.opensuse.org/project/show/systemsmanagement:Uyuni:Master:Other

In general, Uyuni Server and Proxy on aarch64 should be tested only using master branch at this point, it's highly experimental. But thanks for the report, we'll fix the issue!

@juliogonzalez could you please look into this?

afaerber commented 3 years ago

In general, Uyuni Server and Proxy on aarch64 should be tested only using master branch at this point, it's highly experimental.

Hmm, the documentation specifically instructed not to use the Master version for production devices (https://www.uyuni-project.org/pages/devel-version.html), which is why I've been investigating Stable instead.

BTW the Stable OBS project https://build.opensuse.org/project/show/systemsmanagement:Uyuni:Stable still says 2020.09 although the code is apparently 2021.01. Maybe just drop the version from the project description, to avoid future updates missing to update it? Or do separate Stable:X.Y sub-projects like Leap does?

juliogonzalez commented 3 years ago

In general, Uyuni Server and Proxy on aarch64 should be tested only using master branch at this point, it's highly experimental. But thanks for the report, we'll fix the issue! @juliogonzalez could you please look into this?

As I told last week, we have the builds enable for aarch64, but the patterns do not work yet. I will try to find some time to review what's going on, but no promises.

The complete set of failues is:

=========== Test Uyuni-Server aarch64 =========== 
can't install mgr-osa-dispatcher-4.2.2-2.1.uyuni.noarch: 
  nothing provides uyuni-base-common needed by mgr-osa-dispatcher-4.2.2-2.1.uyuni.noarch 
can't install mgr-push-4.2.2-2.1.uyuni.noarch: 
  package mgr-push-4.2.2-2.1.uyuni.noarch requires python3-mgr-push = 4.2.2-2.1.uyuni, but none of the providers can be installed 
  nothing provides python3-uyuni-common-libs needed by python3-mgr-push-4.2.2-2.1.uyuni.noarch 
can't install perl-Term-Completion-1.00-2.1.uyuni.noarch: 
  nothing provides perl(Term::Size) needed by perl-Term-Completion-1.00-2.1.uyuni.noarch 
can't install py26-compat-salt-2016.11.10-51.1.uyuni.noarch: 
  nothing provides py26-compat-msgpack-python needed by py26-compat-salt-2016.11.10-51.1.uyuni.noarch 
  nothing provides py26-compat-tornado needed by py26-compat-salt-2016.11.10-51.1.uyuni.noarch 
can't install python3-mgr-push-4.2.2-2.1.uyuni.noarch: 
  nothing provides python3-uyuni-common-libs needed by python3-mgr-push-4.2.2-2.1.uyuni.noarch 
can't install python3-spacewalk-certs-tools-4.2.4-2.1.uyuni.noarch: 
  nothing provides python3-uyuni-common-libs needed by python3-spacewalk-certs-tools-4.2.4-2.1.uyuni.noarch 
can't install python3-spacewalk-client-tools-4.2.5-2.3.uyuni.noarch: 
  nothing provides python3-dmidecode needed by python3-spacewalk-client-tools-4.2.5-2.3.uyuni.noarch 
  nothing provides python3-uyuni-common-libs needed by python3-spacewalk-client-tools-4.2.5-2.3.uyuni.noarch 
can't install spacewalk-admin-4.2.3-2.1.uyuni.noarch: 
  nothing provides uyuni-base-common needed by spacewalk-admin-4.2.3-2.1.uyuni.noarch 
can't install spacewalk-backend-4.2.5-5.1.uyuni.noarch: 
  nothing provides uyuni-base-common needed by spacewalk-backend-4.2.5-5.1.uyuni.noarch 
  nothing provides python3-uyuni-common-libs needed by spacewalk-backend-4.2.5-5.1.uyuni.noarch 
can't install spacewalk-backend-app-4.2.5-5.1.uyuni.noarch: 
  package spacewalk-backend-app-4.2.5-5.1.uyuni.noarch requires spacewalk-backend-server = 4.2.5-5.1.uyuni, but none of the providers can be installed 
  package spacewalk-backend-server-4.2.5-5.1.uyuni.noarch requires spacewalk-config, but none of the providers can be installed 
  nothing provides uyuni-base-common needed by spacewalk-config-4.2.3-5.1.uyuni.noarch 
  nothing provides (apache2-mod_xsendfile or mod_xsendfile) needed by spacewalk-config-4.2.3-5.1.uyuni.noarch 
can't install spacewalk-backend-applet-4.2.5-5.1.uyuni.noarch: 
  package spacewalk-backend-applet-4.2.5-5.1.uyuni.noarch requires spacewalk-backend-server = 4.2.5-5.1.uyuni, but none of the providers can be installed 
  package spacewalk-backend-server-4.2.5-5.1.uyuni.noarch requires spacewalk-config, but none of the providers can be installed 
  nothing provides uyuni-base-common needed by spacewalk-config-4.2.3-5.1.uyuni.noarch 
  nothing provides (apache2-mod_xsendfile or mod_xsendfile) needed by spacewalk-config-4.2.3-5.1.uyuni.noarch 
can't install spacewalk-backend-config-files-4.2.5-5.1.uyuni.noarch: 
  package spacewalk-backend-config-files-common-4.2.5-5.1.uyuni.noarch requires spacewalk-backend-server = 4.2.5-5.1.uyuni, but none of the providers can be installed 
  package spacewalk-backend-config-files-4.2.5-5.1.uyuni.noarch requires spacewalk-backend-config-files-common = 4.2.5-5.1.uyuni, but none of the providers can be installed 
  package spacewalk-backend-server-4.2.5-5.1.uyuni.noarch requires spacewalk-config, but none of the providers can be installed 
  nothing provides uyuni-base-common needed by spacewalk-config-4.2.3-5.1.uyuni.noarch 
  nothing provides (apache2-mod_xsendfile or mod_xsendfile) needed by spacewalk-config-4.2.3-5.1.uyuni.noarch 
can't install spacewalk-backend-config-files-common-4.2.5-5.1.uyuni.noarch: 
  package spacewalk-backend-config-files-common-4.2.5-5.1.uyuni.noarch requires spacewalk-backend-server = 4.2.5-5.1.uyuni, but none of the providers can be installed 
  package spacewalk-backend-server-4.2.5-5.1.uyuni.noarch requires spacewalk-config, but none of the providers can be installed 
  nothing provides uyuni-base-common needed by spacewalk-config-4.2.3-5.1.uyuni.noarch 
  nothing provides (apache2-mod_xsendfile or mod_xsendfile) needed by spacewalk-config-4.2.3-5.1.uyuni.noarch 
can't install spacewalk-backend-config-files-tool-4.2.5-5.1.uyuni.noarch: 
  package spacewalk-backend-config-files-common-4.2.5-5.1.uyuni.noarch requires spacewalk-backend-server = 4.2.5-5.1.uyuni, but none of the providers can be installed 
  package spacewalk-backend-config-files-tool-4.2.5-5.1.uyuni.noarch requires spacewalk-backend-config-files-common = 4.2.5-5.1.uyuni, but none of the providers can be installed 
  package spacewalk-backend-server-4.2.5-5.1.uyuni.noarch requires spacewalk-config, but none of the providers can be installed 
  nothing provides uyuni-base-common needed by spacewalk-config-4.2.3-5.1.uyuni.noarch 
  nothing provides (apache2-mod_xsendfile or mod_xsendfile) needed by spacewalk-config-4.2.3-5.1.uyuni.noarch 
can't install spacewalk-backend-iss-4.2.5-5.1.uyuni.noarch: 
  package spacewalk-backend-iss-4.2.5-5.1.uyuni.noarch requires spacewalk-backend-server = 4.2.5-5.1.uyuni, but none of the providers can be installed 
  package spacewalk-backend-server-4.2.5-5.1.uyuni.noarch requires spacewalk-config, but none of the providers can be installed 
  nothing provides uyuni-base-common needed by spacewalk-config-4.2.3-5.1.uyuni.noarch 
  nothing provides (apache2-mod_xsendfile or mod_xsendfile) needed by spacewalk-config-4.2.3-5.1.uyuni.noarch 
can't install spacewalk-backend-iss-export-4.2.5-5.1.uyuni.noarch: 
  package spacewalk-backend-xml-export-libs-4.2.5-5.1.uyuni.noarch requires spacewalk-backend-server = 4.2.5-5.1.uyuni, but none of the providers can be installed 
  package spacewalk-backend-iss-export-4.2.5-5.1.uyuni.noarch requires spacewalk-backend-xml-export-libs = 4.2.5-5.1.uyuni, but none of the providers can be installed 
  package spacewalk-backend-server-4.2.5-5.1.uyuni.noarch requires spacewalk-config, but none of the providers can be installed 
  nothing provides uyuni-base-common needed by spacewalk-config-4.2.3-5.1.uyuni.noarch 
  nothing provides (apache2-mod_xsendfile or mod_xsendfile) needed by spacewalk-config-4.2.3-5.1.uyuni.noarch 
can't install spacewalk-backend-package-push-server-4.2.5-5.1.uyuni.noarch: 
  package spacewalk-backend-package-push-server-4.2.5-5.1.uyuni.noarch requires spacewalk-backend-server = 4.2.5-5.1.uyuni, but none of the providers can be installed 
  package spacewalk-backend-server-4.2.5-5.1.uyuni.noarch requires spacewalk-config, but none of the providers can be installed 
  nothing provides uyuni-base-common needed by spacewalk-config-4.2.3-5.1.uyuni.noarch 
  nothing provides (apache2-mod_xsendfile or mod_xsendfile) needed by spacewalk-config-4.2.3-5.1.uyuni.noarch 
can't install spacewalk-backend-server-4.2.5-5.1.uyuni.noarch: 
  package spacewalk-backend-server-4.2.5-5.1.uyuni.noarch requires spacewalk-config, but none of the providers can be installed 
  nothing provides uyuni-base-common needed by spacewalk-config-4.2.3-5.1.uyuni.noarch 
  nothing provides (apache2-mod_xsendfile or mod_xsendfile) needed by spacewalk-config-4.2.3-5.1.uyuni.noarch 
can't install spacewalk-backend-sql-4.2.5-5.1.uyuni.noarch: 
  package spacewalk-backend-sql-4.2.5-5.1.uyuni.noarch requires spacewalk-backend = 4.2.5-5.1.uyuni, but none of the providers can be installed 
  nothing provides uyuni-base-common needed by spacewalk-backend-4.2.5-5.1.uyuni.noarch 
  nothing provides python3-uyuni-common-libs needed by spacewalk-backend-4.2.5-5.1.uyuni.noarch 
can't install spacewalk-backend-tools-4.2.5-5.1.uyuni.noarch: 
  nothing provides susemanager-tools needed by spacewalk-backend-tools-4.2.5-5.1.uyuni.noarch 
can't install spacewalk-backend-xml-export-libs-4.2.5-5.1.uyuni.noarch: 
  package spacewalk-backend-xml-export-libs-4.2.5-5.1.uyuni.noarch requires spacewalk-backend-server = 4.2.5-5.1.uyuni, but none of the providers can be installed 
  package spacewalk-backend-server-4.2.5-5.1.uyuni.noarch requires spacewalk-config, but none of the providers can be installed 
  nothing provides uyuni-base-common needed by spacewalk-config-4.2.3-5.1.uyuni.noarch 
  nothing provides (apache2-mod_xsendfile or mod_xsendfile) needed by spacewalk-config-4.2.3-5.1.uyuni.noarch 
can't install spacewalk-backend-xmlrpc-4.2.5-5.1.uyuni.noarch: 
  package spacewalk-backend-xmlrpc-4.2.5-5.1.uyuni.noarch requires spacewalk-backend-server = 4.2.5-5.1.uyuni, but none of the providers can be installed 
  package spacewalk-backend-server-4.2.5-5.1.uyuni.noarch requires spacewalk-config, but none of the providers can be installed 
  nothing provides uyuni-base-common needed by spacewalk-config-4.2.3-5.1.uyuni.noarch 
  nothing provides (apache2-mod_xsendfile or mod_xsendfile) needed by spacewalk-config-4.2.3-5.1.uyuni.noarch 
can't install spacewalk-certs-tools-4.2.4-2.1.uyuni.noarch: 
  nothing provides python3-uyuni-common-libs needed by spacewalk-certs-tools-4.2.4-2.1.uyuni.noarch 
can't install spacewalk-client-tools-4.2.5-2.3.uyuni.noarch: 
  package spacewalk-client-tools-4.2.5-2.3.uyuni.noarch requires python3-spacewalk-client-tools = 4.2.5-2.3.uyuni, but none of the providers can be installed 
  nothing provides python3-dmidecode needed by python3-spacewalk-client-tools-4.2.5-2.3.uyuni.noarch 
  nothing provides python3-uyuni-common-libs needed by python3-spacewalk-client-tools-4.2.5-2.3.uyuni.noarch 
can't install spacewalk-common-4.2.3-1.1.uyuni.noarch: 
  package spacewalk-common-4.2.3-1.1.uyuni.noarch requires susemanager-jsp_en, but none of the providers can be installed 
  nothing provides release-notes-uyuni needed by uyuni-doc-indexes-2021.01-3.5.uyuni.noarch 
  nothing provides release-notes-uyuni needed by uyuni-docs_en-2021.01-2.1.uyuni.noarch 
can't install spacewalk-config-4.2.3-5.1.uyuni.noarch: 
  nothing provides uyuni-base-common needed by spacewalk-config-4.2.3-5.1.uyuni.noarch 
  nothing provides (apache2-mod_xsendfile or mod_xsendfile) needed by spacewalk-config-4.2.3-5.1.uyuni.noarch 
can't install spacewalk-html-4.2.8-1.3.uyuni.noarch: 
  nothing provides spacewalk-branding needed by spacewalk-html-4.2.8-1.3.uyuni.noarch 
can't install spacewalk-java-4.2.7-5.1.uyuni.noarch: 
  nothing provides simple-core needed by spacewalk-java-4.2.7-5.1.uyuni.noarch 
  nothing provides spacewalk-branding needed by spacewalk-java-4.2.7-5.1.uyuni.noarch 
  nothing provides uyuni-base-server needed by spacewalk-java-4.2.7-5.1.uyuni.noarch 
can't install spacewalk-postgresql-4.2.3-1.1.uyuni.noarch: 
  package spacewalk-postgresql-4.2.3-1.1.uyuni.noarch requires spacewalk-common = 4.2.3-1.1.uyuni, but none of the providers can be installed 
  package spacewalk-common-4.2.3-1.1.uyuni.noarch requires susemanager-jsp_en, but none of the providers can be installed 
  nothing provides release-notes-uyuni needed by uyuni-doc-indexes-2021.01-3.5.uyuni.noarch 
  nothing provides release-notes-uyuni needed by uyuni-docs_en-2021.01-2.1.uyuni.noarch 
can't install spacewalk-reports-4.2.3-5.1.uyuni.noarch: 
  nothing provides spacewalk-branding needed by spacewalk-reports-4.2.3-5.1.uyuni.noarch 
can't install spacewalk-search-4.2.3-2.1.uyuni.noarch: 
  nothing provides uyuni-base-common needed by spacewalk-search-4.2.3-2.1.uyuni.noarch 
  nothing provides simple-core needed by spacewalk-search-4.2.3-2.1.uyuni.noarch 
can't install spacewalk-setup-4.2.4-5.1.uyuni.noarch: 
  nothing provides perl-Mail-RFC822-Address needed by spacewalk-setup-4.2.4-5.1.uyuni.noarch 
can't install spacewalk-setup-jabberd-4.2.3-2.1.uyuni.noarch: 
  nothing provides jabberd needed by spacewalk-setup-jabberd-4.2.3-2.1.uyuni.noarch 
  nothing provides jabberd-sqlite needed by spacewalk-setup-jabberd-4.2.3-2.1.uyuni.noarch 
can't install spacewalk-taskomatic-4.2.7-5.1.uyuni.noarch: 
  nothing provides simple-core needed by spacewalk-taskomatic-4.2.7-5.1.uyuni.noarch 
can't install spacewalk-utils-4.2.4-2.1.uyuni.noarch: 
  nothing provides uyuni-base-common needed by spacewalk-utils-4.2.4-2.1.uyuni.noarch 
  nothing provides python3-uyuni-common-libs needed by spacewalk-utils-4.2.4-2.1.uyuni.noarch 
can't install spacewalk-utils-extras-4.2.4-2.1.uyuni.noarch: 
  nothing provides uyuni-base-common needed by spacewalk-utils-extras-4.2.4-2.1.uyuni.noarch 
  nothing provides python3-uyuni-common-libs needed by spacewalk-utils-extras-4.2.4-2.1.uyuni.noarch 
can't install supportutils-plugin-susemanager-4.2.2-2.1.uyuni.noarch: 
  nothing provides susemanager needed by supportutils-plugin-susemanager-4.2.2-2.1.uyuni.noarch 
can't install uyuni-cluster-provider-caasp-4.2.3-1.1.uyuni.noarch: 
  nothing provides susemanager needed by uyuni-cluster-provider-caasp-4.2.3-1.1.uyuni.noarch 
can't install uyuni-doc-indexes-2021.01-3.5.uyuni.noarch: 
  nothing provides release-notes-uyuni needed by uyuni-doc-indexes-2021.01-3.5.uyuni.noarch 
can't install uyuni-docs_en-2021.01-2.1.uyuni.noarch: 
  nothing provides release-notes-uyuni needed by uyuni-docs_en-2021.01-2.1.uyuni.noarch 
can't install uyuni-docs_en-pdf-2021.01-2.1.uyuni.noarch: 
  package uyuni-docs_en-pdf-2021.01-2.1.uyuni.noarch requires uyuni-docs_en = 2021.01, but none of the providers can be installed 
  nothing provides release-notes-uyuni needed by uyuni-docs_en-2021.01-2.1.uyuni.noarch

If this issue is only about aarch64, I'd suggest we close and track the stuff at https://github.com/uyuni-project/uyuni/issues/2130

afaerber commented 3 years ago

@juliogonzalez I don't have any x86 servers at home, to tell whether all of them are aarch64-only issues.

Please note that I now have a Stable Uyuni 2021.01 successfully installed on aarch64, which may be different from @ggardet's Master .iso issues.