Project

Profile

Help

Task #4964

Task #4961: [Epic] Improve Integration and Testing with Nginx and Apache

Add variable to specify bind port for pulp-api and pulp-content-app

Added by bmbouter 7 days ago. Updated 2 days ago.

Status:
MODIFIED
Priority:
Normal
Assignee:
Category:
-
Sprint/Milestone:
-
% Done:

100%

Platform Release:
Blocks Release:
Backwards Incompatible:
No
Groomed:
Yes
Sprint Candidate:
Yes
Tags:
Pulp 3 installer
QA Contact:
Complexity:
Smash Test:
Verified:
No
Verification Required:
No
Sprint:
Sprint 54

Description

The user should be able to specify the bind string for both pulp-api and/or pulp-content-app.


Related issues

Related to Pulp - Issue #4946: pulp_content_host default value is set in the wrong ansible role MODIFIED Actions

Associated revisions

Revision 8eb135e6 View on GitHub
Added by bmbouter 3 days ago

Allow bind and nginx to be different

This introduces a pulp_api_bind variable in the 'pulp' playbook which
the user can use to set the bind address (or multiple) of pulp-api. This
is used by the pulp-api service template for the systemd service.

It moves the nginx and apache reverse proxy variables out of the 'pulp'
playbook and into the 'pulp-webserver' playbook where they are used
exclusively. The defaults are there also. It created 4 variables:

  • pulp_content_host
  • pulp_content_port
  • pulp_api_host
  • pulp_api_port

https://pulp.plan.io/issues/4964
closes #4964

History

#1 Updated by bmbouter 7 days ago

  • Parent task set to #4961

#2 Updated by amacdona@redhat.com 7 days ago

  • Related to Issue #4946: pulp_content_host default value is set in the wrong ansible role added

#3 Updated by amacdona@redhat.com 7 days ago

+1. Currently, we have:

pulp role:
pulp_api_host: localhost
pulp_api_port: 24817

pulp-content role:
pulp_content_host: 'localhost:24816'
pulp_content_bind: '0.0.0.0:24816'

I'm setting this to be related to https://pulp.plan.io/issues/4946 which should be completed at the same time.

#4 Updated by mdepaulo@redhat.com 7 days ago

WRT the variables, they should be consistent across pulp-api & pulp-content.

Note that the pulp_api_host is used elsewhere in the ansible codebase, not just as the host to listen on. I think it gets advertised to clients.

So some refactoring should be done.

#5 Updated by amacdona@redhat.com 6 days ago

  • Groomed changed from No to Yes
  • Sprint Candidate changed from No to Yes
  • Sprint set to Sprint 54

#6 Updated by bmbouter 3 days ago

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

#7 Updated by bmbouter 3 days ago

  • Status changed from ASSIGNED to POST

#8 Updated by bmbouter 2 days ago

  • Status changed from POST to MODIFIED
  • % Done changed from 0 to 100

Please register to edit this issue

Also available in: Atom PDF