On martes, 14 de enero de 2020 16:42:47 (CET) Beddingfield, Allen wrote:
My file has this:
}, 'ubuntu-16.04-amd64' : { 'PDID' : [-2, 1917], 'PKGLIST' : PKGLISTUBUNTU1604, 'DEST' : '/srv/www/htdocs/pub/repositories/ubuntu/16/4/bootstrap/', 'TYPE' : 'deb' }, 'ubuntu-18.04-amd64' : { 'PDID' : [-1, 1918], 'PKGLIST' : PKGLISTUBUNTU1804, 'DEST' : '/srv/www/htdocs/pub/repositories/ubuntu/18/4/bootstrap/', 'TYPE' : 'deb' }
The ACTUAL base channel is named: "ubuntu-18.04-pool-amd64". The main, main security, main updates, and universe channels are below it. There is NO "client tools" channel there. There is another base channel named "ubuntu-18.04-pool-amd64-uyuni", and the client tools repo is under it. So it is under a completely different base channel.
You mentioned that I should not sync the -uyuni channels, but that is the only place where the client tools repo exists. Should I try syncing down the -uyuni channels, then modifying the config file to use "ubuntu-18.04-pool-amd64-uyuni" for the base channel?
No, not really, I wrote:
Those without "-uyuni" can be ignored in your case (they are intended for SUSE Manager).
"ubuntu-18.04-pool-amd64" doesn't have client tools as a child because for SUSE Manager those are SUSE products . But again: that's not what you want for Uyuni. The reason you have the file contents you described above is that you are on 4.0.2 (while I was wrongly looking at master) This is from 4.0.2: https://github.com/uyuni-project/uyuni/blob/Uyuni-4.0.2/susemanager/src/mgr_... While this is from master: https://github.com/uyuni-project/uyuni/blob/master/susemanager/src/mgr_boots... So in short: try the following: 1. Backup /usr/share/susemanager/mgr_bootstrap_data.py 2. Download https://github.com/uyuni-project/uyuni/blob/master/susemanager/src/mgr_boots... and copy it to /usr/share/susemanager/mgr_bootstrap_data.py 3. Try "mgr-create-bootstrap-repo --with-custom-channels" That should work. If not, ping me again, and maybe I will ask you to do the replacements I asked before :-)
Allen B.
-- Allen Beddingfield Systems Engineer Office of Information Technology The University of Alabama Office 205-348-2251 allen@ua.edu <https://www.ua.edu/>
________________________________ From: Julio González Gil Sent: Tuesday, January 14, 2020 7:27 AM To: uyuni-users@opensuse.org Cc: Beddingfield, Allen; cbbayburt@suse.de Subject: Re: [uyuni-users] Re: mgr-create-bootstrap-repo not offering option for Ubuntu 1804
Those without "-uyuni" can be ignored in your case (they are intended for SUSE Manager).
For me, this seems to be a bug at the bootstrap creator script not being able to detect ubuntu-1804-pool-amd64-uyuni as the base channel.
Having a quick look, I'd say this is a bug at https://github.com/uyuni-project/uyuni/blob/master/susemanager/src/mgr_boots trap_data.py as the base channels fur Uyuni do have a dot in the version.
Let's try the following: create a backup of /usr/share/susemanager/mgr_bootstrap_data.py
Then change:
'BASECHANNEL' : 'ubuntu-16.04-pool-amd64-uyuni', 'PKGLIST' : PKGLISTUBUNTU1604,
To:
'BASECHANNEL' : 'ubuntu-1604-pool-amd64-uyuni', 'PKGLIST' : PKGLISTUBUNTU1604,
And:
'BASECHANNEL' : 'ubuntu-18.04-pool-amd64-uyuni', 'PKGLIST' : PKGLISTUBUNTU1804,
To:
'BASECHANNEL' : 'ubuntu-1804-pool-amd64-uyuni', 'PKGLIST' : PKGLISTUBUNTU1804,
Finally, try to rerun "mgr-create-bootstrap-repo --with-custom-channels" and let us know the results.
On lunes, 13 de enero de 2020 20:48:24 (CET) Beddingfield, Allen wrote:
I am using version 4.0.2
I think I may have uncovered something that could be causing this. If you do "spacewalk-common-channels -l" there are two sets of repos for Ubuntu. ubuntu-1804-amd64-main: amd64-deb
ubuntu-1804-amd64-main-security: amd64-deb ubuntu-1804-amd64-main-security-uyuni: amd64-deb ubuntu-1804-amd64-main-updates: amd64-deb ubuntu-1804-amd64-main-updates-uyuni: amd64-deb ubuntu-1804-amd64-main-uyuni: amd64-deb ubuntu-1804-amd64-universe: amd64-deb ubuntu-1804-amd64-universe-uyuni: amd64-deb ubuntu-1804-amd64-uyuni-client: amd64-deb ubuntu-1804-amd64-uyuni-client-devel: amd64-deb ubuntu-1804-pool-amd64: amd64-deb ubuntu-1804-pool-amd64-uyuni: amd64-deb
Notice that some have "-uyuni" appended to the name, and some do not. I was able to add all of those originally, and received an error with the others. I just went through and retried those without "-uyuni", and this channel actually added this time: ubuntu-1804-pool-amd64 It also created the "main", "main security", and "main updates" beneath it.
Which set of these repositories am I supposed to actually add and sync? Why are there two?
-- Allen Beddingfield Systems Engineer Office of Information Technology The University of Alabama Office 205-348-2251 allen@ua.edu
________________________________________ From: Beddingfield, Allen <allen@ua.edu> Sent: Monday, January 13, 2020 10:43 AM To: uyuni-users@opensuse.org Subject: [uyuni-users] mgr-create-bootstrap-repo not offering option for Ubuntu 1804
I have added the following channels with spacewalk-common-channels, fully synced them, and scheduled daily syncs for them. That is all working as expected.
ubuntu-1804-amd64-main-security-uyuni: amd64-deb ubuntu-1804-amd64-main-updates-uyuni: amd64-deb ubuntu-1804-amd64-main-uyuni: amd64-deb ubuntu-1804-amd64-universe-uyuni: amd64-deb ubuntu-1804-amd64-uyuni-client: amd64-deb ubuntu-1804-amd64-uyuni-client-devel: amd64-deb ubuntu-1804-pool-amd64-uyuni: amd64-deb
When I run "mgr-create-bootstrap-repo --with-custom-channels", the option does not exist for creating a bootstrap repo for Ubutu 1804. It DOES exist for CentOS 7.x and openSUSE Leap 15.1. Here is a copy/paste of what I see: uyuni-test01:~ # mgr-create-bootstrap-repo --with-custom-channels 1. centos-7-x86_64 2. openSUSE-Leap-15.1-x86_64 Enter a number of a product label:
Any ideas of where to begin troubleshooting this? Thanks. Allen B.
-- Allen Beddingfield Systems Engineer Office of Information Technology The University of Alabama Office 205-348-2251 allen@ua.edu -- To unsubscribe, e-mail: uyuni-users+unsubscribe@opensuse.org To contact the owner, e-mail: uyuni-users+owner@opensuse.org
-- 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