-
Feature Request
-
Resolution: Unresolved
-
Normal
-
None
-
6.11.2
Description of problem:
1. Proposed title of this feature request
Toggle option per organization required in Satellite to Sync the Inventory
2. What is the nature and description of the request?
Modification of the code which allows to Sync the Inventory Manually.
3. Why does the customer need this? (List the business requirements here)
Current behavior:
A) Let's assume right now the satellite has one organization only called ACME and nothing else. It has manifest imported with valid subs and perhaps some hosts registered as well.
B) If we are under the context of this Organization ACME, Then
-
- If we go to Configure --> Inventory Upload page --> It will only list ACME Organization there
-
- If we click on "Sync Inventory Status" It will\should work fine.
-
- If we click on ACME, it will give us the "Restart" button which will "re-collect" and "re-upload" the inventory data for the org and it will work as well.
C) Now, I create a new org called "Test" and just save it. There are no manifests imported here.
D) As long as we are in the context of the "ACME" organization, Step B will remain the same.
E) But if we switch to "Any Organization" context, That entitles the satellite to show and execute the action on both "ACME" and "Test" org.
F) If I try to do "Sync Inventory Status" now It will show that error :
~~
Inventory sync has failed: ERF74-6085 [InventoryUpload::TaskActions::NothingToSyncError]: Nothing to sync, there are no hosts with subscriptions for this organization.
~~
Why? As Satellite is trying to generate a bulk task for both of the organizations but one of them does not have any manifest imported and no systems present with a valid subscription status associated with the Test Org.
Expectations:
- Introduce some sort of flag that can be toggled per organization.
- Once toggled for the “Test” org, It should disable the “Inventory sync” actions for that Org.
- As a result, While on Step F, the Inventory sync should be getting successfully triggered only for the ACME org that is allowed for “Inventory Sync” action.
4. How would the customer like to achieve this? (List the functional requirements here)
When going to Configure --> Inventory Upload page, then for individual organizations, that toggle option should present and will allow the inventory sync task to be enabled or disabled for the individual orgs.
5. For each functional requirement listed, specify how Red Hat and the customer
can test to confirm the requirement is successfully implemented.
Same as Point 3.
6. Is there already an existing RFE upstream or in Red Hat Bugzilla?
No
7. Does the customer have any specific timeline dependencies and which release would they like to target?
As soon as possible
8. Is the sales team involved in this request and do they have any additional input?
No
9. List any affected packages or components.
NA
10. Would the customer be able to assist in testing this functionality if implemented?
Yes
- external trackers