| Summary: | When running bootstrap with the --force option, it deletes the host AND if it is associated to a virtual machine via a compute resource, the virtual machine also. | ||
|---|---|---|---|
| Product: | Red Hat Satellite | Reporter: | Rich Jerrido <rjerrido> |
| Component: | Bootstrap | Assignee: | Rich Jerrido <rjerrido> |
| Status: | CLOSED ERRATA | QA Contact: | Jitendra Yejare <jyejare> |
| Severity: | high | Docs Contact: | |
| Priority: | high | ||
| Version: | 6.2.3 | CC: | bbuckingham, ehelms, jcallaha, jyejare, ktordeur, mmccune, oshtaier |
| Target Milestone: | Unspecified | Keywords: | Triaged |
| Target Release: | Unused | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | If docs needed, set a value | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2018-02-21 16:54:37 UTC | Type: | Bug |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
|
Description
Rich Jerrido
2016-11-01 14:16:29 UTC
This was addressed in upstream commit (https://github.com/Katello/katello-client-bootstrap/commit/dab153ed587f805db8bc82cad75815315d342221). moving to POST As per discussion with Zhenech on steps to verify this bug: ``` <jyejare> Zhenech, Looking for steps <Zhenech> jyejare: you'd need a sat6 with a configured compute resource, and a vm running on that said CR <jyejare> Zhenech, i have internal libvirt running a VM <Zhenech> jyejare: now if you open the VM in satellite, it should list it as running on the CR (= sat knows where it runs). <Zhenech> jyejare: now you run bootstrap with --force (because the VM is already registered), before the patch sat6 would actually also delete the VM itself from libvirt <Zhenech> jyejare: after the patch, only the host in satellite is deleted and re-created ``` AS per above steps: 1. I created VM on internal libvirt CR 2. The VM was registered to satellite using AK 3. I ran bootstrap on VM(content host) with force option Observation: 1. The host was re-registered but VM was not deleted as expected. Changing the state to Verified ! 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/RHSA-2018:0336
|