Project

Profile

Help

Issue #2209

closed

The RPM rsync distributor documentation doesn't explain how to pass config options to Pulp

Added by Ichimonji10 over 7 years ago. Updated about 5 years ago.

Status:
CLOSED - WONTFIX
Priority:
High
Assignee:
-
Sprint/Milestone:
-
Start date:
Due date:
Estimated time:
Severity:
1. Low
Version:
Platform Release:
master
OS:
Triaged:
Yes
Groomed:
No
Sprint Candidate:
No
Tags:
Documentation, Pulp 2
Sprint:
Quarter:

Description

The RPM rsync distributor documentation provides this sample configuration:

{
    "distributor_id": "my_rpm_rsync_distributor",
    "distributor_type_id": "rpm_rsync_distributor",
    "distributor_config": {
        "remote": {
            "auth_type": "publickey",
            "ssh_user": "foo",
            "ssh_identity_file": "/home/user/.ssh/id_rsa",
            "host": "192.168.121.1",
            "root": "/home/foo/pulp_root_dir"
        },
        "predistributor_id": "yum_distributor"
    }
}

It then goes on to list other optional configuration options, such as rpm_rsync_distributor. However, most or all of those options are not listed in the sample config above, and it is not explained where they should go in the dict. As a result, users must resort to more obtuse methods like trial and error, using pulp-admin with the --verbose flag, or reading the source code.

Please, explain how to structure requests to the Pulp server.

See: https://github.com/pulp/pulp_rpm/blob/master/docs/tech-reference/rsync-distributor.rst

Also available in: Atom PDF