[systest] Tests for network templates fail due to new interfaces naming schema: AttributeError: 'NoneType' object has no attribute 'id'

Bug #1523529 reported by Artem Panchenko
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Fuel for OpenStack
Fix Released
High
Artem Panchenko

Bug Description

System tests for networking templates fail due to new interfaces naming schema on slaves:

2015-12-06 23:19:46,407 - ERROR http.py:105 -- Internal Server Error code 500 ['NoneType' object has no attribute 'id']

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.network_templates/fuelweb_test/helpers/decorators.py", line 81, in wrapper
    result = func(*args, **kwargs)
  File "/home/jenkins/workspace/8.0.system_test.ubuntu.network_templates/fuelweb_test/tests/test_net_templates.py", line 176, in deploy_ceph_net_tmpl
    cluster_id=cluster_id, network_template=network_template)
  File "/home/jenkins/workspace/8.0.system_test.ubuntu.network_templates/fuelweb_test/__init__.py", line 57, in wrapped
    result = func(*args, **kwargs)
  File "/home/jenkins/workspace/8.0.system_test.ubuntu.network_templates/fuelweb_test/helpers/decorators.py", line 131, in wrapped
    response = func(*args, **kwargs)
  File "/home/jenkins/workspace/8.0.system_test.ubuntu.network_templates/fuelweb_test/models/nailgun_client.py", line 513, in upload_network_template
    cluster_id), network_template)
  File "/home/jenkins/workspace/8.0.system_test.ubuntu.network_templates/fuelweb_test/helpers/http.py", line 83, in put
    return self._open(req)
  File "/home/jenkins/workspace/8.0.system_test.ubuntu.network_templates/fuelweb_test/helpers/http.py", line 92, in _open
    return self._get_response(req)
  File "/home/jenkins/workspace/8.0.system_test.ubuntu.network_templates/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 500: Internal Server Error

Revision history for this message
Artem Panchenko (apanchenko-8) wrote :
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/254230

Changed in fuel:
assignee: Fuel QA Team (fuel-qa) → Artem Panchenko (apanchenko-8)
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/254230
Committed: https://git.openstack.org/cgit/openstack/fuel-qa/commit/?id=13cdfb622778c4893de0055b0a38b1becfef7dac
Submitter: Jenkins
Branch: master

commit 13cdfb622778c4893de0055b0a38b1becfef7dac
Author: Artem Panchenko <email address hidden>
Date: Mon Dec 7 16:45:22 2015 +0200

    Use predictable interfaces names in net templates

    Change-Id: I4943ae5811918e88ab6d319ea72276f3e7332391
    Closes-bug: #1523529

Changed in fuel:
status: In Progress → 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.