Bug #22717
opensyncing Ubuntu repos does not automatically create operating system item
Description
After syncing the Ubuntu Xenial in Katello 3.6 successfully, the Ubuntu operating system is missing from the Operating System list.
Expected results : Ubuntu 16.04 or Ubuntu Xenial listed in the Operating System list
Actual results :
[root@katello ~]# hammer os list
/opt/theforeman/tfm/root/usr/share/gems/gems/logging-1.8.2/lib/logging/appender.rb:139: warning: constant ::Fixnum is deprecated
/opt/theforeman/tfm/root/usr/share/gems/gems/awesome_print-1.7.0/lib/awesome_print/formatters/base_formatter.rb:31: warning: constant ::Fixnum is deprecated
/opt/theforeman/tfm/root/usr/share/gems/gems/awesome_print-1.7.0/lib/awesome_print/formatters/base_formatter.rb:31: warning: constant ::Fixnum is deprecated
/opt/theforeman/tfm/root/usr/share/gems/gems/awesome_print-1.7.0/lib/awesome_print/formatters/base_formatter.rb:31: warning: constant ::Fixnum is deprecated
---|-------|--------------|-------
ID | TITLE | RELEASE NAME | FAMILY
---|-------|--------------|-------
[root@katello ~]# hammer repository list
/opt/theforeman/tfm/root/usr/share/gems/gems/logging-1.8.2/lib/logging/appender.rb:139: warning: constant ::Fixnum is deprecated
/opt/theforeman/tfm/root/usr/share/gems/gems/awesome_print-1.7.0/lib/awesome_print/formatters/base_formatter.rb:31: warning: constant ::Fixnum is deprecated
/opt/theforeman/tfm/root/usr/share/gems/gems/awesome_print-1.7.0/lib/awesome_print/formatters/base_formatter.rb:31: warning: constant ::Fixnum is deprecated
/opt/theforeman/tfm/root/usr/share/gems/gems/awesome_print-1.7.0/lib/awesome_print/formatters/base_formatter.rb:31: warning: constant ::Fixnum is deprecated
---|-------------------------|---------|--------------|---------------------------------
ID | NAME | PRODUCT | CONTENT TYPE | URL
---|-------------------------|---------|--------------|---------------------------------
1 | Puppet4 xenial | Puppet | deb | https://apt.puppetlabs.com
2 | Puppet5 xenial | Puppet | deb | https://apt.puppetlabs.com
3 | Ubuntu xenial | Ubuntu | deb | http://archive.ubuntu.com/ubuntu
7 | Ubuntu xenial-backports | Ubuntu | deb | http://archive.ubuntu.com/ubuntu
6 | Ubuntu xenial-proposed | Ubuntu | deb | http://archive.ubuntu.com/ubuntu
5 | Ubuntu xenial-security | Ubuntu | deb | http://archive.ubuntu.com/ubuntu
4 | Ubuntu xenial-updates | Ubuntu | deb | http://archive.ubuntu.com/ubuntu
---|-------------------------|---------|--------------|---------------------------------
[root@katello ~]# hammer os list
/opt/theforeman/tfm/root/usr/share/gems/gems/logging-1.8.2/lib/logging/appender.rb:139: warning: constant ::Fixnum is deprecated
/opt/theforeman/tfm/root/usr/share/gems/gems/awesome_print-1.7.0/lib/awesome_print/formatters/base_formatter.rb:31: warning: constant ::Fixnum is deprecated
/opt/theforeman/tfm/root/usr/share/gems/gems/awesome_print-1.7.0/lib/awesome_print/formatters/base_formatter.rb:31: warning: constant ::Fixnum is deprecated
/opt/theforeman/tfm/root/usr/share/gems/gems/awesome_print-1.7.0/lib/awesome_print/formatters/base_formatter.rb:31: warning: constant ::Fixnum is deprecated
---|-------|--------------|-------
ID | TITLE | RELEASE NAME | FAMILY
---|-------|--------------|-------
[root@katello ~]#
Updated by Justin Sherrill almost 7 years ago
- Translation missing: en.field_release deleted (
284)
Updated by Justin Sherrill almost 7 years ago
I don't think pulp supports this in any way. Currently pulp only supports rpm based kickstart tree recognition. Katello might be able to add some support for it without katello, but it may be tricky. Do you know how to tell if a debian repo includes the kernel and initrd?
Part of this is that most katello devs do not have a lot of experience with debian.
For redhat based repos, we'd look for a .treeinfo or treeinfo file. This would list the path to the bootfiles within the repo as well as version info about it, do you know how to tell if a debian repo has these?
Updated by Matthew Smith almost 7 years ago
No I do no know how to tell. I'm more Red Hat based myself :) but of recent having to do some Ubuntu work. If find out I will and post back here.
So would that mean currently the solution for installs is boot ubuntu over the internet from the installation media katello provides then run the updates from the ubuntu sync repo with katello?
Updated by Matthew Smith almost 7 years ago
Hi Justin,
Looking through the Ubuntu repos the kernel and initrd looks like they can be found under
http://archive.ubuntu.com/ubuntu/dists/<release codename>/main/installer-amd64/<minor release iteration>/images/cdrom
Hope that helps.
Matthew
Updated by Justin Sherrill over 6 years ago
- Status changed from New to Needs design
So it may be discoverable, however i'm not sure if pulp is actually syncing it currently? needs to be designed out and thought through a bit more
Updated by Justin Sherrill over 6 years ago
- Translation missing: en.field_release set to 114