Project

Profile

Help

Issue #8623

closed

Sync or migration of a kickstart repo with float timestamps fails

Added by tbrooks almost 3 years ago. Updated almost 3 years ago.

Status:
CLOSED - CURRENTRELEASE
Priority:
Normal
Sprint/Milestone:
Start date:
Due date:
Estimated time:
Severity:
2. Medium
Version:
Platform Release:
OS:
CentOS 7
Triaged:
Yes
Groomed:
No
Sprint Candidate:
No
Tags:
Katello
Sprint:
Sprint 95
Quarter:

Description

With every upgrade of Katello/Foreman, I’m unable to do the pulp migration from pulp2 to pulp3. I had a ticket in support for Foreman, and they suggested I get help here.

This is the error I get during migration: I'm also attaching the pulp logs from /var/log/messages during this event. For reference, here it the link to my Foreman ticket: https://community.theforeman.org/t/pulp3-migration-failed-foreman-2-3-3-katello-3-18-2/23067/8


2021-04-15T15:38:16 [I|app|d0f55aa2] Completed 200 OK in 144ms (Views: 9.8ms | ActiveRecord: 115.2ms | Allocations: 19219)
2021-04-15T15:38:16 [I|app|1a2c1fe8] Completed 200 OK in 189ms (Views: 6.6ms | ActiveRecord: 134.5ms | Allocations: 27303)
2021-04-15T15:38:16 [I|app|c6d3bdc2] Started GET "/rhsm/consumers/94543eae-b9de-49da-ad67-91518495f25e/certificates/serials" for 127.0.
0.1 at 2021-04-15 15:38:16 -0500
2021-04-15T15:38:16 [I|app|c6d3bdc2] Processing by Katello::Api::Rhsm::CandlepinProxiesController#serials as JSON
2021-04-15T15:38:16 [I|app|c6d3bdc2]   Parameters: {"id"=>"94543eae-b9de-49da-ad67-91518495f25e"}
2021-04-15T15:38:16 [E|bac|] 'builtin_function_or_method' object is not subscriptable (Katello::Errors::Pulp3Error)
 | /opt/theforeman/tfm/root/usr/share/gems/gems/katello-3.18.2.1/app/lib/actions/pulp3/abstract_async_task.rb:102:in `block in check_fo
r_errors'
 | /opt/theforeman/tfm/root/usr/share/gems/gems/katello-3.18.2.1/app/lib/actions/pulp3/abstract_async_task.rb:100:in `each'
 | /opt/theforeman/tfm/root/usr/share/gems/gems/katello-3.18.2.1/app/lib/actions/pulp3/abstract_async_task.rb:100:in `check_for_errors'
 | /opt/theforeman/tfm/root/usr/share/gems/gems/katello-3.18.2.1/app/lib/actions/pulp3/abstract_async_task.rb:133:in `poll_external_tas
k'
 | /opt/theforeman/tfm/root/usr/share/gems/gems/dynflow-1.4.7/lib/dynflow/action/polling.rb:100:in `poll_external_task_with_rescue'
 | /opt/theforeman/tfm/root/usr/share/gems/gems/dynflow-1.4.7/lib/dynflow/action/polling.rb:22:in `run'
 | /opt/theforeman/tfm/root/usr/share/gems/gems/dynflow-1.4.7/lib/dynflow/action/cancellable.rb:14:in `run'
 | /opt/theforeman/tfm/root/usr/share/gems/gems/katello-3.18.2.1/app/lib/actions/pulp3/abstract_async_task.rb:10:in `run'
 | /opt/theforeman/tfm/root/usr/share/gems/gems/dynflow-1.4.7/lib/dynflow/action.rb:571:in `block (3 levels) in execute_run'
 | /opt/theforeman/tfm/root/usr/share/gems/gems/dynflow-1.4.7/lib/dynflow/middleware/stack.rb:27:in `pass'
 | /opt/theforeman/tfm/root/usr/share/gems/gems/dynflow-1.4.7/lib/dynflow/middleware.rb:19:in `pass'
 | /opt/theforeman/tfm/root/usr/share/gems/gems/dynflow-1.4.7/lib/dynflow/middleware.rb:32:in `run'
 | /opt/theforeman/tfm/root/usr/share/gems/gems/dynflow-1.4.7/lib/dynflow/middleware/stack.rb:23:in `call'
 | /opt/theforeman/tfm/root/usr/share/gems/gems/dynflow-1.4.7/lib/dynflow/middleware/stack.rb:27:in `pass'
 | /opt/theforeman/tfm/root/usr/share/gems/gems/dynflow-1.4.7/lib/dynflow/middleware.rb:19:in `pass'
 | /opt/theforeman/tfm/root/usr/share/gems/gems/katello-3.18.2.1/app/lib/actions/middleware/remote_action.rb:16:in `block in run'
 | /opt/theforeman/tfm/root/usr/share/gems/gems/katello-3.18.2.1/app/lib/actions/middleware/remote_action.rb:40:in `block in as_remote_
user'
 | /opt/theforeman/tfm/root/usr/share/gems/gems/katello-3.18.2.1/app/models/katello/concerns/user_extensions.rb:21:in `cp_config'
 | /opt/theforeman/tfm/root/usr/share/gems/gems/katello-3.18.2.1/app/lib/actions/middleware/remote_action.rb:27:in `as_cp_user'
 | /opt/theforeman/tfm/root/usr/share/gems/gems/katello-3.18.2.1/app/lib/actions/middleware/remote_action.rb:39:in `as_remote_user'
 | /opt/theforeman/tfm/root/usr/share/gems/gems/katello-3.18.2.1/app/lib/actions/middleware/remote_action.rb:16:in `run'
 | /opt/theforeman/tfm/root/usr/share/gems/gems/dynflow-1.4.7/lib/dynflow/middleware/stack.rb:23:in `call'
 | /opt/theforeman/tfm/root/usr/share/gems/gems/dynflow-1.4.7/lib/dynflow/middleware/stack.rb:27:in `pass'
 | /opt/theforeman/tfm/root/usr/share/gems/gems/dynflow-1.4.7/lib/dynflow/middleware.rb:19:in `pass'
 | /opt/theforeman/tfm/root/usr/share/gems/gems/foreman-tasks-3.0.5/app/lib/actions/middleware/rails_executor_wrap.rb:14:in `block in r
un'
 | /opt/theforeman/tfm/root/usr/share/gems/gems/activesupport-6.0.3.4/lib/active_support/execution_wrapper.rb:88:in `wrap'
 | /opt/theforeman/tfm/root/usr/share/gems/gems/foreman-tasks-3.0.5/app/lib/actions/middleware/rails_executor_wrap.rb:13:in `run'
 | /opt/theforeman/tfm/root/usr/share/gems/gems/dynflow-1.4.7/lib/dynflow/middleware/stack.rb:23:in `call'
 | /opt/theforeman/tfm/root/usr/share/gems/gems/dynflow-1.4.7/lib/dynflow/middleware/stack.rb:27:in `pass'
 | /opt/theforeman/tfm/root/usr/share/gems/gems/dynflow-1.4.7/lib/dynflow/middleware.rb:19:in `pass'
 | /opt/theforeman/tfm/root/usr/share/gems/gems/dynflow-1.4.7/lib/dynflow/action/progress.rb:31:in `with_progress_calculation'
 | /opt/theforeman/tfm/root/usr/share/gems/gems/dynflow-1.4.7/lib/dynflow/action/progress.rb:17:in `run'
 | /opt/theforeman/tfm/root/usr/share/gems/gems/dynflow-1.4.7/lib/dynflow/middleware/stack.rb:23:in `call'
 | /opt/theforeman/tfm/root/usr/share/gems/gems/dynflow-1.4.7/lib/dynflow/middleware/stack.rb:27:in `pass'
 | /opt/theforeman/tfm/root/usr/share/gems/gems/dynflow-1.4.7/lib/dynflow/middleware.rb:19:in `pass'
 | /opt/theforeman/tfm/root/usr/share/gems/gems/foreman-tasks-3.0.5/app/lib/actions/middleware/keep_current_request_id.rb:15:in `block
in run'
 | /opt/theforeman/tfm/root/usr/share/gems/gems/foreman-tasks-3.0.5/app/lib/actions/middleware/keep_current_request_id.rb:49:in `restor
e_current_request_id'
 | /opt/theforeman/tfm/root/usr/share/gems/gems/foreman-tasks-3.0.5/app/lib/actions/middleware/keep_current_request_id.rb:15:in `run'
 | /opt/theforeman/tfm/root/usr/share/gems/gems/dynflow-1.4.7/lib/dynflow/middleware/stack.rb:23:in `call'
 | /opt/theforeman/tfm/root/usr/share/gems/gems/dynflow-1.4.7/lib/dynflow/middleware/stack.rb:27:in `pass'
 | /opt/theforeman/tfm/root/usr/share/gems/gems/dynflow-1.4.7/lib/dynflow/middleware.rb:19:in `pass'
 | /opt/theforeman/tfm/root/usr/share/gems/gems/foreman-tasks-3.0.5/app/lib/actions/middleware/keep_current_timezone.rb:15:in `block in
 run'
 | /opt/theforeman/tfm/root/usr/share/gems/gems/foreman-tasks-3.0.5/app/lib/actions/middleware/keep_current_timezone.rb:44:in `restore_
curent_timezone'
 | /opt/theforeman/tfm/root/usr/share/gems/gems/foreman-tasks-3.0.5/app/lib/actions/middleware/keep_current_timezone.rb:15:in `run'
 | /opt/theforeman/tfm/root/usr/share/gems/gems/dynflow-1.4.7/lib/dynflow/middleware/stack.rb:23:in `call'
 | /opt/theforeman/tfm/root/usr/share/gems/gems/dynflow-1.4.7/lib/dynflow/middleware/stack.rb:27:in `pass'
 | /opt/theforeman/tfm/root/usr/share/gems/gems/dynflow-1.4.7/lib/dynflow/middleware.rb:19:in `pass'
 | /opt/theforeman/tfm/root/usr/share/gems/gems/foreman-tasks-3.0.5/app/lib/actions/middleware/keep_current_user.rb:15:in `block in run
'
 | /opt/theforeman/tfm/root/usr/share/gems/gems/foreman-tasks-3.0.5/app/lib/actions/middleware/keep_current_user.rb:44:in `restore_cure
nt_user'
 | /opt/theforeman/tfm/root/usr/share/gems/gems/foreman-tasks-3.0.5/app/lib/actions/middleware/keep_current_user.rb:15:in `run'
 | /opt/theforeman/tfm/root/usr/share/gems/gems/dynflow-1.4.7/lib/dynflow/middleware/stack.rb:23:in `call'
 | /opt/theforeman/tfm/root/usr/share/gems/gems/dynflow-1.4.7/lib/dynflow/middleware/stack.rb:27:in `pass'
 | /opt/theforeman/tfm/root/usr/share/gems/gems/dynflow-1.4.7/lib/dynflow/middleware.rb:19:in `pass'
 | /opt/theforeman/tfm/root/usr/share/gems/gems/foreman-tasks-3.0.5/app/lib/actions/middleware/keep_current_taxonomies.rb:15:in `block
in run'
 | /opt/theforeman/tfm/root/usr/share/gems/gems/foreman-tasks-3.0.5/app/lib/actions/middleware/keep_current_taxonomies.rb:45:in `restor
e_current_taxonomies'
 | /opt/theforeman/tfm/root/usr/share/gems/gems/foreman-tasks-3.0.5/app/lib/actions/middleware/keep_current_taxonomies.rb:15:in `run'
 | /opt/theforeman/tfm/root/usr/share/gems/gems/dynflow-1.4.7/lib/dynflow/middleware/stack.rb:23:in `call'
 | /opt/theforeman/tfm/root/usr/share/gems/gems/dynflow-1.4.7/lib/dynflow/middleware/stack.rb:27:in `pass'
 | /opt/theforeman/tfm/root/usr/share/gems/gems/dynflow-1.4.7/lib/dynflow/middleware.rb:19:in `pass'
 | /opt/theforeman/tfm/root/usr/share/gems/gems/dynflow-1.4.7/lib/dynflow/middleware.rb:32:in `run'
 | /opt/theforeman/tfm/root/usr/share/gems/gems/dynflow-1.4.7/lib/dynflow/middleware/stack.rb:23:in `call'
 | /opt/theforeman/tfm/root/usr/share/gems/gems/dynflow-1.4.7/lib/dynflow/middleware/world.rb:31:in `execute'
 | /opt/theforeman/tfm/root/usr/share/gems/gems/dynflow-1.4.7/lib/dynflow/action.rb:570:in `block (2 levels) in execute_run'
 | /opt/theforeman/tfm/root/usr/share/gems/gems/dynflow-1.4.7/lib/dynflow/action.rb:569:in `catch'
 | /opt/theforeman/tfm/root/usr/share/gems/gems/dynflow-1.4.7/lib/dynflow/action.rb:569:in `block in execute_run'
 | /opt/theforeman/tfm/root/usr/share/gems/gems/dynflow-1.4.7/lib/dynflow/action.rb:472:in `block in with_error_handling'
 | /opt/theforeman/tfm/root/usr/share/gems/gems/dynflow-1.4.7/lib/dynflow/action.rb:472:in `catch'
 | /opt/theforeman/tfm/root/usr/share/gems/gems/dynflow-1.4.7/lib/dynflow/action.rb:472:in `with_error_handling'
 | /opt/theforeman/tfm/root/usr/share/gems/gems/dynflow-1.4.7/lib/dynflow/action.rb:564:in `execute_run'
 | /opt/theforeman/tfm/root/usr/share/gems/gems/dynflow-1.4.7/lib/dynflow/action.rb:285:in `execute'
 | /opt/theforeman/tfm/root/usr/share/gems/gems/dynflow-1.4.7/lib/dynflow/execution_plan/steps/abstract_flow_step.rb:18:in `block (2 le
vels) in execute'
 | /opt/theforeman/tfm/root/usr/share/gems/gems/dynflow-1.4.7/lib/dynflow/execution_plan/steps/abstract.rb:167:in `with_meta_calculatio
n'
 | /opt/theforeman/tfm/root/usr/share/gems/gems/dynflow-1.4.7/lib/dynflow/execution_plan/steps/abstract_flow_step.rb:17:in `block in ex
ecute'
 | /opt/theforeman/tfm/root/usr/share/gems/gems/dynflow-1.4.7/lib/dynflow/execution_plan/steps/abstract_flow_step.rb:32:in `open_action
'
 | /opt/theforeman/tfm/root/usr/share/gems/gems/dynflow-1.4.7/lib/dynflow/execution_plan/steps/abstract_flow_step.rb:16:in `execute'
 | /opt/theforeman/tfm/root/usr/share/gems/gems/dynflow-1.4.7/lib/dynflow/director.rb:93:in `execute'
 | /opt/theforeman/tfm/root/usr/share/gems/gems/dynflow-1.4.7/lib/dynflow/executors/sidekiq/worker_jobs.rb:11:in `block (2 levels) in p
erform'
 | /opt/theforeman/tfm/root/usr/share/gems/gems/dynflow-1.4.7/lib/dynflow/executors.rb:18:in `run_user_code'
 | /opt/theforeman/tfm/root/usr/share/gems/gems/dynflow-1.4.7/lib/dynflow/executors/sidekiq/worker_jobs.rb:9:in `block in perform'
 | /opt/theforeman/tfm/root/usr/share/gems/gems/dynflow-1.4.7/lib/dynflow/executors/sidekiq/worker_jobs.rb:25:in `with_telemetry'
 | /opt/theforeman/tfm/root/usr/share/gems/gems/dynflow-1.4.7/lib/dynflow/executors/sidekiq/worker_jobs.rb:8:in `perform'
 | /opt/theforeman/tfm/root/usr/share/gems/gems/dynflow-1.4.7/lib/dynflow/executors/sidekiq/serialization.rb:27:in `perform'
 | [ sidekiq ]
 | [ concurrent-ruby ]
2021-04-15T15:38:16 [I|app|a78460c7] Started GET "/rhsm/consumers/dac8bd44-35d0-4e76-8df0-7074907474d1/certificates/serials" for 127.0.
0.1 at 2021-04-15 15:38:16 -0500
2021-04-15T15:38:16 [I|app|a78460c7] Processing by Katello::Api::Rhsm::CandlepinProxiesController#serials as JSON
2021-04-15T15:38:16 [I|app|a78460c7]   Parameters: {"id"=>"dac8bd44-35d0-4e76-8df0-7074907474d1"}
2021-04-15T15:38:16 [I|app|c6d3bdc2] Completed 200 OK in 53ms (Views: 0.7ms | ActiveRecord: 4.4ms | Allocations: 4496)
2021-04-15T15:38:17 [I|app|d32646e8] Started GET "/rhsm/status" for 127.0.0.1 at 2021-04-15 15:38:17 -0500
2021-04-15T15:38:17 [I|app|a78460c7] Completed 200 OK in 66ms (Views: 0.8ms | ActiveRecord: 16.9ms | Allocations: 4497)
2021-04-15T15:38:17 [I|app|d32646e8] Processing by Katello::Api::Rhsm::CandlepinProxiesController#server_status as JSON
2021-04-15T15:38:17 [I|app|d32646e8] Completed 200 OK in 42ms (Views: 0.6ms | ActiveRecord: 12.4ms | Allocations: 2877)
2021-04-15T15:38:17 [I|app|606ebbf3] Started GET "/rhsm/status" for 127.0.0.1 at 2021-04-15 15:38:17 -0500
2021-04-15T15:38:17 [I|app|606ebbf3] Processing by Katello::Api::Rhsm::CandlepinProxiesController#server_status as JSON
2021-04-15T15:38:17 [I|app|b9e71eaa] Started GET "/rhsm/consumers/94543eae-b9de-49da-ad67-91518495f25e/content_overrides" for 127.0.0.1
 at 2021-04-15 15:38:17 -0500
2021-04-15T15:38:17 [I|app|b9e71eaa] Processing by Katello::Api::Rhsm::CandlepinProxiesController#get as JSON
2021-04-15T15:38:17 [I|app|b9e71eaa]   Parameters: {"id"=>"94543eae-b9de-49da-ad67-91518495f25e"}
2021-04-15T15:38:17 [I|app|606ebbf3] Completed 200 OK in 37ms (Views: 0.6ms | ActiveRecord: 3.9ms | Allocations: 2877)
2021-04-15T15:38:17 [I|app|f77614b0] Started GET "/rhsm/consumers/886ba3a3-6c83-457f-bda4-10b3230bef75/certificates/serials" for 127.0.
0.1 at 2021-04-15 15:38:17 -0500
2021-04-15T15:38:17 [I|bac|] Task {label: Actions::Pulp3::ContentMigration, id: 56462ed8-2d77-40be-8a84-0209a9434647, execution_plan_id
: 8c0e5cb3-01dd-4139-802c-d10751d9a86e} state changed: stopped  result: warning
2021-04-15T15:38:17 [I|app|f77614b0] Processing by Katello::Api::Rhsm::CandlepinProxiesController#serials as JSON
2021-04-15T15:38:17 [I|app|f77614b0]   Parameters: {"id"=>"886ba3a3-6c83-457f-bda4-10b3230bef75"}
2021-04-15T15:38:17 [I|bac|] Task {label: Actions::Pulp3::ContentMigration, id: 56462ed8-2d77-40be-8a84-0209a9434647, execution_plan_id
: 8c0e5cb3-01dd-4139-802c-d10751d9a86e} state changed: stopped  result: warning
2021-04-15T15:38:17 [I|app|32343d04] Started GET "/rhsm/consumers/de4f9eb0-91de-4ce8-a6ca-8c1e3b20ef69/certificates/serials" for 127.0.
0.1 at 2021-04-15 15:38:17 -0500
2021-04-15T15:38:17 [I|app|32343d04] Processing by Katello::Api::Rhsm::CandlepinProxiesController#serials as JSON
2021-04-15T15:38:17 [I|app|32343d04]   Parameters: {"id"=>"de4f9eb0-91de-4ce8-a6ca-8c1e3b20ef69"}
2021-04-15T15:38:17 [I|app|a1b65546] Started GET "/rhsm/consumers/3cb4fe41-9394-4c2f-8f62-0ffd2148606e/certificates/serials" for 127.0.
0.1 at 2021-04-15 15:38:17 -0500
2021-04-15T15:38:17 [I|app|a1b65546] Processing by Katello::Api::Rhsm::CandlepinProxiesController#serials as JSON
2021-04-15T15:38:17 [I|app|a1b65546]   Parameters: {"id"=>"3cb4fe41-9394-4c2f-8f62-0ffd2148606e"}
2021-04-15T15:38:17 [I|app|050eff0e] Started GET "/rhsm/consumers/144aee3b-f686-481c-8dd6-95525562c2a8/certificates/serials" for 127.0.
0.1 at 2021-04-15 15:38:17 -0500
2021-04-15T15:38:17 [I|dyn|] start terminating throttle_limiter...
2021-04-15T15:38:17 [I|dyn|] start terminating client dispatcher...
2021-04-15T15:38:17 [I|app|050eff0e] Processing by Katello::Api::Rhsm::CandlepinProxiesController#serials as JSON
2021-04-15T15:38:17 [I|app|050eff0e]   Parameters: {"id"=>"144aee3b-f686-481c-8dd6-95525562c2a8"}
2021-04-15T15:38:17 [I|dyn|] stop listening for new events...
2021-04-15T15:38:17 [I|dyn|] start terminating clock...

Files

messages.pulp.gz (1.47 MB) messages.pulp.gz tbrooks, 04/23/2021 08:29 PM
Actions #1

Updated by jsherril@redhat.com almost 3 years ago

  • Tags Katello added

Here's the pulp traceback:

Apr 15 15:38:03 katellod02p pulpcore-worker-5: TypeError: 'builtin_function_or_method' object is not subscriptable
Apr 15 15:38:03 katellod02p pulpcore-worker-5: Traceback (most recent call last):
Apr 15 15:38:03 katellod02p pulpcore-worker-5: File "/usr/lib/python3.6/site-packages/rq/worker.py", line 936, in perform_job
Apr 15 15:38:03 katellod02p pulpcore-worker-5: rv = job.perform()
Apr 15 15:38:03 katellod02p pulpcore-worker-5: File "/usr/lib/python3.6/site-packages/rq/job.py", line 684, in perform
Apr 15 15:38:03 katellod02p pulpcore-worker-5: self._result = self._execute()
Apr 15 15:38:03 katellod02p pulpcore-worker-5: File "/usr/lib/python3.6/site-packages/rq/job.py", line 690, in _execute
Apr 15 15:38:03 katellod02p pulpcore-worker-5: return self.func(*self.args, **self.kwargs)
Apr 15 15:38:03 katellod02p pulpcore-worker-5: File "/usr/lib/python3.6/site-packages/pulp_2to3_migration/app/tasks/migrate.py", line 81, in migrate_from_pulp2
Apr 15 15:38:03 katellod02p pulpcore-worker-5: migrate_content(plan, skip_corrupted=skip_corrupted)
Apr 15 15:38:03 katellod02p pulpcore-worker-5: File "/usr/lib/python3.6/site-packages/pulp_2to3_migration/app/migration.py", line 47, in migrate_content
Apr 15 15:38:03 katellod02p pulpcore-worker-5: plugin.migrator.migrate_content_to_pulp3(skip_corrupted=skip_corrupted)
Apr 15 15:38:03 katellod02p pulpcore-worker-5: File "/usr/lib/python3.6/site-packages/pulp_2to3_migration/app/plugin/rpm/migrator.py", line 145, in migrate_content_to_pulp3
Apr 15 15:38:03 katellod02p pulpcore-worker-5: loop.run_until_complete(dm.create())
Apr 15 15:38:03 katellod02p pulpcore-worker-5: File "/usr/lib64/python3.6/asyncio/base_events.py", line 484, in run_until_complete
Apr 15 15:38:03 katellod02p pulpcore-worker-5: return future.result()
Apr 15 15:38:03 katellod02p pulpcore-worker-5: File "/usr/lib/python3.6/site-packages/pulp_2to3_migration/app/plugin/content.py", line 89, in create
Apr 15 15:38:03 katellod02p pulpcore-worker-5: await pipeline
Apr 15 15:38:03 katellod02p pulpcore-worker-5: File "/usr/lib/python3.6/site-packages/pulpcore/plugin/stages/api.py", line 225, in create_pipeline
Apr 15 15:38:03 katellod02p pulpcore-worker-5: await asyncio.gather(*futures)
Apr 15 15:38:03 katellod02p pulpcore-worker-5: File "/usr/lib/python3.6/site-packages/pulpcore/plugin/stages/api.py", line 43, in __call__
Apr 15 15:38:03 katellod02p pulpcore-worker-5: await self.run()
Apr 15 15:38:03 katellod02p pulpcore-worker-5: File "/usr/lib/python3.6/site-packages/pulp_2to3_migration/app/plugin/content.py", line 181, in run
Apr 15 15:38:03 katellod02p pulpcore-worker-5: self.migrate_to_pulp3(cmodel, ctype)
Apr 15 15:38:03 katellod02p pulpcore-worker-5: File "/usr/lib/python3.6/site-packages/pulp_2to3_migration/app/plugin/content.py", line 285, in migrate_to_pulp3
Apr 15 15:38:03 katellod02p pulpcore-worker-5: pulp3content, extra_info = pulp_2to3_detail_content.create_pulp3_content()
Apr 15 15:38:03 katellod02p pulpcore-worker-5: File "/usr/lib/python3.6/site-packages/pulp_2to3_migration/app/plugin/rpm/pulp_2to3_models.py", line 783, in create_pulp3_content
Apr 15 15:38:03 katellod02p pulpcore-worker-5: treeinfo_serialized = self.get_treeinfo_serialized()
Apr 15 15:38:03 katellod02p pulpcore-worker-5: File "/usr/lib/python3.6/site-packages/pulp_2to3_migration/app/plugin/rpm/pulp_2to3_models.py", line 755, in get_treeinfo_serialized
Apr 15 15:38:03 katellod02p pulpcore-worker-5: treeinfo_parsed = treeinfo.parsed_sections()
Apr 15 15:38:03 katellod02p pulpcore-worker-5: File "/usr/lib/python3.6/site-packages/pulp_rpm/app/kickstart/treeinfo.py", line 136, in parsed_sections
Apr 15 15:38:03 katellod02p pulpcore-worker-5: build_timestamp = float(tree.get["build_timestamp"])
Apr 15 15:38:03 katellod02p pulpcore-worker-5: TypeError: 'builtin_function_or_method' object is not subscriptable
Actions #2

Updated by pulpbot almost 3 years ago

  • Status changed from NEW to POST
Actions #3

Updated by ttereshc almost 3 years ago

  • Project changed from Migration Plugin to RPM Support
  • Subject changed from Pulp3 migration failed(foreman 2.3.3/katello 3.18.2) to Sync or migration of a kickstart repo with float timestamps fails
Actions #4

Updated by dalley almost 3 years ago

  • Assignee set to jsherril@redhat.com
  • Triaged changed from No to Yes
  • Sprint set to Sprint 95

Added by jsherril@redhat.com almost 3 years ago

Revision 76093311 | View on GitHub

properly call tree.get() for timestamp handling

fixes #8623

Actions #5

Updated by jsherril@redhat.com almost 3 years ago

  • Status changed from POST to MODIFIED
Actions #6

Updated by ttereshc almost 3 years ago

  • Sprint/Milestone set to 3.12.0
Actions #7

Updated by pulpbot almost 3 years ago

  • Status changed from MODIFIED to CLOSED - CURRENTRELEASE

Also available in: Atom PDF