Bug #23801
closedCannot sync Atomic kickstart nor RPMs
Description
Both the beta channel and the stable one throw different kinds of errors when you try to add these repositories.
Check the attached pictures.
Tested with katello development in forklift.
Files
Updated by Daniel Lobato Garcia over 6 years ago
I refreshed my manifest to see if it makes any difference, but I get 'duplicate key value violates unique constraint "index_katello_pools_on_cp_id"' - might it be related?
Updated by Daniel Lobato Garcia over 6 years ago
candlepin:
Status: ok
Server Response: Duration: 17ms
candlepin_auth:
Status: ok
Server Response: Duration: 12ms
pulp:
Status: ok
Server Response: Duration: 41ms
pulp_auth:
Status: ok
Server Response: Duration: 18ms
foreman_tasks:
Status: ok
Server Response: Duration: 3ms
Updated by Thomas McKay over 6 years ago
- Project changed from Foreman to Katello
- Category set to Repositories
2018-06-04T14:16:47 [E|app|72f67] Katello::Errors::CdnSubstitutionError: %{unused_substitutes} cannot be specified for %{content_name} as that information is not substitutable in %{content_url} | /home/vagrant/code/katello/app/lib/katello/util/cdn_var_substitutor.rb:31:in `validate_substitutions' | /home/vagrant/code/katello/app/models/katello/candlepin/repository_mapper.rb:62:in `validate!' | /home/vagrant/code/katello/app/lib/actions/katello/repository_set/enable_repository.rb:11:in `plan' | /home/vagrant/code/dynflow/lib/dynflow/action.rb:493:in `block (3 levels) in execute_plan' | /home/vagrant/code/dynflow/lib/dynflow/middleware/stack.rb:26:in `pass' | /home/vagrant/code/dynflow/lib/dynflow/middleware.rb:18:in `pass' | /home/vagrant/code/dynflow/lib/dynflow/middleware.rb:35:in `plan' | /home/vagrant/code/dynflow/lib/dynflow/middleware/stack.rb:22:in `call' | /home/vagrant/code/dynflow/lib/dynflow/middleware/stack.rb:26:in `pass' | /home/vagrant/code/dynflow/lib/dynflow/middleware.rb:18:in `pass' | /home/vagrant/code/dynflow/lib/dynflow/middleware.rb:35:in `plan'
Updated by Thomas McKay over 6 years ago
Fix for this bug should also include fix in error message code: The vars in string format are not all correct.
https://github.com/Katello/katello/blob/master/app/lib/katello/util/cdn_var_substitutor.rb#L31-L33
Updated by Lukas Zapletal over 6 years ago
For the record, I asked RH-RCM to add two lines into treeinfo files because Anaconda was not starting up stage2 for Atomic correctly. Not sure what they did tho and if this is related or not. Looks like they made some unrelated changes IMHO.
Updated by Justin Sherrill over 6 years ago
The 3rd error about the 'ostree_web_importer' is because the pulp ostree plugin is not installed. The first two errors are likely more of a concern.
Updated by Justin Sherrill over 6 years ago
- Related to Bug #23925: Atomic repos show up for enabling even if ostree plugin is not installed added
Updated by Justin Sherrill over 6 years ago
- Translation missing: en.field_release set to 338
Updated by Jonathon Turel over 6 years ago
- Target version changed from Katello 3.7.0 to Katello 3.7.1
Updated by Partha Aji over 6 years ago
- Status changed from New to Resolved
Except for the one all the errors reported in the screen shots seem to have been fixed.
Adding an Atomic Host Beta kickstart gives a "The path /content/beta/rhel/atomic/7/x86_64/kickstart does not seem to be a valid repository. If you think this is an error, please try refreshing your manifest." . That is more of a cdn issue and not katello. So marking this resolved.