Project

General

Profile

Actions

Bug #33971

closed

CVV Import fails due to new Pulp 3.16 task return

Added by Ian Ballou about 3 years ago. Updated about 3 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
Content Views
Target version:
Fixed in Releases:
Found in Releases:

Description

The import api now returns only a task group. Our code expects a task to be there with the group, so it fails:

```
2021-11-22T14:46:54 [E|app|232f2add] Got empty pulp_href on {"task_group"=>"/pulp/api/v3/task-groups/bf23fd6c-d8ef-4198-a3cb-58444b040a5b/"}
2021-11-22T14:46:54 [W|bac|232f2add] Polling failed, attempt no. 1, retrying in 0.5
2021-11-22T14:46:54 [W|bac|232f2add] Missing the required parameter 'task_href' when calling TasksApi.read (ArgumentError)
232f2add | /usr/share/gems/gems/pulpcore_client-3.16.0/lib/pulpcore_client/api/tasks_api.rb:257:in `read_with_http_info'
232f2add | /usr/share/gems/gems/pulpcore_client-3.16.0/lib/pulpcore_client/api/tasks_api.rb:240:in `read'
232f2add | /usr/share/gems/gems/katello-4.4.0.pre.master/app/services/katello/pulp3/task.rb:73:in `task_data'
232f2add | /usr/share/gems/gems/katello-4.4.0.pre.master/app/services/katello/pulp3/task.rb:99:in `poll'
232f2add | /usr/share/gems/gems/katello-4.4.0.pre.master/app/lib/actions/pulp3/abstract_async_task.rb:145:in `each'
232f2add | /usr/share/gems/gems/katello-4.4.0.pre.master/app/lib/actions/pulp3/abstract_async_task.rb:145:in `poll_external_task'
232f2add | /usr/share/gems/gems/dynflow-1.6.1/lib/dynflow/action/polling.rb:100:in `poll_external_task_with_rescue'
232f2add | /usr/share/gems/gems/dynflow-1.6.1/lib/dynflow/action/polling.rb:22:in `run'
232f2add | /usr/share/gems/gems/dynflow-1.6.1/lib/dynflow/action/cancellable.rb:14:in `run'
...
```

Actions #1

Updated by The Foreman Bot about 3 years ago

  • Status changed from New to Ready For Testing
  • Assignee set to Ian Ballou
  • Pull request https://github.com/Katello/katello/pull/9806 added
Actions #2

Updated by The Foreman Bot about 3 years ago

  • Fixed in Releases Katello 4.4.0 added
Actions #3

Updated by Anonymous about 3 years ago

  • Status changed from Ready For Testing to Closed
Actions #4

Updated by Ian Ballou about 3 years ago

  • Target version changed from Katello 4.4.0 to Katello 4.3.0
  • Triaged changed from No to Yes
Actions #5

Updated by The Foreman Bot about 3 years ago

  • Pull request https://github.com/Katello/katello/pull/9886 added
Actions

Also available in: Atom PDF