Project

Profile

Help

Issue #952

'archived_calls' collection is present but unused.

Added by bmbouter over 6 years ago. Updated over 2 years ago.

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

Description

The following classes and associated tests should be removed.

CallResource
QueuedCall
QueuedCallGroup
ArchivedCall

The collections these objects define don't get created in my installation. Also from their names it looks like they were part of the pre-Celery tasking system. They also don't seem to be in use except with a reference in the reaper.

Associated revisions

Revision 84bdffaa View on GitHub
Added by sbhawsin over 6 years ago

Task 952: Delete unused models from server.db.models.dispatch

https://pulp.plan.io/issues/952

Closes #952

Revision 84bdffaa View on GitHub
Added by sbhawsin over 6 years ago

Task 952: Delete unused models from server.db.models.dispatch

https://pulp.plan.io/issues/952

Closes #952

History

#1 Updated by mhrivnak over 6 years ago

  • Groomed changed from No to Yes

#2 Updated by sbhawsin over 6 years ago

  • Status changed from NEW to POST
  • Assignee set to sbhawsin

#4 Updated by sbhawsin over 6 years ago

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

#5 Updated by sbhawsin over 6 years ago

  • Tracker changed from Task to Issue
  • Subject changed from Delete unused models from server.db.models.dispatch to 'archived_calls' collection is present but unused.
  • Severity set to 1. Low
  • Platform Release set to 2.7.0
  • Triaged set to Yes

QE - Please update the version for pulp to 2.7-dev. Check if migration 18 runs successfully when executing pulp-manage-db. Please also check mongodb and make sure that 'archived_calls' collection is removed.

Please also verify the same with a fresh installation of pulp.

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

  • Status changed from MODIFIED to 5

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

  • Status changed from 5 to 6

verified

> use pulp_database
switched to db pulp_database
> show collections
celery_taskmeta
consumer_bindings
consumers
content_catalog
content_types
event_listeners
migration_trackers
permissions
repo_content_units
repo_distributors
repo_importers
repo_publish_results
repo_sync_results
repos
reserved_resources
roles
scheduled_calls
system.indexes
task_status
units_distribution
units_drpm
units_erratum
units_iso
units_package_category
units_package_environment
units_package_group
units_puppet_module
units_rpm
units_srpm
units_yum_repo_metadata_file
users
workers

<\pre>

#9 Updated by amacdona@redhat.com almost 6 years ago

  • Status changed from 6 to CLOSED - CURRENTRELEASE

#11 Updated by bmbouter over 2 years ago

  • Tags Pulp 2 added

Please register to edit this issue

Also available in: Atom PDF