PDA

View Full Version : SuMa3: create repo errors



christianmolecki
11-May-2017, 10:59
Hello,

i want to create the SUSE Manager tools repository.
If I execute the command on cli I get the errors:

Enter product label: SLE-12-SP1-x86_64
Creating bootstrap repo for SLE-12-SP1-x86_64

copy 'dbus-1-python-1.2.0-4.194.x86_64'
copy 'libcurl4-7.37.0-36.1.x86_64'
copy 'libgudev-1_0-0-210-116.6.6.x86_64'
copy 'libnl1-1.1.4-4.21.x86_64'
copy 'libsqlite3-0-3.8.10.2-8.1.x86_64'
copy 'libudev1-210-116.6.6.x86_64'
copy 'udev-210-116.6.6.x86_64'
copy 'python-libxml2-2.9.1-26.3.1.x86_64'
copy 'libzypp-15.24.2-42.1.x86_64'
copy 'python-2.7.13-27.1.x86_64'
copy 'python-cffi-1.1.0-2.2.2.x86_64'
copy 'python-cryptography-1.1.2-3.5.1.x86_64'
copy 'python-dmidecode-3.12.1-11.5.x86_64'
copy 'python-gobject2-2.28.6-24.80.x86_64'
copy 'python-pyasn1-0.1.8-1.1.noarch'
copy 'python-pycparser-2.10-3.7.noarch'
copy 'python-pyOpenSSL-0.14-1.7.noarch'
copy 'python-six-1.9.0-9.7.1.noarch'
copy 'python-xml-2.7.13-27.1.x86_64'
copy 'rpm-python-4.11.2-15.1.x86_64'
copy 'libsolv-tools-0.6.26-2.39.1.x86_64'
copy 'libslang2-2.2.4-9.7.x86_64'
copy 'zypp-plugin-python-0.5-1.1.x86_64'
copy 'zypper-1.12.50-40.3.x86_64'
copy 'yast2-packager-3.1.84.1-5.1.x86_64'
copy 'yast2-pkg-bindings-3.1.31.1-2.3.1.x86_64'
copy 'python-requests-2.8.1-6.9.1.noarch'
copy 'python-simplejson-3.3.1-1.45.x86_64'
copy 'libgio-2_0-0-2.38.2-5.12.x86_64'
copy 'libgthread-2_0-0-2.38.2-5.12.x86_64'
copy 'shared-mime-info-1.2-7.1.x86_64'
copy 'gio-branding-SLE-12-6.9.noarch'
copy 'wallpaper-branding-SLE-12-11.3.1.noarch'
copy 'glib2-tools-2.38.2-5.12.x86_64'
copy 'libelf0-0.8.13-18.64.x86_64'
copy 'logrotate-3.8.7-3.21.x86_64'
copy 'cron-4.2-58.3.x86_64'
copy 'cronie-1.4.11-58.3.x86_64'
copy 'libyui-ncurses-pkg7-2.48.2-1.2.x86_64'
copy 'libyui-qt-pkg7-2.45.5-1.4.x86_64'
copy 'python-enum34-1.1.3-7.1.noarch'
copy 'python-idna-2.0-1.1.noarch'
copy 'python-ipaddress-1.0.14-1.1.noarch'
Spawning worker 0 with 22 pkgs
Spawning worker 1 with 21 pkgs
Workers Finished
Saving Primary metadata
Saving file lists metadata
Saving other metadata
ERROR: package 'hwdata' not found
ERROR: package 'libnewt0_52' not found
ERROR: package 'newt' not found
ERROR: package 'python-ethtool' not found
ERROR: package 'python-gudev' not found
ERROR: package 'python-hwdata' not found
ERROR: package 'python-newt' not found
ERROR: package 'rhnlib' not found
ERROR: package 'spacewalk-check' not found
ERROR: package 'spacewalk-client-setup' not found
ERROR: package 'spacewalk-client-tools' not found
ERROR: package 'spacewalksd' not found
ERROR: package 'suseRegisterInfo' not found
ERROR: package 'zypp-plugin-spacewalk' not found
ERROR: package 'libzmq3' not found
ERROR: package 'python-backports.ssl_match_hostname' not found
ERROR: package 'python-futures' not found
ERROR: package 'python-Jinja2' not found
ERROR: package 'python-MarkupSafe' not found
ERROR: package 'python-msgpack-python' not found
ERROR: package 'python-psutil' not found
ERROR: package 'python-pycrypto' not found
ERROR: package 'python-PyYAML' not found
ERROR: package 'python-pyzmq' not found
ERROR: package 'python-tornado' not found
ERROR: package 'salt' not found
ERROR: package 'salt-minion' not found

How can I install the missing packages?

BR
Christian

ab
11-May-2017, 12:49
Care to share the exact SUSE Manager version/patch you are on? I Presume
you are running this no the SUSE Manager box, but could you share the
exact command you are using as well? Is this the first repository you
have created this way, or have you done this before? What repositories
does this box have enabled for its own user (zypper lr -u)?


--
Good luck.

If you find this post helpful and are logged into the web interface,
show your appreciation and click on the star below.

If you want to send me a private message, please let me know in the
forum as I do not use the web interface often.

christianmolecki
11-May-2017, 13:16
I'm on v3.0-3.2250
I installed the SuMa via Yast -> Addons -> Extensions from reg. server

Thats my first repository:

zypper lr -u
# | Alias | Name | Enabled | GPG Check | Refresh | URI
---+--------------------------------------------------------------------------+-------------------------------------------+---------+-----------+---------+---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
1 | SLES12-SP1-12.1-0 | SLES12-SP1-12.1-0 | Yes | (r ) Yes | No | cd:///?devices=/dev/disk/by-id/ata-VMware_Virtual_SATA_CDRW_Drive_0000000000000000000 1
2 | SUSE_Linux_Enterprise_Server_12_SP1_x86_64:SLES12-SP1-Debuginfo-Pool | SLES12-SP1-Debuginfo-Pool | No | ---- | No | https://updates.suse.com/SUSE/Products/SLE-SERVER/12-SP1/x86_64/product_debug?rUcIO56aPQkyQcOAEfSxkUSYcTd7xgVsMLrY iW4PkOcTzKDm8sfZUVr_hrMHf3b55Uc5PVH5UdUV3zKCm5BB1O 9nUp_8u4o87PDfvRF7MCHDCw2uQjlNlPlDjLOcEVl4dGs0jaHA FENK1_a9z1SGG6ii9A
3 | SUSE_Linux_Enterprise_Server_12_SP1_x86_64:SLES12-SP1-Debuginfo-Updates | SLES12-SP1-Debuginfo-Updates | No | ---- | Yes | https://updates.suse.com/SUSE/Updates/SLE-SERVER/12-SP1/x86_64/update_debug?sky8wIiAKdtswAvVOoc4bKbxYd4degPd5gnWs 7dmd7WzJEEO04zeaL2gHTXjHnSCVcgAkBkwysViXADkrI8nUaA EXGTsxMLnuvQkuZ8btsr3blOir0hVzjPVsR4p3Tv2Poyip8Dno HK_b9IWrmT-YNI
4 | SUSE_Linux_Enterprise_Server_12_SP1_x86_64:SLES12-SP1-Pool | SLES12-SP1-Pool | Yes | (r ) Yes | No | https://updates.suse.com/SUSE/Products/SLE-SERVER/12-SP1/x86_64/product?O3JiOdpDpgPZHe2x7Sb_FAU9O80T0tbpqI71e6CRJj--2OpaNoZnlkiVHBMY8rZGojoIpJJkTlJWdBXP-VdgVqTOx5icN0h8OW1qvHj629Bdh01fdQPIw4WFs7bCT1iywcZ 9lMkPPrM5rEDWfg
5 | SUSE_Linux_Enterprise_Server_12_SP1_x86_64:SLES12-SP1-Source-Pool | SLES12-SP1-Source-Pool | No | ---- | No | https://updates.suse.com/SUSE/Products/SLE-SERVER/12-SP1/x86_64/product_source?H1g6_9rW2EZPGqe4bKWVuTbvJjCB-TgUi2dV5BMRutkMkXjxz3A_UtNivzsNsQMjs4GF2I4YTmNXdvS WeRqJZM7z7MwMxYc6-6v-T62-8NyVA3iL4K73Je69cRAYTcATVfaG9bu-iPmMIu8kpakEHBzoPv4
6 | SUSE_Linux_Enterprise_Server_12_SP1_x86_64:SLES12-SP1-Updates | SLES12-SP1-Updates | Yes | (r ) Yes | Yes | https://updates.suse.com/SUSE/Updates/SLE-SERVER/12-SP1/x86_64/update?hiY9wx52GR93OK5j_rKmyGc1AI_enWlj7OO2S5ho4fI 7z6wM6oAAK01mHgueBP_xzlGdjusMzz4NxvfSIHwUKo4AwZ0Wc lGw9zeceUvCLuw0lImeTKPIRdpUS3QlVcr4b1QzB4vuJqujX4I
7 | SUSE_Manager_Server_3.0_x86_64:SUSE-Manager-Server-3.0-Debuginfo-Pool | SUSE-Manager-Server-3.0-Debuginfo-Pool | No | ---- | No | https://updates.suse.com/SUSE/Products/SUSE-Manager-Server/3.0/x86_64/product_debug?AkXVpoCi7-ssApHL2GRgWOLgQGdbxTvFkZVQd3stGkt4ZRugcELX7ceIYyIr rxL0rgdCoc759MSg_Fpp_lSYKWSVNPjz0RRe1y0fb46ijxYtvp g0A3RUTtuUxxUuPtZIyFNOa0WQZBgaLo6PAPV5bF4ZECGrDoUE PA
8 | SUSE_Manager_Server_3.0_x86_64:SUSE-Manager-Server-3.0-Debuginfo-Updates | SUSE-Manager-Server-3.0-Debuginfo-Updates | No | ---- | Yes | https://updates.suse.com/SUSE/Updates/SUSE-Manager-Server/3.0/x86_64/update_debug?4a4au_gJ6W4g0Ks64swA-_y0CXNiV_bwjRUmYmbnritlhBDm-rdkNqXR29MQ71lZoEgSzNvkffZM44U54ydUz0y6-ATGMcF5msWnRuUXTKzbaXX7ruyml9IqPyyZ-smG_QNa9uScYtmjoXCyF2E2da0lzKFcOnw
9 | SUSE_Manager_Server_3.0_x86_64:SUSE-Manager-Server-3.0-Pool | SUSE-Manager-Server-3.0-Pool | Yes | (r ) Yes | No | https://updates.suse.com/SUSE/Products/SUSE-Manager-Server/3.0/x86_64/product?nOwLhJEJVaVo8ON2pCro4K-1R-AeSVa-zd80w4KVhWcLsB5qg26vo7j6jcGyIBbxj60EePSbgw6_cjy4Ac Qrf_o9es_aPkQdbxMExVcAw294DGgGHk6_wFyXBtZRF55fgjX9 XDPBSj6skn29kTf2ovslMg
10 | SUSE_Manager_Server_3.0_x86_64:SUSE-Manager-Server-3.0-Source-Pool | SUSE-Manager-Server-3.0-Source-Pool | No | ---- | No | https://updates.suse.com/SUSE/Products/SUSE-Manager-Server/3.0/x86_64/product_source?-qe7y1J_yPqmxcjSdRwxmw5D_1Wnpy2rMr8eVo0_Ery4w45TKto yGysbzWStZr-wMsLvR_1Zs9U628TEQhrAr5WsDq4FslmtuIShV-ZY8HURRTequNOuH59kjCSa6UotHITzLxWgdOZj6gMa4W3BPuzW csRLvglctiE
11 | SUSE_Manager_Server_3.0_x86_64:SUSE-Manager-Server-3.0-Updates | SUSE-Manager-Server-3.0-Updates | Yes | (r ) Yes | Yes | https://updates.suse.com/SUSE/Updates/SUSE-Manager-Server/3.0/x86_64/update?syEcSnOcPE7b4Mr4OqbJHibJmK8m_orDAjLPFCECU0w KSJw8HO80JL6jLpnddgbkkpeUNvQRE3fJrkBNNYFvAUbq2V3Rb qyijjPy6BYU0IKpCuYuJyvWARL7xHtDi5MgL3n1raC3HOALFjO B1IrgR84

achinayoung_waubonsee
11-May-2017, 17:35
Hello,

i want to create the SUSE Manager tools repository.
If I execute the command on cli I get the errors:

Enter product label: SLE-12-SP1-x86_64
Creating bootstrap repo for SLE-12-SP1-x86_64

copy 'dbus-1-python-1.2.0-4.194.x86_64'
copy 'libcurl4-7.37.0-36.1.x86_64'
copy 'libgudev-1_0-0-210-116.6.6.x86_64'
copy 'libnl1-1.1.4-4.21.x86_64'
copy 'libsqlite3-0-3.8.10.2-8.1.x86_64'
copy 'libudev1-210-116.6.6.x86_64'
copy 'udev-210-116.6.6.x86_64'
copy 'python-libxml2-2.9.1-26.3.1.x86_64'
copy 'libzypp-15.24.2-42.1.x86_64'
copy 'python-2.7.13-27.1.x86_64'
copy 'python-cffi-1.1.0-2.2.2.x86_64'
copy 'python-cryptography-1.1.2-3.5.1.x86_64'
copy 'python-dmidecode-3.12.1-11.5.x86_64'
copy 'python-gobject2-2.28.6-24.80.x86_64'
copy 'python-pyasn1-0.1.8-1.1.noarch'
copy 'python-pycparser-2.10-3.7.noarch'
copy 'python-pyOpenSSL-0.14-1.7.noarch'
copy 'python-six-1.9.0-9.7.1.noarch'
copy 'python-xml-2.7.13-27.1.x86_64'
copy 'rpm-python-4.11.2-15.1.x86_64'
copy 'libsolv-tools-0.6.26-2.39.1.x86_64'
copy 'libslang2-2.2.4-9.7.x86_64'
copy 'zypp-plugin-python-0.5-1.1.x86_64'
copy 'zypper-1.12.50-40.3.x86_64'
copy 'yast2-packager-3.1.84.1-5.1.x86_64'
copy 'yast2-pkg-bindings-3.1.31.1-2.3.1.x86_64'
copy 'python-requests-2.8.1-6.9.1.noarch'
copy 'python-simplejson-3.3.1-1.45.x86_64'
copy 'libgio-2_0-0-2.38.2-5.12.x86_64'
copy 'libgthread-2_0-0-2.38.2-5.12.x86_64'
copy 'shared-mime-info-1.2-7.1.x86_64'
copy 'gio-branding-SLE-12-6.9.noarch'
copy 'wallpaper-branding-SLE-12-11.3.1.noarch'
copy 'glib2-tools-2.38.2-5.12.x86_64'
copy 'libelf0-0.8.13-18.64.x86_64'
copy 'logrotate-3.8.7-3.21.x86_64'
copy 'cron-4.2-58.3.x86_64'
copy 'cronie-1.4.11-58.3.x86_64'
copy 'libyui-ncurses-pkg7-2.48.2-1.2.x86_64'
copy 'libyui-qt-pkg7-2.45.5-1.4.x86_64'
copy 'python-enum34-1.1.3-7.1.noarch'
copy 'python-idna-2.0-1.1.noarch'
copy 'python-ipaddress-1.0.14-1.1.noarch'
Spawning worker 0 with 22 pkgs
Spawning worker 1 with 21 pkgs
Workers Finished
Saving Primary metadata
Saving file lists metadata
Saving other metadata
ERROR: package 'hwdata' not found
ERROR: package 'libnewt0_52' not found
ERROR: package 'newt' not found
ERROR: package 'python-ethtool' not found
ERROR: package 'python-gudev' not found
ERROR: package 'python-hwdata' not found
ERROR: package 'python-newt' not found
ERROR: package 'rhnlib' not found
ERROR: package 'spacewalk-check' not found
ERROR: package 'spacewalk-client-setup' not found
ERROR: package 'spacewalk-client-tools' not found
ERROR: package 'spacewalksd' not found
ERROR: package 'suseRegisterInfo' not found
ERROR: package 'zypp-plugin-spacewalk' not found
ERROR: package 'libzmq3' not found
ERROR: package 'python-backports.ssl_match_hostname' not found
ERROR: package 'python-futures' not found
ERROR: package 'python-Jinja2' not found
ERROR: package 'python-MarkupSafe' not found
ERROR: package 'python-msgpack-python' not found
ERROR: package 'python-psutil' not found
ERROR: package 'python-pycrypto' not found
ERROR: package 'python-PyYAML' not found
ERROR: package 'python-pyzmq' not found
ERROR: package 'python-tornado' not found
ERROR: package 'salt' not found
ERROR: package 'salt-minion' not found

How can I install the missing packages?

BR
Christian

Are you sure you are using the correct credentials in SUMA? We had a similar problem with 3.0.4 and the issue was with the credential we used for access to SCC under SUMA. Once we fixed that, the above issue went away. Click on the Channels icon next to the appropriatre version of SLES under Admin->SUSE Products and you should see access to sle-manager-tools for SLES12 and suse-manager-tools for SLES11 in the Mandatory Channels window that pops up when you click on the Channels icon.

christianmolecki
12-May-2017, 06:58
I was able to download the repositories for SLES12-SP1 and SP2.
So the credentials should be valid.

The connection test at the installation was also successfull.

kwk
12-May-2017, 07:05
Look at the web ui footer for the actual version. The -release rpm only shows the base version, not the patch level.

"zypper lr" shows the repositories available to the host of the suse manager application. However, you need to make repositories (aka channels) available inside the suse manager application.
See https://www.suse.com/documentation/suse-manager/book_suma3_quickstart_3/data/quickstart_first_channel_sync.html on how to accomplish that.

christianmolecki
12-May-2017, 07:24
Look at the web ui footer for the actual version. The -release rpm only shows the base version, not the patch level.

"zypper lr" shows the repositories available to the host of the suse manager application. However, you need to make repositories (aka channels) available inside the suse manager application.
See https://www.suse.com/documentation/suse-manager/book_suma3_quickstart_3/data/quickstart_first_channel_sync.html on how to accomplish that.

The footer displays: SUSE Manager release 3.0.4

I followed the instructions of the quick start guide. So I already downloaded the repos. 251

achinayoung_waubonsee
12-May-2017, 16:15
Just because you can download the repositories does not mean the credentials are valid. You need to make sure you are downloading the *correct* repositories. My message has the necessary info.