Project

Profile

Help

Issue #1664

Error when listing tasks

Added by dijkstra over 5 years ago. Updated over 2 years ago.

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

Description

I get an error in pulp-admin when I try to list tasks:

$ pulp-admin -v tasks list -a
+----------------------------------------------------------------------+
                                 Tasks
+----------------------------------------------------------------------+

2016-02-11 12:59:43,862 - ERROR - Client-side exception occurred
Traceback (most recent call last):
  File "/usr/lib/python2.7/site-packages/pulp/client/extensions/core.py", line 474, in run
    exit_code = Cli.run(self, args)
  File "/usr/lib/python2.7/site-packages/okaara/cli.py", line 974, in run
    exit_code = command_or_section.execute(self.prompt, remaining_args)
  File "/usr/lib/python2.7/site-packages/pulp/client/extensions/extensions.py", line 210, in execute
    return self.method(*arg_list, **clean_kwargs)
  File "/usr/lib/python2.7/site-packages/pulp/client/admin/tasks.py", line 95, in list
    actions, resources = self.parse_tags(task)
  File "/usr/lib/python2.7/site-packages/pulp/client/admin/tasks.py", line 229, in parse_tags
    for t in task.tags:
TypeError: 'NoneType' object is not iterable
An unexpected error has occurred. More information may be found using the -v
flag.

I also get the same error when I use "-s successful". I believe I might be running into this because I created some repos, synced them, and then deleted them.

This is on pulp 2.8 beta which I don't see on the list of versions.

$ rpm -qa | grep pulp                   
python-kombu-3.0.24-11.pulp.el7.noarch
python-pulp-repoauth-2.8.0-0.4.beta.el7.noarch
pulp-docker-plugins-2.0.0-0.4.beta.el7.noarch
pulp-selinux-2.8.0-0.4.beta.el7.noarch
python-pulp-streamer-2.8.0-0.4.beta.el7.noarch
pulp-rpm-admin-extensions-2.8.0-0.4.beta.el7.noarch
python-pulp-rpm-common-2.8.0-0.4.beta.el7.noarch
python-pulp-oid_validation-2.8.0-0.4.beta.el7.noarch
pulp-server-2.8.0-0.4.beta.el7.noarch
python-pulp-docker-common-2.0.0-0.4.beta.el7.noarch
python-pulp-bindings-2.8.0-0.4.beta.el7.noarch
pulp-nodes-parent-2.8.0-0.4.beta.el7.noarch
python-rhsm-1.8.0-2.pulp.el7.x86_64
python-pulp-common-2.8.0-0.4.beta.el7.noarch
pulp-puppet-plugins-2.8.0-0.4.beta.el7.noarch
pulp-katello-0.4-3.git.289.2cc8d11.el7.noarch
rubygem-smart_proxy_pulp-1.2.0-1.el7.noarch
pulp-admin-client-2.8.0-0.4.beta.el7.noarch
pulp-docker-admin-extensions-2.0.0-0.4.beta.el7.noarch
pulp-rpm-plugins-2.8.0-0.4.beta.el7.noarch
pulp-nodes-common-2.8.0-0.4.beta.el7.noarch
python-pulp-puppet-common-2.8.0-0.4.beta.el7.noarch
python-pulp-client-lib-2.8.0-0.4.beta.el7.noarch
pulp-puppet-admin-extensions-2.8.0-0.4.beta.el7.noarch
python-isodate-0.5.0-4.pulp.el7.noarch

Associated revisions

History

#1 Updated by bmbouter over 5 years ago

  • Platform Release set to 2.8.0
  • Triaged changed from No to Yes

#2 Updated by ttereshc over 5 years ago

  • Status changed from NEW to ASSIGNED
  • Assignee set to ttereshc

#3 Updated by ttereshc over 5 years ago

  • Status changed from ASSIGNED to POST

#4 Updated by ttereshc over 5 years ago

  • Status changed from POST to MODIFIED
  • % Done changed from 0 to 100

#5 Updated by dkliban@redhat.com over 5 years ago

  • Status changed from MODIFIED to 5

#6 Updated by pthomas@redhat.com over 5 years ago

  • Status changed from 5 to 6

[root@mgmt5 ~]# rpm qa |grep pulp
python-pulp-repoauth-2.8.0-0.9.rc.el7.noarch
pulp-rpm-plugins-2.8.0-0.9.rc.el7.noarch
pulp-docker-plugins-2.0.0-0.9.rc.el7.noarch
pulp-selinux-2.8.0-0.9.rc.el7.noarch
python-pulp-puppet-common-2.8.0-0.9.rc.el7.noarch
pulp-admin-client-2.8.0-0.9.rc.el7.noarch
pulp-rpm-admin-extensions-2.8.0-0.9.rc.el7.noarch
pulp-puppet-handlers-2.8.0-0.9.rc.el7.noarch
python-pulp-agent-lib-2.8.0-0.9.rc.el7.noarch
pulp-nodes-common-2.8.0-0.9.rc.el7.noarch
pulp-consumer-client-2.8.0-0.9.rc.el7.noarch
pulp-puppet-consumer-extensions-2.8.0-0.9.rc.el7.noarch
pulp-docker-admin-extensions-2.0.0-0.9.rc.el7.noarch
pulp-puppet-plugins-2.8.0-0.9.rc.el7.noarch
pulp-rpm-yumplugins-2.8.0-0.9.rc.el7.noarch
pulp-test-package-0.2.1-1.fc11.x86_64
python-pulp-common-2.8.0-0.9.rc.el7.noarch
python-pulp-rpm-common-2.8.0-0.9.rc.el7.noarch
python-pulp-docker-common-2.0.0-0.9.rc.el7.noarch
python-pulp-oid_validation-2.8.0-0.9.rc.el7.noarch
pulp-agent-2.8.0-0.9.rc.el7.noarch
pulp-nodes-admin-extensions-2.8.0-0.9.rc.el7.noarch
python-pulp-streamer-2.8.0-0.9.rc.el7.noarch
python-pulp-bindings-2.8.0-0.9.rc.el7.noarch
python-pulp-client-lib-2.8.0-0.9.rc.el7.noarch
pulp-puppet-admin-extensions-2.8.0-0.9.rc.el7.noarch
pulp-rpm-handlers-2.8.0-0.9.rc.el7.noarch
pulp-server-2.8.0-0.9.rc.el7.noarch
pulp-rpm-consumer-extensions-2.8.0-0.9.rc.el7.noarch
pulp-nodes-parent-2.8.0-0.9.rc.el7.noarch
[root@mgmt5 ~]#

[root@mgmt5 ~]# pulp-admin -v tasks list -a |more
----------------------------------------------------------------------
Tasks
--------------------------------------------------------------------

Operations: sync
Resources: zoo (repository)
State: Successful
Start Time: 2016-03-07T12:54:00Z
Finish Time: 2016-03-07T12:54:04Z
Task Id: e5afd6ea-8db2-4924-92c7-11048d1f507f

Operations: publish
Resources: zoo (repository)
State: Successful
Start Time: 2016-03-07T12:54:04Z
Finish Time: 2016-03-07T12:54:07Z
Task Id: 78b155e4-9372-4aa1-816d-e494309225db

Operations: sync

#7 Updated by dkliban@redhat.com over 5 years ago

  • Status changed from 6 to CLOSED - CURRENTRELEASE

#9 Updated by bmbouter over 2 years ago

  • Tags Pulp 2 added

Please register to edit this issue

Also available in: Atom PDF