Project

General

Profile

Feature #6180

Implement org destroy

Added by David Davis over 5 years ago. Updated over 1 year ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
Orchestration
Target version:
Difficulty:
hard
Triaged:
Yes
Bugzilla link:
Fixed in Releases:
Found in Releases:

Description

In http://projects.theforeman.org/issues/6123, we disabled organization deletion because it wasn't implemented. We need to implement it and then enable the UI, API, and CLI.

In the code, I've used "ORG_DESTROY' in TODO to indicate places that need addressing.

Also, here are some bugs we need to make sure work when we reenable org destroy:

http://projects.theforeman.org/issues/5949
http://projects.theforeman.org/issues/6053
http://projects.theforeman.org/issues/6179


Related issues

Related to Katello - Bug #5949: deleting org in UI does not delete corresponding lifecycle environments causing rake katello:reindex to failClosed2014-05-27
Related to Katello - Bug #6179: Content Management fails if default organization is deletedClosed2014-06-12
Related to Katello - Refactor #6189: Dynflowize activation key deleteClosed2014-06-12
Related to Katello - Bug #5104: undefined method `redhat?' for nil:NilClassClosed2014-04-08
Has duplicate Katello - Bug #6053: Deleting Organization raises errorDuplicate2014-06-04
Blocked by Katello - Bug #5081: Product deletion does not handle repositories correctlyClosed2014-04-04
Blocked by Katello - Refactor #6187: Dynflowize environment deleteClosed2014-06-12
Blocked by Katello - Refactor #6185: Dynflowize product deleteClosed2014-06-12
Blocked by Katello - Refactor #6183: Dynflowize system unregisterClosed2014-06-12
Blocks Katello - Refactor #6297: Remove katello-jobsClosed2014-06-19
Blocks Katello - Bug #6424: Make sure that orgs being deleted can't be usedClosed2014-06-27

Associated revisions

Revision 32e3268c (diff)
Added by David Davis over 5 years ago

Refs #6180,1100311 - Remove old organization destroyer code

Revision e19f8701
Added by David Davis over 5 years ago

Merge pull request #4407 from daviddavis/temp/20140709083624

Refs #6180,1100311 - Remove old organization destroyer code

Revision 373c4a48 (diff)
Added by David Davis over 5 years ago

Refs #6180,BZ1100311 - Re-enable organization delete command

Revision 2706b5e7 (diff)
Added by David Davis over 5 years ago

Fixes #6180,BZ1100311 - Implement organization destroy in dynflow

Revision 3a4b9380 (diff)
Added by David Davis about 5 years ago

Refs #6180,BZ1100311 - Remove old del_owner method from owner

Revision 2fcc6873
Added by David Davis about 5 years ago

Merge pull request #4405 from daviddavis/org-destroy

Refs #6180,BZ1100311 - Implement organization destroy in dynflow

Revision 4b6f1401
Added by David Davis about 5 years ago

Merge pull request #204 from daviddavis/temp/20140711151419

Refs #6180,BZ1100311 - Re-enable organization delete command

History

#1 Updated by David Davis over 5 years ago

  • Tracker changed from Bug to Feature

#2 Updated by David Davis over 5 years ago

  • Blocked by Bug #5081: Product deletion does not handle repositories correctly added

#3 Updated by Eric Helms over 5 years ago

  • Related to Bug #5949: deleting org in UI does not delete corresponding lifecycle environments causing rake katello:reindex to fail added

#4 Updated by Eric Helms over 5 years ago

  • Related to Bug #6053: Deleting Organization raises error added

#5 Updated by Eric Helms over 5 years ago

  • Related to Bug #6179: Content Management fails if default organization is deleted added

#7 Updated by Eric Helms over 5 years ago

  • Category set to Orchestration
  • Difficulty set to hard
  • Triaged changed from No to Yes

#8 Updated by David Davis over 5 years ago

This task depends on a number of features that currently don't have redmine issues:

  • Lifecycle destroy in dynflow
  • System destroy in dynflow
  • System group destroy in dynflow
  • Activation key destroy in dynflow

I think these are being tracked here:

https://trello.com/c/NRIX7MjT/108-20-rewrite-the-rest-of-the-orchestration-into-dynflow-actions

#9 Updated by Ivan Necas over 5 years ago

#10 Updated by Ivan Necas over 5 years ago

#11 Updated by Ivan Necas over 5 years ago

#12 Updated by Ivan Necas over 5 years ago

#13 Updated by Eric Helms over 5 years ago

  • Related to Bug #5104: undefined method `redhat?' for nil:NilClass added

#14 Updated by David Davis over 5 years ago

For reference, here is the katello PR that disabled org destroy:

https://github.com/Katello/katello/pull/4233

And the katello cli PR:

https://github.com/Katello/hammer-cli-katello/pull/188

#15 Updated by Ivan Necas over 5 years ago

#16 Updated by David Davis over 5 years ago

  • Bugzilla link set to https://bugzilla.redhat.com/show_bug.cgi?id=1100311

#17 Updated by David Davis over 5 years ago

  • Related to deleted (Bug #6053: Deleting Organization raises error)

#18 Updated by David Davis over 5 years ago

  • Has duplicate Bug #6053: Deleting Organization raises error added

#19 Updated by Eric Helms over 5 years ago

  • Legacy Backlogs Release (now unused) set to 13

#20 Updated by David Davis over 5 years ago

  • Blocks Bug #6424: Make sure that orgs being deleted can't be used added

#21 Updated by David Davis over 5 years ago

  • Status changed from New to Assigned
  • Assignee set to David Davis

#22 Updated by Eric Helms over 5 years ago

  • Target version changed from 48 to 49

#23 Updated by The Foreman Bot over 5 years ago

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

#24 Updated by David Davis about 5 years ago

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

#25 Updated by David Davis about 5 years ago

  • Status changed from Closed to Ready For Testing

#26 Updated by David Davis about 5 years ago

  • Status changed from Ready For Testing to Closed

Also available in: Atom PDF