Found while system tests failures analyze.
Steps to reproduce:
1) Start system tests group bonding_ha_one_controller.
Actual behaviour:
Tests are failed
Trace:
ERROR: Deploy cluster in ha mode with 1 controller and bonding
----------------------------------------------------------------------
Traceback (most recent call last):
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.bonding_ha_one_controller/fuelweb_test/helpers/decorators.py", line 66, in wrapper
return func(*args, **kwargs)
File "/home/jenkins/workspace/6.1.system_test.centos.bonding_ha_one_controller/fuelweb_test/tests/test_bonding.py", line 150, in deploy_bonding_balance_slb
"net_segment_type": segment_type,
File "/home/jenkins/workspace/6.1.system_test.centos.bonding_ha_one_controller/fuelweb_test/__init__.py", line 48, in wrapped
result = func(*args, **kwargs)
File "/home/jenkins/workspace/6.1.system_test.centos.bonding_ha_one_controller/fuelweb_test/helpers/decorators.py", line 110, in wrapper
result = func(*args, **kwargs)
File "/home/jenkins/workspace/6.1.system_test.centos.bonding_ha_one_controller/fuelweb_test/helpers/decorators.py", line 157, in wrapper
result = func(*args, **kwargs)
File "/home/jenkins/workspace/6.1.system_test.centos.bonding_ha_one_controller/fuelweb_test/models/fuel_web_client.py", line 418, in create_cluster
self.update_network_configuration(cluster_id)
File "/home/jenkins/workspace/6.1.system_test.centos.bonding_ha_one_controller/fuelweb_test/__init__.py", line 48, in wrapped
result = func(*args, **kwargs)
File "/home/jenkins/workspace/6.1.system_test.centos.bonding_ha_one_controller/fuelweb_test/models/fuel_web_client.py", line 838, in update_network_configuration
new_settings = self.update_net_settings(net_config)
File "/home/jenkins/workspace/6.1.system_test.centos.bonding_ha_one_controller/fuelweb_test/models/fuel_web_client.py", line 860, in update_net_settings
net_name=net['name'])
File "/home/jenkins/workspace/6.1.system_test.centos.bonding_ha_one_controller/fuelweb_test/models/fuel_web_client.py", line 897, in set_network
pub_subnets = list(ipnet_obj.subnet(27))
AttributeError: 'Network' object has no attribute 'subnet'
Fix proposed to branch: master /review. openstack. org/165505
Review: https:/