http_proxy via environment
Ticket moved to GitHub: "pulp/pulpcore/1855":https://github.com/pulp/pulpcore/issues/1855
The pulp daemon should honor the standard lower-cased proxy environment variables; specifically, `http_proxy`, `https_proxy`, and `no_proxy`. -- some people add `ftp_proxy` to the mix, but I think ftp is mostly extinct, so no harm in skipping it, IMO.
These can be configure for all daemons system-wide in /etc/systemd/system.conf (or associated conf snippet), or per-service with a systemd drop-in, such as
It shouldn't matter how the environment variables are set; the daemon should honor them.
(To be fair, I didn't actually test that it doesn't honor them today; just that many companies have a http proxy in the way of getting out to the internet, and it's a common stumbling block.)
Updated by ttereshc over 3 years ago
- Project changed from RPM Support to Pulp
Updated by fao89 over 3 years ago
- Tracker changed from Issue to Story
- % Done set to 0
Updated by firstname.lastname@example.org over 3 years ago
We should implement this via the convention for Systemd "EnvironmentFile":
An optional file, /etc/sysconfig/pulp . If it exists, all Pulp services will use it for environment variables.
Although not the only example, a great example is how sssd does it:
[mdepaulo@mdepaulo system]$ grep
i environmentfile /usr/lib/systemd/system -R | grep sssd/etc/sysconfig/sssd
Updated by pulpbot about 1 year ago
- Description updated (diff)
- Status changed from NEW to CLOSED - DUPLICATE