the servers context require to set network id when multiple possible networks found
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Rally |
Fix Released
|
Undecided
|
chenhb |
Bug Description
The servers context require to set network id when multiple possible networks found. However, there is not the the related argument in the servers context.
yaml file:
{% set flavor_name = flavor_name or "m1.tiny" %}
---
NovaServers.
-
args:
detailed: True
runner:
type: "constant"
times: 1
context:
users:
tenants: 1
servers:
flavor:
name: "{{flavor_name}}"
image:
name: "^cirros.*01$"
Error message:
2016-06-14 15:25:34.069 19616 ERROR rally.task.engine [-] Multiple possible networks found, use a Network ID to be more specific. (HTTP 400) (Request-ID: req-f5f8e085-
2016-06-14 15:25:34.069 19616 ERROR rally.task.engine Traceback (most recent call last):
2016-06-14 15:25:34.069 19616 ERROR rally.task.engine File "/usr/lib/
2016-06-14 15:25:34.069 19616 ERROR rally.task.engine with context.
2016-06-14 15:25:34.069 19616 ERROR rally.task.engine File "/usr/lib/
2016-06-14 15:25:34.069 19616 ERROR rally.task.engine self.setup()
2016-06-14 15:25:34.069 19616 ERROR rally.task.engine File "/usr/lib/
2016-06-14 15:25:34.069 19616 ERROR rally.task.engine ctx.setup()
2016-06-14 15:25:34.069 19616 ERROR rally.task.engine File "/usr/lib/
2016-06-14 15:25:34.069 19616 ERROR rally.task.engine result = f(self, *args, **kwargs)
2016-06-14 15:25:34.069 19616 ERROR rally.task.engine File "/usr/lib/
2016-06-14 15:25:34.069 19616 ERROR rally.task.engine **kwargs)
2016-06-14 15:25:34.069 19616 ERROR rally.task.engine File "/usr/lib/
2016-06-14 15:25:34.069 19616 ERROR rally.task.engine f = func(self, *args, **kwargs)
2016-06-14 15:25:34.069 19616 ERROR rally.task.engine File "/usr/lib/
2016-06-14 15:25:34.069 19616 ERROR rally.task.engine **kwargs)
2016-06-14 15:25:34.069 19616 ERROR rally.task.engine File "/usr/lib/
2016-06-14 15:25:34.069 19616 ERROR rally.task.engine **boot_kwargs)
2016-06-14 15:25:34.069 19616 ERROR rally.task.engine File "/usr/lib/
2016-06-14 15:25:34.069 19616 ERROR rally.task.engine return_
2016-06-14 15:25:34.069 19616 ERROR rally.task.engine File "/usr/lib/
2016-06-14 15:25:34.069 19616 ERROR rally.task.engine resp, body = self.api.
2016-06-14 15:25:34.069 19616 ERROR rally.task.engine File "/usr/lib/
2016-06-14 15:25:34.069 19616 ERROR rally.task.engine return self._cs_
2016-06-14 15:25:34.069 19616 ERROR rally.task.engine File "/usr/lib/
2016-06-14 15:25:34.069 19616 ERROR rally.task.engine resp, body = self._time_
2016-06-14 15:25:34.069 19616 ERROR rally.task.engine File "/usr/lib/
2016-06-14 15:25:34.069 19616 ERROR rally.task.engine resp, body = self.request(url, method, **kwargs)
2016-06-14 15:25:34.069 19616 ERROR rally.task.engine File "/usr/lib/
2016-06-14 15:25:34.069 19616 ERROR rally.task.engine raise exceptions.
2016-06-14 15:25:34.069 19616 ERROR rally.task.engine BadRequest: Multiple possible networks found, use a Network ID to be more specific. (HTTP 400) (Request-ID: req-f5f8e085-
Changed in rally: | |
assignee: | nobody → chenhb (chen-haibing1) |
Fix proposed to branch: master /review. openstack. org/329308
Review: https:/