Project

Profile

Help

Issue #4047

closed

pulp_ansible RC1 is missing code

Added by bmbouter about 6 years ago. Updated over 5 years ago.

Status:
CLOSED - CURRENTRELEASE
Priority:
Normal
Assignee:
Sprint/Milestone:
Start date:
Due date:
Estimated time:
Severity:
3. High
Platform Release:
OS:
Triaged:
No
Groomed:
No
Sprint Candidate:
No
Tags:
Sprint:
Quarter:

Description

I pip install pulp_ansible and I receive 0.1.0rc1 with:

(pulp) [vagrant@pulp3 pulp]$ pip freeze | grep ansible
pulp-ansible==0.1.0rc1

When starting any Pulp process I receive a traceback:

Unhandled exception in thread started by <function check_errors.<locals>.wrapper at 0x7fa4b561f9d8>
Traceback (most recent call last):
  File "/home/vagrant/.virtualenvs/pulp/lib64/python3.6/site-packages/django/utils/autoreload.py", line 225, in wrapper
    fn(*args, **kwargs)
  File "/home/vagrant/.virtualenvs/pulp/lib64/python3.6/site-packages/django/core/management/commands/runserver.py", line 109, in inner_run
    autoreload.raise_last_exception()
  File "/home/vagrant/.virtualenvs/pulp/lib64/python3.6/site-packages/django/utils/autoreload.py", line 248, in raise_last_exception
    raise _exception[1]
  File "/home/vagrant/.virtualenvs/pulp/lib64/python3.6/site-packages/django/core/management/__init__.py", line 337, in execute
    autoreload.check_errors(django.setup)()
  File "/home/vagrant/.virtualenvs/pulp/lib64/python3.6/site-packages/django/utils/autoreload.py", line 225, in wrapper
    fn(*args, **kwargs)
  File "/home/vagrant/.virtualenvs/pulp/lib64/python3.6/site-packages/django/__init__.py", line 24, in setup
    apps.populate(settings.INSTALLED_APPS)
  File "/home/vagrant/.virtualenvs/pulp/lib64/python3.6/site-packages/django/apps/registry.py", line 120, in populate
    app_config.ready()
  File "/home/vagrant/devel/pulp/pulpcore/pulpcore/app/apps.py", line 74, in ready
    self.import_viewsets()
  File "/home/vagrant/devel/pulp/pulpcore/pulpcore/app/apps.py", line 108, in import_viewsets
    self.viewsets_module = import_module(viewsets_module_name)
  File "/usr/lib64/python3.6/importlib/__init__.py", line 126, in import_module
    return _bootstrap._gcd_import(name[level:], package, level)
  File "<frozen importlib._bootstrap>", line 994, in _gcd_import
  File "<frozen importlib._bootstrap>", line 971, in _find_and_load
  File "<frozen importlib._bootstrap>", line 955, in _find_and_load_unlocked
  File "<frozen importlib._bootstrap>", line 665, in _load_unlocked
  File "<frozen importlib._bootstrap_external>", line 678, in exec_module
  File "<frozen importlib._bootstrap>", line 219, in _call_with_frames_removed
  File "/home/vagrant/.virtualenvs/pulp/lib64/python3.6/site-packages/pulp_ansible/app/viewsets.py", line 22, in <module>
    from . import tasks
ImportError: cannot import name 'tasks'

In the 0.1.0rc1 tagged code you can see this import here which is importing from the tasks module here

Strangely though, on the system I pip intalled 0.1.0rc1 onto I get this as my code, which is missing the 'tasks' module.

(pulp) [vagrant@pulp3 app]$ cd  ~/.virtualenvs/pulp/lib64/python3.6/site-packages/pulp_ansible/
(pulp) [vagrant@pulp3 pulp_ansible]$ tree
.
├── app
│   ├── __init__.py
│   ├── models.py
│   ├── __pycache__
│   │   ├── __init__.cpython-36.pyc
│   │   ├── models.cpython-36.pyc
│   │   ├── serializers.cpython-36.pyc
│   │   ├── urls.cpython-36.pyc
│   │   └── viewsets.cpython-36.pyc
│   ├── serializers.py
│   ├── urls.py
│   └── viewsets.py
├── __init__.py
└── __pycache__
    └── __init__.cpython-36.pyc

Added by bmbouter about 6 years ago

Revision 85b153df | View on GitHub

Include all packages and bump to rc2

https://pulp.plan.io/issues/4047 closes #4047

Actions #1

Updated by bmbouter about 6 years ago

  • Status changed from NEW to POST
  • Assignee set to bmbouter
Actions #2

Updated by bmbouter about 6 years ago

  • Status changed from POST to MODIFIED
Actions #3

Updated by bmbouter about 6 years ago

  • Status changed from MODIFIED to CLOSED - CURRENTRELEASE
Actions #4

Updated by bmbouter over 5 years ago

  • Tags deleted (Pulp 3)
Actions #5

Updated by bmbouter over 5 years ago

  • Sprint/Milestone set to 0.1 Release

Also available in: Atom PDF