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:
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 | | ----------------|-----------------------------------|--------------------------------------|-----------|------------------------------------
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
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
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.
RE-open. What is the proposed fix/workaround?
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.
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
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.
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.
The needinfo request[s] on this closed bug have been removed as they have been unresolved for 500 days