Project

General

Profile

Actions

Bug #18388

closed

Unify hosts task can delete live managed virtual machines

Added by Justin Sherrill about 7 years ago. Updated over 5 years ago.

Status:
Closed
Priority:
Urgent
Category:
Installer
Target version:
Difficulty:
Triaged:
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.

Actions #1

Updated by The Foreman Bot about 7 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
Actions #2

Updated by Justin Sherrill about 7 years ago

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

Updated by Justin Sherrill about 7 years ago

  • Subject changed from Unify hosts task can delete live managed virtual machines to Unify hosts task can delete live managed virtual machines
  • translation missing: en.field_release set to 188
Actions #4

Updated by Brad Buckingham about 7 years ago

  • Target version set to 163
Actions

Also available in: Atom PDF