PDA

View Full Version : Unable to create bootstrap repo without ERRORs



drax
17-Mar-2017, 07:50
I'm trying to generate my initial SUSE Manager Tools Repository drawing from the locally "Sync completed" SLE-12-SP2 package pool with the command:

mgr-create-bootstrap-repo -c SLE-12-SP2-x86_64

As per this doco: https://www.suse.com/documentation/suse-manager-3/book_suma3_quickstart_3/data/create_tools_repository.html

This works mostly, but is failing on packages that look pretty important, like:


copy 'dbus-1-python-1.2.0-4.194.x86_64'
copy 'libcurl4-7.37.0-28.1.x86_64'
...
copy 'python-ipaddress-1.0.14-1.1.noarch'
Spawning worker 0 with 22 pkgs
Spawning worker 1 with 22 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 'salt' not found
ERROR: package 'salt-minion' not found


I've checked the reposync file for this pool and it looks like it's definitely got the working ones, but is missing the ones I'm encountering ERRORS with (no big surprise, but a good check).

grep dbus /var/log/rhn/reposync/sles12-sp2-pool-x86_64.log
347/3683 : dbus-1-python-1.2.0-4.194-0.x86_64



grep spacewalk-client-tools /var/log/rhn/reposync/sles12-sp2-pool-x86_64.log


How do I populate this pool with the missing packages? Shouldn't it already have them?

dangross
17-Mar-2017, 20:47
Just want to add that I have encountered the same exact situation. I built a system last week, encountered the problem and tried to figure it out, with no luck, then thought maybe a missed something in the install/config, so I completely blew away the VM, and started from scratch yesterday, followed instructions exactly, only to arrive at the same place again. Same missing packages you noted, about 26 in total, including a number of python packages and a few spacewalk packages.

malcolmlewis
18-Mar-2017, 01:08
On Fri 17 Mar 2017 06:54:01 AM CDT, drax wrote:

I'm trying to generate my initial SUSE Manager Tools Repository drawing
from the locally "Sync completed" SLE-12-SP2 package pool with the
command:

Code:
--------------------
mgr-create-bootstrap-repo -c SLE-12-SP2-x86_64
--------------------


As per this doco:
https://www.suse.com/documentation/suse-manager-3/book_suma3_quickstart_3/data/create_tools_repository.html

This works mostly, but is failing on packages that look pretty
important, like:

Code:
--------------------

copy 'dbus-1-python-1.2.0-4.194.x86_64'
copy 'libcurl4-7.37.0-28.1.x86_64'
...
copy 'python-ipaddress-1.0.14-1.1.noarch'
Spawning worker 0 with 22 pkgs
Spawning worker 1 with 22 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 'salt' not found
ERROR: package 'salt-minion' not found

--------------------


I've checked the reposync file for this pool and it looks like it's
definitely got the working ones, but is missing the ones I'm
encountering ERRORS with (no big surprise, but a good check).

Code:
--------------------
grep dbus /var/log/rhn/reposync/sles12-sp2-pool-x86_64.log
347/3683 : dbus-1-python-1.2.0-4.194-0.x86_64

--------------------


Code:
--------------------

grep
spacewalk-client-tools /var/log/rhn/reposync/sles12-sp2-pool-x86_64.log
--------------------


How do I populate this pool with the missing packages? Shouldn't it
already have them?




Hi
Under the SLES 12 SP2 Pool are the following two repos present and
synced?
- Child Channel SLE-Manager-Tools12-Pool x86_64 SP2 (34 pkgs)
- Child Channel SLE-Manager-Tools12-Updates x86_64 SP2 (202 pkgs and 25
patches)

--
Cheers Malcolm °¿° SUSE Knowledge Partner (Linux Counter #276890)
openSUSE Leap 42.1|GNOME 3.16.2|4.1.38-50-default
If you find this post helpful and are logged into the web interface,
please show your appreciation and click on the star below... Thanks!

drax
20-Mar-2017, 01:40
Hi
Under the SLES 12 SP2 Pool are the following two repos present and
synced?
- Child Channel SLE-Manager-Tools12-Pool x86_64 SP2 (34 pkgs)
- Child Channel SLE-Manager-Tools12-Updates x86_64 SP2 (202 pkgs and 25
patches)

--
Cheers Malcolm °¿° SUSE Knowledge Partner (Linux Counter #276890)
openSUSE Leap 42.1|GNOME 3.16.2|4.1.38-50-default
If you find this post helpful and are logged into the web interface,
please show your appreciation and click on the star below... Thanks!

Thanks for the quick response Malcolm. I've interpreted your instructions as:

- Login to SUMA as an admin user
- Switch to the "Channels" tab
- Select "All Channels"
- Use the filter "SLE-Manager" to search for the likes of "SLE-Manager-Tools12-*"

Sadly, in my case that comes up empty with "No Channels found" out of all of the channels that your organization has access to.
I guess I try and find out how to associate the SUMA trial license/rego for my organization instead of my scc login?

drax
20-Mar-2017, 01:52
Thanks for the quick response Malcolm. I've interpreted your instructions as:

- Login to SUMA as an admin user
- Switch to the "Channels" tab
- Select "All Channels"
- Use the filter "SLE-Manager" to search for the likes of "SLE-Manager-Tools12-*"

Sadly, in my case that comes up empty with "No Channels found" out of all of the channels that your organization has access to.
I guess I try and find out how to associate the SUMA trial license/rego for my organization instead of my scc login?

So I thought I'd check my organization has the SUMA Trial license associated with it:

- Login to https://scc.suse.com
- Confirm your organization name is appearing in the top bar, well to the right of the "SUSE Customer Center" text
- Under Management Tools, select Manually activate subscriptions
- Select Activate a single subscription
- Enter the registraton code you were given when you started the SUMA evaluation
- Read and accept the terms and conditions
- Hit the Manually Activate Subscription button

In my case the message "Subscription with registration code 'xxxxxxxxxxx' is already activated. So I'm set there...or not I guess lol.

I'll try my luck with the local support team and see if I they can check to make sure the SUMA Evaluation Trial actually grants access to the following channels:
- Child Channel SLE-Manager-Tools12-Pool x86_64 SP2 (34 pkgs)
- Child Channel SLE-Manager-Tools12-Updates x86_64 SP2 (202 pkgs and 25

Doug

drax
20-Mar-2017, 06:42
Ok, it looks as though my predecessors have created multiple Organizations with a variety of names and associated systems and licenses in past years with SCC.

As a result it looks like my SUMA Evaluation license is on one, and the credentials I used to register SUMA post-installation are on another.

Hopefully it doesn't take too long to run through the cleanup/consolidation of these accounts into a single one. This seems a worthwhile time to do so as there's an appetite for SUMA, but less so for cleanup (surprise). I daresay it will make life in future with SUSE an order of magnitude easier.

rcdlinux
09-Jun-2017, 22:43
Hello guys!

Try in command line, Works to me!


- Listing channels:
mgr-sync list channels

- Adding channel for SUMA Tools for SLES 11 SP4
sm3:/srv/www/htdocs/pub/bootstrap # mgr-sync add channel sles11-sp4-suse-manager-tools-x86_64
...

- Adding channels for SUMA Tools for SLES 12 SP1
sm3:/srv/www/htdocs/pub/bootstrap # mgr-sync add channel sle-manager-tools12-pool-x86_64-sp1
...
sm3:/srv/www/htdocs/pub/bootstrap # mgr-sync add channel sle-manager-tools12-updates-x86_64-sp1
...


- Listing available repositories:

sm3:/srv/www/htdocs/pub/bootstrap # mgr-create-bootstrap-repo -l
RES7-x86_64
SLE-11-SP4-x86_64
SLE-12-SP1-x86_64
SLE-12-SP2-x86_64



- And create for your minions:

sm3:/srv/www/htdocs/pub/bootstrap # mgr-create-bootstrap-repo -c 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 'hwdata-0.282-3.1.noarch'
copy 'libcurl4-7.37.0-36.1.x86_64'
copy 'libgudev-1_0-0-210-116.9.1.x86_64'
copy 'libnewt0_52-0.52.16-1.83.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.9.1.x86_64'
copy 'udev-210-116.9.1.x86_64'
copy 'python-libxml2-2.9.1-26.12.1.x86_64'
copy 'libzypp-15.24.2-42.1.x86_64'
copy 'newt-0.52.16-1.83.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-13.1.x86_64'
copy 'python-ethtool-0.9-3.2.x86_64'
copy 'python-gobject2-2.28.6-24.80.x86_64'
copy 'python-gudev-147.2-3.1.x86_64'
copy 'python-hwdata-2.1.0.5-5.1.noarch'
copy 'python-newt-0.52.16-1.83.x86_64'
copy 'python-pyasn1-0.1.9-3.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 'rhnlib-2.5.84.4-17.1.noarch'
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 'spacewalk-check-2.5.13.8-48.1.noarch'
copy 'spacewalk-client-setup-2.5.13.8-48.1.noarch'
copy 'spacewalk-client-tools-2.5.13.8-48.1.noarch'
copy 'spacewalksd-5.0.19.2-20.1.x86_64'
copy 'suseRegisterInfo-3.0.2-18.1.x86_64'
copy 'zypp-plugin-python-0.5-1.1.x86_64'
copy 'zypp-plugin-spacewalk-0.9.14-26.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 'libzmq3-4.0.4-6.1.x86_64'
copy 'python-backports.ssl_match_hostname-3.4.0.2-17.1.noarch'
copy 'python-futures-3.0.2-7.1.noarch'
copy 'python-Jinja2-2.7.3-17.1.noarch'
copy 'python-MarkupSafe-0.18-7.1.x86_64'
copy 'python-msgpack-python-0.4.6-2.1.x86_64'
copy 'python-psutil-1.2.1-9.1.x86_64'
copy 'python-pycrypto-2.6.1-4.1.x86_64'
copy 'python-PyYAML-3.10-17.1.x86_64'
copy 'python-pyzmq-14.0.0-3.1.x86_64'
copy 'python-requests-2.8.1-6.11.1.noarch'
copy 'python-simplejson-3.3.1-1.45.x86_64'
copy 'python-tornado-4.2.1-9.1.x86_64'
copy 'salt-2015.8.12-38.1.x86_64'
copy 'salt-minion-2015.8.12-38.1.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 41 pkgs
Spawning worker 1 with 40 pkgs
Workers Finished
Saving Primary metadata
Saving file lists metadata
Saving other metadata
sm3:/srv/www/htdocs/pub/bootstrap #




Regards,

Roberto C. Duarte
OPEN CONSULT (EXPERTS TI)
So Paulo - Brazil