Project

Profile

Help

Issue #2078

Updating auto-publish value in the repo update does not influence the behaviour.

Added by fdobrovo over 5 years ago. Updated almost 3 years ago.

Status:
CLOSED - WONTFIX
Priority:
Normal
Assignee:
-
Start date:
Due date:
Estimated time:
Severity:
2. Medium
Version - Docker:
2.0.0
Platform Release:
Target Release - Docker:
OS:
Triaged:
Yes
Groomed:
No
Sprint Candidate:
No
Tags:
Pulp 2
Sprint:
Quarter:

Description

1. create repo with auto-publish true

$ pulp-admin docker repo create --repo-id "dock" --auto-publish true

2. update repo and set auto-publish to false

$ pulp-admin -docker repo update --repo-id "dock" --auto-publish false

3. Check config of distributor

$ curl -H "Accept: application/json" -X GET -k -u admin:admin 'https://localhost/pulp/api/v2/repositories/dock/distributors/'|python -m json.tool
    {
    "_href": "/pulp/api/v2/repositories/dock/distributors/docker_web_distributor_name_cli/",
    "_id": {
        "$oid": "57877337e7798910b0ac8d00"
    },
    "_ns": "repo_distributors",
    "auto_publish": true,
    "config": {
        "auto_publish": false
    },
    "distributor_type_id": "docker_distributor_web",
    "id": "docker_web_distributor_name_cli",
    "last_publish": null,
    "repo_id": "dock",
    "scratchpad": {}
},

Propably the same as https://pulp.plan.io/issues/1295


Related issues

Related to Python Support - Issue #1295: Updating auto-publish value in the repo update does not influence the behaviour.CLOSED - WONTFIX<a title="Actions" class="icon-only icon-actions js-contextmenu" href="#">Actions</a>
Has duplicate Docker Support - Issue #2084: updating to --auto-publish false has unexpected resultCLOSED - DUPLICATE<a title="Actions" class="icon-only icon-actions js-contextmenu" href="#">Actions</a>

History

#1 Updated by ipanova@redhat.com over 5 years ago

  • Related to Issue #1295: Updating auto-publish value in the repo update does not influence the behaviour. added

#2 Updated by amacdona@redhat.com over 5 years ago

  • Triaged changed from No to Yes

#3 Updated by ttereshc over 5 years ago

  • Has duplicate Issue #2084: updating to --auto-publish false has unexpected result added

#4 Updated by bmbouter almost 3 years ago

  • Status changed from NEW to CLOSED - WONTFIX

#5 Updated by bmbouter almost 3 years ago

Pulp 2 is approaching maintenance mode, and this Pulp 2 ticket is not being actively worked on. As such, it is being closed as WONTFIX. Pulp 2 is still accepting contributions though, so if you want to contribute a fix for this ticket, please reopen or comment on it. If you don't have permissions to reopen this ticket, or you want to discuss an issue, please reach out via the developer mailing list.

#6 Updated by bmbouter almost 3 years ago

  • Tags Pulp 2 added

Also available in: Atom PDF