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.
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: /review. openstack. org/#/c/ 87103/
https:/