'netcreate-boot-ping-sec-group' scenario in simple-plugins is giving error with rally version 2.2.0

Bug #1962006 reported by Rajesh Pulapakula
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
openstack-browbeat
New
Undecided
Unassigned

Bug Description

The scenario 'netcreate-boot-ping-sec-group' in simple-plugins is giving no error with rally version 1.6.0. but, when I run it with rally version 2.2.0 its giving error.

Here is how the error looks like :

test scenario BrowbeatPlugin.create_network_nova_boot_ping_sec_groups
args position 0
args values:
{
  "args": {
    "floating": true,
    "flavor": {
      "name": "m1.xtiny"
    },
    "image": {
      "name": "cirros"
    },
    "num_vms": 4,
    "num_sg": 2,
    "num_sgr": 3,
    "ext_net_id": "e21f7ee3-f10f-4638-b2a2-f99561073c7e",
    "network_create_args": {},
    "router_create_args": {},
    "subnet_create_args": {}
  },
  "runner": {
    "concurrency": 8,
    "times": 10
  },
  "contexts": {
    "users": {
      "tenants": 1,
      "users_per_tenant": 1
    },
    "quotas": {
      "neutron": {
        "network": -1,
        "port": -1,
        "router": -1,
        "subnet": -1,
        "floatingip": -1,
        "security_group": -1,
        "security_group_rule": -1
      },
      "nova": {
        "instances": -1,
        "cores": -1,
        "ram": -1
      }
    }
  },
  "sla": {
    "max_avg_duration": 60,
    "max_seconds_per_iteration": 60,
    "failure_rate": {
      "max": 0
    }
  },
  "hooks": []
}

--------------------------------------------------------------------------------
Task 6dadc7f3-a12b-4ffe-8b8e-173128772b4f has 10 error(s)
--------------------------------------------------------------------------------

TypeError: create_security_group_rule() got an unexpected keyword argument 'remote_group_id'

Traceback (most recent call last):
  File "/home/stack/browbeat/.rally-venv/lib/python3.6/site-packages/rally/task/runner.py", line 69, in _run_scenario_once
    getattr(scenario_inst, method_name)(**scenario_kwargs)
  File "rally/rally-plugins/netcreate-boot/netcreate_nova_boot_fip_ping_sec_groups.py", line 58, in run
    num_sgr, security_group_remote["security_group"]["id"]))
  File "rally/rally-plugins/netcreate-boot/netcreate_nova_boot_fip_ping_sec_groups.py", line 104, in _create_security_group_random_rules
    **security_group_rule_args)
  File "/home/stack/browbeat/.rally-venv/lib/python3.6/site-packages/rally_openstack/task/scenarios/neutron/utils.py", line 837, in _create_security_group_rule
    security_group_id, **security_group_rule_args
  File "/home/stack/browbeat/.rally-venv/lib/python3.6/site-packages/rally/task/service.py", line 114, in wrapper
    return func(instance, *args, **kwargs)
  File "/home/stack/browbeat/.rally-venv/lib/python3.6/site-packages/rally/task/atomic.py", line 91, in func_atomic_actions
    f = func(self, *args, **kwargs)
TypeError: create_security_group_rule() got an unexpected keyword argument 'remote_group_id'

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.