-
Bug
-
Resolution: Done-Errata
-
Normal
-
None
-
6.11.3
-
False
-
-
False
-
CLOSED
-
1,350
-
Phoenix - Content
-
-
-
Sprint 116
-
Moderate
-
None
Description of problem:
Can't sync containers hosted on quay.io. Getting "undefined method `schema_version' for nil:NilClass" as part of Actions::Katello::Repository::IndexContent step
===
2022-10-14T12:07:27 [I|aud|c3ba92c1] Katello::Repository (2904) update event on last_contents_changed 2022-10-14 12:03:36 +1100, 2022-10-14 12:07:27 +1100
2022-10-14T12:07:27 [I|aud|c3ba92c1] Katello::Repository (2904) update event on version_href /pulp/api/v3/repositories/container/container/1b38c4c0-71cc-4b00-83d2-94d7223205f6/versions/0/, /pulp/api/v3/repositories/container/container/1b38c4c0-71cc-4b00-83d2-94d72232
05f6/versions/1/
2022-10-14T12:07:29 [I|app|c3ba92c1] CONTENT_INDEX type=Katello::DockerManifest success=true duration=316.78
2022-10-14T12:07:29 [I|app|c3ba92c1] CONTENT_INDEX type=Katello::DockerManifestList success=true duration=289.08
2022-10-14T12:07:30 [I|app|c3ba92c1] CONTENT_INDEX type=Katello::DockerTag success=false duration=453.59
2022-10-14T12:07:30 [E|bac|c3ba92c1] undefined method `schema_version' for nil:NilClass (NoMethodError)
c3ba92c1 | /usr/share/gems/gems/katello-4.3.0.49/app/models/katello/docker_meta_tag.rb:177:in `block in get_tag_table_values'
c3ba92c1 | /usr/share/gems/gems/katello-4.3.0.49/app/models/katello/docker_meta_tag.rb:176:in `each'
c3ba92c1 | /usr/share/gems/gems/katello-4.3.0.49/app/models/katello/docker_meta_tag.rb:176:in `map'
c3ba92c1 | /usr/share/gems/gems/katello-4.3.0.49/app/models/katello/docker_meta_tag.rb:176:in `get_tag_table_values'
c3ba92c1 | /usr/share/gems/gems/katello-4.3.0.49/app/models/katello/docker_meta_tag.rb:138:in `block in import_meta_tags'
c3ba92c1 | /usr/share/gems/gems/katello-4.3.0.49/app/models/katello/docker_meta_tag.rb:137:in `each'
c3ba92c1 | /usr/share/gems/gems/katello-4.3.0.49/app/models/katello/docker_meta_tag.rb:137:in `import_meta_tags'
c3ba92c1 | /usr/share/gems/gems/katello-4.3.0.49/app/models/katello/docker_tag.rb:63:in `import_for_repository'
c3ba92c1 | /usr/share/gems/gems/katello-4.3.0.49/app/models/katello/repository.rb:924:in `block (2 levels) in index_content'
c3ba92c1 | /usr/share/gems/gems/katello-4.3.0.49/app/lib/katello/logging.rb:8:in `time'
c3ba92c1 | /usr/share/gems/gems/katello-4.3.0.49/app/models/katello/repository.rb:920:in `block in index_content'
c3ba92c1 | /usr/share/gems/gems/katello-4.3.0.49/app/models/katello/repository.rb:919:in `each'
c3ba92c1 | /usr/share/gems/gems/katello-4.3.0.49/app/models/katello/repository.rb:919:in `index_content'
c3ba92c1 | /usr/share/gems/gems/katello-4.3.0.49/app/lib/actions/katello/repository/index_content.rb:22:in `run'
c3ba92c1 | /usr/share/gems/gems/dynflow-1.6.4/lib/dynflow/action.rb:582:in `block (3 levels) in execute_run'
c3ba92c1 | /usr/share/gems/gems/dynflow-1.6.4/lib/dynflow/middleware/stack.rb:27:in `pass'
c3ba92c1 | /usr/share/gems/gems/dynflow-1.6.4/lib/dynflow/middleware.rb:19:in `pass'
c3ba92c1 | /usr/share/gems/gems/foreman-tasks-5.2.3/app/lib/actions/middleware/rails_executor_wrap.rb:14:in `block in run'
c3ba92c1 | /usr/share/gems/gems/activesupport-6.0.4.7/lib/active_support/execution_wrapper.rb:91:in `wrap'
c3ba92c1 | /usr/share/gems/gems/foreman-tasks-5.2.3/app/lib/actions/middleware/rails_executor_wrap.rb:13:in `run'
c3ba92c1 | /usr/share/gems/gems/dynflow-1.6.4/lib/dynflow/middleware/stack.rb:23:in `call'
c3ba92c1 | /usr/share/gems/gems/dynflow-1.6.4/lib/dynflow/middleware/stack.rb:27:in `pass'
c3ba92c1 | /usr/share/gems/gems/dynflow-1.6.4/lib/dynflow/middleware.rb:19:in `pass'
c3ba92c1 | /usr/share/gems/gems/dynflow-1.6.4/lib/dynflow/action/progress.rb:31:in `with_progress_calculation'
c3ba92c1 | /usr/share/gems/gems/dynflow-1.6.4/lib/dynflow/action/progress.rb:17:in `run'
c3ba92c1 | /usr/share/gems/gems/dynflow-1.6.4/lib/dynflow/middleware/stack.rb:23:in `call'
c3ba92c1 | /usr/share/gems/gems/dynflow-1.6.4/lib/dynflow/middleware/stack.rb:27:in `pass'
c3ba92c1 | /usr/share/gems/gems/dynflow-1.6.4/lib/dynflow/middleware.rb:19:in `pass'
===
Version-Release number of selected component (if applicable):
6.11.3
How reproducible:
100%
Steps to Reproduce:
1. Create a new container repository in Satellite:
- registry url: https://quay.io/
- upstream repo: ansible/ansible-runner
2. Sync
Actual results:
undefined method `schema_version' for nil:NilClass
Expected results:
Succesfull sync
Additional info: