Red Hat Satellite engineering is moving the tracking of its product development work on Satellite to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "Satellite project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs will be migrated starting at the end of May. If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "Satellite project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/SAT-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.
Bug 1337894 - [RFE] content view is location indepedent, but associated KT puppet environment requires location
Summary: [RFE] content view is location indepedent, but associated KT puppet environme...
Keywords:
Status: CLOSED WONTFIX
Alias: None
Product: Red Hat Satellite
Classification: Red Hat
Component: Content Management
Version: 6.2.0
Hardware: Unspecified
OS: Unspecified
unspecified
high
Target Milestone: Unspecified
Assignee: satellite6-bugs
QA Contact: Katello QA List
URL:
Whiteboard:
Depends On:
Blocks: 1122832
TreeView+ depends on / blocked
 
Reported: 2016-05-20 11:44 UTC by Peter Vreman
Modified: 2023-09-14 23:59 UTC (History)
2 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2018-11-13 13:58:59 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Bugzilla 1133918 0 unspecified CLOSED Operating system installation media not shown when a location is selected 2021-02-22 00:41:40 UTC
Red Hat Issue Tracker SAT-4776 0 None None None 2021-08-30 13:02:13 UTC
Red Hat Knowledge Base (Solution) 3437551 0 None None None 2018-05-09 07:33:10 UTC

Internal Links: 1133918

Description Peter Vreman 2016-05-20 11:44:35 UTC
Description of problem:
The content views are location agnostic and available to all locations. But the imported puppet environments belonging to the content view is location aware.

This is inconsistent and adds a complex burden upto the user to also associate the implicit created puppet environments with the locations.



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


How reproducible:


Steps to Reproduce:
1. Create HostgroupA in LocationA
2. Set Location to LocationA
3. Create ContentViewA with puppet modules
4. Publish ContentViewA
5. Goto HostgroupA, select ContentViewA
6. Goto Environments

Actual results:
Step 5: Puppet Environment is not set
Step 6: List of Puppet Environments is empty

Expected results:
Puppet environment location agnostic like ContentView

Alternative is to have also ContentView be location aware.


Additional info:

Comment 1 Peter Vreman 2016-05-20 13:52:51 UTC
To verify Make sure that the Capsule is not associated with the LocationA when Publishing the CV.


[crash] root@li-lc-1578:~# hammer -c/opt/hoici/etc/sat6/hammer-hoici.yaml location list
---|-----------------
ID | NAME
---|-----------------
2  | Default Location
4  | HAG
---|-----------------

[crash] root@li-lc-1578:~# hammer -c/opt/hoici/etc/sat6/hammer-hoici.yaml environment list --organization-id=3
---|---------------------------------------------------
ID | NAME
---|---------------------------------------------------
29 | KT_Hilti_Library_hg_crash_57
26 | KT_Hilti_Library_product_HOICI_1_0_ci_53
14 | KT_Hilti_Library_product_HOICI_1_0_sp16_35
15 | KT_Hilti_Library_product_HOIOS_6_6_0_ci_37
16 | KT_Hilti_Library_product_HOIOS_6_6_0_hf13_38
13 | KT_Hilti_Library_product_HOIOS_6_8_ci_34
28 | KT_Hilti_Library_product_HOIOS_6_8_sp11_58
21 | KT_Hilti_Library_product_HOIOS_7_2_ci_43
22 | KT_Hilti_Library_product_HOIPRODUCTS_1_1_0_ci_44
23 | KT_Hilti_Library_product_HOIPRODUCTS_1_1_0_hf13_45
17 | KT_Hilti_Library_product_HOIPRODUCTS_1_2_ci_39
20 | KT_Hilti_Library_product_HOIPRODUCTS_1_2_sp6_42
24 | KT_Hilti_Library_product_HOISAT6_6_1_8_sp1_51
25 | KT_Hilti_Library_product_HOISAT6_6_1_ci_52
---|---------------------------------------------------


[crash] root@li-lc-1578:~# hammer -c/opt/hoici/etc/sat6/hammer-hoici.yaml environment list --organization-id=3 --location-id=4
---|-----
ID | NAME
---|-----


And for content views

[crash] root@li-lc-1578:~# hammer -c/opt/hoici/etc/sat6/hammer-hoici.yaml content-view list  --organization-id=3 --location-id=4
Error: Unrecognised option '--location-id'

See: 'hammer content-view list --help'
[crash] root@li-lc-1578:~# hammer -c/opt/hoici/etc/sat6/hammer-hoici.yaml content-view list  --organization-id=3
----------------|-----------------------------------|--------------------------------------|-----------|------------------------------------
CONTENT VIEW ID | NAME                              | LABEL                                | COMPOSITE | REPOSITORY IDS    
----------------|-----------------------------------|--------------------------------------|-----------|------------------------------------
52              | product-HOISAT6-6.1-ci            | product-HOISAT6-6_1-ci               |           | 47, 493           
51              | product-HOISAT6-6.1.8-sp1         | product-HOISAT6-6_1_8-sp1            |           | 47, 487           
50              | product-HOIRHEL-7Server-d20160515 | product-HOIRHEL-7Server-d20160515    |           | 8, 13, 30, 20, 38, 60, 111, 470
49              | product-HOIRHEL-7.2-d20160515     | product-HOIRHEL-7_2-d20160515        |           | 16, 19, 20, 39, 31, 60, 111, 453
48              | product-HOIRHEL-6Server-d20160515 | product-HOIRHEL-6Server-d20160515    |           | 6, 11, 28, 36, 44, 49, 59, 90, 434
24              | product-HOIRHEL-6.8-d20160515     | product-HOIRHEL-6_8-d20160515        |           | 49, 54, 53, 57, 55, 56, 59, 90, 189
47              | product-HOIRHEL-6.6-d20160515     | product-HOIRHEL-6_6-d20160515        |           | 14, 17, 40, 32, 45, 59, 88, 408
46              | product-HOIRHEL-6.6-d20160424     | product-HOIRHEL-6_6-d20160424        |           | 14, 17, 40, 32, 45, 59, 88, 391
42              | product-HOIPRODUCTS-1.2-sp6       | product-HOIPRODUCTS-1_2-sp6          |           | 371               
39              | product-HOIPRODUCTS-1.2-ci        | product-HOIPRODUCTS-1_2-ci           |           | 363               
45              | product-HOIPRODUCTS-1.1.0-hf13    | product-HOIPRODUCTS-1_1_0-hf13       |           | 387               
44              | product-HOIPRODUCTS-1.1.0-ci      | product-HOIPRODUCTS-1_1_0-ci         |           | 383               
43              | product-HOIOS-7.2-ci              | product-HOIOS-7_2-ci                 |           | 375               
58              | product-HOIOS-6.8-sp11            | product-HOIOS-6_8-sp11               |           | 606               
34              | product-HOIOS-6.8-ci              | product-HOIOS-6_8-ci                 |           | 344               
38              | product-HOIOS-6.6.0-hf13          | product-HOIOS-6_6_0-hf13             |           | 359               
37              | product-HOIOS-6.6.0-ci            | product-HOIOS-6_6_0-ci               |           | 355               
36              | product-HOIOP5-6.3.3-ga           | product-HOIOP5-6_3_3-ga              |           | 352               
35              | product-HOICI-1.0-sp16            | product-HOICI-1_0-sp16               |           | 348               
53              | product-HOICI-1.0-ci              | product-HOICI-1_0-ci                 |           | 499               
57              | hg-crash                          | hg-crash                             | true      |                   
2               | Default Organization View         | 3787ccb0-5e60-4a5b-a3f7-a6bfaeacdfd4 |           |                   
----------------|-----------------------------------|--------------------------------------|-----------|------------------------------------

Comment 2 Peter Vreman 2016-07-12 13:02:57 UTC
See below for a test that shows that adding a new location to a proxy does not update the locations of the environments during a import-classes.

[crash] root@li-lc-1578:~# hammer -c/opt/hoici/etc/sat6/hammer-hoici.yaml location create --name=Test2
Location created

[crash] root@li-lc-1578:~# hammer -c/opt/hoici/etc/sat6/hammer-hoici.yaml proxy info --id=1
Id:            1
Name:          li-lc-1578.hag.hilti.com
URL:           https://li-lc-1578.hag.hilti.com:9090
Features:
    Pulp
    TFTP
    Puppet
    Puppet CA
    Openscap
Locations:
    HAG
    Test1
Organizations:
    Default Organization
    Hilti
Created at:    2016/06/16 11:35:17
Updated at:    2016/06/16 11:35:17

[crash] root@li-lc-1578:~# hammer -c/opt/hoici/etc/sat6/hammer-hoici.yaml proxy import-classes --id=1
Puppet classes were imported

[crash] root@li-lc-1578:~# hammer -c/opt/hoici/etc/sat6/hammer-hoici.yaml environment info --id=18
Id:            18
Name:          KT_Hilti_Library_hg_crash_28
Puppetclasses:
    access_insights_client
    base_authentication
...
    product_sc_n5k_apc
    product_squid
    stdlib
    stdlib::stages
Locations:
    Default Location
Organizations:
    Hilti
Created at:    2016/06/16 16:27:08
Updated at:    2016/06/16 16:27:08

Comment 3 Peter Vreman 2018-03-06 12:35:51 UTC
With Sat6.3.0 i have hit a similair issue:

UI Location set to AA
Internal Capsule not associated with AA

I am unable to refresh the manifest from the UI: 'There was an issue with the backend service pulp: Couldn't find SmartProxy with 'id'=1 [WHERE (1=0)]'

From the CLI it worked fine, because the CLI does not set a location.

Peter

Comment 4 Bryan Kearney 2018-09-04 19:23:24 UTC
Thank you for your interest in Satellite 6. We have evaluated this request, and we do not expect this to be implemented in the product in the foreseeable future. We are therefore closing this out as WONTFIX. If you have any concerns about this, please feel free to contact Rich Jerrido or Bryan Kearney. Thank you.

Comment 5 Peter Vreman 2018-09-05 16:03:31 UTC
RE-open. What is the proposed fix/workaround?

Comment 6 Bryan Kearney 2018-10-03 19:18:40 UTC
Thank you for your interest in Satellite 6. We have evaluated this request, and while we recognize that it is a valid request, we do not expect this to be implemented in the product in the foreseeable future. This is due to other priorities for the product, and not a reflection on the request itself. We are therefore closing this out as WONTFIX. If you have any concerns about this, please do not reopen. Instead, feel free to contact Rich Jerrido or Bryan Kearney. Thank you.

Comment 7 Peter Vreman 2018-10-10 12:29:24 UTC
Sorry, this does not help me at all.

My question about the proposed fix/workaround is NOT answered.

Therefor i am re-opening it. If you want to discuss it outside of the BZ then you should contact me.

Peter

Comment 8 Bryan Kearney 2018-11-01 14:44:38 UTC
The Satellite Team is attempting to provide an accurate backlog of bugzilla requests which we feel will be resolved in the next few releases. We do not believe this bugzilla will meet that criteria, and have plans to close it out in 1 month. This is  not a reflection on the validity of the request, but a reflection of the many priorities for the product. If you have any concerns about this, feel free to contact Rich Jerrido or Bryan Kearney or your account team. If we do not hear from you, we will close this bug out. Thank you.

Comment 9 Peter Vreman 2018-11-02 10:26:02 UTC
I have a workaround in my installation steps to make sure the Capsules are assigned to the correct location before it is sync.

But for new users i doubt how this is going to work. Am i really the only one bitten by this IMHO Design gap.

Comment 10 Bryan Kearney 2018-11-30 14:50:37 UTC
Thank you for your interest in Satellite 6. We have evaluated this request, and while we recognize that it is a valid request, we do not expect this to be implemented in the product in the foreseeable future. This is due to other priorities for the product, and not a reflection on the request itself. We are therefore closing this out as WONTFIX. If you have any concerns about this, please do not reopen. Instead, feel free to contact Rich Jerrido or Bryan Kearney. Thank you.

Comment 13 Red Hat Bugzilla 2023-09-14 23:59:34 UTC
The needinfo request[s] on this closed bug have been removed as they have been unresolved for 500 days


Note You need to log in before you can comment on or make changes to this bug.