[systest] Test 'deploy_cinder_net_tmpl' fails because unused 'ceph' network roles are assigned to node (template)

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

Bug Description

Test 'deploy_cinder_net_tmpl' fails during services check, because unused 'ceph/replication' and 'ceph/radosgw' network roles are assigned to nodes in networking template:

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/7.0.system_test.ubuntu.network_templates/fuelweb_test/helpers/decorators.py", line 80, in wrapper
    result = func(*args, **kwargs)
  File "/home/jenkins/workspace/7.0.system_test.ubuntu.network_templates/fuelweb_test/tests/test_net_templates.py", line 101, in deploy_cinder_net_tmpl
    self.check_services_networks(cluster_id, network_template)
  File "/home/jenkins/workspace/7.0.system_test.ubuntu.network_templates/fuelweb_test/__init__.py", line 58, in wrapped
    result = func(*args, **kwargs)
  File "/home/jenkins/workspace/7.0.system_test.ubuntu.network_templates/fuelweb_test/tests/test_net_templates_base.py", line 355, in check_services_networks
    iface_name)])
  File "/home/jenkins/workspace/7.0.system_test.ubuntu.network_templates/fuelweb_test/__init__.py", line 58, in wrapped
    result = func(*args, **kwargs)
  File "/home/jenkins/workspace/7.0.system_test.ubuntu.network_templates/fuelweb_test/tests/test_net_templates_base.py", line 126, in get_interface_ips
    "Device {0} not found on remote node!".format(iface_name))
  File "/home/jenkins/venv-nailgun-tests-2.9/local/lib/python2.7/site-packages/proboscis/asserts.py", line 55, in assert_equal
    raise ASSERTION_ERROR(message)
AssertionError: Device br-cephrepl not found on remote node!

https://github.com/stackforge/fuel-qa/blob/720f40f41817d4e3b5fce2edd6fd5779dd9ac0f5/fuelweb_test/network_templates/ceph.yaml#L326-L327

Since it's necessary to describe all network roles in net template (if just remove them deployment fails on pre-check: 'Network roles ceph/radosgw, ceph/replication are missing from network configuration template'), we need to move unused in deployment with CinderLVM network roles to separate sub-template.

Tags: area-qa
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/221553

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

commit b40aab4a077600df3bb5c97abc64be1c399be658
Author: Artem Panchenko <email address hidden>
Date: Wed Sep 9 03:30:04 2015 +0300

    Fix incorrect network roles usage in system tests

    Move unused network roles to separate section in networking
    template.
    Add service 'swift-replication' and check that correct
    network is used by Swift for replication.

    Change-Id: Iedde7ca2cc3dd760d79b3f9444e2ddaefac9336a
    Closes-bug: #1493603

Changed in fuel:
status: In Progress → Fix Committed
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to fuel-qa (stable/7.0)

Fix proposed to branch: stable/7.0
Review: https://review.openstack.org/221647

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

Reviewed: https://review.openstack.org/221647
Committed: https://git.openstack.org/cgit/stackforge/fuel-qa/commit/?id=78e54a8be30a7c5234e89159fca0a44016a275bd
Submitter: Jenkins
Branch: stable/7.0

commit 78e54a8be30a7c5234e89159fca0a44016a275bd
Author: Artem Panchenko <email address hidden>
Date: Wed Sep 9 03:30:04 2015 +0300

    Fix incorrect network roles usage in system tests

    Move unused network roles to separate section in networking
    template.
    Add service 'swift-replication' and check that correct
    network is used by Swift for replication.

    Change-Id: Iedde7ca2cc3dd760d79b3f9444e2ddaefac9336a
    Closes-bug: #1493603
    (cherry picked from commit b40aab4a077600df3bb5c97abc64be1c399be658)

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

Verified on CI - https://product-ci.infra.mirantis.net/view/7.0_swarm/job/7.0.system_test.ubuntu.network_templates/22/testReport/(root)/deploy_cinder_net_tmpl/

ISO version: {
 "build_id": "296",
 "build_number": "296",
 "auth_required": true,
 "fuel-ostf_sha": "1f08e6e71021179b9881a824d9c999957fcc7045",
 "fuel-library_sha": "f2eef7717b15c6c0a3e76ef98ad4c7c4532d56f9",
 "nailgun_sha": "16a39d40120dd4257698795f12de4ae8200b1778",
 "openstack_version": "2015.1.0-7.0",
 "fuel-nailgun-agent_sha": "d7027952870a35db8dc52f185bb1158cdd3d1ebd",
 "fuel-agent_sha": "082a47bf014002e515001be05f99040437281a2d",
 "api": "1.0",
 "python-fuelclient_sha": "2864459e27b0510a0f7aedac6cdf27901ef5c481",
 "astute_sha": "6c5b73f93e24cc781c809db9159927655ced5012",
 "fuelmain_sha": "6b83d6a6a75bf7bca3177fcf63b2eebbf1ad0a85",
 "feature_groups": [
  "mirantis"
 ],
 "release": "7.0",
 "release_versions": {
  "2015.1.0-7.0": {
   "VERSION": {
    "build_id": "296",
    "build_number": "296",
    "fuel-library_sha": "f2eef7717b15c6c0a3e76ef98ad4c7c4532d56f9",
    "nailgun_sha": "16a39d40120dd4257698795f12de4ae8200b1778",
    "fuel-ostf_sha": "1f08e6e71021179b9881a824d9c999957fcc7045",
    "fuel-nailgun-agent_sha": "d7027952870a35db8dc52f185bb1158cdd3d1ebd",
    "fuel-agent_sha": "082a47bf014002e515001be05f99040437281a2d",
    "api": "1.0",
    "python-fuelclient_sha": "2864459e27b0510a0f7aedac6cdf27901ef5c481",
    "astute_sha": "6c5b73f93e24cc781c809db9159927655ced5012",
    "fuelmain_sha": "6b83d6a6a75bf7bca3177fcf63b2eebbf1ad0a85",
    "feature_groups": [
     "mirantis"
    ],
    "release": "7.0",
    "openstack_version": "2015.1.0-7.0",
    "production": "docker"
   }
  }
 },
 "production": "docker"
}

Dmitry Pyzhov (dpyzhov)
tags: added: area-qa
Dmitry Pyzhov (dpyzhov)
Changed in fuel:
milestone: 7.0 → 8.0
tags: removed: non-release
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.