Created attachment 1038856 [details] RHST6_works_RHST7_fail Description of problem: Cannot access different Red Hat repositories with next types of errors: API: 1) CDN loading error: access forbidden to https://cdn.redhat.com:443/content/beta/rhel/server/7/x86_64/sat-tools/6/os/repodata/repomd.xml CLI: 1) [ERROR 2015-06-13 13:41:58 Exception] Forbidden - server refused to process the request Could not enable repository: Forbidden - server refused to process the request [ERROR 2015-06-13 13:42:02 Exception] Error: repository not found Could not synchronize the repository: Error: repository not found UI: 1) CDN loading error: access forbidden to https://cdn.redhat.com:443/content/dist/rhel/server/7/listing 2) No repositories accessible. Check that Red Hat Subscriptions have been imported. Some details from "Monitor->Task" for one of the failure: Action: Actions::Katello::RepositorySet::ScanCdn Input: {"product_id"=>373, "content_id"=>"2396", "remote_user"=>"admin-518dfd54", "remote_cp_user"=>"admin", "locale"=>"en"} Output: {} Exception: Katello::Errors::SecurityViolation: CDN loading error: access forbidden to https://cdn.redhat.com:443/content/dist/rhel/server/6/listing Backtrace: /opt/rh/ruby193/root/usr/share/gems/gems/katello-2.2.0.49/app/lib/katello/resources/cdn.rb:109:in `rescue in get' /opt/rh/ruby193/root/usr/share/gems/gems/katello-2.2.0.49/app/lib/katello/resources/cdn.rb:83:in `get' /opt/rh/ruby193/root/usr/share/gems/gems/katello-2.2.0.49/app/lib/katello/util/cdn_var_substitutor.rb:147:in `get_substitutions_from' /opt/rh/ruby193/root/usr/share/gems/gems/katello-2.2.0.49/app/lib/katello/util/cdn_var_substitutor.rb:137:in `for_each_substitute_of_next_var' /opt/rh/ruby193/root/usr/share/gems/gems/katello-2.2.0.49/app/lib/katello/util/cdn_var_substitutor.rb:84:in `substitute_vars_in_prefix' /opt/rh/ruby193/root/usr/share/gems/gems/katello-2.2.0.49/app/lib/katello/util/cdn_var_substitutor.rb:60:in `substitute_vars' /opt/rh/ruby193/root/usr/share/gems/gems/katello-2.2.0.49/app/lib/actions/katello/repository_set/scan_cdn.rb:46:in `fetch_results' /opt/rh/ruby193/root/usr/share/gems/gems/katello-2.2.0.49/app/lib/actions/katello/repository_set/scan_cdn.rb:38:in `run' /opt/rh/ruby193/root/usr/share/gems/gems/dynflow-0.7.7.7/lib/dynflow/action.rb:481:in `block (3 levels) in execute_run' /opt/rh/ruby193/root/usr/share/gems/gems/dynflow-0.7.7.7/lib/dynflow/middleware/stack.rb:26:in `call' /opt/rh/ruby193/root/usr/share/gems/gems/dynflow-0.7.7.7/lib/dynflow/middleware/stack.rb:26:in `pass' /opt/rh/ruby193/root/usr/share/gems/gems/dynflow-0.7.7.7/lib/dynflow/middleware.rb:16:in `pass' /opt/rh/ruby193/root/usr/share/gems/gems/katello-2.2.0.49/app/lib/actions/middleware/remote_action.rb:27:in `block in run' /opt/rh/ruby193/root/usr/share/gems/gems/katello-2.2.0.49/app/lib/actions/middleware/remote_action.rb:57:in `block (2 levels) in as_remote_user' /opt/rh/ruby193/root/usr/share/gems/gems/katello-2.2.0.49/app/lib/katello/util/thread_session.rb:84:in `pulp_config' /opt/rh/ruby193/root/usr/share/gems/gems/katello-2.2.0.49/app/lib/actions/middleware/remote_action.rb:43:in `as_pulp_user' /opt/rh/ruby193/root/usr/share/gems/gems/katello-2.2.0.49/app/lib/actions/middleware/remote_action.rb:56:in `block in as_remote_user' /opt/rh/ruby193/root/usr/share/gems/gems/katello-2.2.0.49/app/lib/katello/util/thread_session.rb:91:in `cp_config' /opt/rh/ruby193/root/usr/share/gems/gems/katello-2.2.0.49/app/lib/actions/middleware/remote_action.rb:38:in `as_cp_user' /opt/rh/ruby193/root/usr/share/gems/gems/katello-2.2.0.49/app/lib/actions/middleware/remote_action.rb:55:in `as_remote_user' /opt/rh/ruby193/root/usr/share/gems/gems/katello-2.2.0.49/app/lib/actions/middleware/remote_action.rb:27:in `run' ... Version-Release number of selected component (if applicable): S8C1, S8C2 How reproducible: 50-90% Steps to Reproduce: 1. Create new organization 2. Clone and upload manifest for it 3. Try to enable RepositorySet (it is not so important what reposet should be used specifically as issue seems pretty generic, but anyway, let's it be "'Red Hat Enterprise Virtualization Agents for RHEL 6 Workstation (RPMs)'" from "Red Hat Enterprise Linux Workstation" or "Red Hat Satellite Tools 6 Beta (for RHEL 7 Server) (RPMs)" from "Red Hat Enterprise Linux Server") Actual results: Reposet cannot be selected from the list Expected results: Reposet can be selected and enabled Additional info:
Created attachment 1038857 [details] RHST6_fail_RHST7_works (opposite to 1 screenshot)
Created attachment 1038858 [details] One more behavior for defect
Created attachment 1038859 [details] RHE Virtualization Agent repo
Since this issue was entered in Red Hat Bugzilla, the release flag has been set to ? to ensure that it is properly evaluated for this release.
Created attachment 1039301 [details] Log with failure
Closing this out as it is probably an intermittent hosted issue. We can reopen if we see it more readily/have a real repro.