Project

General

Profile

Actions

Bug #26767

closed

Empty repository list when using bulk action for Manage Repository Sets

Added by Marco G almost 5 years ago. Updated over 4 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
Hosts
Target version:
Difficulty:
Triaged:
Yes
Fixed in Releases:
Found in Releases:

Description

The repository list in the bulk/select action for Manage Repository Sets is empty if user have only custom products (CentOS, EPEL, ...)

How reproducible: 100%

Steps to Reproduce:
1. Create a custom product
2. Create a repository in a custom product
3. Goto Hosts -> Content Hosts
4. Select one or more hosts with checkbox
5. Select Action (Dropdown) -> Manage Repository Sets

Actual results:
Repository list is empty with the message 'No enabled Repository Sets provided through subscriptions.'

Expected results:
Ability to change Repository Sets for hosts selected, like in Host -> Content Hosts -> HOST -> Repository Sets

Actions #1

Updated by Marco G almost 5 years ago

  • Priority changed from High to Normal
Actions #2

Updated by Justin Sherrill almost 5 years ago

  • Bugzilla link set to 1678179
Actions #3

Updated by John Mitsch almost 5 years ago

  • Target version set to Katello 3.13.0
  • Triaged changed from No to Yes
Actions #4

Updated by The Foreman Bot over 4 years ago

  • Status changed from New to Ready For Testing
  • Assignee set to Samir Jha
  • Pull request https://github.com/Katello/katello/pull/8191 added
Actions #5

Updated by Marco G over 4 years ago

I've applied the changes on my Katello 3.10.1, but I'm not able to see any repositories. Using the API 'repository_set' I get 0 results:

-> https://katello.example.com/katello/api/v2/repository_sets

<- {"total":0,"subtotal":0,"page":1,"per_page":20,"error":null,"search":null,"sort":{"by":"name","order":"asc"},"results":[]}

Maybe the problem is that I don't have any redhat repos nor any redhat repository sets. Does your patch return "custom repository sets along with redhat repos" and "custom repository sets even without any redhat repos" ?

Thanks,
Marco

Actions #7

Updated by Marco G over 4 years ago

Using that endpoint, I get all my repositories:

{"total":24,"subtotal":24,"page":1,"per_page":20,"error":null,"search":null,"sort":{"by":"name","order":"asc"},"results":[{"enabled":null,"product":{"id":1,"name":"CentOS"},"repositories":[{"id":8,"name":"CentOS 7.3.1611 Base ....

Maybe do I have to do something else after modifying 'content-hosts-bulk-repository-sets-modal.controller.js' file ?

Actions #8

Updated by The Foreman Bot over 4 years ago

  • Fixed in Releases Katello 3.14.0 added
Actions #9

Updated by Anonymous over 4 years ago

  • Status changed from Ready For Testing to Closed
Actions

Also available in: Atom PDF