Project

General

Profile

Actions

Bug #6053

closed

Deleting Organization raises error

Added by Daniel Lobato Garcia over 10 years ago. Updated over 6 years ago.

Status:
Duplicate
Priority:
Normal
Category:
Orchestration
Target version:
Difficulty:
Triaged:
Fixed in Releases:
Found in Releases:

Description

Cloned from https://bugzilla.redhat.com/show_bug.cgi?id=1100311
1) Create an Org
2) Create an Activation Key
3) Delete the Org
4) Note error:

Error
Katello::Resources::Candlepin::ActivationKey: 404 Resource Not Found {"displayMessage":"ActivationKey with id 8a889e7e4620dab7014620ecf7a70010 could not be found.","requestUuid":"8315eb6d-ff88-4721-9a56-7e42734ce54e"} (DELETE /candlepin/activation_keys/8a889e7e4620dab7014620ecf7a70010)


Related issues 1 (0 open1 closed)

Is duplicate of Katello - Feature #6180: Implement org destroyClosedDavid Davis06/12/2014Actions
Actions #1

Updated by Eric Helms over 10 years ago

  • Category set to Orchestration
  • Target version set to 45
  • Triaged set to Yes
Actions #2

Updated by David Davis over 10 years ago

I tested this. Activation keys do get into candlepin on create and when deleting them (without deleting an org) they get deleted properly.

However, when deleting an org that has an activation key, this is the order of calls to candlepin:

1. DELETE request: /candlepin/owners/ACME_Corporation
2. DELETE request: /candlepin/activation_keys/ff80808146721aa40146809f2751006e

I checked the candlepin database and sure enough, the org and key are gone (ie step 1 is deleting the key). Then in step 2 we hit the 404 from candlepin.

The only way to solve this I think is to change the code to use dynflow.

Actions #3

Updated by Eric Helms over 10 years ago

Actions #4

Updated by Eric Helms over 10 years ago

  • Target version changed from 45 to 48
Actions #5

Updated by David Davis over 10 years ago

  • Status changed from New to Duplicate
Actions #6

Updated by David Davis over 10 years ago

Actions #7

Updated by David Davis over 10 years ago

Actions #8

Updated by Eric Helms over 10 years ago

  • Translation missing: en.field_release set to 13
Actions #9

Updated by Eric Helms over 9 years ago

  • Translation missing: en.field_release deleted (13)
Actions #10

Updated by Eric Helms over 8 years ago

  • Translation missing: en.field_release set to 166
Actions

Also available in: Atom PDF