Rally scenario boot_and_delete_server_with_keypair failed

Bug #1599813 reported by Yevgeniy
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Fuel Contrail plugin
Invalid
High
Yevgeniy

Bug Description

Subtask Configuration
{
  "NovaKeypair.boot_and_delete_server_with_keypair": [
    {
      "runner": {
        "type": "constant",
        "concurrency": 5,
        "times": 13
      },
      "args": {
        "flavor": {
          "name": "m1.nano"
        },
        "auto_assign_nic": true,
        "image": {
          "name": "TestVM"
        }
      },
      "sla": {
        "failure_rate": {
          "max": 0
        }
      },
      "context": {
        "users": {
          "project_domain": "default",
          "users_per_tenant": 2,
          "tenants": 2,
          "resource_management_workers": 20,
          "user_domain": "default"
        },
        "quotas": {
          "neutron": {
            "subnet": -1,
            "network": -1,
            "port": -1
          },
          "nova": {
            "ram": -1,
            "floating_ips": -1,
            "key_pairs": -1,
            "instances": -1,
            "security_group_rules": -1,
            "cores": -1,
            "security_groups": -1
          }
        },
        "network": {
          "network_create_args": {
            "tenant_id": "5c426fa9fc29460ca6d1d11a2445c8c3",
            "name": "c_rally_b4d23537_QJd8EG6N"
          },
          "subnets_per_network": 1,
          "start_cidr": "1.0.0.0/25",
          "networks_per_tenant": 1
        }
      }
    }
  ]
}

Actual result:
Traceback (most recent call last):
  File "/opt/stack/.venv/lib/python2.7/site-packages/rally/task/runner.py", line 64, in _run_scenario_once
    getattr(scenario_inst, method_name)(**kwargs)
  File "/opt/stack/.venv/lib/python2.7/site-packages/rally/common/logging.py", line 266, in wrapper
    result = f(*args, **kwargs)
  File "/opt/stack/.venv/lib/python2.7/site-packages/rally/plugins/openstack/scenarios/nova/keypairs.py", line 86, in boot_and_delete_server_with_keypair
    keypair = self._create_keypair(**kwargs)
  File "/opt/stack/.venv/lib/python2.7/site-packages/rally/task/atomic.py", line 84, in func_atomic_actions
    f = func(self, *args, **kwargs)
  File "/opt/stack/.venv/lib/python2.7/site-packages/rally/plugins/openstack/scenarios/nova/utils.py", line 521, in _create_keypair
    keypair = self.clients("nova").keypairs.create(keypair_name, **kwargs)
  File "/opt/stack/.venv/lib/python2.7/site-packages/novaclient/api_versions.py", line 378, in substitution
    return methods[-1].func(obj, *args, **kwargs)
TypeError: create() got an unexpected keyword argument 'auto_assign_nic'

More info: http://mos-scale.vm.mirantis.net/test_results/build_8.0.0-570/jenkins-13_env_run_rally-63-ubuntu-MSK-2016-07-06-11:04:31-2016-07-07-02:20:15/rally_report.html#

Tags: contrail
Revision history for this message
Oleksandr Martsyniuk (omartsyniuk) wrote :

It seems like "auto_assign_nic" parameter is not supported for the particular scenario.
Could you please remove the corresponding line and re-start the test?

Changed in fuel-plugin-contrail:
assignee: Oleksandr Martsyniuk (omartsyniuk) → Yevgeniy (yshapovalov)
Revision history for this message
Yevgeniy (yshapovalov) wrote :

Fail caused by contrail specific behavior

Changed in fuel-plugin-contrail:
status: New → Invalid
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.