We pass node in the method instead of list of nodes

Bug #1546932 reported by Vasily Gorin
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Fuel for OpenStack
Fix Released
Medium
Vasily Gorin
8.0.x
Fix Released
Medium
Vasily Gorin

Bug Description

There is mistake in the test shut_down_mongo_node.shut_down_mongo_node. We should pass list of nodes to functions warm_start and warm_shutdown.

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/8.0.acceptance.ubuntu.failover_group_mongo/fuelweb_test/tests/tests_strength/test_failover_mongo.py", line 222, in shut_down_mongo_node
    self.fuel_web.warm_shutdown_nodes(target_node)
  File "/home/jenkins/workspace/8.0.acceptance.ubuntu.failover_group_mongo/fuelweb_test/models/fuel_web_client.py", line 1683, in warm_shutdown_nodes
    [n.name for n in devops_nodes])
TypeError: 'Node' object is not iterable

Tags: area-qa
Changed in fuel:
status: New → Confirmed
tags: added: non-release
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/281716

Changed in fuel:
status: Confirmed → In Progress
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to fuel-qa (stable/8.0)

Fix proposed to branch: stable/8.0
Review: https://review.openstack.org/281718

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to fuel-qa (master)

Reviewed: https://review.openstack.org/281716
Committed: https://git.openstack.org/cgit/openstack/fuel-qa/commit/?id=02e0901893d90d5d78f59fd5f627d5792d3d8893
Submitter: Jenkins
Branch: master

commit 02e0901893d90d5d78f59fd5f627d5792d3d8893
Author: Vasily Gorin <email address hidden>
Date: Thu Feb 18 12:32:54 2016 +0300

    Fix mistake in shut_down_mongo_node

    Instead of node we should pass to the functions list of nodes

    Change-Id: I4667d3b8da341407a703888fdab76cf9d158be1e
    Closes-Bug: #1546932

Changed in fuel:
status: In Progress → Fix Committed
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to fuel-qa (stable/8.0)

Reviewed: https://review.openstack.org/281718
Committed: https://git.openstack.org/cgit/openstack/fuel-qa/commit/?id=8c08d740effd95e470030bd566607e07f9dd8992
Submitter: Jenkins
Branch: stable/8.0

commit 8c08d740effd95e470030bd566607e07f9dd8992
Author: Vasily Gorin <email address hidden>
Date: Thu Feb 18 12:32:54 2016 +0300

    Fix mistake in shut_down_mongo_node

    Instead of node we should pass to the functions list of nodes

    Change-Id: I4667d3b8da341407a703888fdab76cf9d158be1e
    Closes-Bug: #1546932

Revision history for this message
Artem Panchenko (apanchenko-8) wrote :

Test 'shut_down_mongo_node' passed on the latest release acceptance run (version 7_failover_group_mongo_on_8.0-570)

Changed in fuel:
status: Fix Committed → Fix Released
tags: removed: non-release
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.