Description of problem: I created provider/product from cli and ran repo discovery against following URL. http://download.eng.pnq.redhat.com/pub/rhel/released/RHEL-6/6.2/ Discovery ran successfully and created two repo as per selection. When I verified the same from UI, couldn't find the provider however sync status were showing the repo listing and was able to sync them from UI. Version-Release number of selected component (if applicable): katello-0.1.237-1.el6.noarch katello-glue-candlepin-0.1.237-1.el6.noarch candlepin-0.5.17-1.el6.noarch katello-cli-0.1.54-1.el6.noarch katello-glue-pulp-0.1.237-1.el6.noarch pulp-0.0.264-1.el6.noarc How reproducible: always Steps to Reproduce: 1. create org ==> provider --> product 2. Run repo discovery 3. check the provider in UI Actual results: UI doesn't show the provider Expected results: UI should show provider/product & repos Additional info: steps to reproduce: ================ katello> org create --name test_org Successfully created org [ test_org ] katello> provider create --name custom --org test_org Successfully created provider [ custom ] katello> product create --org test_org --name rhel6_2 --provider custom Successfully created product [ rhel6_2 ] katello> repo discover --org test_org --name rhel6_2 --product=rhel6_2 --url http://download.eng.pnq.redhat.com/pub/rhel/released/RHEL-6/6.2/ Discovering repository urls, this could take some time... (-) [1] http://download.eng.pnq.redhat.com/pub/rhel/released/RHEL-6/6.2/Workstation/x86_64/os (-) [2] http://download.eng.pnq.redhat.com/pub/rhel/released/RHEL-6/6.2/Workstation/x86_64/os/Workstation (-) [3] http://download.eng.pnq.redhat.com/pub/rhel/released/RHEL-6/6.2/Workstation/x86_64/os/ScalableFileSystem (-) [4] http://download.eng.pnq.redhat.com/pub/rhel/released/RHEL-6/6.2/Workstation/optional/x86_64/os <truncate> Select urls for which candidate repos should be created; use `y` to confirm (h for help):15 (-) [1] http://download.eng.pnq.redhat.com/pub/rhel/released/RHEL-6/6.2/Workstation/x86_64/os :::::: :::::: (-) [13] http://download.eng.pnq.redhat.com/pub/rhel/released/RHEL-6/6.2/Server/x86_64/os/HighAvailability (-) [14] http://download.eng.pnq.redhat.com/pub/rhel/released/RHEL-6/6.2/Server/optional/x86_64/os (+) [15] http://download.eng.pnq.redhat.com/pub/rhel/released/RHEL-6/6.2/Server/optional/i386/os ::::::: ::::::: (+) [25] http://download.eng.pnq.redhat.com/pub/rhel/released/RHEL-6/6.2/Client/i386/os (-) [26] http://download.eng.pnq.redhat.com/pub/rhel/released/RHEL-6/6.2/Client/i386/os/Client Select urls for which candidate repos should be created; use `y` to confirm (h for help):y Successfully created repository [ rhel6_2_pub_rhel_released_RHEL-6_6.2_Client_i386_os ] Successfully created repository [ rhel6_2_pub_rhel_released_RHEL-6_6.2_Server_optional_i386_os ] katello> repo list: ============= katello> repo list --org test_org --product rhel6_2 ----------------------------------------------------------------------------- Repo List for Product rhel6_2 in Org test_org Id Name Package Count ----------------------------------------------------------------------------- 1238 rhel6_2_pub_rhel_released_RHEL-6_6.2_Client_i386_os 0 1239 rhel6_2_pub_rhel_released_RHEL-6_6.2_Server_optional_i386_os 0 katello> provider list: ==================== katello> provider list --org test_org ----------------------------------------------------------------------------- Provider List Id Name Type Url Description ----------------------------------------------------------------------------- 5 Red Hat Red Hat https://cdn.redhat.com None 6 custom Custom None None katello>
Created attachment 562479 [details] No provider in UI for test_org
Created attachment 562480 [details] sync status is showing correct listing of repos
Unable to reproduce: 1) I can see the provider in my UI. My wild guess is your testing box was utilized while the UI was making the AJAX call to show you the provider and it timed out (maybe you were syncicng some content there?) We have some other "unresponsive UI" bugs for that. Also make sure the ELASTICSEARCH is not killing the box - there is a memory setting issue. I recommend to lower it down or use 4 gig machine for testing until it gets resolved: https://bugzilla.redhat.com/show_bug.cgi?id=786572 2) I was able to sync, everything worked great. Now CLOSING please REOPEN if you are able to give me more information how to reproduce. My versions were: katello-0.1.300-1.el6.noarch katello-cli-0.1.100-2.el6.noarch katello-agent-0.15-1.el6.noarch pulp-0.0.267-2.el6.noarch candlepin-0.5.22-1.el6.noarch subscription-manager-0.96.17-1.el6.x86_64 python-rhsm-0.96.15-1.el6.noarch yum-3.2.29-22.el6.noarch