Project

Profile

Help

Issue #7524

closed

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

Added by mdepaulo@redhat.com over 3 years ago. Updated over 3 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
Actions #1

Updated by mdepaulo@redhat.com over 3 years ago

  • Triaged changed from No to Yes
  • Quarter set to Q4-2020
Actions #2

Updated by ppicka over 3 years ago

  • Status changed from NEW to ASSIGNED
  • Assignee set to ppicka

Added by ppicka over 3 years ago

Revision 2024e58b | View on GitHub

Use apache in tests

Change 2 dynamic and 1 static test to use apache instead of nginx.

Add install mods for apache and removing default vhost for Debian host.

closes: #4968 https://pulp.plan.io/issues/4968 closes: #7524 https://pulp.plan.io/issues/7524

Added by ppicka over 3 years ago

Revision 2024e58b | View on GitHub

Use apache in tests

Change 2 dynamic and 1 static test to use apache instead of nginx.

Add install mods for apache and removing default vhost for Debian host.

closes: #4968 https://pulp.plan.io/issues/4968 closes: #7524 https://pulp.plan.io/issues/7524

Actions #3

Updated by ppicka over 3 years ago

  • Status changed from ASSIGNED to MODIFIED
Actions #4

Updated by daviddavis over 3 years ago

  • Sprint/Milestone set to 3.9.0
Actions #5

Updated by daviddavis over 3 years ago

  • Status changed from MODIFIED to CLOSED - CURRENTRELEASE
Actions #6

Updated by daviddavis over 3 years ago

  • Sprint/Milestone deleted (3.9.0)

Also available in: Atom PDF