Project

Profile

Help

Issue #7524

closed

Apache fails to use unix sockets to talk to pulp-api

Added by mdepaulo@redhat.com over 4 years ago. Updated about 4 years ago.

Status:
CLOSED - CURRENTRELEASE
Priority:
Normal
Assignee:
Category:
Installer - Moved to GitHub issues
Sprint/Milestone:
-
Start date:
Due date:
Estimated time:
Severity:
2. Medium
Version:
Platform Release:
OS:
Triaged:
Yes
Groomed:
No
Sprint Candidate:
Yes
Tags:
Sprint:
Quarter:
Q4-2020

Description

With the following variables for pulp_installer:

pulp_webserver_server: apache
pulp_api_bind: "unix:/var/run/pulpcore-api/pulpcore-api.sock"
pulp_content_bind: "unix:/var/run/pulpcore-content/pulpcore-content.sock"

Apache would fail to talk to the pulp-api server on CentOS 8.

I don't have the exact error message handy right now.

Hopefully we just need to update our apache config file, or the format we specify the unix socket path in.

This was the complete set of variables I used. I used them on CentOS 8.

pulp_default_admin_password: password
pulp_install_plugins:
  pulp-ansible: {}
  pulp-certguard: {}
  pulp-container: {}
  pulp-file:

pulp_settings:
  secret_key: "unsafe_default"
  content_origin: "http://{{ ansible_fqdn }}"

pulp_install_source: packages
pulp_api_bind: "unix:/var/run/pulpcore-api/pulpcore-api.sock"
pulp_content_bind: "unix:/var/run/pulpcore-content/pulpcore-content.sock"
pulp_pkg_repo: "https://yum.theforeman.org/pulpcore/3.6/el{{ ansible_distribution_major_version }}/$basearch/"
pulp_webserver_server: apache

Also available in: Atom PDF