Project

General

Profile

Bug #24905

Katello 3.4: Removing hypervisor from one host collection will remove hypervisor from all host collections

Added by Andrew Kofink over 1 year ago. Updated over 1 year ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
Host Collections
Target version:
Difficulty:
Triaged:
Yes
Bugzilla link:
Fixed in Releases:
Found in Releases:

Description

Cloned from https://bugzilla.redhat.com/show_bug.cgi?id=1618799

Description of problem:

If virt-who hypervisor is part of more than one host collection, if we try to remove it from one host collection, it will be removed from all host collections.

Version-Release number of selected component (if applicable):

Katello 3.4

Steps to Reproduce:

1. Go to Satellite WebUI --> Hosts --> Content Hosts --> Select any hypervisor without a content facet --> Host Collections --> Add --> select more than one host collection from list --> Add Selected

2. Go to Satellite WebUI --> Hosts --> Content Hosts --> Select any hypervisor without a content facet --> Host Collections --> List/Remove --> Select any one repository to remove --> Remove Selected

Actual results:
It will remove the virt-who hypervisor from all host collections.

Expected results:
It should remove virt-who hypervisor from host collection which is selected only.

Additional info:

This scenario will work fine when we will remove virt-who hypervisor from host collection as below:

Go to Satellite WebUI --> Host Collections --> Click on host collection from which you want to remove hypervisor --> Hosts --> Select hypervisor --> Remove Selected

This will remove virt-who hypervisor from one selected host collection only.

And it will work fine for content-hosts in both ways.

Associated revisions

Revision 9207421d (diff)
Added by Andrew Kofink over 1 year ago

Fixes #24905: Add host_collections to hosts#show

History

#1 Updated by The Foreman Bot over 1 year ago

  • Status changed from New to Ready For Testing
  • Pull request https://github.com/Katello/katello/pull/7697 added

#2 Updated by Jonathon Turel over 1 year ago

  • Triaged changed from No to Yes
  • Target version set to 931
  • Subject changed from Katello 3.4: Removing hypervisor from one host collection will remove hypervisor from all host collections to Katello 3.4: Removing hypervisor from one host collection will remove hypervisor from all host collections

#3 Updated by Andrew Kofink over 1 year ago

  • Status changed from Ready For Testing to Closed

#4 Updated by Jonathon Turel over 1 year ago

  • Target version changed from 931 to Katello 3.9.0

Also available in: Atom PDF