Project

General

Profile

Actions

Bug #23801

closed

Cannot sync Atomic kickstart nor RPMs

Added by Daniel Lobato Garcia over 6 years ago. Updated about 6 years ago.

Status:
Resolved
Priority:
Normal
Assignee:
Category:
Repositories
Target version:
Difficulty:
Triaged:
Yes
Fixed in Releases:
Found in Releases:

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


Related issues 1 (0 open1 closed)

Related to Katello - Bug #23925: Atomic repos show up for enabling even if ostree plugin is not installedClosedStephen Benjamin06/13/2018Actions
Actions #1

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?

Actions #2

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

Actions #3

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'
Actions #4

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

Actions #5

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.

Actions #6

Updated by John Mitsch over 6 years ago

  • Assignee set to Partha Aji
Actions #7

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.

Actions #8

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
Actions #9

Updated by Justin Sherrill over 6 years ago

  • Translation missing: en.field_release set to 338
Actions #10

Updated by Jonathon Turel over 6 years ago

  • Target version changed from Katello 3.7.0 to Katello 3.7.1
Actions #11

Updated by Partha Aji about 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.

Actions

Also available in: Atom PDF