Project

General

Profile

Actions

Bug #22717

open

syncing Ubuntu repos does not automatically create operating system item

Added by Matthew Smith over 6 years ago. Updated 3 months ago.

Status:
Needs design
Priority:
Normal
Assignee:
-
Category:
Repositories
Target version:
-
Difficulty:
Triaged:
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 ~]#

Actions #1

Updated by Justin Sherrill over 6 years ago

  • Translation missing: en.field_release deleted (284)
Actions #2

Updated by Justin Sherrill over 6 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?

Actions #3

Updated by Matthew Smith over 6 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?

Actions #4

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

Hope that helps.

Matthew

Actions #5

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

Actions #6

Updated by Justin Sherrill over 6 years ago

  • Translation missing: en.field_release set to 114
Actions #7

Updated by Matthew Smith over 6 years ago

Ok cheers

Actions #8

Updated by Ian Ballou 3 months ago

  • Target version deleted (Katello Backlog)
Actions

Also available in: Atom PDF