fao89 / pulpcore

Repository for pulpcore package https://pypi.org/project/pulpcore/
GNU General Public License v2.0
0 stars 0 forks source link

Users have a tendency to run /usr/local/bin/pulp-content in production #149

Open fao89 opened 2 years ago

fao89 commented 2 years ago

Author: mdepaulo@redhat.com (mdepaulo@redhat.com)

Redmine Issue: 6130, https://pulp.plan.io/issues/6130


The ansible galaxy team was running pulp-content in production by running the /usr/local/bin/pulp-content script: https://github.com/pulp/pulpcore/blob/master/bin/pulp-content

However, this script is not meant to be run in production, only for quickly launching pulp-content like django-admin runserver allows for pulp-api. Users should use gunicorn like the systemd unit and the containers specify in production. https://github.com/pulp/pulpcore/commit/9c36548f4b1f264ea1b835f49c077b67cf6d0d43 https://pulp.plan.io/issues/4218

The agreed upon solution is to turn it into a subcommand of pulpcore-manager

Docs updates will be required for this change too.