Need to cherry-pick fix get_nailgun_node_by_devops_node

Bug #1325877 reported by Tatyanka on 2014-06-03
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Fuel for OpenStack
Fuel QA Team

Bug Description

Service tests on Centos failed with


Traceback (most recent call last):
  File "/usr/lib/python2.7/unittest/", line 331, in run
  File "/usr/lib/python2.7/unittest/", line 1043, in runTest
  File "/usr/lib/python2.7/dist-packages/proboscis/", line 296, in testng_method_mistake_capture_func
  File "/usr/lib/python2.7/dist-packages/proboscis/compatability/", line 27, in capture_type_error
  File "/usr/lib/python2.7/dist-packages/proboscis/", line 350, in func
  File "/home/jenkins/workspace/", line 111, in prepare_slaves_5
  File "/home/jenkins/workspace/", line 116, in bootstrap_nodes
    wait(lambda: all(self.nailgun_nodes(devops_nodes)), 15, timeout)
  File "/home/jenkins/venv-nailgun-tests/local/lib/python2.7/site-packages/devops/helpers/", line 93, in wait
    while not predicate():
  File "/home/jenkins/workspace/", line 116, in <lambda>
    wait(lambda: all(self.nailgun_nodes(devops_nodes)), 15, timeout)
  File "/home/jenkins/workspace/", line 309, in nailgun_nodes
  File "/home/jenkins/workspace/", line 308, in <lambda>
    lambda node: self.fuel_web.get_nailgun_node_by_devops_node(node),
  File "/home/jenkins/workspace/", line 48, in wrapped
    result = func(*args, **kwargs)
  File "/home/jenkins/workspace/", line 414, in get_nailgun_node_by_devops_node
    for nailgun_node in self.client.list_nodes():
  File "/home/jenkins/workspace/", line 66, in wrapped
    response = func(*args, **kwargs)
  File "/home/jenkins/workspace/", line 35, in list_nodes
    return self.client.get("/api/nodes/")
  File "/home/jenkins/workspace/", line 38, in get
    return self._open(req)
  File "/home/jenkins/workspace/", line 64, in _open
  File "/usr/lib/python2.7/", line 404, in open
    response = self._open(req, data)
  File "/usr/lib/python2.7/", line 422, in _open
    '_open', req)
  File "/usr/lib/python2.7/", line 382, in _call_chain
    result = func(*args)
  File "/usr/lib/python2.7/", line 1214, in http_open
    return self.do_open(httplib.HTTPConnection, req)
  File "/usr/lib/python2.7/", line 1184, in do_open
    raise URLError(err)
URLError: <urlopen error [Errno 113] No route to host>
-------------------- >> begin captured logging << --------------------
fuelweb_test: DEBUG: Calling: get_nailgun_node_by_devops_node with args: (<fuelweb_test.models.fuel_web_client.FuelWebClient object at 0x7f881f896f90>, <Node: Node object>) {}
fuelweb_test: DEBUG: Look for nailgun node by macs set([u'64:2C:DE:B2:40:01', u'64:91:44:E5:5F:7D', u'64:9E:62:85:12:AF', u'64:AD:AB:91:9D:71', u'64:BE:7A:D6:C9:D2'])
--------------------- >> end captured logging << ---------------------

To avaid this we need to cerry-pick this commit

summary: - Need to cherry-pick fix get_nailgun_node_by_devops_nod
+ Need to cherry-pick fix get_nailgun_node_by_devops_node
Tatyanka (tatyana-leontovich) wrote :

already in 4.1.1

Changed in fuel:
status: New → Invalid
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers