Merge ~ines-almeida/txpkgupload:fix-passive-ftp-through-haproxy into txpkgupload:master
Proposed by
Ines Almeida
Status: | Merged |
---|---|
Approved by: | Ines Almeida |
Approved revision: | 193298bc0ae2f8c9cd32384f24fbe7b9463cc5ed |
Merge reported by: | Otto Co-Pilot |
Merged at revision: | not available |
Proposed branch: | ~ines-almeida/txpkgupload:fix-passive-ftp-through-haproxy |
Merge into: | txpkgupload:master |
Prerequisite: | ~ines-almeida/txpkgupload:allow-setting-passive-port-range |
Diff against target: |
223 lines (+82/-21) 6 files modified
charm/txpkgupload/config.yaml (+6/-0) charm/txpkgupload/reactive/txpkgupload.py (+10/-1) charm/txpkgupload/templates/txpkgupload_config.yaml.j2 (+2/-0) src/txpkgupload/plugin.py (+5/-0) src/txpkgupload/tests/test_plugin.py (+1/-0) src/txpkgupload/twistedftp.py (+58/-20) |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Colin Watson | Approve | ||
Review via email:
|
Commit message
Update txpkgupload + its charm to allow FTP through haproxy
The proxy's address is needed for passive twisted FTP requests in our txpkgupload so that the host address we send to the client is the proxy address (which will redirect the upload to the txpkgupload unit) instead of the txpkgupload unit address itself (which the client won't have access to)
Description of the change
Tested locally and in qastaging
To post a comment you must log in.
Depends on: https:/ /code.launchpad .net/~ines- almeida/ txpkgupload/ +git/txpkguploa d/+merge/ 453441