fuel-devops can't find node in database by FQDN.

Bug #1679550 reported by Ilya Bumarskov on 2017-04-04
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Fuel for OpenStack
Medium
Vladimir Khlyunev

Bug Description

https://product-ci.infra.mirantis.net/job/10.0.acceptance.ubuntu.failover_group_1/11/testReport/(root)/recovery_neutron_agents_after_restart/recovery_neutron_agents_after_restart/

Traceback (most recent call last):
  File "/usr/lib/python2.7/unittest/case.py", line 331, in run
    testMethod()
  File "/usr/lib/python2.7/unittest/case.py", line 1043, in runTest
    self._testFunc()
  File "/home/jenkins/venv-nailgun-tests-2.9/local/lib/python2.7/site-packages/proboscis/case.py", line 296, in testng_method_mistake_capture_func
    compatability.capture_type_error(s_func)
  File "/home/jenkins/venv-nailgun-tests-2.9/local/lib/python2.7/site-packages/proboscis/compatability/exceptions_2_6.py", line 27, in capture_type_error
    func()
  File "/home/jenkins/venv-nailgun-tests-2.9/local/lib/python2.7/site-packages/proboscis/case.py", line 350, in func
    func(test_case.state.get_state())
  File "/home/jenkins/workspace/10.0.acceptance.ubuntu.failover_group_1/fuelweb_test/helpers/decorators.py", line 120, in wrapper
    result = func(*args, **kwargs)
  File "/home/jenkins/workspace/10.0.acceptance.ubuntu.failover_group_1/fuelweb_test/tests/tests_strength/test_failover_group_1.py", line 204, in recovery_neutron_agents_after_restart
    controllers[0]['fqdn'], agent['resource'])
  File "/home/jenkins/workspace/10.0.acceptance.ubuntu.failover_group_1/core/helpers/log_helpers.py", line 204, in wrapped
    result = func(*args, **kwargs)
  File "/home/jenkins/workspace/10.0.acceptance.ubuntu.failover_group_1/fuelweb_test/models/fuel_web_client.py", line 1054, in get_pacemaker_resource_location
    with self.get_ssh_for_node(controller_node_name) as remote:
  File "/home/jenkins/workspace/10.0.acceptance.ubuntu.failover_group_1/core/helpers/log_helpers.py", line 204, in wrapped
    result = func(*args, **kwargs)
  File "/home/jenkins/workspace/10.0.acceptance.ubuntu.failover_group_1/fuelweb_test/models/fuel_web_client.py", line 1263, in get_ssh_for_node
    return self.environment.d_env.get_node_remote(node_name)
  File "/home/jenkins/venv-nailgun-tests-2.9/local/lib/python2.7/site-packages/devops/client/environment.py", line 163, in get_node_remote
    node = self.get_node(name=node_name)
  File "/home/jenkins/venv-nailgun-tests-2.9/local/lib/python2.7/site-packages/devops/models/environment.py", line 528, in get_node
    raise error.DevopsObjNotFound(node.Node, *args, **kwargs)
DevopsObjNotFound: devops.models.node.Node(name=u'node-3.test.domain.local') does not exist in database.

Changed in fuel:
importance: Undecided → Medium
tags: added: area-qa
Changed in fuel:
assignee: nobody → Vladimir Khlyunev (vkhlyunev)
milestone: none → 10.1
Changed in fuel:
status: New → In Progress

Reviewed: https://review.openstack.org/453067
Committed: https://git.openstack.org/cgit/openstack/fuel-qa/commit/?id=55627d3e5cd16cc6ab4d92df6c3f4a9363003faf
Submitter: Jenkins
Branch: stable/newton

commit 55627d3e5cd16cc6ab4d92df6c3f4a9363003faf
Author: Vladimir Khlyunev <email address hidden>
Date: Tue Apr 4 12:59:28 2017 +0400

    Hardcode slave name in failover acceptance test

    The tests are passing fqdn instead of devops name to get_pacemaker_resource_location
    method; for now we can hardcode name of the controller because it 100% binded in
    preparation test case

    Change-Id: Icd2ca75543830e46b17c40e999e61aa47b33038a
    Closes-bug: 1679550

tags: added: in-stable-newton
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers