Skip to content

Instantly share code, notes, and snippets.

Created August 15, 2016 13:20
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save anonymous/490203875d090b8191669dde364e6cbc to your computer and use it in GitHub Desktop.
Save anonymous/490203875d090b8191669dde364e6cbc to your computer and use it in GitHub Desktop.
root@benchmarking:~# rally task start --task /tasks/boot-delete/boot-delete.yaml --task-args-file /tasks/boot-delete/boot-delete-args.yaml
Option "verbose" from group "DEFAULT" is deprecated for removal. Its value may be silently ignored in the future.
--------------------------------------------------------------------------------
Preparing input task
--------------------------------------------------------------------------------
Input task is:
---
NovaServers.boot_and_delete_server:
-
args:
flavor:
name: "gp.small"
image:
name: "cirros"
force_delete: false
runner:
type: "constant"
times: 10
concurrency: 1
context:
users:
tenants: 3
users_per_tenant: 2
project_domain: "testing"
user_domain: "testing"
sla:
failure_rate:
max: 0
Task syntax is correct :)
2016-08-15 13:19:29.143 23689 INFO rally.task.engine [-] Task e245879e-b82f-458d-a17e-09b2fc325fe5 | Starting: Task validation.
2016-08-15 13:19:29.153 23689 INFO rally.task.engine [-] Task e245879e-b82f-458d-a17e-09b2fc325fe5 | Starting: Task validation of scenarios names.
2016-08-15 13:19:29.156 23689 INFO rally.task.engine [-] Task e245879e-b82f-458d-a17e-09b2fc325fe5 | Completed: Task validation of scenarios names.
2016-08-15 13:19:29.156 23689 INFO rally.task.engine [-] Task e245879e-b82f-458d-a17e-09b2fc325fe5 | Starting: Task validation of syntax.
2016-08-15 13:19:29.163 23689 INFO rally.task.engine [-] Task e245879e-b82f-458d-a17e-09b2fc325fe5 | Completed: Task validation of syntax.
2016-08-15 13:19:29.164 23689 INFO rally.task.engine [-] Task e245879e-b82f-458d-a17e-09b2fc325fe5 | Starting: Task validation of semantic.
2016-08-15 13:19:29.164 23689 INFO rally.task.engine [-] Task e245879e-b82f-458d-a17e-09b2fc325fe5 | Starting: Task validation check cloud.
2016-08-15 13:19:29.748 23689 INFO rally.task.engine [-] Task e245879e-b82f-458d-a17e-09b2fc325fe5 | Completed: Task validation check cloud.
2016-08-15 13:19:29.756 23689 INFO rally.plugins.openstack.context.keystone.users [-] Task e245879e-b82f-458d-a17e-09b2fc325fe5 | Starting: Enter context: `users`
2016-08-15 13:19:36.800 23689 WARNING rally.plugins.openstack.wrappers.keystone [-] Unable to set member role to created user.
2016-08-15 13:19:36.801 23689 INFO rally.plugins.openstack.context.keystone.users [-] Task e245879e-b82f-458d-a17e-09b2fc325fe5 | Completed: Enter context: `users`
2016-08-15 13:19:37.747 23689 ERROR rally.task.scenario [-] The request you have made requires authentication. (HTTP 401) (Request-ID: req-b1ce7b08-fc5f-41bf-8986-3044e8401d36)
2016-08-15 13:19:37.747 23689 ERROR rally.task.scenario Traceback (most recent call last):
2016-08-15 13:19:37.747 23689 ERROR rally.task.scenario File "/usr/local/lib/python2.7/dist-packages/rally/task/scenario.py", line 129, in _validate_helper
2016-08-15 13:19:37.747 23689 ERROR rally.task.scenario deployment=deployment)
2016-08-15 13:19:37.747 23689 ERROR rally.task.scenario File "/usr/local/lib/python2.7/dist-packages/rally/task/validation.py", line 65, in wrap_validator
2016-08-15 13:19:37.747 23689 ERROR rally.task.scenario return (fn(config, clients, deployment, *args, **kwargs) or
2016-08-15 13:19:37.747 23689 ERROR rally.task.scenario File "/usr/local/lib/python2.7/dist-packages/rally/task/validation.py", line 499, in required_services
2016-08-15 13:19:37.747 23689 ERROR rally.task.scenario available_services = list(clients.services().values())
2016-08-15 13:19:37.747 23689 ERROR rally.task.scenario File "/usr/local/lib/python2.7/dist-packages/rally/osclients.py", line 803, in services
2016-08-15 13:19:37.747 23689 ERROR rally.task.scenario ks = self.keystone()
2016-08-15 13:19:37.747 23689 ERROR rally.task.scenario File "/usr/local/lib/python2.7/dist-packages/rally/osclients.py", line 242, in __call__
2016-08-15 13:19:37.747 23689 ERROR rally.task.scenario self.cache[key] = self.create_client(*args, **kwargs)
2016-08-15 13:19:37.747 23689 ERROR rally.task.scenario File "/usr/local/lib/python2.7/dist-packages/rally/osclients.py", line 301, in create_client
2016-08-15 13:19:37.747 23689 ERROR rally.task.scenario auth_ref = plugin.get_access(sess)
2016-08-15 13:19:37.747 23689 ERROR rally.task.scenario File "/usr/local/lib/python2.7/dist-packages/keystoneclient/auth/identity/base.py", line 254, in get_access
2016-08-15 13:19:37.747 23689 ERROR rally.task.scenario self.auth_ref = self.get_auth_ref(session)
2016-08-15 13:19:37.747 23689 ERROR rally.task.scenario File "/usr/local/lib/python2.7/dist-packages/keystoneclient/auth/identity/generic/base.py", line 186, in get_auth_ref
2016-08-15 13:19:37.747 23689 ERROR rally.task.scenario return self._plugin.get_auth_ref(session, **kwargs)
2016-08-15 13:19:37.747 23689 ERROR rally.task.scenario File "/usr/local/lib/python2.7/dist-packages/keystoneclient/auth/identity/v3/base.py", line 191, in get_auth_ref
2016-08-15 13:19:37.747 23689 ERROR rally.task.scenario authenticated=False, log=False, **rkwargs)
2016-08-15 13:19:37.747 23689 ERROR rally.task.scenario File "/usr/local/lib/python2.7/dist-packages/keystoneauth1/session.py", line 675, in post
2016-08-15 13:19:37.747 23689 ERROR rally.task.scenario return self.request(url, 'POST', **kwargs)
2016-08-15 13:19:37.747 23689 ERROR rally.task.scenario File "/usr/local/lib/python2.7/dist-packages/positional/__init__.py", line 101, in inner
2016-08-15 13:19:37.747 23689 ERROR rally.task.scenario return wrapped(*args, **kwargs)
2016-08-15 13:19:37.747 23689 ERROR rally.task.scenario File "/usr/local/lib/python2.7/dist-packages/keystoneauth1/session.py", line 570, in request
2016-08-15 13:19:37.747 23689 ERROR rally.task.scenario raise exceptions.from_response(resp, method, url)
2016-08-15 13:19:37.747 23689 ERROR rally.task.scenario Unauthorized: The request you have made requires authentication. (HTTP 401) (Request-ID: req-b1ce7b08-fc5f-41bf-8986-3044e8401d36)
2016-08-15 13:19:37.747 23689 ERROR rally.task.scenario
2016-08-15 13:19:37.749 23689 INFO rally.plugins.openstack.context.keystone.users [-] Task e245879e-b82f-458d-a17e-09b2fc325fe5 | Starting: Exit context: `users`
2016-08-15 13:19:39.456 23689 WARNING rally.plugins.openstack.context.keystone.users [-] Unable to delete default security group
2016-08-15 13:19:47.139 23689 INFO rally.plugins.openstack.context.keystone.users [-] Task e245879e-b82f-458d-a17e-09b2fc325fe5 | Completed: Exit context: `users`
Task config is invalid: `Input task is invalid!
Subtask NovaServers.boot_and_delete_server[0] has wrong configuration\Subtask configuration:
{'runner': {'type': 'constant', 'concurrency': 1, 'times': 10}, 'args': {'force_delete': False, 'flavor': {'name': 'gp.small'}, 'image': {'name': 'cirros'}}, 'sla': {'failure_rate': {'max': 0}}, 'context': {'users': {'project_domain': 'testing', 'users_per_tenant': 2, 'tenants': 3, 'user_domain': 'testing'}}}
Reason:
Invalid scenario argument: 'The request you have made requires authentication. (HTTP 401) (Request-ID: req-b1ce7b08-fc5f-41bf-8986-3044e8401d36)'`
root@benchmarking:~#
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment