Project

General

Profile

Actions

Bug #25430

open

foreman proxy -> Error connecting to Pulp service and qdrouter failed: proton:io Connection refused

Added by Sven Vogel over 5 years ago. Updated over 5 years ago.

Status:
Needs design
Priority:
Normal
Assignee:
Category:
Installer
Target version:
-
Difficulty:
Triaged:
Yes
Fixed in Releases:
Found in Releases:

Description

Hi Guys,

i installed a katello/foreman Server without any, any, any proxy functionality like this...

foreman-installer --scenario katello \
--no-enable-foreman-proxy \
--no-enable-foreman-proxy-content \
--no-enable-foreman-proxy-plugin-pulp \
--foreman-proxy-dhcp-managed=false \
--foreman-proxy-dns-managed=false \
--foreman-proxy-freeipa-remove-dns=false \
--foreman-proxy-http=false \
--foreman-proxy-logs=false \
--foreman-proxy-puppet=false \
--foreman-proxy-puppetca=false \
--foreman-proxy-register-in-foreman=false \
--foreman-proxy-ssl=false \
--foreman-proxy-templates=false \
--foreman-proxy-tftp=false \
--foreman-proxy-tftp-manage-wget=false \
--foreman-proxy-tftp-managed=false \
--foreman-proxy-use-sudoers=false \
--foreman-proxy-use-sudoersd=false \
--foreman-proxy-content-enable-deb=false \
--foreman-proxy-content-enable-docker=false \
--foreman-proxy-content-enable-file=false \
--foreman-proxy-content-enable-puppet=false \
--foreman-proxy-content-enable-yum=false \
--foreman-proxy-plugin-chef-ssl-pem-file=false \
--foreman-proxy-plugin-remote-execution-ssh-generate-keys=false \
--foreman-proxy-ssl=false \
--foreman-proxy-gpgcheck=false \
--enable-foreman-plugin-discovery \
--verbose

after that i added a new foreman proxy like this... i got this command from the generate certifcates script

foreman-installer --scenario foreman-proxy-content\
--foreman-proxy-content-parent-fqdn           "katello01.example.com"\
--foreman-proxy-register-in-foreman           "true"\
--foreman-proxy-foreman-base-url              "https://katello01.example.com"\
--foreman-proxy-trusted-hosts                 "katello01.example.com"\
--foreman-proxy-trusted-hosts                 "katello-smart-proxy.example.com"\
--foreman-proxy-oauth-consumer-key            "doRmgp4tgVcSy7xkzbfz2wJxYM4CNnXx"\
--foreman-proxy-oauth-consumer-secret         "fDsqTg5k5XHMErxxNQACUtFGrLKQyZdW"\
--foreman-proxy-content-certs-tar             "/root/katello-smart-proxy.example.com.tar"\
--puppet-server-foreman-url                   "https://katello01.example.com" 
--foreman-proxy-dhcp-option-domain "sub.example.com" \
--foreman-proxy-dhcp-gateway "10.32.0.1" \
--foreman-proxy-dhcp-nameservers "10.32.0.11,10.32.0.12" \
--foreman-proxy-dhcp-range "10.32.0.50 10.32.0.100" \
--enable-foreman-proxy-plugin-discovery \
--enable-foreman-proxy-plugin-pulp


later i added the dns and other things....

all things good...

when i look into the smart proxy overview it looks really good but i found the following error. maybe the use of foreman-installer is not correct.

when you look the picture you will see "Error connecting to Pulp service"... if i run a command on the smart-proxy console like status it looks good.

[root@katello-smart-proxy ~]# pulp-admin status
+----------------------------------------------------------------------+
                          Status of the server
+----------------------------------------------------------------------+

Api Version:           2
Database Connection:
  Connected: True
Known Workers:
  _id:            scheduler@katello-smart-proxy.example.com
  _ns:            workers
  Last Heartbeat: 2018-11-10T13:28:57Z
  _id:            resource_manager@katello-smart-proxy.example.com
  _ns:            workers
  Last Heartbeat: 2018-11-10T13:29:01Z
  _id:            reserved_resource_worker-1@katello-smart-proxy.example.com
  _ns:            workers
  Last Heartbeat: 2018-11-10T13:28:59Z
  _id:            reserved_resource_worker-0@katello-smart-proxy.example.com
  _ns:            workers
  Last Heartbeat: 2018-11-10T13:28:59Z
Messaging Connection:
  Connected: True
Versions:
  Platform Version: 2.16.4

1. Picture show "Error connecting to Pulp service".
2. i found that the service qdrouterd throws an error like this

qdrouterd.service - Qpid Dispatch router daemon
   Loaded: loaded (/usr/lib/systemd/system/qdrouterd.service; enabled; vendor preset: disabled)
   Active: active (running) since Sat 2018-11-10 01:03:40 CET; 13h ago
 Main PID: 4726 (qdrouterd)
   CGroup: /system.slice/qdrouterd.service
           └─4726 /usr/sbin/qdrouterd -c /etc/qpid-dispatch/qdrouterd.conf

Nov 10 14:30:46 katello-smart-proxy-sn.example.com qdrouterd[4726]: 2018-11-10 14:30:46.002921 +0100 SERVER (info) Connection to katello01.example.com:5646 failed: proton:io Connection refused - disconnected katello01.example.com:5646
Nov 10 14:30:51 katello-smart-proxy-sn.example.com qdrouterd[4726]: 2018-11-10 14:30:51.003487 +0100 SERVER (info) Connection to katello01.example.com:5646 failed: proton:io Connection refused - disconnected katello01.example.com:5646

what is wrong. the provisioning how i provision a smart proxy?


Files

Actions

Also available in: Atom PDF