Project

Profile

Help

Issue #2727

closed

Updating importer with ssl_* options along with other options fails "Cannot update 'config.remove_missing' and 'config' at the same time"

Added by jsherril@redhat.com about 7 years ago. Updated about 5 years ago.

Status:
CLOSED - WONTFIX
Priority:
Normal
Assignee:
-
Sprint/Milestone:
-
Start date:
Due date:
Estimated time:
Severity:
3. High
Version:
2.12.1
Platform Release:
OS:
Triaged:
Yes
Groomed:
No
Sprint Candidate:
No
Tags:
Pulp 2
Sprint:
Quarter:

Description

Trying to update a repository's importer:

put "https://dev.example.com/pulp/api/v2/repositories/e7f93d88-a382-437f-a4d1-b48e6160c916/importers/yum_importer//"

and specifying some options such as remove_missing along with ssl_client_cert, ssl_client_key, and ssl_ca_cert will fail with:

OperationError: Could not save document (Cannot update 'config.remove_missing' and 'config' at the same time) 

To reproduce:

put "https://dev.example.com/pulp/api/v2/repositories/e7f93d88-a382-437f-a4d1-b48e6160c916/importers/yum_importer/"

with the body that I have attached. If you update the 3 ssl_* options separately, and then update everything else in a 2nd call, it works just fine.

This was seen in 2.12.1


Files

request-750920.txt (125 KB) request-750920.txt jsherril@redhat.com, 04/25/2017 05:52 PM

Also available in: Atom PDF