[System Tests] HTTP Error 400: Bad Request updating node networks in deploy_bonding_ha_active_backup

Bug #1323266 reported by Andrey Sledzinskiy
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Fuel for OpenStack
Fix Released
High
Andrey Sledzinskiy
4.1.x
Fix Released
High
Nastya Urlapova
5.0.x
Fix Released
High
Nastya Urlapova

Bug Description

http://jenkins-product.srt.mirantis.net:8080/view/5.0_swarm/job/5.0_fuelmain.system_test.ubuntu.bonding/4/testReport/junit/%28root%29/deploy_bonding_ha_active_backup/deploy_bonding_ha_active_backup/

Test failed with HTTP Error 400: Bad Request updating node networks.
Traceback (most recent call last):
  File "/usr/lib/python2.7/unittest/case.py", line 332, in run
    testMethod()
  File "/usr/lib/python2.7/unittest/case.py", line 1044, in runTest
    self._testFunc()
  File "/home/jenkins/venv-bonding/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-bonding/local/lib/python2.7/site-packages/proboscis/compatability/exceptions_2_6.py", line 27, in capture_type_error
    func()
  File "/home/jenkins/venv-bonding/local/lib/python2.7/site-packages/proboscis/case.py", line 350, in func
    func(test_case.state.get_state())
  File "/home/jenkins/workspace/5.0_fuelmain.system_test.ubuntu.bonding/fuelweb_test/helpers/decorators.py", line 49, in wrapper
    return func(*args, **kwagrs)
  File "/home/jenkins/workspace/5.0_fuelmain.system_test.ubuntu.bonding/fuelweb_test/tests/test_bonding.py", line 304, in deploy_bonding_ha_active_backup
    raw_data=raw_data
  File "/home/jenkins/workspace/5.0_fuelmain.system_test.ubuntu.bonding/fuelweb_test/__init__.py", line 48, in wrapped
    result = func(*args, **kwargs)
  File "/home/jenkins/workspace/5.0_fuelmain.system_test.ubuntu.bonding/fuelweb_test/models/fuel_web_client.py", line 627, in update_node_networks
    [{'id': node_id, 'interfaces': interfaces}])
  File "/home/jenkins/workspace/5.0_fuelmain.system_test.ubuntu.bonding/fuelweb_test/__init__.py", line 48, in wrapped
    result = func(*args, **kwargs)
  File "/home/jenkins/workspace/5.0_fuelmain.system_test.ubuntu.bonding/fuelweb_test/helpers/decorators.py", line 66, in wrapped
    response = func(*args, **kwargs)
  File "/home/jenkins/workspace/5.0_fuelmain.system_test.ubuntu.bonding/fuelweb_test/models/nailgun_client.py", line 165, in put_node_interfaces
    return self.client.put("/api/nodes/interfaces", data)
  File "/home/jenkins/workspace/5.0_fuelmain.system_test.ubuntu.bonding/fuelweb_test/helpers/http.py", line 54, in put
    return self._open(req)
  File "/home/jenkins/workspace/5.0_fuelmain.system_test.ubuntu.bonding/fuelweb_test/helpers/http.py", line 64, in _open
    return self.opener.open(req)
  File "/usr/lib/python2.7/urllib2.py", line 407, in open
    response = meth(req, response)
  File "/usr/lib/python2.7/urllib2.py", line 520, in http_response
    'http', request, response, code, msg, hdrs)
  File "/usr/lib/python2.7/urllib2.py", line 445, in error
    return self._call_chain(*args)
  File "/usr/lib/python2.7/urllib2.py", line 379, in _call_chain
    result = func(*args)
  File "/usr/lib/python2.7/urllib2.py", line 528, in http_error_default
    raise HTTPError(req.get_full_url(), code, msg, hdrs, fp)
HTTPError: HTTP Error 400: Bad Request

Tags: system-tests
Revision history for this message
Andrey Sledzinskiy (asledzinskiy) wrote :
Changed in fuel:
status: New → Confirmed
Changed in fuel:
assignee: Fuel QA Team (fuel-qa) → Andrey Sledzinskiy (asledzinskiy)
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to fuel-main (master)

Fix proposed to branch: master
Review: https://review.openstack.org/96375

Changed in fuel:
status: Confirmed → In Progress
Changed in fuel:
assignee: Andrey Sledzinskiy (asledzinskiy) → Tatyana (tatyana-leontovich)
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to fuel-main (master)

Reviewed: https://review.openstack.org/96375
Committed: https://git.openstack.org/cgit/stackforge/fuel-main/commit/?id=92146c22b30d1a6a98e8dc839e6bc66615cb13f8
Submitter: Jenkins
Branch: master

commit 92146c22b30d1a6a98e8dc839e6bc66615cb13f8
Author: asledzinskiy <email address hidden>
Date: Thu May 29 10:22:52 2014 +0300

    Fix for deploy bonding ha active backup

    Add private network to bonding because private
    network wasn't assigned to any interface so that
    we get 400 bad request trying to update network settings

    Change-Id: I5d786e81ae5f7561d5218a77083f327149a902e4
    Closes-Bug: #1323266

Changed in fuel:
status: In Progress → Fix Committed
Changed in fuel:
assignee: Tatyana (tatyana-leontovich) → Andrey Sledzinskiy (asledzinskiy)
Changed in fuel:
status: Fix Committed → Fix Released
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to fuel-main (stable/4.1)

Fix proposed to branch: stable/4.1
Review: https://review.openstack.org/98063

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to fuel-main (stable/4.1)

Reviewed: https://review.openstack.org/98063
Committed: https://git.openstack.org/cgit/stackforge/fuel-main/commit/?id=a155f81f198443a4f29048ec765ba4f5ceecd678
Submitter: Jenkins
Branch: stable/4.1

commit a155f81f198443a4f29048ec765ba4f5ceecd678
Author: asledzinskiy <email address hidden>
Date: Thu May 29 10:22:52 2014 +0300

    Fix for deploy bonding ha active backup

    Add private network to bonding because private
    network wasn't assigned to any interface so that
    we get 400 bad request trying to update network settings

    Change-Id: I5d786e81ae5f7561d5218a77083f327149a902e4
    Closes-Bug: #1323266
    (cherry picked from commit 92146c22b30d1a6a98e8dc839e6bc66615cb13f8)

Changed in fuel:
status: Fix Released → Confirmed
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to fuel-main (stable/5.0)

Fix proposed to branch: stable/5.0
Review: https://review.openstack.org/104191

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to fuel-main (stable/5.0)

Reviewed: https://review.openstack.org/104191
Committed: https://git.openstack.org/cgit/stackforge/fuel-main/commit/?id=f6f6f97383114f6facb083adf7255308ca544e24
Submitter: Jenkins
Branch: stable/5.0

commit f6f6f97383114f6facb083adf7255308ca544e24
Author: asledzinskiy <email address hidden>
Date: Thu May 29 10:22:52 2014 +0300

    Fix for deploy bonding ha active backup

    Add private network to bonding because private
    network wasn't assigned to any interface so that
    we get 400 bad request trying to update network settings

    Change-Id: I5d786e81ae5f7561d5218a77083f327149a902e4
    Closes-Bug: #1323266
    (cherry picked from commit 92146c22b30d1a6a98e8dc839e6bc66615cb13f8)

Changed in fuel:
status: Confirmed → Fix Committed
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

Bug attachments

Remote bug watches

Bug watches keep track of this bug in other bug trackers.