Hello,
I am trying to add existing ubuntu server to katello and I am running into issues.
Katello version: 1.24.3
Subscription Manager is from oss.atix.de
I have the following config.
subscription-manager status
±------------------------------------------+
System Status Details
±------------------------------------------+
Overall Status: Disabled
Content Access Mode is set to Simple Content Access. This host has access to content, regardless of subscription status.
System Purpose Status: Disabled
dpkg -l | grep katello
ii apt-transport-katello 1.29.35-1 all Katello transport plugin for apt
ii katello-upload-profile 1.29.35-1 all deb_package_profile_upload for katello
ii python3-katello-host-tools 3.5.7.1-1 all
ii python3-katello-host-tools-tracer 3.5.7.1-1 all
My first issue was 404 errors in apt update. Seems it searches for default all, so I changed to the following:
name: Ubuntu22.04_main
baseurl: https://xxx/pulp/deb/xxx/Library/Ubuntu/custom/Ubuntu_22_04/Ubuntu_22_04
enabled: 1
gpgcheck: 0
sslverify: 1
sslcacert: /etc/rhsm/ca/katello-server-ca.pem
sslclientkey: /etc/pki/entitlement/6673738091007919933-key.pem
sslclientcert: /etc/pki/entitlement/6673738091007919933.pem
metadata_expire: 1
enabled_metadata: 1
arches: amd64
Types: deb
URIs: katello://6673738091007919933@xxx.de/pulp/deb/xxx/Library/Ubuntu/custom/Ubuntu_22_04/Ubuntu_22_04
Suites: jammy
Components: main
Trusted: yes
id: Ubuntu_22_04_Ubuntu_22_04
Is this correct or do I need the deb_distributor.json?
{
"publish_default_release": true
}
After my manual change I get:
apt-get update
Hit:1 http://security.ubuntu.com/ubuntu jammy-security InRelease
Hit:2 http://de.archive.ubuntu.com/ubuntu jammy InRelease
Hit:3 http://de.archive.ubuntu.com/ubuntu jammy-updates InRelease
Hit:4 http://de.archive.ubuntu.com/ubuntu jammy-backports InRelease
Hit:5 https://oss.atix.de/Ubuntu22LTS stable InRelease
Ign:6 katello://xxx/pulp/deb/xxx/Library/Ubuntu/custom/Ubuntu_22_04/Ubuntu_22_04 jammy InRelease
Hit:7 http://apt.puppet.com focal InRelease
Ign:8 katello://xxx/pulp/deb/xxx/Library/Ubuntu/custom/Ubuntu_22_04/Ubuntu_22_04_updates jammy-updates InRelease
Get:9 katello://xxx/pulp/deb/xxx/Library/Ubuntu/custom/Ubuntu_22_04/Ubuntu_22_04 jammy Release [1,867 B]
Get:10 katello://xxx/pulp/deb/xxx/Library/Ubuntu/custom/Ubuntu_22_04/Ubuntu_22_04_updates jammy-updates Release [1,875 B]
Ign:11 katello://xxx/pulp/deb/xxx/Library/Ubuntu/custom/Ubuntu_22_04/Ubuntu_22_04 jammy Release.gpg
Ign:12 katello://xxx/pulp/deb/xxx/Library/Ubuntu/custom/Ubuntu_22_04/Ubuntu_22_04_updates jammy-updates Release.gpg
Reading package lists... Done
N: Skipping acquire of configured file 'main/binary-i386/Packages' as repository 'katello://xxx/pulp/deb/xxx/Library/Ubuntu/custom/Ubuntu_22_04/Ubuntu_22_04 jammy InRelease' doesn't support architecture 'i386'
N: Skipping acquire of configured file 'main/binary-i386/Packages' as repository 'katello://xxx/pulp/deb/xxx/Library/Ubuntu/custom/Ubuntu_22_04/Ubuntu_22_04_updates jammy-updates InRelease' doesn't support architecture 'i386'
W: https://oss.atix.de/Ubuntu22LTS/dists/stable/InRelease: Key is stored in legacy trusted.gpg keyring (/etc/apt/trusted.gpg), see the DEPRECATION section in apt-key(8) for details.
N: Skipping acquire of configured file 'main/binary-i386/Packages' as repository 'https://oss.atix.de/Ubuntu22LTS stable InRelease' doesn't support architecture 'i386'
- Why does it search for i386?
- Wht does katello not see any updates for the machine? Do I need katello agent? I think subscription-manager is used instead of agent.
Thanks!