Fuel-OSTF dependecies are missing muranoclient which leads to failure when launching sanity checks using nose CLI tool

Bug #1423129 reported by Denis M.
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Fuel for OpenStack
Won't Fix
Medium
Fuel QA Team

Bug Description

Fuel-OSTF dependecies are missing muranoclient which leads to failure when launching sanity checks using nose CLI tool.

Fix: add python-muranoclient into requirements.txt

(.venv)ubuntu@ubuntu:~/fuel-ostf$ export CUSTOM_FUEL_CONFIG=../test.conf; nosetests fuel_health/tests/sanity/test_sanity_identity.py
E
======================================================================
ERROR: test suite for <class 'fuel_health.tests.sanity.test_sanity_identity.SanityIdentityTest'>
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/ubuntu/fuel-ostf/.venv/local/lib/python2.7/site-packages/nose/suite.py", line 209, in run
    self.setUp()
  File "/home/ubuntu/fuel-ostf/.venv/local/lib/python2.7/site-packages/nose/suite.py", line 292, in setUp
    self.setupContext(ancestor)
  File "/home/ubuntu/fuel-ostf/.venv/local/lib/python2.7/site-packages/nose/suite.py", line 315, in setupContext
    try_run(context, names)
  File "/home/ubuntu/fuel-ostf/.venv/local/lib/python2.7/site-packages/nose/util.py", line 470, in try_run
    return func()
  File "/home/ubuntu/fuel-ostf/fuel_health/nmanager.py", line 842, in setUpClass
    super(SanityChecksTest, cls).setUpClass()
  File "/home/ubuntu/fuel-ostf/fuel_health/test.py", line 82, in setUpClass
    cls.manager = cls.manager_class()
  File "/home/ubuntu/fuel-ostf/fuel_health/nmanager.py", line 98, in __init__
    self.murano_client = self._get_murano_client()
  File "/home/ubuntu/fuel-ostf/fuel_health/nmanager.py", line 257, in _get_murano_client
    return muranoclient.v1.client.Client(
NameError: global name 'muranoclient' is not defined
-------------------- >> begin captured logging << --------------------
fuel_health.nmanager: DEBUG: Traceback (most recent call last):
  File "/home/ubuntu/fuel-ostf/fuel_health/nmanager.py", line 31, in <module>
    import muranoclient.v1.client
ImportError: No module named muranoclient.v1.client

fuel_health.nmanager: WARNING: Muranoclient could not be imported.
oslo_config.cfg: DEBUG: Expected default value of type(s) basestring but got 120 of type int
oslo_config.cfg: DEBUG: Expected default value of type(s) basestring but got 5 of type int
oslo_config.cfg: DEBUG: Expected default value of type(s) basestring but got 8386 of type int
oslo_config.cfg: DEBUG: Expected default value of type(s) basestring but got {'Task Tracker Heap Size': 515} of type dict
fuel_health.config: INFO: INSTANCE {}
fuel_health.config: INFO: CUSTOM CONFIG PATH ../test.conf
fuel_health.config: INFO: Using fuel config file ../test.conf
fuel_health.config: INFO: INSTANCE {3423: <fuel_health.config.FileConfig object at 0x7fd56e51fe10>}
keystoneclient.auth.identity.v2: DEBUG: Making authentication request to http://172.18.196.219:5000/v2.0/tokens
requests.packages.urllib3.connectionpool: INFO: Starting new HTTP connection (1): 172.18.196.219
requests.packages.urllib3.connectionpool: DEBUG: "POST /v2.0/tokens HTTP/1.1" 200 4711
keystoneclient.auth.identity.v3: DEBUG: Making authentication request to http://172.18.196.219:5000/v3/auth/tokens
requests.packages.urllib3.connectionpool: INFO: Starting new HTTP connection (1): 172.18.196.219
requests.packages.urllib3.connectionpool: DEBUG: "POST /v3/auth/tokens HTTP/1.1" 201 8056
keystoneclient.auth.identity.v2: DEBUG: Making authentication request to http://172.18.196.219:5000/v2.0/tokens
requests.packages.urllib3.connectionpool: INFO: Starting new HTTP connection (1): 172.18.196.219
requests.packages.urllib3.connectionpool: DEBUG: "POST /v2.0/tokens HTTP/1.1" 200 4711
iso8601.iso8601: DEBUG: Parsed 2015-02-18T12:35:24Z into {'tz_sign': None, 'second_fraction': None, 'hour': u'12', 'daydash': u'18', 'tz_hour': None, 'month': None, 'timezone': u'Z', 'second': u'24', 'tz_minute': None, 'year': u'2015', 'separator': u'T', 'monthdash': u'02', 'day': None, 'minute': u'35'} with default timezone <iso8601.iso8601.Utc object at 0x7fd5701bc210>
iso8601.iso8601: DEBUG: Got u'2015' for 'year' with default None
iso8601.iso8601: DEBUG: Got u'02' for 'monthdash' with default 1
iso8601.iso8601: DEBUG: Got 2 for 'month' with default 2
iso8601.iso8601: DEBUG: Got u'18' for 'daydash' with default 1
iso8601.iso8601: DEBUG: Got 18 for 'day' with default 18
iso8601.iso8601: DEBUG: Got u'12' for 'hour' with default None
iso8601.iso8601: DEBUG: Got u'35' for 'minute' with default None
iso8601.iso8601: DEBUG: Got u'24' for 'second' with default None
keystoneclient.auth.identity.v2: DEBUG: Making authentication request to http://172.18.196.219:5000/v2.0/tokens
requests.packages.urllib3.connectionpool: INFO: Starting new HTTP connection (1): 172.18.196.219
requests.packages.urllib3.connectionpool: DEBUG: "POST /v2.0/tokens HTTP/1.1" 200 4711
iso8601.iso8601: DEBUG: Parsed 2015-02-18T12:35:24Z into {'tz_sign': None, 'second_fraction': None, 'hour': u'12', 'daydash': u'18', 'tz_hour': None, 'month': None, 'timezone': u'Z', 'second': u'24', 'tz_minute': None, 'year': u'2015', 'separator': u'T', 'monthdash': u'02', 'day': None, 'minute': u'35'} with default timezone <iso8601.iso8601.Utc object at 0x7fd5701bc210>
iso8601.iso8601: DEBUG: Got u'2015' for 'year' with default None
iso8601.iso8601: DEBUG: Got u'02' for 'monthdash' with default 1
iso8601.iso8601: DEBUG: Got 2 for 'month' with default 2
iso8601.iso8601: DEBUG: Got u'18' for 'daydash' with default 1
iso8601.iso8601: DEBUG: Got 18 for 'day' with default 18
iso8601.iso8601: DEBUG: Got u'12' for 'hour' with default None
iso8601.iso8601: DEBUG: Got u'35' for 'minute' with default None
iso8601.iso8601: DEBUG: Got u'24' for 'second' with default None
keystoneclient.auth.identity.v2: DEBUG: Making authentication request to http://172.18.196.219:5000/v2.0/tokens
requests.packages.urllib3.connectionpool: INFO: Starting new HTTP connection (1): 172.18.196.219
requests.packages.urllib3.connectionpool: DEBUG: "POST /v2.0/tokens HTTP/1.1" 200 4711
iso8601.iso8601: DEBUG: Parsed 2015-02-18T12:35:24Z into {'tz_sign': None, 'second_fraction': None, 'hour': u'12', 'daydash': u'18', 'tz_hour': None, 'month': None, 'timezone': u'Z', 'second': u'24', 'tz_minute': None, 'year': u'2015', 'separator': u'T', 'monthdash': u'02', 'day': None, 'minute': u'35'} with default timezone <iso8601.iso8601.Utc object at 0x7fd5701bc210>
iso8601.iso8601: DEBUG: Got u'2015' for 'year' with default None
iso8601.iso8601: DEBUG: Got u'02' for 'monthdash' with default 1
iso8601.iso8601: DEBUG: Got 2 for 'month' with default 2
iso8601.iso8601: DEBUG: Got u'18' for 'daydash' with default 1
iso8601.iso8601: DEBUG: Got 18 for 'day' with default 18
iso8601.iso8601: DEBUG: Got u'12' for 'hour' with default None
iso8601.iso8601: DEBUG: Got u'35' for 'minute' with default None
iso8601.iso8601: DEBUG: Got u'24' for 'second' with default None
--------------------- >> end captured logging << ---------------------

----------------------------------------------------------------------
Ran 0 tests in 0.990s

FAILED (errors=1)

Revision history for this message
Tatyanka (tatyana-leontovich) wrote :

Actually run tests over nosetest is not in scope for now, so I believe you should start from bp registration

Changed in fuel:
status: New → Won't Fix
Changed in fuel:
importance: Undecided → Medium
assignee: nobody → Fuel QA Team (fuel-qa)
milestone: none → 6.1
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.