Project

General

Profile

Actions

Bug #17401

closed

activation key update fails with locked task on invalid service level

Added by Justin Sherrill about 8 years ago. Updated over 6 years ago.

Status:
Closed
Priority:
Normal
Category:
API
Target version:
Difficulty:
trivial
Triaged:
Fixed in Releases:
Found in Releases:

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:

Actions

Also available in: Atom PDF