Problem:
i have installed katello 3.18 and smart proxy servers in centos7 based on Foreman :: Plugin Manuals docuementation. i have created centos7 and ubuntu18 repos, synced, created content view and promoted to a one environment. . when i go to smart proxy page, i hit sync button and after 1 sec it says "Smart proxy is synchronized ", but actually it didnt do anything. i have 2 warnings that /var/lib/pulp/content is not there which i manually created and /var/lib/mangodb is not readable and i changed the permission to 755. but there is no error whatsoever.
as below please find output of one dynflow tasks. looks like katello server uses pulp3 and smart proxy uses pulp2? not sure about it, but i also set “:enabled: https” in /etc/foreman-proxy/setting.d/pulpcore.yml file to enable pulp3
3: Actions::Pulp::Orchestration::Repository::RefreshRepos (success) [ 0.22s / 0.22s ]
Queue: default
Started at: 2021-04-13 01:06:13 UTC
Ended at: 2021-04-13 01:06:14 UTC
Real time: 0.22s
Execution time (excluding suspended state): 0.22s
Input:
smart_proxy_id: 2
environment_id:
content_view_id:
repository_id:
remote_user: admin
remote_cp_user: admin
current_request_id:
current_timezone: Australia/Sydney
current_user_id: 4
current_organization_id: 1
current_location_id: 2
Output:
pulp_tasks:
Katello server:
HTTPBoot
Version
2.3.3
Pulp
Version
2.1.0
Pulp server version
2.21.5
Database connection
Messaging connection
Workers
4
Supported Content Types
puppet
Pulpcore
Version
2.1.0
Supported Content Types
deb
docker
file
yum
Registration
Version
2.3.3
TFTP
Version
2.3.3
TFTP server
192.168.122.240
Smart proxy server
Pulp node
Version
2.1.0
Pulp server version
2.21.5
Database connection
Messaging connection
Workers
4
Supported Content Types
deb
docker
file
puppet
yum
Registration
Version
2.3.3
Templates
Version
2.3.3
Expected outcome:
sync between katello server and smart proxy initiated when hit sync command or a new content view publishes
Foreman and Proxy versions:
katello01.akunacapital.local Pulp, Pulpcore, Puppet CA, Puppet, Logs, Registration, TFTP, and HTTPBoot
2.3.3
proxy01.akunacapital.local Pulp Node, Templates, Puppet CA, Puppet, Logs, and Registration
2.3.3
Foreman and Proxy plugin versions:
Name Description Author Version
foreman-tasks 3.0.5
foreman_ansible 6.1.1
foreman_bootdisk 17.0.2
foreman_discovery 16.3.4
foreman_hooks 0.3.17
foreman_monitoring 2.1.0
foreman_openscap 4.1.3
foreman_remote_execution 4.2.2
foreman_setup 7.0.0
foreman_templates 9.0.1
katello 3.18.2.1
Distribution and version:
latest centos 7 on both katello and foreman
Other relevant data: