Project

General

Profile

Feature #13284

Update applicable errata regeneration code handling

Added by Partha Aji about 3 years ago. Updated 8 months ago.

Status:
Closed
Priority:
Normal
Assignee:
Target version:
Difficulty:
Triaged:
Bugzilla link:
Team Backlog:
Fixed in Releases:
Found in Releases:

Description

This protocol has changed for pulp 2.8.


Related issues

Related to Katello - Tracker #13282: Pulp 2.8Resolved2016-01-19

Copied to Katello - Feature #13566: Update Katello to use Task GroupsClosed2016-01-19

History

#1 Updated by Partha Aji about 3 years ago

#2 Updated by Dennis Kliban about 3 years ago

A request made to

/v2/repositories/actions/content/regenerate_applicability/ 
now returns a group call report that looks like this:

{
    "_href": "/pulp/api/v2/task_groups/16412fcb-06fa-4caa-818b-b103e2a9bf44/",
   "group_id": "16412fcb-06fa-4caa-818b-b103e2a9bf44" 
}

The `_href` from the above group call report, does not currently return anything. However, you can append '/state-summary/' to the URL and perform a GET request to retrieve a `task_group_summary`. The request to

/pulp/api/v2/task_groups/16412fcb-06fa-4caa-818b-b103e2a9bf44/state-summary/
will return task group summary that will look like this:

{
 "accepted": 0,
 "finished": 100,
 "running": 4,
 "canceled": 0,
 "waiting": 2,
 "skipped": 0,
 "suspended": 0,
 "error": 0,
 "total": 106
}

Documentation related to this can be found here[0-1]

[0] https://github.com/pulp/pulp/blob/master/docs/dev-guide/integration/rest-api/consumer/applicability.rst#generate-content-applicability-for-updated-repositories
[1] https://github.com/pulp/pulp/blob/master/docs/dev-guide/integration/rest-api/tasks.rst#task-group-management

#3 Updated by The Foreman Bot about 3 years ago

  • Status changed from New to Ready For Testing
  • Assignee set to Partha Aji
  • Pull request https://github.com/Katello/katello/pull/5729 added

#4 Updated by The Foreman Bot about 3 years ago

  • Pull request https://github.com/Katello/runcible/pull/167 added

#5 Updated by Partha Aji about 3 years ago

#6 Updated by Partha Aji about 3 years ago

  • Project changed from Katello to Runcible
  • Pull request deleted (https://github.com/Katello/katello/pull/5729)

#7 Updated by The Foreman Bot about 3 years ago

  • Pull request https://github.com/Katello/katello/pull/5729 added

#8 Updated by Eric Helms about 3 years ago

  • Tracker changed from Bug to Feature
  • Legacy Backlogs Release (now unused) set to 132
  • Pull request deleted (https://github.com/Katello/katello/pull/5729)

#9 Updated by Partha Aji about 3 years ago

  • Status changed from Ready For Testing to Closed

Also available in: Atom PDF