[system-test]cli tests are failed with deprecated argument --nst/--net-segment-type:

Bug #1516051 reported by Tatyanka
14
This bug affects 2 people
Affects Status Importance Assigned to Milestone
Fuel for OpenStack
Fix Released
High
Egor Kotko

Bug Description

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': []}

Tags: area-qa
summary: - [system-test]cli tests are failed with argument --nst/--net-segment-
- type:
+ [system-test]cli tests are failed with deprecated argument --nst/--net-
+ segment-type:
Egor Kotko (ykotko)
Changed in fuel:
assignee: Fuel QA Team (fuel-qa) → Egor Kotko (ykotko)
Artem Roma (aroma-x)
Changed in fuel:
status: New → Confirmed
Changed in fuel:
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/245458
Committed: https://git.openstack.org/cgit/openstack/fuel-qa/commit/?id=ae8208eb78a8e0e475741b60229903b01cbfec0f
Submitter: Jenkins
Branch: master

commit ae8208eb78a8e0e475741b60229903b01cbfec0f
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: I61d48cfa9d715b0162536f50c372646d89783667
    Closes-Bug: #1516051

Changed in fuel:
status: In Progress → Fix Committed
Revision history for this message
Tatyanka (tatyana-leontovich) wrote :

verified on latest swarm run

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.

Duplicates of this bug

Other bug subscribers

Remote bug watches

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