Project

General

Profile

Bug #17401

activation key update fails with locked task on invalid service level

Added by Justin Sherrill over 5 years ago. Updated almost 4 years ago.

Status:
Closed
Priority:
Normal
Category:
API
Target version:
Difficulty:
trivial
Triaged:
Bugzilla link:
Fixed in Releases:
Found in Releases:
Red Hat JIRA:

Description

[vagrant@robot hammer-cli-katello]$ hammer  -u admin -p changeme activation-key  update --name=foo4 --organization-id=1 --service-level='standard'
Could not update the activation key:
  Task 0a8a8775-ce89-4751-8352-b7d96ab6f856: Katello::Errors::CandlepinError: Service level 'standard' is not available to units of organization Default_Organization.
[vagrant@robot hammer-cli-katello]$ hammer  -u admin -p changeme activation-key  update --name=foo4 --organization-id=1 --service-level='standard'
Could not update the activation key:
  Required lock is already taken by other running tasks.
  Please inspect their state, fix their errors and resume them.

  Required lock: read
  Conflicts with tasks:

Associated revisions

Revision 7be520f1 (diff)
Added by Justin Sherrill over 5 years ago

Fixes #17401 - skip failed activation key updates

History

#1 Updated by Justin Sherrill over 5 years ago

  • Bugzilla link set to 1386738

#2 Updated by The Foreman Bot over 5 years ago

  • Status changed from New to Ready For Testing
  • Pull request https://github.com/Katello/katello/pull/6463 added

#3 Updated by Brad Buckingham over 5 years ago

  • Target version set to 140

#4 Updated by Justin Sherrill over 5 years ago

  • Status changed from Ready For Testing to Closed
  • % Done changed from 0 to 100

#5 Updated by Eric Helms over 5 years ago

  • Legacy Backlogs Release (now unused) set to 208

Also available in: Atom PDF