[system tests] Setup measter node test failed on thread 7

Bug #1430343 reported by Tatyanka
10
This bug affects 2 people
Affects Status Importance Assigned to Milestone
Fuel for OpenStack
Fix Released
High
Artem Panchenko

Bug Description

'Network' object has no attribute 'split'

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.thread_7/fuelweb_test/helpers/decorators.py", line 65, in wrapper
    return func(*args, **kwargs)
  File "/home/jenkins/workspace/6.1.system_test.centos.thread_7/fuelweb_test/tests/base_test_case.py", line 58, in setup_master
    self.env.setup_environment()
  File "/home/jenkins/workspace/6.1.system_test.centos.thread_7/fuelweb_test/models/environment.py", line 277, in setup_environment
    self.describe_second_admin_interface()
  File "/home/jenkins/workspace/6.1.system_test.centos.thread_7/fuelweb_test/__init__.py", line 48, in wrapped
    result = func(*args, **kwargs)
  File "/home/jenkins/workspace/6.1.system_test.centos.thread_7/fuelweb_test/models/environment.py", line 466, in describe_second_admin_interface
    second_admin_network = admin_net2_object.split('/')[0]
AttributeError: 'Network' object has no attribute 'split'

Tags: system-tests
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/165007

Changed in fuel:
assignee: Fuel QA Team (fuel-qa) → Artem Panchenko (apanchenko-8)
status: Confirmed → In Progress
Changed in fuel:
importance: Medium → High
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to fuel-qa (master)

Reviewed: https://review.openstack.org/165007
Committed: https://git.openstack.org/cgit/stackforge/fuel-qa/commit/?id=0f0b4283db389d3a9ec6b1b115b9f89551aff8d8
Submitter: Jenkins
Branch: master

commit 0f0b4283db389d3a9ec6b1b115b9f89551aff8d8
Author: Artem Panchenko <email address hidden>
Date: Tue Mar 17 12:04:38 2015 +0200

    Fix errors occured while defining 2nd admin net

    Change-Id: I08e5128600ed307f13f24ee669465f78149f8b10
    Closes-bug: #1430343

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

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

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

Reviewed: https://review.openstack.org/165109
Committed: https://git.openstack.org/cgit/stackforge/fuel-devops/commit/?id=1b6a5b50153e9d9f93542a10a30a19de279b5323
Submitter: Jenkins
Branch: master

commit 1b6a5b50153e9d9f93542a10a30a19de279b5323
Author: Artem Panchenko <email address hidden>
Date: Tue Mar 17 15:18:13 2015 +0200

    Fix error occured when 2nd admin net is defined

    If MULTIPLE_NETWORKS is enabled in system tests
    they fail because of legacy code in fuel-devops:
    "AttributeError: 'Environment' object has no
    attribute 'get_virtual_environment'".

    Change-Id: Ia3a372dd0986f82b231b0dd811afb608f78c42ea
    Related-bug: #1430343

Revision history for this message
Dmitry Tyzhnenko (dtyzhnenko) wrote :

Verified on ISO:

{
    u'build_id': u'2015-03-22_22-54-44',
    u'ostf_sha': u'b4d284e9364e30bf5162975c2ba0be6ca0f14ebd',
    u'build_number': u'216',
    u'auth_required': True,
    u'nailgun_sha': u'51974b50c3961be3ed0fdc7859570db2eeb83e9c',
    u'production': u'docker',
    u'api': u'1.0',
    u'python-fuelclient_sha': u'b223dcaf5fdad2f714cd245958fefe03995d6207',
    u'astute_sha': u'4a117a1ca6bdcc34fe4d086959ace1a6d18eeca9',
    u'fuelmain_sha': u'f52e4442df55a2b62637a2cf4038a24ba6f37b6f',
    u'feature_groups': [u'mirantis'],
    u'release': u'6.1',
    u'release_versions': {u'2014.2-6.1': {u'VERSION': {
        u'build_id': u'2015-03-22_22-54-44',
        u'ostf_sha': u'b4d284e9364e30bf5162975c2ba0be6ca0f14ebd',
        u'build_number': u'216',
        u'api': u'1.0',
        u'nailgun_sha': u'51974b50c3961be3ed0fdc7859570db2eeb83e9c',
        u'production': u'docker',
        u'python-fuelclient_sha': u'b223dcaf5fdad2f714cd245958fefe03995d6207',
        u'astute_sha': u'4a117a1ca6bdcc34fe4d086959ace1a6d18eeca9',
        u'feature_groups': [u'mirantis'],
        u'release': u'6.1',
        u'fuelmain_sha': u'f52e4442df55a2b62637a2cf4038a24ba6f37b6f',
        u'fuellib_sha': u'a636c680e3c7d8cc66ed3e03645f38250beb8970',
        }}},
    u'fuellib_sha': u'a636c680e3c7d8cc66ed3e03645f38250beb8970',
    }

And Fuel-qa: https://github.com/stackforge/fuel-qa Revision fcb6fe24f6a9e5433a135aef24dbb2d753d633d3 (origin/master)

Changed in fuel:
status: Fix Committed → Fix Released
Revision history for this message
Dmitry Tyzhnenko (dtyzhnenko) wrote :
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.