[System Tests] Bonding: AttributeError: 'Network' object has no attribute 'subnet'

Bug #1433656 reported by Alexander Kurenyshev
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Fuel for OpenStack
Fix Released
Medium
Dmitry Tyzhnenko

Bug Description

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'

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/165505

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

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

commit 67ce59fdb7dd0fde42cc7837e93f8cef95748cc2
Author: Dmitry Tyzhnenko <email address hidden>
Date: Wed Mar 18 18:48:43 2015 +0200

    Fix network spliting in set_network

    Change-Id: Ibf2e772054bfa8ede82dfe3e3df2e88e9700625e
    Closes-bug: #1433656
    Related-bug: #1430338

Changed in fuel:
status: In Progress → Fix Committed
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Related fix proposed to fuel-qa (master)

Related fix proposed to branch: master
Review: https://review.openstack.org/166245

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

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

commit 1588ac256091bab334534b236b06e4dd6689e61f
Author: Dmitry Tyzhnenko <email address hidden>
Date: Fri Mar 20 16:21:10 2015 +0200

    Change netaddr to ipaddr in fuel_web_client.py

    Change-Id: I1d91a02fd171849219fe68f50b49117449a01d53
    Closes-bug: #1434519
    Related-bug: #1433656
    Related-bug: #1430338

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.