deploy_neutron_tun_ha_backup_restore test failed on update networks with HTTP Error 400: Bad Request

Bug #1523430 reported by Andrey Sledzinskiy
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Fuel for OpenStack
Invalid
High
Alexander Kurenyshev

Bug Description

https://github.com/openstack/fuel-qa/blob/master/fuelweb_test/tests/test_backup_restore.py#L171

Test failed on updating node networks

deploy_neutron_tun_ha_backup_restore.deploy_neutron_tun_ha_backup_restore test failed with

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.backup_restore_master/fuelweb_test/helpers/decorators.py", line 81, in wrapper
    result = func(*args, **kwargs)
  File "/home/jenkins/workspace/8.0.system_test.ubuntu.backup_restore_master/fuelweb_test/tests/test_backup_restore.py", line 186, in deploy_neutron_tun_ha_backup_restore
    snapshot_name="deploy_neutron_tun_ha_backup_restore")
  File "/home/jenkins/workspace/8.0.system_test.ubuntu.backup_restore_master/fuelweb_test/tests/test_neutron_tun_base.py", line 49, in deploy_neutron_tun_ha_base
    'slave-05': ['compute']
  File "/home/jenkins/workspace/8.0.system_test.ubuntu.backup_restore_master/fuelweb_test/__init__.py", line 57, in wrapped
    result = func(*args, **kwargs)
  File "/home/jenkins/workspace/8.0.system_test.ubuntu.backup_restore_master/fuelweb_test/models/fuel_web_client.py", line 1143, in update_nodes
    self.update_nodes_interfaces(cluster_id, updated_nodes)
  File "/home/jenkins/workspace/8.0.system_test.ubuntu.backup_restore_master/fuelweb_test/__init__.py", line 57, in wrapped
    result = func(*args, **kwargs)
  File "/home/jenkins/workspace/8.0.system_test.ubuntu.backup_restore_master/fuelweb_test/models/fuel_web_client.py", line 1348, in update_nodes_interfaces
    self.update_node_networks(node['id'], assigned_networks)
  File "/home/jenkins/workspace/8.0.system_test.ubuntu.backup_restore_master/fuelweb_test/__init__.py", line 57, in wrapped
    result = func(*args, **kwargs)
  File "/home/jenkins/workspace/8.0.system_test.ubuntu.backup_restore_master/fuelweb_test/models/fuel_web_client.py", line 1207, in update_node_networks
    [{'id': node_id, 'interfaces': interfaces}])
  File "/home/jenkins/workspace/8.0.system_test.ubuntu.backup_restore_master/fuelweb_test/__init__.py", line 57, in wrapped
    result = func(*args, **kwargs)
  File "/home/jenkins/workspace/8.0.system_test.ubuntu.backup_restore_master/fuelweb_test/helpers/decorators.py", line 131, in wrapped
    response = func(*args, **kwargs)
  File "/home/jenkins/workspace/8.0.system_test.ubuntu.backup_restore_master/fuelweb_test/models/nailgun_client.py", line 223, in put_node_interfaces
    return self.client.put("/api/nodes/interfaces", data)
  File "/home/jenkins/workspace/8.0.system_test.ubuntu.backup_restore_master/fuelweb_test/helpers/http.py", line 83, in put
    return self._open(req)
  File "/home/jenkins/workspace/8.0.system_test.ubuntu.backup_restore_master/fuelweb_test/helpers/http.py", line 92, in _open
    return self._get_response(req)
  File "/home/jenkins/workspace/8.0.system_test.ubuntu.backup_restore_master/fuelweb_test/helpers/http.py", line 116, in _get_response
    return self.opener.open(req)
  File "/usr/lib/python2.7/urllib2.py", line 410, in open
    response = meth(req, response)
  File "/usr/lib/python2.7/urllib2.py", line 523, in http_response
    'http', request, response, code, msg, hdrs)
  File "/usr/lib/python2.7/urllib2.py", line 448, in error
    return self._call_chain(*args)
  File "/usr/lib/python2.7/urllib2.py", line 382, in _call_chain
    result = func(*args)
  File "/usr/lib/python2.7/urllib2.py", line 531, in http_error_default
    raise HTTPError(req.get_full_url(), code, msg, hdrs, fp)
HTTPError: HTTP Error 400: Bad Request

Tags: area-qa
Revision history for this message
Andrey Sledzinskiy (asledzinskiy) wrote :
Changed in fuel:
status: New → Confirmed
Revision history for this message
Bogdan Dobrelya (bogdando) wrote :

raised to crit as it is bvt blocker

Changed in fuel:
importance: High → Critical
Revision history for this message
Nastya Urlapova (aurlapova) wrote :

Bogdan, this case is not related to bvt.

Changed in fuel:
importance: Critical → High
description: updated
Changed in fuel:
assignee: Fuel QA Team (fuel-qa) → Alexander Kurenyshev (akurenyshev)
Revision history for this message
Alexander Kurenyshev (akurenyshev) wrote :

Couldn't reproduce at the local environment, tried for many times in a loop and there is no luck http://paste.openstack.org/show/482195/

Changed in fuel:
status: Confirmed → Invalid
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.