Unexpected exit_code returned: actual 2, expected 0. Command: 'fuel env create --name=CommandLineTest --release=2 --net=neutron --nst=vlan --json' Details: {'host': '10.109.0.2', 'command': 'fuel env create --name=CommandLineTest --release=2 --net=neutron --nst=vlan --json', 'exit_code': 2, 'stderr': ['usage: fuel environment [-h] [--env ENV]\n', ' [--list | --set | --delete | --create | --update]\n', ' [--release RELEASE] [--force] [--name NAME]\n', ' [--nst {gre,vlan,tun}] [--deployment-tasks]\n', ' [--attributes] [--download | --upload] [--dir DIR]\n', "fuel environment: error: argument --nst/--net-segment-type: invalid choice: 'neutron' (choose from 'gre', 'vlan', 'tun')\n"], 'stdout': []}
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.command_line/fuelweb_test/helpers/decorators.py", line 80, in wrapper
result = func(*args, **kwargs)
File "/home/jenkins/workspace/8.0.system_test.ubuntu.command_line/fuelweb_test/tests/test_cli.py", line 130, in cli_selected_nodes_deploy
env_result = run_on_remote(remote, cmd, jsonify=True)
File "/home/jenkins/workspace/8.0.system_test.ubuntu.command_line/fuelweb_test/helpers/utils.py", line 332, in run_on_remote
return run_on_remote_get_results(*args, **kwargs)['stdout_json']
File "/home/jenkins/workspace/8.0.system_test.ubuntu.command_line/fuelweb_test/__init__.py", line 58, in wrapped
result = func(*args, **kwargs)
File "/home/jenkins/workspace/8.0.system_test.ubuntu.command_line/fuelweb_test/helpers/utils.py", line 373, in run_on_remote_get_results
raise Exception(log_msg)
Exception: Unexpected exit_code returned: actual 2, expected 0. Command: 'fuel env create --name=CommandLineTest --release=2 --net=neutron --nst=vlan --json' Details: {'host': '10.109.0.2', 'command': 'fuel env create --name=CommandLineTest --release=2 --net=neutron --nst=vlan --json', 'exit_code': 2, 'stderr': ['usage: fuel environment [-h] [--env ENV]\n', ' [--list | --set | --delete | --create | --update]\n', ' [--release RELEASE] [--force] [--name NAME]\n', ' [--nst {gre,vlan,tun}] [--deployment-tasks]\n', ' [--attributes] [--download | --upload] [--dir DIR]\n', "fuel environment: error: argument --nst/--net-segment-type: invalid choice: 'neutron' (choose from 'gre', 'vlan', 'tun')\n"], 'stdout': []}
Reviewed: https:/ /review. openstack. org/245458 /git.openstack. org/cgit/ openstack/ fuel-qa/ commit/ ?id=ae8208eb78a 8e0e475741b6022 9903b01cbfec0f
Committed: https:/
Submitter: Jenkins
Branch: master
commit ae8208eb78a8e0e 475741b60229903 b01cbfec0f
Author: Egor Kotko <email address hidden>
Date: Sat Nov 14 22:32:28 2015 +0100
Fix cli parameter
Delete '--net' parameter,
due to existing only single net provider type
and removing '--net' parameter from the fuel-client
Change-Id: I61d48cfa9d715b 0162536f50c3726 46d89783667
Closes-Bug: #1516051