Project

General

Profile

Actions

Bug #6702

closed

Content Promotion Broken for Virtual Data Center Subscriptions

Added by Thomas McKay over 9 years ago. Updated almost 6 years ago.

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

Description

Cloned from https://bugzilla.redhat.com/show_bug.cgi?id=1114067
Description of problem:

This problem is limited in scope to a very specific type of subscription, virtual data center. (RH00002) This type of subscription (which has what we call derived product data) requires that it be first granted to a host system, but the host gets no content as a result. Once granted a sub-pool is created for guests running on that host which does receive content. (i.e. the content the subscription provides has to change depending on whether it's used on host / guest)

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

Found in nightly beta build as of today.

Steps to Reproduce:

1. Import a manifest with only a VDC entitlement, preferably on a fresh/clean/empty Satellite.

Actual results:

This will need more specifics from someone more familiar with content in Satellite, but here is what I see.

If I nav to Content > Red Hat Repositories, I see the only orphaned content with empty sub-menus in attachment. I believe this is where I initiate content sync, so this effectively means I cannot sync any content.

Likewise I cannot add any content to a content view.

Expected results:

Satellite should respect the derived product data.

Additional info:

This is a big oversight / miscommunication on our part when this feature was implemented, but essentially a pool like this carries additional content in a separate place. If you open a manifest and examine an entitlement JSON file, you'll see the pool carrying derivedProductId, derivedProductAttributes, and derivedProvidedProducts. These attributes are used on a guest pool when one is created instead of the parent pools productId/productAttributes/providedProducts.

I am not familiar with how the Satellite UI and pulp are determining what content/repos are available but very likely it means these fields need to be examined in addition to the normal set.

They should probably immediately be available for syncing and promotion even before any guest pools exist to reference them.

Actions #1

Updated by The Foreman Bot over 9 years ago

  • Status changed from New to Ready For Testing
  • Target version set to 49
  • Pull request https://github.com/Katello/katello/pull/4475 added
  • Pull request deleted ()
Actions #2

Updated by Eric Helms over 9 years ago

  • Difficulty set to medium
  • Triaged changed from No to Yes
Actions #3

Updated by Eric Helms over 9 years ago

  • Target version changed from 49 to 54
Actions #4

Updated by Thomas McKay over 9 years ago

  • Status changed from Ready For Testing to Closed
  • % Done changed from 0 to 100
Actions #5

Updated by Eric Helms over 9 years ago

  • translation missing: en.field_release set to 13
Actions

Also available in: Atom PDF