Project

General

Profile

Feature #24669

RFE: Support 'check_manifest' API endpoint - Manifest upload cannot be idempotent

Added by Andrew Kofink almost 4 years ago. Updated almost 4 years ago.

Status:
New
Priority:
Normal
Assignee:
-
Category:
-
Target version:
Difficulty:
Triaged:
Yes
Bugzilla link:
Pull request:
Fixed in Releases:
Found in Releases:
Red Hat JIRA:

Description

Scenario:
API developers (those consuming Katello's API) have no way to check if a given manifest has been uploaded to Katello. The manifest_history shows the upstreamConsumer information, but API developers shouldn't be expected to inspect the manifest zip file manually to match this upstreamConsumer information to determine if the manifest has already been uploaded.

Example/Motivation:
In foreman-ansible-modules (Nailgun being the API consumer), we have a katello_manifest module that allows uploading a manifest. In the spirit of most conf management tools, Ansible modules strive to be idempotent. This is impossible for manifest upload with the current Katello API.

- Related FAM issue: https://github.com/theforeman/foreman-ansible-modules/issues/172


Related issues

Related to Foreman - Tracker #27680: API bugs that need workarounds in foreman-ansible-modulesNew

History

#1 Updated by Andrew Kofink almost 4 years ago

  • Triaged changed from No to Yes

#2 Updated by Evgeni Golov over 2 years ago

  • Related to Tracker #27680: API bugs that need workarounds in foreman-ansible-modules added

Also available in: Atom PDF