Project

General

Profile

Bug #42255

mgr/dashboard: run-backend-api-test.sh is failing

Added by Tatjana Dehler over 1 year ago. Updated over 1 year ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
dashboard/qa
Target version:
-
% Done:

0%

Source:
Development
Tags:
Backport:
Regression:
Yes
Severity:
3 - minor
Reviewed:
Affected Versions:
ceph-qa-suite:
Pull request ID:
Crash signature:

Description

The run-backend-api-test.sh script is currently failing on my docker environment:

Error importing packages, have you activated your teuthology virtualenv and set PYTHONPATH to point to teuthology and ceph-qa-suite?
***

Traceback (most recent call last):
  File "../qa/tasks/vstart_runner.py", line 128, in <module>
    from tasks.ceph_manager import CephManager
  File "/tmp/tmp.Q2oxTxdqZU/venv/lib/python2.7/site-packages/gevent/builtins.py", line 93, in __import__
    result = _import(*args, **kwargs)
  File "/ceph/qa/tasks/ceph_manager.py", line 22, in <module>
    from teuthology.orchestra.remote import Remote
  File "/tmp/tmp.Q2oxTxdqZU/venv/lib/python2.7/site-packages/gevent/builtins.py", line 93, in __import__
    result = _import(*args, **kwargs)
  File "/tmp/tmp.Q2oxTxdqZU/teuthology/teuthology/orchestra/remote.py", line 4, in <module>
    import teuthology.lock.query
  File "/tmp/tmp.Q2oxTxdqZU/venv/lib/python2.7/site-packages/gevent/builtins.py", line 93, in __import__
    result = _import(*args, **kwargs)
  File "/tmp/tmp.Q2oxTxdqZU/teuthology/teuthology/lock/__init__.py", line 1, in <module>
    from teuthology.lock import cli, keys, ops, query, util  # noqa
  File "/tmp/tmp.Q2oxTxdqZU/venv/lib/python2.7/site-packages/gevent/builtins.py", line 93, in __import__
    result = _import(*args, **kwargs)
  File "/tmp/tmp.Q2oxTxdqZU/teuthology/teuthology/lock/cli.py", line 15, in <module>
    from teuthology.lock import (
  File "/tmp/tmp.Q2oxTxdqZU/venv/lib/python2.7/site-packages/gevent/builtins.py", line 93, in __import__
    result = _import(*args, **kwargs)
  File "/tmp/tmp.Q2oxTxdqZU/teuthology/teuthology/lock/keys.py", line 5, in <module>
    from teuthology.lock import ops, query
  File "/tmp/tmp.Q2oxTxdqZU/venv/lib/python2.7/site-packages/gevent/builtins.py", line 93, in __import__
    result = _import(*args, **kwargs)
  File "/tmp/tmp.Q2oxTxdqZU/teuthology/teuthology/lock/ops.py", line 14, in <module>
    import teuthology.task.internal
  File "/tmp/tmp.Q2oxTxdqZU/venv/lib/python2.7/site-packages/gevent/builtins.py", line 93, in __import__
    result = _import(*args, **kwargs)
  File "/tmp/tmp.Q2oxTxdqZU/teuthology/teuthology/task/internal/__init__.py", line 21, in <module>
    from teuthology.orchestra import cluster, remote, run
ImportError: cannot import name remote

Related issues

Related to teuthology - Bug #42256: ImportError: cannot import name remote Resolved 10/10/2019

History

#1 Updated by Ricardo Dias over 1 year ago

  • Related to Bug #42256: ImportError: cannot import name remote added

#2 Updated by Ricardo Dias over 1 year ago

Opened a ticket against teuthology to fix the problem: https://tracker.ceph.com/issues/42256

#3 Updated by Tatjana Dehler over 1 year ago

  • Status changed from New to Closed

Also available in: Atom PDF