[system tests] Test for bonding failed with Value Error: prefix length diff 51 is invalid for netblock 10.109.16.0/24

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

Bug Description

http://jenkins-product.srt.mirantis.net:8080/job/6.1.system_test.centos.bonding_ha/58/testReport/%28root%29/deploy_bonding_ha_balance_slb/deploy_bonding_ha_balance_slb/?
http://jenkins-product.srt.mirantis.net:8080/job/6.1.system_test.centos.bonding_ha/58/testReport/%28root%29/deploy_bonding_ha_active_backup/deploy_bonding_ha_active_backup/?

Error Message

prefix length diff 51 is invalid for netblock 10.109.16.0/24

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/6.1.system_test.centos.bonding_ha/fuelweb_test/helpers/decorators.py", line 65, in wrapper
    return func(*args, **kwargs)
  File "/home/jenkins/workspace/6.1.system_test.centos.bonding_ha/fuelweb_test/tests/test_bonding.py", line 334, in deploy_bonding_ha_balance_slb
    "net_segment_type": segment_type,
  File "/home/jenkins/workspace/6.1.system_test.centos.bonding_ha/fuelweb_test/__init__.py", line 48, in wrapped
    result = func(*args, **kwargs)
  File "/home/jenkins/workspace/6.1.system_test.centos.bonding_ha/fuelweb_test/helpers/decorators.py", line 109, in wrapper
    result = func(*args, **kwargs)
  File "/home/jenkins/workspace/6.1.system_test.centos.bonding_ha/fuelweb_test/helpers/decorators.py", line 156, in wrapper
    result = func(*args, **kwargs)
  File "/home/jenkins/workspace/6.1.system_test.centos.bonding_ha/fuelweb_test/models/fuel_web_client.py", line 428, in create_cluster
    self.update_network_configuration(cluster_id)
  File "/home/jenkins/workspace/6.1.system_test.centos.bonding_ha/fuelweb_test/__init__.py", line 48, in wrapped
    result = func(*args, **kwargs)
  File "/home/jenkins/workspace/6.1.system_test.centos.bonding_ha/fuelweb_test/models/fuel_web_client.py", line 847, in update_network_configuration
    new_settings = self.update_net_settings(net_config)
  File "/home/jenkins/workspace/6.1.system_test.centos.bonding_ha/fuelweb_test/models/fuel_web_client.py", line 869, in update_net_settings
    net_name=net['name'])
  File "/home/jenkins/workspace/6.1.system_test.centos.bonding_ha/fuelweb_test/models/fuel_web_client.py", line 906, in set_network
    pub_subnets = list(ip_obj.subnet(27))
  File "/home/jenkins/venv-nailgun-tests-2.9/local/lib/python2.7/site-packages/ipaddr.py", line 1006, in subnet
    return list(self.iter_subnets(prefixlen_diff, new_prefix))
  File "/home/jenkins/venv-nailgun-tests-2.9/local/lib/python2.7/site-packages/ipaddr.py", line 981, in iter_subnets
    new_prefixlen, str(self)))
ValueError: prefix length diff 51 is invalid for netblock 10.109.16.0/24

Tags: system-tests
summary: - [system tests] Test for bonfig failed with Value Error: prefix length
+ [system tests] Test for bonding failed with Value Error: prefix length
diff 51 is invalid for netblock 10.109.16.0/24
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/165082

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/165082
Committed: https://git.openstack.org/cgit/stackforge/fuel-qa/commit/?id=e6683387454545bc50c4f9d8137a21441da61834
Submitter: Jenkins
Branch: master

commit e6683387454545bc50c4f9d8137a21441da61834
Author: Dmitry Tyzhnenko <email address hidden>
Date: Tue Mar 17 15:35:42 2015 +0200

    Fix set_network in fuel_web_client bonding

    Fix getting network range for bonding network in fuel_web_client

    Change-Id: I188311316592526ff9f1100d9aca1247ff8238d5
    Closes-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/165505

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Related 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

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.