Bugzilla will be upgraded to version 5.0. The upgrade date is tentatively scheduled for 2 December 2018, pending final testing and feedback.
Bug 1418892 - Unify hosts task can delete live managed virtual machines
Unify hosts task can delete live managed virtual machines
Status: CLOSED ERRATA
Product: Red Hat Satellite 6
Classification: Red Hat
Component: Installer (Show other bugs)
6.2.7
Unspecified Unspecified
urgent Severity urgent (vote)
: 6.2.9
: Unused
Assigned To: Justin Sherrill
jcallaha
: PrioBumpGSS, Triaged
Depends On: 1418890
Blocks: 1316897 1426418
  Show dependency treegraph
 
Reported: 2017-02-02 20:29 EST by Justin Sherrill
Modified: 2017-07-05 06:37 EDT (History)
14 users (show)

See Also:
Fixed In Version: tfm-rubygem-katello-3.0.0.115-1
Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: 1418890
: 1426418 (view as bug list)
Environment:
Last Closed: 2017-05-01 09:58:59 EDT
Type: Bug
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)


External Trackers
Tracker ID Priority Status Summary Last Updated
Red Hat Knowledge Base (Solution) 1504603 None None None 2017-02-04 11:23 EST
Foreman Issue Tracker 18388 None None None 2017-02-03 11:15 EST
Red Hat Product Errata RHBA-2017:1191 normal SHIPPED_LIVE Satellite 6.2.9 Async Bug Release 2017-05-01 13:49:42 EDT

  None (edit)
Comment 2 Justin Sherrill 2017-02-03 11:15:37 EST
Created redmine issue http://projects.theforeman.org/issues/18388 from this bug
Comment 4 pm-sat@redhat.com 2017-02-03 12:19:02 EST
Upstream bug assigned to jsherril@redhat.com
Comment 5 pm-sat@redhat.com 2017-02-03 12:19:07 EST
Upstream bug assigned to jsherril@redhat.com
Comment 6 pm-sat@redhat.com 2017-02-12 04:20:32 EST
Moving this bug to POST for triage into Satellite 6 since the upstream issue http://projects.theforeman.org/issues/18388 has been resolved.
Comment 9 pm-sat@redhat.com 2017-02-23 16:11:39 EST
Please add verifications steps for this bug to help QE verify
Comment 11 jcallaha 2017-03-30 15:14:18 EDT
I registered a vmware host to satellite, along with it being reported by virt-who. I then shortened its hostname. Next, I associated the host to it's corresponding vm in the compute resource, and made it managed by satellite. Then, I created/registered a new host with a hostname that is an expansion of the first host's short name. 

At this point, I ran the unify hosts task. As a result, the hosts were correctly not unified.
Comment 12 jcallaha 2017-03-30 16:02:39 EDT
Continuing, I unregistered the original host and managed the second, then re-ran the command.

-bash-4.1# foreman-rake katello:unify_hosts USE_NAME=true
...
Host dhcp-10-12-211-60.fake.domain.com is registered with subscription-manager but is managed, please un-unmanage this host first.

Verified in Satellite 6.2.9 Snap 2.
Comment 14 errata-xmlrpc 2017-05-01 09:58:59 EDT
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory, and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://access.redhat.com/errata/RHBA-2017:1191

Note You need to log in before you can comment on or make changes to this bug.