Project

General

Profile

Bug #22717

syncing Ubuntu repos does not automatically create operating system item

Added by Matthew Smith over 1 year ago. Updated about 1 year ago.

Status:
Needs design
Priority:
Normal
Assignee:
-
Category:
Repositories
Target version:
Difficulty:
Triaged:
Bugzilla link:
Pull request:
Team Backlog:
Fixed in Releases:
Found in Releases:

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 ~]#

History

#1 Updated by Justin Sherrill over 1 year ago

  • Legacy Backlogs Release (now unused) deleted (284)

#2 Updated by Justin Sherrill over 1 year 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?

#3 Updated by Matthew Smith over 1 year 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?

#4 Updated by Matthew Smith over 1 year 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/&lt;release codename>/main/installer-amd64/<minor release iteration>/images/cdrom

Hope that helps.

Matthew

#5 Updated by Justin Sherrill over 1 year 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

#6 Updated by Justin Sherrill over 1 year ago

  • Legacy Backlogs Release (now unused) set to 114

#7 Updated by Matthew Smith over 1 year ago

Ok cheers

Also available in: Atom PDF