Project

General

Profile

Actions

Bug #18388

closed

Unify hosts task can delete live managed virtual machines

Added by Justin Sherrill over 7 years ago. Updated about 6 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

Also available in: Atom PDF