[system tests]Platform system tests fails on OS deployments with neutron

Bug #1381909 reported by Sergey Murashov
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Fuel for OpenStack
Fix Released
Critical
Timur Nurlygayanov

Bug Description

Steps to reproduce:
Run platform system tests, which use OS deployments with neutron

Actual result:
Tests would fail

======================================================================
ERROR: Deploy cluster in simple mode with Sahara and Neutron GRE
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/python2.7/dist-packages/proboscis/case.py", line 296, in testng_method_mistake_capture_func
    compatability.capture_type_error(s_func)
  File "/usr/lib/python2.7/dist-packages/proboscis/compatability/exceptions_2_6.py", line 27, in capture_type_error
    func()
  File "/usr/lib/python2.7/dist-packages/proboscis/case.py", line 350, in func
    func(test_case.state.get_state())
  File "/home/jenkins/workspace/6.0_fuelmain.system_test.ubuntu.services_simple/fuelweb_test/helpers/decorators.py", line 53, in wrapper
    return func(*args, **kwagrs)
  File "/home/jenkins/workspace/6.0_fuelmain.system_test.ubuntu.services_simple/fuelweb_test/tests/test_services.py", line 91, in deploy_sahara_simple_gre
    'slave-01', smiles_count=5, networks_count=1, timeout=300)
  File "/home/jenkins/workspace/6.0_fuelmain.system_test.ubuntu.services_simple/fuelweb_test/__init__.py", line 48, in wrapped
    result = func(*args, **kwargs)
  File "/home/jenkins/workspace/6.0_fuelmain.system_test.ubuntu.services_simple/fuelweb_test/models/fuel_web_client.py", line 115, in assert_cluster_ready
    timeout=timeout)
  File "/home/jenkins/venv-nailgun-tests/local/lib/python2.7/site-packages/devops/helpers/helpers.py", line 111, in _wait
    return raising_predicate()
  File "/home/jenkins/workspace/6.0_fuelmain.system_test.ubuntu.services_simple/fuelweb_test/models/fuel_web_client.py", line 114, in <lambda>
    networks_count=networks_count),
  File "/home/jenkins/workspace/6.0_fuelmain.system_test.ubuntu.services_simple/fuelweb_test/__init__.py", line 48, in wrapped
    result = func(*args, **kwargs)
  File "/home/jenkins/workspace/6.0_fuelmain.system_test.ubuntu.services_simple/fuelweb_test/models/fuel_web_client.py", line 74, in get_cluster_status
    checkers.verify_network_list(networks_count, ssh_remote)
  File "/home/jenkins/workspace/6.0_fuelmain.system_test.ubuntu.services_simple/fuelweb_test/__init__.py", line 48, in wrapped
    result = func(*args, **kwargs)
  File "/home/jenkins/workspace/6.0_fuelmain.system_test.ubuntu.services_simple/fuelweb_test/helpers/checkers.py", line 161, in verify_network_list
    ret = remote.check_call('/usr/bin/nova-manage network list')
  File "/home/jenkins/venv-nailgun-tests/local/lib/python2.7/site-packages/devops/helpers/helpers.py", line 198, in check_call
    ret['stdout'] + ret['stderr'])
DevopsCalledProcessError: Command '/usr/bin/nova-manage network list' returned non-zero exit status 2
ERROR: Network commands are not supported when using the Neutron API. Use python-neutronclient instead.

======================================================================
ERROR: Deploy cluster in simple mode with Murano and Neutron GRE
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/python2.7/dist-packages/proboscis/case.py", line 296, in testng_method_mistake_capture_func
    compatability.capture_type_error(s_func)
  File "/usr/lib/python2.7/dist-packages/proboscis/compatability/exceptions_2_6.py", line 27, in capture_type_error
    func()
  File "/usr/lib/python2.7/dist-packages/proboscis/case.py", line 350, in func
    func(test_case.state.get_state())
  File "/home/jenkins/workspace/6.0_fuelmain.system_test.ubuntu.services_simple/fuelweb_test/helpers/decorators.py", line 53, in wrapper
    return func(*args, **kwagrs)
  File "/home/jenkins/workspace/6.0_fuelmain.system_test.ubuntu.services_simple/fuelweb_test/tests/test_services.py", line 288, in deploy_murano_simple_gre
    'slave-01', smiles_count=5, networks_count=1, timeout=300)
  File "/home/jenkins/workspace/6.0_fuelmain.system_test.ubuntu.services_simple/fuelweb_test/__init__.py", line 48, in wrapped
    result = func(*args, **kwargs)
  File "/home/jenkins/workspace/6.0_fuelmain.system_test.ubuntu.services_simple/fuelweb_test/models/fuel_web_client.py", line 115, in assert_cluster_ready
    timeout=timeout)
  File "/home/jenkins/venv-nailgun-tests/local/lib/python2.7/site-packages/devops/helpers/helpers.py", line 111, in _wait
    return raising_predicate()
  File "/home/jenkins/workspace/6.0_fuelmain.system_test.ubuntu.services_simple/fuelweb_test/models/fuel_web_client.py", line 114, in <lambda>
    networks_count=networks_count),
  File "/home/jenkins/workspace/6.0_fuelmain.system_test.ubuntu.services_simple/fuelweb_test/__init__.py", line 48, in wrapped
    result = func(*args, **kwargs)
  File "/home/jenkins/workspace/6.0_fuelmain.system_test.ubuntu.services_simple/fuelweb_test/models/fuel_web_client.py", line 74, in get_cluster_status
    checkers.verify_network_list(networks_count, ssh_remote)
  File "/home/jenkins/workspace/6.0_fuelmain.system_test.ubuntu.services_simple/fuelweb_test/__init__.py", line 48, in wrapped
    result = func(*args, **kwargs)
  File "/home/jenkins/workspace/6.0_fuelmain.system_test.ubuntu.services_simple/fuelweb_test/helpers/checkers.py", line 161, in verify_network_list
    ret = remote.check_call('/usr/bin/nova-manage network list')
  File "/home/jenkins/venv-nailgun-tests/local/lib/python2.7/site-packages/devops/helpers/helpers.py", line 198, in check_call
    ret['stdout'] + ret['stderr'])
DevopsCalledProcessError: Command '/usr/bin/nova-manage network list' returned non-zero exit status 2
ERROR: Network commands are not supported when using the Neutron API. Use python-neutronclient instead.

======================================================================
ERROR: Deploy Heat cluster in simple mode with Neutron GRE
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/python2.7/dist-packages/proboscis/case.py", line 296, in testng_method_mistake_capture_func
    compatability.capture_type_error(s_func)
  File "/usr/lib/python2.7/dist-packages/proboscis/compatability/exceptions_2_6.py", line 27, in capture_type_error
    func()
  File "/usr/lib/python2.7/dist-packages/proboscis/case.py", line 350, in func
    func(test_case.state.get_state())
  File "/home/jenkins/workspace/6.0_fuelmain.system_test.ubuntu.services_simple/fuelweb_test/helpers/decorators.py", line 53, in wrapper
    return func(*args, **kwagrs)
  File "/home/jenkins/workspace/6.0_fuelmain.system_test.ubuntu.services_simple/fuelweb_test/tests/test_services.py", line 779, in deploy_heat_simple_neutron
    'slave-01', smiles_count=5, networks_count=1, timeout=300)
  File "/home/jenkins/workspace/6.0_fuelmain.system_test.ubuntu.services_simple/fuelweb_test/__init__.py", line 48, in wrapped
    result = func(*args, **kwargs)
  File "/home/jenkins/workspace/6.0_fuelmain.system_test.ubuntu.services_simple/fuelweb_test/models/fuel_web_client.py", line 115, in assert_cluster_ready
    timeout=timeout)
  File "/home/jenkins/venv-nailgun-tests/local/lib/python2.7/site-packages/devops/helpers/helpers.py", line 111, in _wait
    return raising_predicate()
  File "/home/jenkins/workspace/6.0_fuelmain.system_test.ubuntu.services_simple/fuelweb_test/models/fuel_web_client.py", line 114, in <lambda>
    networks_count=networks_count),
  File "/home/jenkins/workspace/6.0_fuelmain.system_test.ubuntu.services_simple/fuelweb_test/__init__.py", line 48, in wrapped
    result = func(*args, **kwargs)
  File "/home/jenkins/workspace/6.0_fuelmain.system_test.ubuntu.services_simple/fuelweb_test/models/fuel_web_client.py", line 74, in get_cluster_status
    checkers.verify_network_list(networks_count, ssh_remote)
  File "/home/jenkins/workspace/6.0_fuelmain.system_test.ubuntu.services_simple/fuelweb_test/__init__.py", line 48, in wrapped
    result = func(*args, **kwargs)
  File "/home/jenkins/workspace/6.0_fuelmain.system_test.ubuntu.services_simple/fuelweb_test/helpers/checkers.py", line 161, in verify_network_list
    ret = remote.check_call('/usr/bin/nova-manage network list')
  File "/home/jenkins/venv-nailgun-tests/local/lib/python2.7/site-packages/devops/helpers/helpers.py", line 198, in check_call
    ret['stdout'] + ret['stderr'])
DevopsCalledProcessError: Command '/usr/bin/nova-manage network list' returned non-zero exit status 2
ERROR: Network commands are not supported when using the Neutron API. Use python-neutronclient instead.

Tags: system-tests
Changed in fuel:
milestone: none → 6.0
assignee: nobody → Fuel QA Team (fuel-qa)
Changed in fuel:
assignee: Fuel QA Team (fuel-qa) → Timur Nurlygayanov (tnurlygayanov)
Revision history for this message
Timur Nurlygayanov (tnurlygayanov) wrote :

Fuel library team, looks like we have this bug because Nova don't support this command in new release on OpenStack.

Instead of this we need to use 'neutron network-list' command when we deploy OpenStack clouds with Neutron - we need to fix it in Fuel library (or fuel main?) repository, so, looks like Fuel library team can fix it.

Fix in Nova:
https://review.openstack.org/#/c/87103/

Changed in fuel:
assignee: Timur Nurlygayanov (tnurlygayanov) → Fuel Library Team (fuel-library)
importance: Undecided → Critical
status: New → Confirmed
Changed in fuel:
assignee: Fuel Library Team (fuel-library) → Fuel QA Team (fuel-qa)
status: Confirmed → Triaged
Revision history for this message
Bogdan Dobrelya (bogdando) wrote :

Please adjust the test cases to use neutron network-list instead of deprecated /usr/bin/nova-manage network list

Changed in fuel:
assignee: Fuel QA Team (fuel-qa) → Timur Nurlygayanov (tnurlygayanov)
Revision history for this message
Tatyanka (tatyana-leontovich) wrote :

guys, issue if fixed https://review.openstack.org/#/c/132293/1 , so we can close the issue. I walked trough swarm 6.0 tests. and can confirm that issue is not reproduce

Changed in fuel:
status: Triaged → Fix Committed
Revision history for this message
Tatyanka (tatyana-leontovich) wrote :
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

Remote bug watches

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