Project

General

Profile

Bug #18388

Unify hosts task can delete live managed virtual machines

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

Status:
Closed
Priority:
Urgent
Category:
Installer
Target version:
Difficulty:
Triaged:
Bugzilla link:
Fixed in Releases:
Found in Releases:

Description

when the unify_hosts rake task runs, it does not seem to take into consideration whether or not the host being removed is 'Managed' by the Satellite via a Compute Resource.
This can cause the machine to be destroyed!

Steps to Reproduce:
1. Create system via compute resource, or register with shortname and set to managed.
2. manually invoke unify hosts script
3. Verify host destroyed afterward, check with Monitor -> Audit.

Actual results:
Unify hosts removed managed shortname host, destroyed system.

Expected results:
Unify hosts should handle or ignore managed hosts.

Associated revisions

Revision 3b45869b (diff)
Added by Justin Sherrill over 4 years ago

Fixes #18388 - on unify_hosts ignore managed

or hosts with a compute resource

History

#1 Updated by The Foreman Bot over 4 years ago

  • Status changed from New to Ready For Testing
  • Assignee set to Justin Sherrill
  • Pull request https://github.com/Katello/katello/pull/6586 added

#2 Updated by Justin Sherrill over 4 years ago

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

#3 Updated by Justin Sherrill over 4 years ago

  • Subject changed from Unify hosts task can delete live managed virtual machines to Unify hosts task can delete live managed virtual machines
  • Legacy Backlogs Release (now unused) set to 188

#4 Updated by Brad Buckingham about 4 years ago

  • Target version set to 163

Also available in: Atom PDF