After https://github.com/openstack/fuel-qa/commit/71314d71cc184bcd2492ddad5808b5e3b932fc6c test ha_ceph_neutron_rabbit_master_destroy.ha_ceph_neutron_rabbit_master_destroy starts to fail with
Error Message
'int' object has no attribute 'name'
Stacktrace
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.system_test.ubuntu.ha_destructive_ceph_neutron/fuelweb_test/helpers/decorators.py", line 80, in wrapper
result = func(*args, **kwargs)
File "/home/jenkins/workspace/8.0.system_test.ubuntu.ha_destructive_ceph_neutron/fuelweb_test/tests/tests_strength/test_failover_with_ceph.py", line 71, in ha_ceph_neutron_rabbit_master_destroy
super(self.__class__, self).ha_sequential_rabbit_master_failover()
File "/home/jenkins/workspace/8.0.system_test.ubuntu.ha_destructive_ceph_neutron/fuelweb_test/tests/tests_strength/test_failover_base.py", line 742, in ha_sequential_rabbit_master_failover
['controller'])
File "/home/jenkins/workspace/8.0.system_test.ubuntu.ha_destructive_ceph_neutron/fuelweb_test/__init__.py", line 58, in wrapped
result = func(*args, **kwargs)
File "/home/jenkins/workspace/8.0.system_test.ubuntu.ha_destructive_ceph_neutron/fuelweb_test/models/fuel_web_client.py", line 2082, in get_nailgun_primary_node
with self.get_ssh_for_node(slave.name) as remote:
AttributeError: 'int' object has no attribute 'name'
Looks like we use wrong method in 742 l, should be n_ctrls = self.fuel_web.get_nailgun_cluster_nodes_by_roles(
cluster_id, 'controller')
Fix proposed to branch: master /review. openstack. org/238833
Review: https:/