Project

Profile

Help

Story #1004

Add doc steps for installing additional content type support

Added by mkovacik@redhat.com over 5 years ago. Updated 4 months ago.

Status:
CLOSED - WONTFIX
Priority:
Normal
Assignee:
-
Category:
-
Sprint/Milestone:
-
Start date:
Due date:
% Done:

0%

Estimated time:
Platform Release:
Groomed:
No
Sprint Candidate:
No
Tags:
Documentation, Pulp 2
Sprint:
Quarter:

Description

There's no documentation how to install additional pulp content support plugins.
Especially, the fact that pulp-manage-db should be called having installed such plugins.
User might encounter stack-traces restarting pulp services that might require some debugging 1).

1) screen log; restarting pulp services not having run pulp-manage-db after additional content (docker) plugins were installed; attached

History

#1 Updated by mkovacik@redhat.com over 5 years ago

  • File screen.log added

The screen log


celery multi v3.1.11 (Cipater)
> Starting nodes...
        > resource_manager@ip-172-31-20-145.eu-central-1.compute.internal: Traceback (most recent call last):
  File "/usr/lib64/python2.6/runpy.py", line 122, in _run_module_as_main
    "__main__", fname, loader, pkg_name)
  File "/usr/lib64/python2.6/runpy.py", line 34, in _run_code
    exec code in run_globals
  File "/usr/lib/python2.6/site-packages/celery/__main__.py", line 54, in <module>
    main()
  File "/usr/lib/python2.6/site-packages/celery/__main__.py", line 30, in main
    main()
  File "/usr/lib/python2.6/site-packages/celery/bin/celery.py", line 81, in main
    cmd.execute_from_commandline(argv)
  File "/usr/lib/python2.6/site-packages/celery/bin/celery.py", line 769, in execute_from_commandline
    super(CeleryCommand, self).execute_from_commandline(argv)))
  File "/usr/lib/python2.6/site-packages/celery/bin/base.py", line 304, in execute_from_commandline
    argv = self.setup_app_from_commandline(argv)
  File "/usr/lib/python2.6/site-packages/celery/bin/base.py", line 464, in setup_app_from_commandline
    self.app = self.find_app(app)
  File "/usr/lib/python2.6/site-packages/celery/bin/base.py", line 484, in find_app
    return find_app(app, symbol_by_name=self.symbol_by_name)
  File "/usr/lib/python2.6/site-packages/celery/app/utils.py", line 225, in find_app
    sym = imp(app)
  File "/usr/lib/python2.6/site-packages/celery/utils/imports.py", line 101, in import_from_cwd
    return imp(module, package=package)
  File "/usr/lib/python2.6/site-packages/importlib/__init__.py", line 37, in import_module
    __import__(name)
  File "/usr/lib/python2.6/site-packages/pulp/server/async/app.py", line 12, in <module>
    initialization.initialize()
  File "/usr/lib/python2.6/site-packages/pulp/server/initialization.py", line 35, in initialize
    plugin_api.initialize()
  File "/usr/lib/python2.6/site-packages/pulp/plugins/loader/api.py", line 79, in initialize
    _validate_importers()
  File "/usr/lib/python2.6/site-packages/pulp/plugins/loader/api.py", line 498, in _validate_importers
    raise loader_exceptions.InvalidImporter(msg % {'i': plugin_id, 't': type_})
pulp.plugins.loader.exceptions.InvalidImporter: Importer docker_importer: no type definition found for docker_image
* Child terminated with errorcode 255
FAILED

[root@ip-172-31-20-145 ec2-user]# yum search pulp | grep -i docker
pulp-docker-admin-extensions.noarch : The Pulp Docker admin client extensions
pulp-docker-plugins.noarch : Pulp Docker plugins
python-pulp-docker-common.noarch : Pulp Docker support common library
[root@ip-172-31-20-145 ec2-user]# rpm -q pulp-docker-plugins.noarch
pulp-docker-plugins-1.0.1-0.2.beta.el6.noarch
[root@ip-172-31-20-145 ec2-user]# rpm -q python-pulp-docker-common
python-pulp-docker-common-1.0.1-0.2.beta.el6.noarch
[root@ip-172-31-20-145 ec2-user]# rpm -q pulp-docker-admin-extensions
pulp-docker-admin-extensions-1.0.1-0.2.beta.el6.noarch
[root@ip-172-31-20-145 ec2-user]#
[root@ip-172-31-20-145 ec2-user]# sudo -u apache pulp-manage-db
Mongo database for connection is version 2.4.13
Loading content types.
Loading type descriptors [puppet.json, rpm_support.json, docker.json, python.json, iso_support.json]
Parsing type descriptors
Validating type descriptor syntactic integrity
Validating type descriptor semantic integrity
Updating the database with types [puppet_module, distribution, drpm, erratum, package_group, package_category, package_environment, rpm, srpm, yum_repo_metadata_file, docker_image, python_package, iso]
/usr/lib/python2.6/site-packages/pulp/server/db/connection.py:167: DeprecationWarning: The safe parameter is deprecated. Please use write concern options instead.
  return method(*args, **kwargs)
Content types loaded.
Ensuring the admin role and user are in place.
Admin role and user are in place.
Beginning database migrations.
Migration package pulp.server.db.migrations is up to date at version 12
Migration package pulp_puppet.plugins.migrations is up to date at version 2
Migration package pulp_rpm.plugins.migrations is up to date at version 21
Database migrations complete.
[root@ip-172-31-20-145 ec2-user]# for i in httpd pulp_workers pulp_resource_manager pulp_celerybeat ; do service $i restart ; done                                                                          
Stopping httpd:                                            [  OK  ]
Starting httpd:                                            [  OK  ]
celery init v10.0.
Using config script: /etc/default/pulp_workers
celery multi v3.1.11 (Cipater)
> reserved_resource_worker-0@ip-172-31-20-145.eu-central-1.compute.internal: DOWN
> reserved_resource_worker-1@ip-172-31-20-145.eu-central-1.compute.internal: DOWN
celery multi v3.1.11 (Cipater)
> Starting nodes...
        > reserved_resource_worker-0@ip-172-31-20-145.eu-central-1.compute.internal: OK
        > reserved_resource_worker-1@ip-172-31-20-145.eu-central-1.compute.internal: OK
celery init v10.0.
Using config script: /etc/default/pulp_resource_manager
celery multi v3.1.11 (Cipater)
> resource_manager@ip-172-31-20-145.eu-central-1.compute.internal: DOWN
celery multi v3.1.11 (Cipater)
> Starting nodes...
        > resource_manager@ip-172-31-20-145.eu-central-1.compute.internal: OK
celery init v10.0.
Using configuration: /etc/default/pulp_workers, /etc/default/pulp_celerybeat
Restarting celery periodic task scheduler
Stopping pulp_celerybeat... OK
Starting pulp_celerybeat...
[root@ip-172-31-20-145 ec2-user]#

#2 Updated by mkovacik@redhat.com over 5 years ago

  • File deleted (screen.log)

#3 Updated by mkovacik@redhat.com over 5 years ago

  • File deleted (screen.log)

#4 Updated by mkovacik@redhat.com over 5 years ago

  • Tracker changed from Issue to Story
  • Subject changed from [RFE] add doc steps for installing additional content type support to Add doc steps for installing additional content type support
  • Groomed set to No
  • Sprint Candidate set to No

#5 Updated by bmbouter over 1 year ago

  • Status changed from NEW to CLOSED - WONTFIX

#6 Updated by bmbouter over 1 year ago

Pulp 2 is approaching maintenance mode, and this Pulp 2 ticket is not being actively worked on. As such, it is being closed as WONTFIX. Pulp 2 is still accepting contributions though, so if you want to contribute a fix for this ticket, please reopen or comment on it. If you don't have permissions to reopen this ticket, or you want to discuss an issue, please reach out via the developer mailing list.

#7 Updated by bmbouter over 1 year ago

  • Tags Pulp 2 added

#8 Updated by bmbouter 4 months ago

  • Category deleted (23)
  • Tags Documentation added

Please register to edit this issue

Also available in: Atom PDF