[system test] Deploy cluster with networks allocated on different interfaces failed with Node matching query does not exist

Bug #1430332 reported by Tatyanka
10
This bug affects 2 people
Affects Status Importance Assigned to Milestone
Fuel for OpenStack
Fix Released
Medium
Dmitry Tyzhnenko

Bug Description

178 iso http://jenkins-product.srt.mirantis.net:8080/job/6.1.system_test.centos.thread_1/66/testReport/junit/%28root%29/deploy_node_multiple_interfaces/deploy_node_multiple_interfaces/

Deploy cluster with networks allocated on different interfaces
Centos
Scenario:
1. Create cluster in Ha mode with 1 controller
2. Add 1 node with controller role
3. Add 1 node with compute role
4. Add 1 node with cinder role
5. Split networks on existing physical interfaces
6. Deploy the cluster
7. Verify network configuration on each deployed node
8. Run network verification

Actual result:
Failed with error
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/6.1.system_test.centos.thread_1/fuelweb_test/helpers/decorators.py", line 65, in wrapper
    return func(*args, **kwargs)
  File "/home/jenkins/workspace/6.1.system_test.centos.thread_1/fuelweb_test/tests/test_ha_one_controller.py", line 687, in deploy_node_multiple_interfaces
    self.env.verify_network_configuration(node)
  File "/home/jenkins/workspace/6.1.system_test.centos.thread_1/fuelweb_test/models/environment.py", line 351, in verify_network_configuration
    node=self.fuel_web.get_nailgun_node_by_name(node),
  File "/home/jenkins/workspace/6.1.system_test.centos.thread_1/fuelweb_test/__init__.py", line 48, in wrapped
    result = func(*args, **kwargs)
  File "/home/jenkins/workspace/6.1.system_test.centos.thread_1/fuelweb_test/models/fuel_web_client.py", line 513, in get_nailgun_node_by_name
    self.environment.d_env.get_node(name=node_name))
  File "/home/jenkins/venv-nailgun-tests-2.9/local/lib/python2.7/site-packages/devops/models/environment.py", line 58, in get_node
    return self.node_set.get(*args, **kwargs)
  File "/home/jenkins/venv-nailgun-tests-2.9/local/lib/python2.7/site-packages/django/db/models/manager.py", line 151, in get
    return self.get_queryset().get(*args, **kwargs)
  File "/home/jenkins/venv-nailgun-tests-2.9/local/lib/python2.7/site-packages/django/db/models/query.py", line 310, in get
    self.model._meta.object_name)
DoesNotExist: Node matching query does not exist.

After invoke of

  File "/home/jenkins/workspace/6.1.system_test.centos.thread_1/fuelweb_test/models/environment.py", line 351, in verify_network_configuration

So we need to fix it or remove everywhere

Tags: system-tests
Changed in fuel:
status: New → Confirmed
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to fuel-qa (master)

Fix proposed to branch: master
Review: https://review.openstack.org/165432

Changed in fuel:
assignee: Fuel QA Team (fuel-qa) → Dmitry Tyzhnenko (dtyzhnenko)
status: Confirmed → In Progress
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to fuel-qa (master)

Reviewed: https://review.openstack.org/165432
Committed: https://git.openstack.org/cgit/stackforge/fuel-qa/commit/?id=e14925b2b9894898d137a3c795af10d56ae2b82c
Submitter: Jenkins
Branch: master

commit e14925b2b9894898d137a3c795af10d56ae2b82c
Author: Dmitry Tyzhnenko <email address hidden>
Date: Wed Mar 18 16:29:36 2015 +0200

    Fix verify_network_configuration procedure

    Change-Id: I18b1c5de60d8e884c070e86b154c4e3c6244f0ef
    Closes-bug: #1430332

Changed in fuel:
status: In Progress → Fix Committed
Changed in fuel:
status: Fix Committed → Fix Released
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.